[OpenSIPS-Devel] [opensips] CANCEL in t_relay() not forwarding user defined Headers when opensips is used as a proxy (#509)

rgupta0110 notifications at github.com
Wed May 13 13:39:38 CEST 2015


Feature Request:

While relaying the CANCEL, opensips create new CANCEL transaction and only pass further the reason header from the received CANCEL if 0x08 flag is set in t_relay("0x08"). It will be nice to pass any other user defined headers in CANCEL as they might be useful for the endpoints. 

from the t_relay([flag]) documentation:
0x08 - If the request is a CANCEL, trust and pass further the Reason header from the received CANCEL - shortly, will propagate the Reason header.

A sample CANCEL with X-USERDEFINED-HEADER is 
CANCEL sip:XXXX at IP:PORT SIP/2.0
From: "ABC"<sip:YYYY at IP:PORT>;tag=389cc678-0-13c4-65014-16288-3d1c9b70-16288
To: <sip:XXXX at IP:PORT>
Call-ID: 10589b68-0-13c4-65014-16288-156334b2-16288
CSeq: 1 CANCEL
Via: SIP/2.0/UDP IP:PORT;branch=z9hG4bK-16288-568e507-60d8e02-38903830
Reason: SIP;cause=200;text="User Release"
Max-Forwards: 70
Supported: timer,replaces,from-change,histinfo,answermode,eventlist,recipient-list-subscribe
User-Agent: test user agent
Content-Length: 0
X-USERDEFINED-HEADER: "Some useful Info"


We are using opensips-1.11.3, is it possible to add this feature in opensips-1.11.3 release ?

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/509
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150513/fb862ed3/attachment.htm>


More information about the Devel mailing list