[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
Wed Mar 25 05:53:23 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-25 05:53 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).
======================================================================
----------------------------------------------------------------------
(0102157) ibc (reporter) - 2009-03-25 05:53
http://bugs.digium.com/view.php?id=14725#c102157
----------------------------------------------------------------------
I've applied it it 1.4.23.2 and seems to work. I will check it properly and
tell here the result.
Thanks a lot!
Issue History
Date Modified Username Field Change
======================================================================
2009-03-25 05:53 ibc Note Added: 0102157
======================================================================
More information about the asterisk-bugs
mailing list