True. But in this case even tough the Proxy understands Reason header, it should not strip it, but forward it - but there is no such definition in RFC 3326.
Regards Ranjit -----Original Message----- From: Attila Sipos [mailto:[email protected]] Sent: Monday, February 09, 2009 4:11 PM To: Attila Sipos; Avasarala Ranjit-A20990; Iñaki Baz Castillo Cc: [email protected] Subject: RE: [Sip-implementors] "Reason-Header" in CANCEL throughvariousproxies >>Proxies should respect ALL headers. Sorry, obviously, some headers get stripped out like Route and Via. If a proxy understands a SIP header it can strip it out if that is the behaviour defined by the RFC/draft that describes the SIP header. -----Original Message----- From: Attila Sipos Sent: 09 February 2009 10:38 To: 'Avasarala Ranjit-A20990'; Iñaki Baz Castillo Cc: [email protected] Subject: RE: [Sip-implementors] "Reason-Header" in CANCEL throughvariousproxies Yes, Proxies should respect ALL headers. Or more generally, if a proxy doesn't understand a header it should forward it on. This is the only way for SIP to work for future headers. Regards, Attila -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Avasarala Ranjit-A20990 Sent: 09 February 2009 10:16 To: Iñaki Baz Castillo Cc: [email protected] Subject: Re: [Sip-implementors] "Reason-Header" in CANCEL throughvariousproxies True it is not specified in the RFC 3326, but I feel the behavior of proxies should be such that they respect the custom headers in a BYE or CANCEL, unless privacy issues forbid them. Regards Ranjit -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Iñaki Baz Castillo Sent: Monday, February 09, 2009 3:43 PM Cc: [email protected] Subject: Re: [Sip-implementors] "Reason-Header" in CANCEL through variousproxies 2009/2/9 Avasarala Ranjit-A20990 <[email protected]>: > When pbx generates a CANCEL towards proxy_B, it should insert the Reason > header as Reason:SIP; cause=200;text="Call completed at alice phone". So here > proxy_B should respect Reason header in CANCEL - so proxy_B should copy the > Reason header when it generates CANCEL to bob's phone - This way Bob's phone > will understand that call completed elsewhere - not sure where though!! > > So ideally if an incoming CANCEL request contains Reason header, it should > not be stripped off and carried by intermediate proxies till the final > destination. Thanks, but I wonder: where is it specified? I've never read that a proxy should respect "custom" headers in a CANCEL (note that CANCEL is hop by hop, so there is no theoricall requeriment to respect custom headers). Thanks. -- Iñaki Baz Castillo <[email protected]> _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
