[Home]

Summary:ASTERISK-14950: Missing routing info for voicemail notifications
Reporter:Ovidiu Sas (ovi)Labels:
Date Opened:2009-10-06 14:01:44Date Closed:2011-06-07 14:08:24
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Subscriptions
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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@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@SIP_UA:5060>^M
To: <sip:USER@PROXY1;transport=UDP>^M
From: <sip:USER@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@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@ASTERISK>;tag=as0dc78e20^M
To: <sip:sip:USER@SIP_UA:5060>;tag=29360008^M
Contact: <sip:asterisk@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@ASTERISK^M
Voice-Message: 1/1 (0/0)^M
Comments:By: Leif Madsen (lmadsen) 2010-12-20 10:26:46.000-0600

Since this is so old, I'm going to close this issue. If you still have this problem, please open a new issue, tested against a more recent version of Asterisk. Thanks!