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