Hi,
Yep, the dialog is created. I put the dialog into DB and see it. Nothing appears in the logs when the timer is reached. I succeed to do the same behaviour with dialog module only and dlg_set_timeout. Looks to do why I want. I'm a bit frustrating about cnxcc because I really don't understand why nothing happen after max_time, but, anyway, it works with dialog only. Regards, Igor. De : sr-users [mailto:sr-users-boun...@lists.sip-router.org] De la part de Arsen Envoyé : mercredi 26 octobre 2016 11:15 À : Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Objet : Re: [SR-Users] cnxcc doesn't terminate calls Hi Igor, Make sure that you create a dialog for this call and $dlg_var(key) is available (This pseudo-variable will be available only for subsequential requests after doing loose_route().) Also check kamailio logs maybe you try to terminate call for wrong customer id. On Wed, Oct 26, 2016 at 10:52 AM, Igor Potjevlesch <igor.potjevle...@gmail.com <mailto:igor.potjevle...@gmail.com> > wrote: Hi, I'm testing cnxcc module in order to make a simple call duration limitation. My understanding is to use the function like this : $dlg_var(customer_id) = "customer-" + $fU; $var(max_time) = 5; if (!cnxcc_set_max_time("$dlg_var(customer_id)", "$var(max_time)")) Unfortunately, after 5 seconds, nothing happen. I don't even see an error from dialog module. Anyone has a better understanding of the way the module runs? Thank you! Regards, Igor. _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Regards, Arsen.
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users