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