Examine to the to tag. If there is a to tag, that's not a initial
invite: has_totag()

Regards,
Ali Pey


On Fri, Dec 13, 2013 at 4:08 PM, Nick Cameo <[email protected]> wrote:

> Hello Everyone,
>
> I am changing the TO Header once in the branch route, and I seeing the
> following errors:
>
> ERROR:uac:replace_uri: decline FROM replacing in sequential request in
> auto mode (has TO tag)
>
> I am sure that it's being done only once in the branch where I check
> if it's an INVITE request:
>
> if (is_method("INVITE")) {
> ......
> }
>
> Is there any way to check for initial INVITES in branches? I suspect
> it's happening
> on the failover, though did not take a closer look.
>
> Kind Regards,
>
> Nick.
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to