<div dir="ltr">Thank you All . <div><br></div><div><br></div><div>My problem was resolved . I have managed the config to make it work . </div><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 13, 2023 at 1:53 PM David Villasmil <<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">And what do you mean by “opensips creates a new invite as the caller sent”?</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 13 Nov 2023 at 08:57, Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<font face="monospace">Hi,<br>
<br>
May I ask why using the "B" flag here ?<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre></div><div>
<div>On 11/7/23 9:00 AM, Sasmita Panda
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi All ,
<div><br>
</div>
<div>I am using opensips 3.2 version . </div>
<div>route {</div>
<div>-------</div>
<div> if ($rm=="INVITE")<br>
{<br>
if(!lookup("location","B"))<br>
{<br>
if (!t_reply(404, "Not Found"))<br>
{<br>
sl_reply_error();<br>
}<br>
exit;<br>
}<br>
}<br>
</div>
<div> if (!serialize_branches(1)){</div>
sl_send_reply(500,"Unable to
load contacts");<br>
exit;<br>
}else{<br>
# if (next_branches()){<br>
t_on_failure("1");<br>
}<br>
}<br>
<div><br>
</div>
<div>Then of course the route(1) and failure_route(1) i have
called . But what is happening in my case is . I have 2
branches , For Invite opensips tries both the branches but if
both branch wont accept the call Opensips should reply error
code to the caller . But Opensips create a new invite as the
Caller sent and again follows the lookup logic .</div>
<div><br>
</div>
<div>Why is this happening ? How will I manage this ?</div>
<div><br>
</div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div></div>
</blockquote></div>