Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk 13 MWI


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
cursor at telecomabmex...
Guest





PostPosted: Tue Jul 12, 2016 12:55 pm    Post subject: [asterisk-users] Asterisk 13 MWI Reply with quote

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.

Any pointers?


--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)9116-91161


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
gjoseph at digium.com
Guest





PostPosted: Tue Jul 12, 2016 9:28 pm    Post subject: [asterisk-users] Asterisk 13 MWI Reply with quote

On Tue, Jul 12, 2016 at 11:55 AM, Carlos Chavez <cursor@telecomabmex.com (cursor@telecomabmex.com)> wrote:
Quote:
    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.

    Any pointers?


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.


Can you tell if the NOTIFY messages are actually going out but maybe being ignored by the phones?


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.
 

Quote:



--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)9116-91161


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users




--
George JosephDigium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
Back to top
cursor at telecomabmex...
Guest





PostPosted: Wed Jul 13, 2016 4:44 pm    Post subject: [asterisk-users] Asterisk 13 MWI Reply with quote

On 7/12/16 9:27 PM, George Joseph wrote:
Quote:


On Tue, Jul 12, 2016 at 11:55 AM, Carlos Chavez <cursor@telecomabmex.com (cursor@telecomabmex.com)> wrote:
Quote:
    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.

    Any pointers?


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.


Can you tell if the NOTIFY messages are actually going out but maybe being ignored by the phones?


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.
 




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 Wink .  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.

Thank you for the solution.


Quote:
--


Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)9116-91161
Back to top
gjoseph at digium.com
Guest





PostPosted: Thu Jul 14, 2016 7:20 am    Post subject: [asterisk-users] Asterisk 13 MWI Reply with quote

On Wed, Jul 13, 2016 at 3:44 PM, Carlos Chavez <cursor@telecomabmex.com (cursor@telecomabmex.com)> wrote:
Quote:

On 7/12/16 9:27 PM, George Joseph wrote:
Quote:


On Tue, Jul 12, 2016 at 11:55 AM, Carlos Chavez <cursor@telecomabmex.com (cursor@telecomabmex.com)> wrote:
Quote:
    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.

    Any pointers?


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.


Can you tell if the NOTIFY messages are actually going out but maybe being ignored by the phones?


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.
 




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 Wink .  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.

Thank you for the solution.





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?  


 
Quote:
Quote:
--


Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)9116-91161


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




--
George JosephDigium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services