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

Ovidiu Sas osas at voipembedded.com
Fri Jan 7 22:08:48 CET 2011


On Fri, Jan 7, 2011 at 3:59 PM, Klaus Darilion
<klaus.mailinglists at pernau.at> wrote:
> 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.

AFAIR this is valid only for the initial INVITE transaction.
reINVITEs and BYEs will need to be manually tweaked (if really necessary).


Regards,
Ovidiu Sas

> But there is no similar feature for To header manipulation.
>
> regards
> klaus



More information about the sr-users mailing list