[OpenSIPS-Users] About Timeout setting

Nick Chang nick.chang at kland.com.tw
Fri Dec 14 08:14:55 CET 2012


Dear Federico

 

I found this problem.

Linphone iphone can’t send ACK.

 

I changed other sip clinet. It’s OK.

 

Thanks for your support.

 

Nick

 

From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Federico Cabiddu
Sent: Thursday, December 13, 2012 11:29 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] About Timeout setting

 

Hello, you can use the dialog module for this and its timeout_avp.

 

modparam("dialog", "timeout_avp", "$avp(timeout)")

 

When you receive an INVITE, before relaying to the destination create a dialog and set the timeout you want

 

create_dialog("B");

$avp(timeout) = TIMEOUT;

 

Then in the main route, before loose_route() call you can restore the dialog lifetime:

 

if (is_method("ACK")) {

                $avp(timeout) = DIALOG_TIMEOUT;

}

 

Hope this helps.

 

Regards,

 

Federico

 

On Thu, Dec 13, 2012 at 4:10 PM, Nick <nick.chang at kland.com.tw> wrote:

Hello

 

Make a call A to B, A network interruption A will disappear for this call, but B will always show "ringing". B Click on button can be recive this phone call.

 

But, Now it can't talk. Can Server set time out?? When Timeout, Send Bye to B.

 

Thanks

BR

 

 

 


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

der

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121214/43338d96/attachment.htm>


More information about the Users mailing list