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

Daniel-Constantin Mierla miconda at gmail.com
Fri Jan 7 10:51:47 CET 2011



On 1/7/11 10:37 AM, Alex Balashov wrote:
> Daniel,
>
> On 01/07/2011 04:36 AM, Daniel-Constantin Mierla wrote:
>
>> Since 3.1.0, From and To header attributes: display name, username and
>> domain are writable via PVs, with the constraint stated above.
>
> I can write to $fU/$fu/$fd without having to use uac_replace_from()?
>
yes, but only if you don't want to restore automatically.

I haven't met lately a sip device complaining because of changes in 
from/to uri. by rfc3261 only the tags matter for dialogs, therefore you 
can change as you want and forget about restoring back. it works for me 
in many deployments.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
http://www.asipto.com




More information about the sr-users mailing list