What you suggested was something Bogdan recommended to me; but said he had never tried.. lookup a thread called &quot;PDD&quot;<div><br></div><div>Here&#39;s his reply to me:</div><div>&quot;<span class="Apple-style-span" style="font-family: arial, sans-serif, &#39;Arial Unicode MS&#39;; font-size: 13px; border-collapse: collapse; ">ok :)<br>

<br>so, do something like:<br><br>enable restart_fr_on_each_reply and onreply_avp_mode (see <a href="http://www.opensips.org/html/docs/modules/1.5.x/tm.html#id271347" target="_blank" style="color: rgb(20, 125, 186); ">http://www.opensips.org/html/docs/modules/1.5.x/tm.html#id271347</a>)<br>

<br>before sending out the INVITE, set $avp(fr_timer) =2  (see <a href="http://www.opensips.org/html/docs/modules/1.5.x/tm.html#id271112" target="_blank" style="color: rgb(20, 125, 186); ">http://www.opensips.org/html/docs/modules/1.5.x/tm.html#id271112</a>) , so that if no reply is coming in 2 secs, timeout will fire.<br>

<br>in onreply_route, when receiving 100, set $avp(fr_inv_timer) =5; the timer will be reset and the new val used.<br><br><br>in onreply_route, when receiving 18x, set $avp(fr_inv_timer) =200; the timer will be reset and the new val used.<br>

<br><br>never tried this, to be honest :D...</span></div><div><span class="Apple-style-span" style="font-size: 13px; "></span><font class="Apple-style-span" face="arial, sans-serif, &#39;Arial Unicode MS&#39;"><span class="Apple-style-span" style="border-collapse: collapse;">&quot;<br>

</span></font><br></div><div>-Brett</div><div><br><div class="gmail_quote">On Thu, Nov 5, 2009 at 7:43 AM, Jeff Pyle <span dir="ltr">&lt;<a href="mailto:jpyle@fidelityvoice.com" target="_blank">jpyle@fidelityvoice.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>
<font face="Tahoma, Verdana, Helvetica, Arial"><span style="font-size:10pt">Brett,<br>
<br>
My fear was that the TM module may look at the AVP at the moment of the initial t_relay only, not afterwards.  I’m hoping to hear an answer to that, or perhaps, another way to accomplish it altogether.<br><font color="#888888">
<br>
<br>
- Jeff</font><div><div></div><div><br>
<br>
<br>
<br>
On 11/5/09 8:40 AM, &quot;Brett Nemeroff&quot; &lt;<a href="http://brett@nemeroff.com" target="_blank">brett@nemeroff.com</a>&gt; wrote:<br>
<br>
</div></div></span></font><div><div></div><div><blockquote><font face="Tahoma, Verdana, Helvetica, Arial"><span style="font-size:10pt">Jeff, <br>
I discussed this with Bogdan in an earlier thread (maybe a month ago) as a way of failing a call with too much PDD. I haven&#39;t tried it yet, but I suspect that what you&#39;ve described is just right.<br>
<br>
btw, let me know. :)<br>
-Brett<br>
<br>
<br>
On Wed, Nov 4, 2009 at 8:32 PM, Jeff Pyle &lt;<a href="http://jpyle@fidelityvoice.com" target="_blank">jpyle@fidelityvoice.com</a>&gt; wrote:<br>
</span></font><blockquote><font face="Tahoma, Verdana, Helvetica, Arial"><span style="font-size:10pt">Hello,<br>
<br>
I&#39;m looking for a way to have different timeout values in the case where a<br>
100 has been received versus a 18x.<br>
<br>
For example, if I t_relay an INVITE to a CPE gateway, I&#39;ll receive a 100<br>
right away.  But if the device behind the gateway is malfunctioning I won&#39;t<br>
receive a 180, 183 or 200 like I normally would.  My goal is to have the<br>
transaction to timeout after 5 seconds if only a 100 has been received, but<br>
wait 120 seconds if a 18x has been received.<br>
<br>
It looks like tm&#39;s fr_inv_timer controls both.  Is it possible to start with<br>
a default of 6 seconds but update the fr_inv_timer_avp value in a<br>
reply_route once a 18x response has been received?<br>
<br>
Or am I thinking too hard about this?<br>
<br>
<br>
Regards,<br>
Jeff<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="http://Users@lists.opensips.org" target="_blank">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>
</span></font></blockquote><font face="Tahoma, Verdana, Helvetica, Arial"><span style="font-size:10pt"><br>
<br>
</span></font></blockquote>
</div></div></div>


<br>_______________________________________________<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" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>
</div>