<div style='font-family:Times New Roman, Times, serif;font-size:12pt;color:#000000;'>quite quite positive.<br>the reason i am so certain is that there is
only *one* place in my entire config file that i actually do a
t_relay() (or equivalent). &nbsp;I isolated all the code into route[1], to
ease maintainability of my (admittedly complex) config file.<br><br>In route[1], the relevant section is pretty damn close to<br><br>if (!t_relay()) {<br>&nbsp;&nbsp; if (!is_method("ACK")) {<br>&nbsp;&nbsp; &nbsp; &nbsp;sl_reply_error();<br>&nbsp;&nbsp; }<br>}<br><br>fwiw, its 1.1.0 (latest cvs version thereof)<br><br>cheers<br><br>----- Original Message -----<br>From: Bogdan-Andrei Iancu &lt;<span class="Object" id="OBJ_DWT371_DWT1682">bogdan@voice-system.ro</span>&gt;<br>To: <span class="Object" id="OBJ_DWT371_DWT1683">mahesh@aptela.com</span><br>Cc: Klaus Darilion &lt;<span class="Object" id="OBJ_DWT371_DWT1684">klaus.mailinglists@pernau.at</span>&gt;, users &lt;<span class="Object" id="OBJ_DWT371_DWT1685">users@openser.org</span>&gt;<br>Sent: Thursday, <span class="Object" id="OBJ_DWT371_DWT1686">December 14, 2006</span> 12:39:04 PM GMT-0600<br>Subject: Re: [Users] Duplicate INVITEs - t_lookup_request and t_check_trans<br><br>Hi Mahesh,<br><br>I do not think you need t_check_tran() as t_relay() automatically <br>absorbs the retransmissions.<br><br>are you sure you are not calling t_relay() twice for the same requests? <br>or calling a tm function (t_newtran) before the t_relay ??<br><br>regards,<br>bogdan<br><br><br>Mahesh Paolini-Subramanya wrote:<br><br>&gt;Well, i read the documentation again, and found t_lookup_request, and t_check_trans.<br>&gt;Question
1 - t_lookup_request() creates the transaction if it doesn't exist,
correct? &nbsp;However, t_check_trans only checks to see if the transaction
already exists, correct?<br>&gt;<br>&gt;Question 2 - Assuming that
t_check_trans only checks to see if the transaction already exists,
then is the following correct?<br>&gt;<br>&gt;Currently I do the following (after stripping out a bunch of stuff)<br>&gt;<br>&gt;if (!t_relay()) {<br>&gt; &nbsp; if (!is_method("ACK")) {<br>&gt; &nbsp; &nbsp; &nbsp;sl_reply_error();<br>&gt; &nbsp; }<br>&gt;}<br>&gt;<br>&gt;should this, instead, actually look like the following?<br>&gt;if (is_method("INVITE")) {<br>&gt; &nbsp; if (if !t_check_tran()) {<br>&gt; &nbsp; &nbsp; &nbsp;t_relay();<br>&gt; &nbsp; } <br>&gt;} else if (!is_method("ACK")) {<br>&gt; &nbsp; sl_reply_error();<br>&gt;}<br>&gt;<br>&gt;<br>&gt; &nbsp; &nbsp; &nbsp;<br>&gt;----- Original Message -----<br>&gt;From: Klaus Darilion &lt;<span class="Object" id="OBJ_DWT371_DWT1687">klaus.mailinglists@pernau.at</span>&gt;<br>&gt;To: <span class="Object" id="OBJ_DWT371_DWT1688">mahesh@aptela.com</span><br>&gt;Cc: users &lt;<span class="Object" id="OBJ_DWT371_DWT1689">users@openser.org</span>&gt;<br>&gt;Sent: Thursday, <span class="Object" id="OBJ_DWT371_DWT1690">December 14, 2006</span> 2:06:01 AM GMT-0600<br>&gt;Subject: Re: [Users] Duplicate INVITEs<br>&gt;<br>&gt;Mahesh Paolini-Subramanya wrote:<br>&gt; &nbsp;<br>&gt;<br>&gt;&gt;We're seeing sporadic situations where fones <br>&gt;&gt;a) send an INVITE <br>&gt;&gt;b) ignore the 100-Trying response, and instead <br>&gt;&gt;c) send another INVITE with the same sequence number. <br>&gt;&gt;<br>&gt;&gt;The question is, What should happen here? <br>&gt;&gt; &nbsp; &nbsp;<br>&gt;&gt;<br>&gt;<br>&gt;If the message is completely identical then it is a retransmission. <br>&gt;Retransmissions should be detected by tm module (e.g. t_relay()) and <br>&gt;absorbed,<br>&gt;<br>&gt;regards<br>&gt;klaus<br>&gt;<br>&gt;<br>&gt; &nbsp;<br>&gt;<br>&gt;&gt;Currently, we send back a 500 response (server error). <br>&gt;&gt;Is this correct? (i think not, cause it invariably causes the fone to go fast busy). <br>&gt;&gt;Is this some other response that should occur? <br>&gt;&gt;<br>&gt;&gt;poring over 3261 resulted in a headache, and no additional clarity... <br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;------------------------------------------------------------------------<br>&gt;&gt;<br>&gt;&gt;_______________________________________________<br>&gt;&gt;Users mailing list<br>&gt;&gt;<span class="Object" id="OBJ_DWT371_DWT1691">Users@openser.org</span><br>&gt;&gt;<span class="Object" id="OBJ_DWT371_DWT1692"><a target="_blank" href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</a></span><br>&gt;&gt; &nbsp; &nbsp;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; &nbsp;<br>&gt;<br><br><br><br>-- <br>*******************************************<br>Mahesh Paolini-Subramanya &nbsp; &nbsp; &nbsp;<span class="Object" id="OBJ_DWT371_DWT1693"><a href="callto:+1%28703%29%20386-1500" onclick="window.top.ZmPhoneObjectHandler.unsetOnbeforeunload()">(703) 386-1500</a></span> x9100<br>CTO &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="Object" id="OBJ_DWT371_DWT1694">mahesh@aptela.com</span><br>Aptela, Inc. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="Object" id="OBJ_DWT371_DWT1695"><a target="_blank" href="http://www.aptela.com">http://www.aptela.com</a></span><br>"Aptela: How Business Answers The Call"<br>*******************************************<br><div style="font-family: Times New Roman,Times,serif; font-size: 12pt; color: rgb(0, 0, 0);"><br><br>-- <br>*******************************************<br>Mahesh&nbsp;Paolini-Subramanya&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(703)&nbsp;386-1500&nbsp;x9100<br>CTO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mahesh@aptela.com<br>Aptela,&nbsp;Inc.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://www.aptela.com<br>"Aptela:&nbsp;How&nbsp;Business&nbsp;Answers&nbsp;The&nbsp;Call"<br>*******************************************<br></div>