Hello,

thanks for tip. You were absolutely right. I did not realize the
voicemail context is defined in voicemail.conf. After adding the
context to the mailboxes configuration in endpoint it started working
correctly.

Morever using tcpdump I found out that defining mailboxes in both aor
and endpoint you get 500 as a response (but sitll working). It should
be defined in only one of them. Strange it is working also for
unsolicited if defined only in aor.

I did not get solicited working in either hardware phone or twinkle.
The unsolicited one is working in both.

Marek


2021-01-02 14:35 GMT+01:00, Joshua C. Colp <[email protected]>:
> On Sat, Jan 2, 2021 at 5:36 AM Marek Greško <[email protected]> wrote:
>
>> Hello,
>>
>> I configured MWI with pjsip.
>>
>> The aors section contains:
>>
>> mailboxes = 101@
>>
>> The endpoint section contains:
>>
>> context = internal
>> mailboxes = 101@
>>
>> The dialplan leaves the voicemail by:
>> exten => s-NOANSWER,2,VoiceMail(${vmbox}@|u)
>> or:
>> exten => s-BUSY,2,VoiceMail(${vmbox}@|b)
>>
>
> You need to specify a context in the "mailboxes" lines, in the form of
> 101@context. The context would depend on what you have configured in
> voicemail.conf. As you have not provided that, I can not say what with
> certainty. Specifying the context should resolve your issue with
> unsolicited MWI taking time to update.
>
> --
> Joshua C. Colp
> Asterisk Technical Lead
> Sangoma Technologies
> Check us out at www.sangoma.com and www.asterisk.org
>

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to