[Spce-user] Limit call duration
Joel Smith | VOZELIA
joel at vozelia.com
Wed Jan 8 15:36:06 EST 2014
Hi Ivan,
I've changed the sbc setting and that did the trick :)
Thank you very much for your quick response!
Best regards,
Joel.
----- Original Message -----
> From: "Ivan Milivojevic" <edesibe at gmail.com>
> To: "Joel Smith | VOZELIA" <joel at vozelia.com>
> Cc: "Spce-user" <spce-user at lists.sipwise.com>
> Sent: Wednesday, January 8, 2014 7:40:35 PM
> Subject: Re: [Spce-user] Limit call duration
> Hi Joel,
> AFAIR you have default timer in sems which will drop the call after
> 6h.
> sbc:
> calltimer_enable: 'yes'
> calltimer_max: 21600
> On the other hand, i was playing with another approach. From dialog
> module you can use timeout_avp for the same effect.
> # kamailio.cfg
> modparam("dialog","timeout_avp", "$avp(s:timeout)") ### you can
> specify this avp in proxy.cfg or put some value here
> # proxy.cfg
> # in order to send bye to specific dialog put this line before
> dlg_manage
> $dlg_ctx(timeout_bye) = 1;
> # set dialog for calls from subscriber
> #$dlg_ctx(timeout_bye) = 1;
> dlg_manage();
> set_dlg_profile("total");
> xlog("L_INFO", "Dialog set total - [% logreq -%]\n");
> set_dlg_profile("user","$avp(s:caller_uuid)");
> set_dlg_profile("userout","$avp(s:caller_uuid)");
> set_dlg_profile("account","$avp(s:caller_account_id)");
> set_dlg_profile("accountout","$avp(s:caller_account_id)");
> ## for processing BYE from proxy
> event_route[tm:local-request]
> {
> if (is_method("BYE"))
> {
> xlog("L_INFO", "Event route processing dialog BYEs - [% logreq
> -%]\n");
> acc_db_request("200 Dlg","acc");
> exit;
> }
> }
> Regards,
> Ivan
> On Wed, Jan 8, 2014 at 5:44 PM, Joel Smith | VOZELIA <
> joel at vozelia.com > wrote:
> > Hi everybody,
>
> > Is it possible to set a global call duration limit?
>
> > Thanks in advanced.
>
> > Best regards,
>
> > Joel.
>
> > _______________________________________________
>
> > Spce-user mailing list
>
> > Spce-user at lists.sipwise.com
>
> > http://lists.sipwise.com/listinfo/spce-user
>
More information about the Spce-user
mailing list