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

Klaus Darilion klaus.mailinglists at pernau.at
Fri Jan 7 21:59:55 CET 2011


Bernhard Suttner wrote:
> 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...

If you use uac_replace_from(), the changes will stateful and fixed for 
every in-dialog requests and responses.

But there is no similar feature for To header manipulation.

regards
klaus





More information about the sr-users mailing list