Re: [SR-Users] Adding/manipulating headers in CANCEL

2014-06-24 Thread Örn Arnarson
Hello and thanks for your reply. I am sanitizing the To header for PSTN media gateways (removing things like *31* prefixes which are replaced by privacy headers). I found the uac_replace_to method. However, I elected to just use the submitted patch which bases the CANCEL on the INVITE that was sen

Re: [SR-Users] Adding/manipulating headers in CANCEL

2014-06-23 Thread Daniel-Constantin Mierla
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 t

Re: [SR-Users] Adding/manipulating headers in CANCEL

2014-06-23 Thread Daniel-Constantin Mierla
Hello, On 20/06/14 18:30, Örn Arnarson 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? the CANCEL is generated

Re: [SR-Users] Adding/manipulating headers in CANCEL

2014-06-20 Thread Örn Arnarson
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. Reg