We need some number manipulation for outgoing calls to PSTN GW. The same manipulations must be in "ru" and "tu", because our PSTN GW adds redirection when tu ≠ ru. When we used INVITE re-parsing for CANCEL, modified "tu" is not included.
-----Original Message----- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alex Balashov Sent: Wednesday, January 30, 2013 3:53 PM To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - UsersMailing List Subject: Re: [SR-Users] How to rewrite "tu" in CANCEL message ? 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 <juli...@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 -- 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/ _______________________________________________ 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