<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Rodrigo,<br>
<br>
If during a parallel forking you get the same reply code (486 in
your case) from all branches, OpenSIPS will pick the first one (in
order of creation of the branches, not in order of receiving the
replies). In your case, the M1 reply will be sent to caller.<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Summit May 2017 Amsterdam
<a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
</pre>
<div class="moz-cite-prefix">On 05/09/2017 05:52 PM, Rodrigo Pimenta
Carvalho wrote:<br>
</div>
<blockquote
cite="mid:DM5PR02MB3212AC1CD09EC81458687713B5EF0@DM5PR02MB3212.namprd02.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
dir="ltr">
<p>Hi.</p>
<p><br>
</p>
<p>In my system there are 2 UA (in different machines, M1 &
M2) registered on my OpenSIPS, both as user 9000.</p>
<p>So, if an UAC calls number 9000, these 2 UA will ring. That
is fine for my project.</p>
<p><br>
</p>
<p>If UA from machine M1 rejects the call it send a SIP 486
code (busy here). The UA from machine M2 has the same
behavior.</p>
<p><br>
</p>
<p>In addiction, if UA on M1 rejects the call, OpenSIPS must
register data in the database. On the other hand, if UA on M2
rejects the call, the OpenSIPS must do nothing.</p>
<p><br>
</p>
<p>How can I know wich of these reject messages (SIP 486) is
coming from M1 or M2, by means of OpenSIPS functions?</p>
<p>Any example?</p>
<p><br>
</p>
<p>Any hint will be very helpful!</p>
<p><br>
</p>
<p>Best regards.</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>