[asterisk-bugs] [Asterisk 0014725]: Asterisk dones't add Route headers in NOTIFY when the SUBSCRIBE came from a proxy

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 23 12:05:47 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14725 
====================================================================== 
Reported By:                ibc
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14725
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.23 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-23 12:05 CDT
Last Modified:              2009-03-23 12:05 CDT
====================================================================== 
Summary:                    Asterisk dones't add Route headers in NOTIFY when
the SUBSCRIBE came from a proxy
Description: 
Client ---- Proxy ---- Asterisk

The Client sends a SUBSCRIBE (Event: dialog) and the Proxy routes it to
Asterisk adding "Record-Route" header.

The correct behaviour would be:
1) Client sends SUBSCRIBE to Proxy
2) Proxy routes SUBSCRIBE to Asterisk adding Record-Route
3) Asterisk replies 200 and mirrors Record-Route in the reply (correct)
4) Proxy routes teh 200 to the Client
5) Asterisk sends an in-dialog NOTIFY containing a Route header (with the
value of the received Record-Route).
6) The proxy routes the NOTIFY to the client.

But Asterisk fails in step 5 since the NOTIFY generated by Asterisk
doesn't contain a Route header.

Of course, that NOTIFY MUST contain a Route header since it's in fact an
in-dialog request, and the dialog was created using loose_route (the
request forming the dialog, the SUBSCRIBE, had Record-Route inserted by the
proxy).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-23 12:05 ibc            New Issue                                    
2009-03-23 12:05 ibc            Asterisk Version          => 1.4.23          
2009-03-23 12:05 ibc            Regression                => No              
2009-03-23 12:05 ibc            SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list