[OpenSIPS-Users] Limit call duration - Timeout in Dialog module?
John Quick
John.Quick at smartvox.co.uk
Fri May 1 13:44:14 CEST 2009
So whichever solution I use requires upgrading to version 1.5.x. I thought
maybe 1.4.x was more stable so have not yet upgraded to 1.5. Perhaps now is
the time!
Thanks for the comments. Regards,
John Quick
-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro]
Sent: 01 May 2009 12:31
To: John.Quick at smartvox.co.uk
Cc: users at lists.opensips.org
Subject: Re: [OpenSIPS-Users] Limit call duration - Timeout in Dialog
module?
Hi john,
Using the dialog module should do the trick. When the dialog is setup,
use an AVP to set the dialog timeout (see the timeout_avp at
http://www.opensips.org/html/docs/modules/1.5.x/dialog.html#timeout-avp-id)
to force dialog termination after certain time and also enable BYE
sending at dialog termination ( see bye_on_timeout_flag at
http://www.opensips.org/html/docs/modules/1.5.x/dialog.html#bye-on-timeout-f
lag-id).
Regards,
Bogdan
John Quick wrote:
> What is the best technique for limiting the maximum call duration in
> OpenSIPS? I want to set the time limit within the Request_Route section
that
> is handing the initial INVITE when the call starts.
> I tried setting a 30 second timeout in the Dialog module using a value put
> into the timeout_avp, but nothing appears to happen when the time limit is
> reached. Have I misunderstood what it's purpose is?
>
> This is for pre-paid credit expiring during a call. Using OpenSIPS 1.4.2
>
> John Quick
> Systems Consultant
> Smartvox Limited
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
More information about the Users
mailing list