[SR-Users] How to rewrite "tu" in CANCEL message ?

Alex Balashov abalashov at evaristesys.com
Wed Jan 30 14:52:59 CET 2013


Hello Julia, 

There is a very real question that should probably be asked: why would you want to do that? 

Kamailio provides many capabilities, but just because you can, doesn't mean you should. :-) 

With that in mind, I don't know of any SIP scenario in which altering the To header in a CANCEL message to something other than what it was in the INVITE transaction to which it corresponds is appropriate, either as a UA or as a proxy. But, perhaps it is my ignorance or lack of imagination at fault. 

-- Alex

Julia <juliabo at gmail.com> wrote:

>Hello all,
>
> 
>
> 
>
>Is there any way to rewrite "tu" in CANCEL message in 3.2.1?
>
> 
>
>We use remove_hf / insert_hf   for INVITE's "tu" modification before
>t_relay.
>
> 
>
>It works fine, but it doesn't work for CANCEL (INVITE re-parsing is
>disabled).
>
> 
>
>Ths,
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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

-- 
Sent from my mobile, and thus lacking in the refinement one might expect from a fully-fledged keyboard. 

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/



More information about the sr-users mailing list