[SR-Users] Change the SIP-To-User

Bernhard Suttner bernhard.suttner at winet.ch
Fri Jan 7 21:43:08 CET 2011


Hi,

thanks to all responses. I wonder if there is a function to modify the To/From Header stateful. I mean, change the TO header in the INVITE to A and then the 200 OK (for example) reverse the change back to the previous value to B?

but the "magic" $tU is amazing...

Best regards,
Bernhard

----- Original Message -----
From: Olle E. Johansson [mailto:oej at edvina.net]
To: Alex Balashov [mailto:abalashov at evaristesys.com]
Cc: sr-users at lists.sip-router.org
Sent: Fri, 07 Jan 2011 11:09:41 +0100
Subject: Re: [SR-Users] Change the SIP-To-User


> 
> 7 jan 2011 kl. 10.55 skrev Alex Balashov:
> 
> > On 01/07/2011 04:52 AM, Carsten Bock wrote:
> > 
> >> the trick, when using "uac_replace_from" is, that it will
> >> "automagically" change subsequest requests. This is required in order
> >> to work with most SIP-Endpoints.
> >> If you just want to change the "From" for the current request, that is
> fine.
> > 
> > I understand.  Changing To/From by a proxy has long been a thorny issue,
> in the sense that on the one hand those fields are purely cosmetic in
> strict-3261 mode, but on the other hand, changing them breaks 2543
> compatibility, and it's just not something a proxy is supposed to do.
> Well, that changed with a new rfc (put number here) about caller ID updates.
> I do not remember the proxy role, but a UA can now change From/To identities
> mid call, like after a call transfer in a pbx.
> 
> /O
> _______________________________________________
> 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
> 



More information about the sr-users mailing list