<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>On 7/12/16 9:27 PM, George Joseph wrote:<br>
</p>
<blockquote
cite="mid:CAP=uFEuAtdwYD=YB7395E-qWReXZyGOrFo7eie8ELRWkAd5pUg@mail.gmail.com"
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 moz-do-not-send="true"
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>
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.<br>
<br>
<br>
<blockquote
cite="mid:CAP=uFEuAtdwYD=YB7395E-qWReXZyGOrFo7eie8ELRWkAd5pUg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">-- </div>
</div>
</div>
</blockquote>
<pre class="moz-signature" cols="72">Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)9116-91161</pre>
</body>
</html>