<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 7, 2014 at 6:20 AM, Joshua Colp <span dir="ltr"><<a href="mailto:jcolp@digium.com" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=jcolp@digium.com&cc=&bcc=&su=&body=','_blank');return false;">jcolp@digium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">John Kiniston wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Here's my config, I am configuring the mailboxes as you see below in the<br>
aor.<br>
<br>
It looked like that was the recommended place to configure it?<br>
</blockquote>
<br>
There's no recommendation one way or the other really - it depends on what the devices in question are expecting.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If I configure the mailboxes in the Endpoint then the PBX will be<br>
sending unsolicited MWI vs if I configure them in the AOR then my phones<br>
subscribe for MWI Correct?<br>
</blockquote>
<br>
Correct. Since you are configuring on the AOR there is no current way to grab that information in the dialplan from the AOR.<br>
<br></blockquote><div> </div><div>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")</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote></div></div></div>