<div dir="ltr">i used the cnxcc module its successfully terminated the call. but if you want i can help you.<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 27, 2016 at 12:58 AM,  <span dir="ltr"><<a href="mailto:sr-users-request@lists.sip-router.org" target="_blank">sr-users-request@lists.sip-<wbr>router.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send sr-users mailing list submissions to<br>
        <a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:sr-users-request@lists.sip-router.org" target="_blank">sr-users-request@lists.sip-rou<wbr>ter.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:sr-users-owner@lists.sip-router.org" target="_blank">sr-users-owner@lists.sip-route<wbr>r.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of sr-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: cnxcc doesn't terminate calls (Igor Potjevlesch)<br>
   2. logfile is empty (Hermann Norpois)<br>
   3. Re: Out of memory in UB 210: OOM killed process 12261<br>
      (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB<br>
      (Jurijs Ivolga)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Wed, 26 Oct 2016 12:48:29 +0200<br>
From: "Igor Potjevlesch" <<a href="mailto:igor.potjevlesch@gmail.com" target="_blank">igor.potjevlesch@gmail.com</a>><br>
To: "'Kamailio \(SER\) - Users Mailing List'"<br>
        <<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><wbr>><br>
Subject: Re: [SR-Users] cnxcc doesn't terminate calls<br>
Message-ID: <009c01d22f76$7d0c9a30$7725ce9<wbr>0$@<a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
<br>
<br>
Yep, the dialog is created. I put the dialog into DB and see it.<br>
<br>
Nothing appears in the logs when the timer is reached.<br>
<br>
<br>
<br>
I succeed to do the same behaviour with dialog module only and dlg_set_timeout. Looks to do why I want.<br>
<br>
<br>
<br>
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.<br>
<br>
<br>
<br>
Regards,<br>
<br>
<br>
<br>
Igor.<br>
<br>
<br>
<br>
De : sr-users [mailto:<a href="mailto:sr-users-bounces@lists.sip-router.org" target="_blank">sr-users-bounces@lists<wbr>.sip-router.org</a>] De la part de Arsen<br>
Envoyé : mercredi 26 octobre 2016 11:15<br>
À : Kamailio (SER) - Users Mailing List <<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><wbr>><br>
Objet : Re: [SR-Users] cnxcc doesn't terminate calls<br>
<br>
<br>
<br>
Hi Igor,<br>
<br>
<br>
<br>
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().)<br>
<br>
<br>
<br>
Also check kamailio logs maybe you try to terminate call for wrong customer id.<br>
<br>
<br>
<br>
On Wed, Oct 26, 2016 at 10:52 AM, Igor Potjevlesch <<a href="mailto:igor.potjevlesch@gmail.com" target="_blank">igor.potjevlesch@gmail.com</a> <mailto:<a href="mailto:igor.potjevlesch@gmail.com" target="_blank">igor.potjevlesch@gmail<wbr>.com</a>> > wrote:<br>
<br>
Hi,<br>
<br>
<br>
<br>
I'm testing cnxcc module in order to make a simple call duration limitation.<br>
<br>
My understanding is to use the function like this :<br>
<br>
<br>
<br>
$dlg_var(customer_id)           = "customer-" + $fU;<br>
<br>
            $var(max_time)                                  = 5;<br>
<br>
<br>
<br>
            if (!cnxcc_set_max_time("$dlg_var<wbr>(customer_id)", "$var(max_time)"))<br>
<br>
<br>
<br>
Unfortunately, after 5 seconds, nothing happen. I don't even see an error from dialog module.<br>
<br>
<br>
<br>
Anyone has a better understanding of the way the module runs? Thank you!<br>
<br>
<br>
<br>
Regards,<br>
<br>
<br>
<br>
Igor.<br>
<br>
<br>
______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a> <mailto:<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-rou<wbr>ter.org</a>><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
<br>
Regards,<br>
Arsen.<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.sip-router.org/pipermail/sr-users/attachments/20161026/7bb4b10a/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.sip-router.org/p<wbr>ipermail/sr-users/attachments/<wbr>20161026/7bb4b10a/attachment-<wbr>0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 26 Oct 2016 21:27:04 +0200<br>
From: Hermann Norpois <<a href="mailto:hnorpois@gmail.com" target="_blank">hnorpois@gmail.com</a>><br>
To: sr-users <<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><wbr>><br>
Subject: [SR-Users] logfile is empty<br>
Message-ID:<br>
        <<a href="mailto:CAKyZeBvPaoyerMeMfWB6Z6La%2BAL8eFJ%2B%2BLSjJZY7JOXQD3Zxdw@mail.gmail.com" target="_blank">CAKyZeBvPaoyerMeMfWB6Z6La+AL8<wbr>eFJ++LSjJZY7JOXQD3Zxdw@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
 my logfile  /var/log/kamailio/kamailio.log is empty.<br>
