I was able to get this to work.  Works like a champ.<br /><br />On May 6, 2011 4:28pm, Duane Larson &lt;duane.larson@gmail.com&gt; wrote:<br />&gt; <br />&gt; Forgot to mention that I installed the latest svn version today.<br />&gt; <br />&gt; Sent from Droid<br />&gt; On May 6, 2011 2:10 PM, &quot;osiris123d&quot; duane.larson@gmail.com&gt; wrote:&gt; I just tried to set up my script this way and it is not working.  I have set<br />&gt; <br />&gt; &gt; it up so that during the INVITE the timeout_avp gets set to 120 seconds. <br />&gt; &gt; Then when the message is an ACK I set the timeout_avp to 7200 seconds.  When<br />&gt; &gt; I make a call to test the call will only stay up for 2 minutes.  I know that<br />&gt; <br />&gt; &gt; my second declaration of timeout_avp is being executed since I did the<br />&gt; &gt; following<br />&gt; &gt; <br />&gt; &gt; modparam(&quot;dialog&quot;, &quot;timeout_avp&quot;, &quot;$avp(i:30)&quot;)<br />&gt; &gt; modparam(&quot;dialog&quot;, &quot;bye_on_timeout_flag&quot;, 30) <br />&gt; <br />&gt; &gt; <br />&gt; &gt; if (has_totag()) {<br />&gt; &gt;               if (loose_route()) {<br />&gt; &gt; <br />&gt; &gt;                         if ( is_method(&quot;ACK&quot;) ) {<br />&gt; &gt;                                 # The dialog has reached 4th step in setting<br />&gt; <br />&gt; &gt; up the call<br />&gt; &gt;                                 # so everything should be good.  We want to<br />&gt; &gt; go ahead and<br />&gt; &gt;                                 # set the dialog timeout to something high<br />&gt; &gt; now<br />&gt; &gt; xlog(&quot;L_INFO&quot;, &quot;Main Route Just set Timeout to 7200: Call [$rm] rU[$rU]<br />&gt; <br />&gt; &gt; fU[$fU]\n&quot;);<br />&gt; &gt;                                 $avp(i:30)=7200;<br />&gt; &gt;                                 setflag(30);<br />&gt; &gt;                         }<br />&gt; &gt; <br />&gt; &gt;               }<br />&gt; &gt; }<br />&gt; &gt; <br />&gt; <br />&gt; &gt; <br />&gt; &gt; Am I missing something here?<br />&gt; &gt; <br />&gt; &gt; --<br />&gt; &gt; View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Killing-confirmed-no-ack-dialogs-tp6223926p6338590.html<br />&gt; <br />&gt; &gt; Sent from the OpenSIPS - Users mailing list archive at Nabble.com.<br />&gt; &gt; <br />&gt; &gt; _______________________________________________<br />&gt; &gt; Users mailing list<br />&gt; &gt; Users@lists.opensips.org<br />&gt; <br />&gt; &gt; http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br />&gt; <br />&gt;