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@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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users