<br>
<br>
1)<br>
/etc/rsyslog.d/kamailio.cfg exists with the entry:<br>
log_facility=LOG_LOCAL0<br>
<br>
2)<br>
/etc/rsyslog.con has the entry:<br>
#<br>
# don't log messages with LOG_LOCAL0 in /var/log/syslog anymore<br>
*.*;auth,authpriv.none,local0.<wbr>none              -/var/log/syslog<br>
<br>
#<br>
# log messages with LOG_LOCAL0 in /var/log/kamailio.log<br>
local0.*                        -/var/log/kamailio.log<br>
#<br>
<br>
 local0.*                        -/var/log/kamailio/kamailio/ka<wbr>mailio.log<br>
<br>
Alternatively I edited /etc/rsyslog.d/kamailio.conf that should be used by<br>
rsylog.conf<br>
<br>
3)<br>
/etc/rsyslog.d/kamailio.conf exists with the entry:<br>
local0.*                        -/var/log/kamailio/kamailio.lo<wbr>g<br>
<br>
<br>
I am working with ubuntu on an amazon instance.<br>
<br>
<br>
Why is the logfile empty?<br>
<br>
Thanks Herman<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.sip-router.org/pipermail/sr-users/attachments/20161026/7eb2f323/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.sip-router.org/p<wbr>ipermail/sr-users/attachments/<wbr>20161026/7eb2f323/attachment-<wbr>0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 26 Oct 2016 14:12:16 +0300<br>
From: Jurijs Ivolga <<a href="mailto:jurijs.ivolga@gmail.com" target="_blank">jurijs.ivolga@gmail.com</a>><br>
To: Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>><br>
Cc: "Kamailio \(SER\) - Users Mailing List"<br>
        <<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><wbr>><br>
Subject: Re: [SR-Users] Out of memory in UB 210: OOM killed process<br>
        12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB<br>
Message-ID:<br>
        <CAOrA2UZvXGU7XYhgmHG0=sTJ=<a href="mailto:BuUY7C-wAZDmqucgJpHj3B7bg@mail.gmail.com" target="_blank">BuU<wbr>Y7C-wAZDmqucgJpHj3B7bg@mail.gm<wbr>ail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Daniel,<br>
<br>
I ran again with valgrind and still there is some issues.<br>
<br>
It will be really nice if you can take a look. :)<br>
<br>
With kind regards,<br>
<br>
Jurijs<br>
<br>
On Fri, Oct 21, 2016 at 12:36 PM, Daniel-Constantin Mierla <<br>
<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>> wrote:<br>
<br>
> Hello,<br>
><br>
><br>
> On 21/10/16 11:22, Jurijs Ivolga wrote:<br>
> > Hi Daniel,<br>
> ><br>
> > After 8 days there is still small memory leak, 200MB of Ram wasn't<br>
> > freed during this 8 days, please check diagram below.<br>
> ><br>
> > 1) Is this something usual?<br>
> > 2) Memory leak seems very small, maybe I should never worry about<br>
> > this? What you think?<br>
> ><br>
> 200MB in 8 days it's still relevant and a leak. Maybe you can run again<br>
> with valgrind...<br>
><br>
> Unless it is unclaimed memory by kernel:<br>
><br>
>   -<br>
> <a href="https://www.kamailio.org/wiki/tutorials/troubleshooting/" rel="noreferrer" target="_blank">https://www.kamailio.org/wiki/<wbr>tutorials/troubleshooting/</a><br>
> memory#os_memory_reports<br>
><br>
> Cheers,<br>
> Daniel<br>
><br>
> --<br>
> Daniel-Constantin Mierla<br>
> <a href="http://twitter.com/#!/miconda" rel="noreferrer" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">http://www.linkedin.com/in/mic<wbr>onda</a><br>
> Kamailio Advanced Training, Berlin, Oct 24-26, 2016 -<br>
> <a href="http://www.asipto.com" rel="noreferrer" target="_blank">http://www.asipto.com</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.sip-router.org/pipermail/sr-users/attachments/20161026/f7bad45e/attachment.html" rel="noreferrer" target="_blank">http://lists.sip-router.org/p<wbr>ipermail/sr-users/attachments/<wbr>20161026/f7bad45e/attachment.<wbr>html</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: memory.zip<br>
Type: application/zip<br>
Size: 952715 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.sip-router.org/pipermail/sr-users/attachments/20161026/f7bad45e/attachment.zip" rel="noreferrer" target="_blank">http://lists.sip-router.org/p<wbr>ipermail/sr-users/attachments/<wbr>20161026/f7bad45e/attachment.<wbr>zip</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
<br>
<br>
------------------------------<br>
<br>
End of sr-users Digest, Vol 137, Issue 25<br>
******************************<wbr>***********<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_1618977846022621190gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>With Regards,<br></div>Surendra Tiwari<br><a href="tel:%2B91-9409647941" value="+919409647941" target="_blank">+91-9409647941</a><br></div></div>
</div></div>