Sollicitated MWI Not Working
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)
When I configure clients to use unsollicitated MWI, it works, but there are quite long delays in status display. So I decided to try sollicitated MWI, but I am reaching some difficulties.
The twinkle client simply freezes on configuration. By the log I can see it receives 401 on subscribe and then freezes. The SPA525G2 phone automatically disables Message Waiting feature.
I tried selectively disabling mailboxes commands in both endpoint
(unsolliciteted stopped to work) and aors section but none of them worked. I tried to change mailboxes = 101@ to mailboxes = 101 but also without success.
I am not sure about both asterisk and client configuration.
At asterisk side is it allowed to have mailboxes allowed in both endpoint and aor section? What is the connert mailbox format? Should it be specified with @ or is it ok without it? Should the context after the @ be specified? If so whoch one? The same as context command in the endpoint? So should I change it to 101@internal? Since the unsollicitated MWI is working I expect I could leave it as is. Am I
right?
At the phone side, what should be set up? I tried to set Message Waiting to yes, setting my Voicemail Server to the same name as sip registry server and I tried mailbox name without @ and with @. Both without success.
Could you give me some advice how should I configure it correctly, please?
Will the sollicitated MWI help me to evercome the indication delay problem?
Thanks
Marek
—
2 thoughts on - Sollicitated MWI Not Working
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.
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:
—