[asterisk-bugs] [Asterisk 0014725]: Asterisk doesn't add Route headers in NOTIFY when the SUBSCRIBE came from a proxy
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Mar 24 21:18:19 CDT 2009
A NOTE has been added to this issue.
======================================================================
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-24 21:18 CDT
======================================================================
Summary: Asterisk doesn'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).
======================================================================
----------------------------------------------------------------------
(0102153) dnatural (reporter) - 2009-03-24 21:18
http://bugs.digium.com/view.php?id=14725#c102153
----------------------------------------------------------------------
Hi!
This bug has bugged me for a long time, and seeing this report finally
made me do something about it.
I can't upload a patch because I do not have a license on file (nor will I
ever sign one) but I'm happy to email you what I came up with today. It's
only two lines.
chan_sip.c line 15563
Issue History
Date Modified Username Field Change
======================================================================
2009-03-24 21:18 dnatural Note Added: 0102153
======================================================================
More information about the asterisk-bugs
mailing list