From carlos.ruizdiaz@gmail.com Fri Feb 20 15:57:22 2015 From: Carlos Ruiz =?utf-8?q?D=C3=ADaz?= To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] CNXCC Max Call control on Version 4.1.4 Date: Fri, 20 Feb 2015 08:57:15 -0600 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0214319526==" --===============0214319526== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi Jonathan, Cnxcc was heavily updated a couple of months ago, so I suggest you update your copy and let me know if the update fixes this bug. Regards, Carlos On Feb 20, 2015 8:45 AM, "Jonathan Hunter" wrote: > Hi Guys, > > Using kamailio Version 4.1.4 on Centos 6.5 I have an issue when using > cnxcc to control max call duration for all outbound calls. > > In my configuration I set the following; > > # -----Dialog params ----- > modparam("dialog", "dlg_flag", 4) > modparam("cnxcc", "dlg_flag", 4) > modparam("cnxcc", "credit_check_period", 1) > > Then I look to set some parameters for outbound calls; > > ###########Set Max Call Duration for MT Call ############# > > $var(customer) = "MTPublic"; > $var(max_time) = $var(MTMaxCallDuration); > xlog("L_INFO","For setting Call Duration we have > ProfileID=$var(profileIDMD) and we have var(max_time)=$var(max_time)\n"); > cnxcc_set_max_time("$var(customer)", "$var(max_time)"); > xlog("L_INFO","Max Call duration set to $var(max_time) seconds\n"); > > > > Feb 20 14:20:26 voip01 /usr/sbin/kamailio[1950]: INFO: