[OpenSIPS-Users] Limit call duration - Timeout in Dialog module?
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri May 1 13:30:48 CEST 2009
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-flag-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