<div dir="ltr">Examine to the to tag. If there is a to tag, that's not a initial invite: has_totag()<div><br></div><div>Regards,</div><div>Ali Pey<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 13, 2013 at 4:08 PM, Nick Cameo <span dir="ltr"><<a href="mailto:symack@gmail.com" target="_blank">symack@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello Everyone,<br>
<br>
I am changing the TO Header once in the branch route, and I seeing the<br>
following errors:<br>
<br>
ERROR:uac:replace_uri: decline FROM replacing in sequential request in<br>
auto mode (has TO tag)<br>
<br>
I am sure that it's being done only once in the branch where I check<br>
if it's an INVITE request:<br>
<br>
if (is_method("INVITE")) {<br>
......<br>
}<br>
<br>
Is there any way to check for initial INVITES in branches? I suspect<br>
it's happening<br>
on the failover, though did not take a closer look.<br>
<br>
Kind Regards,<br>
<br>
Nick.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div><img class="" src="https://contactmonkey.com/api/v1/tracker?cm_session=84d1a7fc-a13b-4a7a-ac22-b1e7cde738de&cm_type=open&cm_user_email=alipey@gmail.com"></div></div>