<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hello PlayMen,</div>
<div> </div>
<div> Looks like you are replying with "100 Trying" after calling t_relay().<br/>
Can you reorganize the script so that the "100 Trying" is replied immediately after receiving the intitial INVITE?</div>
<div> sl_send_reply("100", "Trying");</div>
<div><br/>
This will hopefully prevent the sender from re-transmitting the INVITE at the first place. </div>
<div> </div>
<div>Best Regards,<br/>
- Gary</div>
</div>
<div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Sent:</b> Wednesday, November 19, 2014 at 2:04 PM<br/>
<b>From:</b> "Dragomir Haralambiev" <goup2010@gmail.com><br/>
<b>To:</b> "OpenSIPS users mailling list" <users@lists.opensips.org><br/>
<b>Subject:</b> Re: [OpenSIPS-Users] repeated INVITE issue</div>
<div name="quoted-content">
<div>
<div>Yes I do.</div>
<div>Here is part of my script:<br/>
if ( t_check_trans() ) {<br/>
xlog("L_ERR", "$fU: This INVITE is already received");<br/>
exit;<br/>
}</div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">2014-11-19 20:50 GMT+02:00 campusvtv <span><<a href="campusvtv@gmail.com" target="_parent">campusvtv@gmail.com</a>></span>:
<blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex;border-left: 1.0px rgb(204,204,204) solid;padding-left: 1.0ex;">
<div>Hello,<br/>
<br/>
are you using t_check_trans before t_relay to check if the second and third INVITEs are retransmission?<br/>
<br/>
Regards.<br/>
<br/>
El 19/11/2014 13:41, Dragomir Haralambiev escribió:
<div>
<div class="h5">
<blockquote>
<div>
<div>It replies back with provisional response (100 - Ok giving a try), but a bit too late - after more than one invite has been received already.</div>
<div>The question is more why OpenSips sends 3 replies to the upstream provider instead just one since the invites are duplicates.</div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">2014-11-19 20:14 GMT+02:00 campusvtv <span><<a href="campusvtv@gmail.com" target="_parent">campusvtv@gmail.com</a>></span>:
<blockquote class="gmail_quote" style="margin: 0.0px 0.0px 0.0px 0.8ex;padding-left: 1.0ex;border-left-color: rgb(204,204,204);border-left-width: 1.0px;border-left-style: solid;">
<div>Hello,<br/>
<br/>
check why OpenSIPs don't send provisional response to user that send 3 INVITEs or why the user don't receive these provisional responses.<br/>
<br/>
Regards<br/>
<div>El 19/11/2014 12:05, Dragomir Haralambiev escribió:</div>
<blockquote>
<div>
<div>
<div>
<div>Hello folks,</div>
<div> </div>
<div>I have opensips (v1.11.3) running here. I am having the following problem:<br/>
Sometimes Opensips gets 3 INVITE's with the same From: tag ~0.5 seconds apart of each oother.<br/>
After executing t_relay() opensips sends 3 invites to the upstream provider.<br/>
What should I do to limit t_relay() of forwarding only one INVITE request?<br/>
This is how trace looks like:</div>
<div> <font face="monospace"> OpenSips<br/>
---- INVITE -----><br/>
---- INVITE -----><br/>
---- INVITE -----><br/>
t_relay<br/>
<--100 Give a Try--<br/>
---- INVITE -----><br/>
<--100 Give a Try--<br/>
---- INVITE -----><br/>
<--100 Give a Try--<br/>
---- INVITE -----></font></div>
<div> </div>
<div><font face="Courier New">Best regards,</font></div>
<div><font face="Courier New">PlayMen</font></div>
</div>
<fieldset> </fieldset>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a href="Users@lists.opensips.org" target="_parent">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>
</div>
<br/>
_______________________________________________<br/>
Users mailing list<br/>
<a href="Users@lists.opensips.org" target="_parent">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>
</div>
<fieldset> </fieldset>
<pre>_______________________________________________
Users mailing list
<a href="Users@lists.opensips.org" target="_parent">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>
</div>
</div>
</div>
<br/>
_______________________________________________<br/>
Users mailing list<br/>
<a href="Users@lists.opensips.org" target="_parent">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>
</div>
_______________________________________________ Users mailing list Users@lists.opensips.org <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
</div>
</div>
</div></div></body></html>