[SR-Users] Adding/manipulating headers in CANCEL

Daniel-Constantin Mierla miconda at gmail.com
Mon Jun 23 15:12:47 CEST 2014


There was an alternative patch pushed -- if you change To header via 
uac_replace_to(...), then the CANCEL has the new header value.

Cheers,
Daniel

On 20/06/14 19:23, Örn Arnarson wrote:
> Found this on the issue:
> http://lists.sip-router.org/pipermail/sr-dev/2012-October/016657.html
>
> Seems that this patch still hasn't been applied. It seems from
> discussions that the reasons are that you can change the To header
> with the uac module, and you shouldn't be changing the header anyway.
> Regardless, as Vitaliy points out, the documentation specifies that
> the CANCEL is build by reparsing the INVITE sent out, but it is
> incorrectly building by reparsing the INVITE received instead.
>
> Seems odd that this hasn't been applied already.
>
> Regards,
> Örn
>
> On Fri, Jun 20, 2014 at 4:30 PM, Örn Arnarson <orn at arnarson.net> wrote:
>> Hello,
>>
>> I'm running Kamailio 4.0.4, and I'm running into problems when trying
>> to insert or update headers when the method is CANCEL. It just seems
>> that nothing at all happens to the message.
>>
>> Is this a bug or a design choice?
>>
>> Regards,
>> Örn
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list