[asterisk-bugs] [JIRA] (ASTERISK-21135) Asterisk 1.8 no longer sends unsolicited message-summary (NOTIFY) after realtime SIP peer registers

Scott Cechovic (JIRA) noreply at issues.asterisk.org
Mon Feb 25 10:38:18 CST 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=203434#comment-203434 ] 

Scott Cechovic commented on ASTERISK-21135:
-------------------------------------------

Rusty,

Thanks for the response, I will look at the links you sent.  In the meantime, here are the answers to your questions:

1) Yes, certified 1.8 never sends the unsolicited message-summary when the Adtran phone registers (it did in 1.4).  So when the phone registers, since it does not request messages, it never sets the light.  However, from the phone, if I login in to voicemail to check for messages (or execute a sip prune realtime <SIP user>, Asterisk sends the summary (below)

Reliably Transmitting (no NAT) to 172.24.0.53:5060:
NOTIFY sip:5247 at 172.24.0.53:5060 SIP/2.0
Via: SIP/2.0/UDP 172.24.7.200:5060;branch=z9hG4bK0f53e70b
Max-Forwards: 70
From: "asterisk" <sip:asterisk at 172.24.7.200>;tag=as0ba4fc20
To: <sip:5247 at 172.24.0.53:5060>
Contact: <sip:asterisk at 172.24.7.200:5060>
Call-ID: 49ad3c47194cf5ac55cf2d1b4edc4da2 at 172.24.7.200:5060
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX 1.8.11-cert5
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 93

Messages-Waiting: yes
Message-Account: sip:asterisk at 172.24.7.200
Voice-Message: 2/0 (0/0)

And, if the SIP user registered to the phone receives a new message, Asterisk sends the summary (below)

Reliably Transmitting (no NAT) to 172.24.0.53:5060:
NOTIFY sip:5247 at 172.24.0.53:5060 SIP/2.0
Via: SIP/2.0/UDP 172.24.7.200:5060;branch=z9hG4bK6864e39b
Max-Forwards: 70
From: "asterisk" <sip:asterisk at 172.24.7.200>;tag=as2641da3f
To: <sip:5247 at 172.24.0.53:5060>
Contact: <sip:asterisk at 172.24.7.200:5060>
Call-ID: 539f9ae46385f7ad467193e5186afc7e at 172.24.7.200:5060
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX 1.8.11-cert5
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 93

Messages-Waiting: yes
Message-Account: sip:asterisk at 172.24.7.200
Voice-Message: 3/0 (0/0)

2) Yes, the phone always registers on a reboot and works fine other then the MWI light (unless one of the conditions above is met).

3) Yes, the unsolicited message-summary event worked in all of the 1.4 releases.

I understand that pbx_realtime is extended support but we use it exclusively and have based our interface around it.  The problem, good or bad, is we have a bunch of these Adtran phones that do not request message info but we are wanting to upgrade all these locations to 1.8 so these customers can start phasing in Digium phones.  However, the MWI light could be a show stopper and prevent the sale of Digium phones into these customers (Worthington Federal is the customer that brought this issue to light and they have about 100 Adtran phones).  It would be nice if 1.8 could be configured to send the unsolicited message-summary to phones at registration for phones that do not solicit the message-summary info for backward compatibility.  Maybe in the [general] section of sip.conf or have the phone read subscribemwi (which currently doesn't exist) from realtime.

Thanks for your consideration and help,
Scott
                
> Asterisk 1.8 no longer sends unsolicited message-summary (NOTIFY) after realtime SIP peer registers
> ---------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-21135
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21135
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: PBX/pbx_realtime, Resources/res_odbc
>    Affects Versions: 1.8.11.1
>         Environment: CentOS 5.8 kernel 2.6.18-308.13.1.el5
>            Reporter: Scott Cechovic
>            Assignee: Scott Cechovic
>            Severity: Minor
>
> Adtran IP7XX SIP phones do not do MWI subscribe and relied on the unsolicited message-summary event when rebooting to properly set the message waiting indicator.  Asterisk 1.8 cert 5 and cert 8 appear to no longer send the unsolicited message-summary event.  Since all peers are realtime peers, it doesn't appear that subscribemwi=no is supported in realtime.  Is there a way to cause the unsolicited message-summary event for realtime peers?  This can be reproduced by just rebooting a phone with unread messages.  If a new message comes in or a sip prune realtime <peer> is done, the MWI light is set correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list