A hack would be to loop the CANCEL to Kamailio again and forward it then stateless. When forwarding the CANCEL stateless, you can add headers. regards Klaus
Am 20.11.2013 15:19, schrieb Grant Bagdasarian:
I see, so there is no way to append a header to the CANCEL created by Kamailio?
I tried the onsend_route and branch_route, but none of them worked.
-----Original Message----- From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Alex Balashov Sent: Wednesday, November 20, 2013 3:09 PM To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] append_hf to CANCEL
On 11/20/2013 09:05 AM, Grant Bagdasarian wrote:
Does append_hf not work for CANCEL requests?
Correct: CANCEL is a "hop-by-hop" request where the proxy is a distinct hop, i.e. UAC sends a CANCEL to the proxy, and the proxy sends a separate CANCEL of its own on the branch that it initiated. This is in contrast to something like a BYE, and most requests, which are end-to-end request that the proxy simply relays upstream as received.
-- Alex
-- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users