i used the cnxcc module its successfully terminated the call. but if you
want i can help you.
On Thu, Oct 27, 2016 at 12:58 AM, <sr-users-request(a)lists.sip-router.org>
wrote:
Send sr-users mailing list submissions to
sr-users(a)lists.sip-router.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
or, via email, send a message with subject or body 'help' to
sr-users-request(a)lists.sip-router.org
You can reach the person managing the list at
sr-users-owner(a)lists.sip-router.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of sr-users digest..."
Today's Topics:
1. Re: cnxcc doesn't terminate calls (Igor Potjevlesch)
2. logfile is empty (Hermann Norpois)
3. Re: Out of memory in UB 210: OOM killed process 12261
(kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB
(Jurijs Ivolga)
----------------------------------------------------------------------
Message: 1
Date: Wed, 26 Oct 2016 12:48:29 +0200
From: "Igor Potjevlesch" <igor.potjevlesch(a)gmail.com>
To: "'Kamailio \(SER\) - Users Mailing List'"
<sr-users(a)lists.sip-router.org>
Subject: Re: [SR-Users] cnxcc doesn't terminate calls
Message-ID: <009c01d22f76$7d0c9a30$7725ce90$(a)gmail.com>
Content-Type: text/plain; charset="utf-8"
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-bounces@lists.sip-router.org] De la part
de Arsen
Envoyé : mercredi 26 octobre 2016 11:15
À : Kamailio (SER) - Users Mailing List <sr-users(a)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.potjevlesch(a)gmail.com <mailto:igor.potjevlesch@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(a)lists.sip-router.org <mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Regards,
Arsen.