Hi Andrey,
you can disable dialog timeout reset either globally (
http://www.kamailio.org/docs/modules/devel/modules/dialog.html#dialog.p.tim…)
or on a per-dialog basis (
http://www.kamailio.org/docs/modules/devel/modules/dialog.html#dialog.f.dlg…
).
Cheers,
Federico
On Tue, May 31, 2016 at 6:40 PM, Andrey Utkin <andrey_utkin(a)fastmail.com>
wrote:
Hi!
I'd like to restrict max call duration.
Currently we have something that partially works:
dialog.default_timeout. But, as described in "How it works" section
http://www.kamailio.org/docs/modules/devel/modules/dialog.html#idp2029360
"The dialog timeout is reset each time a sequential request is
processed."
So this option works for us when the useragents don't send sequential
UPDATEs or reINVITEs.
I am not sure if it is adequate to ask for this feature in dialog
module. I am aware of possibility to terminate any call by management
command, and of cnxcc module which has call duration control. I would
love to find something that simple - a single option for max call
duration, without external mechanism (cronjob etc.) or full-blown
billing.
Any suggestions are very welcome. Thanks in advance.
Please reply to all recipients, I am not subscribed to this maillist.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users