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