[OpenSIPS-Users] uac_replace_from and two openSIPS 1.6.4
a.zagorskiy at oyster-telecom.ru
Wed Apr 6 10:44:05 CEST 2011
thank you again!
> -----Original Message-----
> From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org]
> Sent: Tuesday, April 05, 2011 11:31 PM
> To: Anton Zagorskiy
> Cc: 'OpenSIPS users mailling list'
> Subject: Re: [OpenSIPS-Users] uac_replace_from and two openSIPS 1.6.4
> Hi Anton,
> On 04/05/2011 05:44 PM, Anton Zagorskiy wrote:
> > Hi Bogdan,
> >>> Where is a problem?
> >> The problem is that whatever you do in the main request route does
> >> apply
> > to
> >> all the branches (existing or future) of that request. So you
> >> uac_replace_from (from 1) does apply to all branches, including to
> >> the branch you create in failure route).
> >> The correct approach will be to use a branch_route where to do the
> >> from/to replacements, instead of request route.
> > Using branch_route I'm getting in log:
> > ERROR:uac:replace_uri: decline FROM replacing in sequential request in
> > auto mode (has TO tag)
> > Could you explain a bit more?
> well, as the message says, it is forbidden to try to change the FROM/TO
> header after the dialog was established (for a sequential request) - you
> this operation only when the dialog is created (for the initial INVITE).
> Otherwise you will break the consistency of the SIP dialog.
> Bogdan-Andrei Iancu
> OpenSIPS eBootcamp - 2nd of May 2011
> OpenSIPS solutions and "know-how"
More information about the Users