On 01/07/2011 04:51 AM, Daniel-Constantin Mierla wrote:
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.
Ah, okay. That was going to be my next question.
Personally, I prefer the stateful automatic restore for compatibility and purity reasons, but it is nice to know the capability is there to take a more simple approach if needed and appropriate.