[asterisk-users] Function to get mailbox for a PJSIP Endpoint?

George Joseph george.joseph at fairview5.com
Fri Nov 7 19:26:32 CST 2014


On Fri, Nov 7, 2014 at 6:20 AM, Joshua Colp <jcolp at digium.com> wrote:

> John Kiniston wrote:
>
>> Here's my config, I am configuring the mailboxes as you see below in the
>> aor.
>>
>> It looked like that was the recommended place to configure it?
>>
>
> There's no recommendation one way or the other really - it depends on what
> the devices in question are expecting.
>
>  If I configure the mailboxes in the Endpoint then the PBX will be
>> sending unsolicited MWI vs if I configure them in the AOR then my phones
>> subscribe for MWI Correct?
>>
>
> Correct. Since you are configuring on the AOR there is no current way to
> grab that information in the dialplan from the AOR.
>
>
Actually you can use the AST_SORCERY dialplan function function to retrieve
any variable from any PJSIP object.  AST_SORCERY("res_pjsip", "aor",
"myaor", "mailboxes")


>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141107/0ff1f39e/attachment.html>


More information about the asterisk-users mailing list