[asterisk-bugs] [Asterisk 0016030]: Missing routing info for voicemail notifications

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 6 14:01:45 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16030 
====================================================================== 
Reported By:                ovi
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16030
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.0-rc2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-06 14:01 CDT
Last Modified:              2009-10-06 14:01 CDT
====================================================================== 
Summary:                    Missing routing info for voicemail notifications
Description: 
When a SIP UA is requesting voicemail notifications from an asterisk server
via a SIP proxy, notifications are not properly formatted by asterisk.

Here's an example of SUBSCRIBE/NOTIFY for this particular scenario:

SUBSCRIBE sent by the SIP proxy server to the asterisk server:
SUBSCRIBE sip:USER at ASTERISK;transport=UDP SIP/2.0^M
Record-Route: <sip:PROXY2;r2=on;lr>^M
Record-Route: <sip:PROXY1;r2=on;lr>^M
Via: SIP/2.0/UDP PROXY2;branch=z9hG4bK90a.e22699f5.0^M
Via: SIP/2.0/UDP
SIP_UA:5060;received=SIP_UA;branch=z9hG4bK-d8754z-1be1928dbcd560ce-1---d8754z-;rport=5060^M
Max-Forwards: 69^M
Contact: <sip:USER at SIP_UA:5060>^M
To: <sip:USER at PROXY1;transport=UDP>^M
From: <sip:USER at PROXY1;transport=UDP>;tag=29360008^M
Call-ID: NzllOTdkYzE1MTBhNTYyOGVhZThiYzY3MjQxOGI0ZTI.^M
CSeq: 1 SUBSCRIBE^M
Expires: 3600^M
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, NOTIFY, REFER, MESSAGE, OPTIONS,
INFO^M
User-Agent: Zoiper rev.4688^M
Event: message-summary^M
Content-Length: 0^M


Please note that the NOTIFY is missing the Route headers from the
SUBSCRIBE message.

NOTIFY sent by asterisk server to the SIP proxy server (the R-URI is
properly set and the message is sent to PROXY2, but without Route
headers).
NOTIFY sip:USER at SIP_UA:5060 SIP/2.0^M
Via: SIP/2.0/UDP ASTERISK:5060;branch=z9hG4bK45aae1f0;rport^M
Max-Forwards: 70^M
From: "asterisk" <sip:asterisk at ASTERISK>;tag=as0dc78e20^M
To: <sip:sip:USER at SIP_UA:5060>;tag=29360008^M
Contact: <sip:asterisk at ASTERISK>^M
Call-ID: NzllOTdkYzE1MTBhNTYyOGVhZThiYzY3MjQxOGI0ZTI.^M
CSeq: 102 NOTIFY^M
User-Agent: Asterisk PBX 1.6.1.2+15186^M
Event: message-summary^M
Content-Type: application/simple-message-summary^M
Subscription-State: active^M
Content-Length: 94^M
^M
Messages-Waiting: yes^M
Message-Account: sip:asterisk at ASTERISK^M
Voice-Message: 1/1 (0/0)^M
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-06 14:01 ovi            New Issue                                    
2009-10-06 14:01 ovi            Asterisk Version          => 1.6.2.0-rc2     
2009-10-06 14:01 ovi            Regression                => No              
2009-10-06 14:01 ovi            SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list