[OpenSIPS-Users] Checking for Initial INVITE in branch route

Ali Pey alipey at gmail.com
Sat Dec 14 04:44:23 CET 2013


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 <symack at gmail.com> 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131213/1a6b3920/attachment.htm>


More information about the Users mailing list