<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 13, 2016 at 3:44 PM, Carlos Chavez <span dir="ltr"><<a href="mailto:cursor@telecomabmex.com" target="_blank">cursor@telecomabmex.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
<p>On 7/12/16 9:27 PM, George Joseph wrote:<br>
</p>
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jul 12, 2016 at 11:55 AM,
Carlos Chavez <span dir="ltr"><<a href="mailto:cursor@telecomabmex.com" target="_blank">cursor@telecomabmex.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> I am
still a little confused about how to activate MWI with
PJSIP on Asterisk 13.9.1. I use realtime for
configuration. So far I have tried setting both the
mailboxes field on ps_endpoints and the mailboxes field in
ps_aors but I cannot get the indicator lamp to blink on
any of my phones (Digium, Aastra and Yealink). I have
tried just the number of the mailbox and also adding the
context.<br>
<br>
Any pointers?</blockquote>
<div><br>
</div>
<div>It should work with "mailboxes =
<mailbox>@<vm_context>". Are your phones set
to subscribe for MWI or do they expect unsolicited NOTIFYs
for MWI? If you set mailboxes on the endpoint, then
you'll be sending unsolicited NOTIFYs but if the phone
does subscribe, the subscription request will still work.
If specified on the aor, the phone MUST subscribe.
"allow_subscribe = yes" must also be set on the endpoint
for the subscribes to succeed.</div>
<div><br>
</div>
<div>Can you tell if the NOTIFY messages are actually going
out but maybe being ignored by the phones?</div>
<div><br>
</div>
<div>Since you're using realtime, did you do a "module
reload res_pjsip" or restart asterisk after making the
database changes? Just changing the fields in the
database won't trigger the MWI code to start sending
unsolicited NOTIFYs.</div>
<div> <br>
</div>
</div>
</div>
</div>
</blockquote></span>
Ok, if I go to the phone configuration and explicitly enable mwi
subscription it works now (while using mailboxes in the aor).
Obviously this is a bit of a pain because it means that I have to
change all the phones configurations (ok, not a pain because of
provisioning but I am lazy ;) . All my pre Asterisk 13
installations just work without any specific mwi parameter on the
phones and I was trying to reproduce that same behaviour. Up until
Asterisk 11 all my phones blink when there is a VM waiting and since
we moved to 13 and PJSIP that is the only thing we were missing.<br>
<br>
Thank you for the solution.<span class=""><br>
<br>
<br></span></div></blockquote><div><br></div><div>Well, I wouldn't call this a solution because you SHOULD be getting unsolicited MWI just by using mailboxes on the endpoint. Can you post a sample endpoint and aor config? </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><span class="">
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">-- </div>
</div>
</div>
</blockquote>
<pre cols="72">Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)9116-91161</pre>
</span></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="font-size:12.8px">George Joseph</span><br style="font-size:12.8px"><span style="font-size:12.8px">Digium, Inc. | Software Developer</span><span style="font-size:12.8px"><br>445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br></span><span style="font-size:12.8px">Check us out at: </span><a href="http://www.digium.com/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.digium.com</a><span style="font-size:12.8px"> & </span><a href="http://www.asterisk.org/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.asterisk.org</a><br><div><br></div></div></div>
</div></div>