On 01/07/2011 04:52 AM, Carsten Bock wrote:
the trick, when using "uac_replace_from" is, that it will "automagically" change subsequest requests. This is required in order to work with most SIP-Endpoints. If you just want to change the "From" for the current request, that is fine.
I understand. Changing To/From by a proxy has long been a thorny issue, in the sense that on the one hand those fields are purely cosmetic in strict-3261 mode, but on the other hand, changing them breaks 2543 compatibility, and it's just not something a proxy is supposed to do.
I suppose that a very strict UA could also refuse to process replies which contain From/To header values that do not match the ones it sent, even if those values are not used for dialog or request association or anything related to maintenance of state per se.