Hi,
ah, thanks. Would be good to have a uac_replace_to. Sounds like a "30min" task
to someone familiar with kamailio programming :-)
BR,
Bernhard
----- Original Message -----
From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
To: Bernhard Suttner [mailto:bernhard.suttner@winet.ch]
Cc: sr-users(a)lists.sip-router.org
Sent: Fri, 07 Jan 2011 21:59:55 +0100
Subject: Re: [SR-Users] Change the SIP-To-User
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