Re: [SR-Users] cnxcc doesn't terminate calls

2016-10-26 Thread Igor Potjevlesch
eally 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 Objet : Re:

Re: [SR-Users] cnxcc doesn't terminate calls

2016-10-26 Thread Arsen
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

[SR-Users] cnxcc doesn't terminate calls

2016-10-26 Thread Igor Potjevlesch
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_

Re: [SR-Users] cnxcc-web error

2016-07-31 Thread Daniel-Constantin Mierla
Hello, iirc, there is a setting in php.ini to ignore deprecated api warnings -- that could be a short term fix. The proper fix will be to update the code to use the new alternative of the deprecated api Cheers, Daniel On 01/08/16 04:56, Infinicalls Infinicalls wrote: > Hi, > I am really strug

[SR-Users] cnxcc-web error

2016-07-31 Thread Infinicalls Infinicalls
Hi, I am really struggling to get the cnxcc-web installed. the /var/log/apache2/error.log says [Mon Aug 01 02:52:00.177725 2016] [:error] [pid 17534] [client 115.241.40.163:1851] PHP Deprecated: ServiceManagerAwareInterface is deprecated and will be removed in version 3.0, along with the Servi

[SR-Users] CNXCC compilation errors

2016-07-07 Thread Infinicalls Infinicalls
Hi, Thanks. Well I tried it before also but could not proceed with since I got the compilation errors. Now also I am struck up with the same error mentioned in http://lists.sip-router.org/pipermail/sr-users/2016-January/091574.html Has anybody found a solution to this? Mine is Ubuntu 12.x LTS r

Re: [SR-Users] cnxcc module

2015-10-02 Thread Daniel-Constantin Mierla
Hello, I don't use cnxcc module, but try with debug=3 in kamailio.cfg and look at syslog messages, maybe you get a hint of what is happening. Cheers, Daniel On 22/09/15 16:29, Максим Панчоха wrote: > Hello! > I'm trying to set max call duration, but after 5 seconds call is > continues. > Kamaili

[SR-Users] cnxcc module

2015-09-22 Thread Максим Панчоха
Hello! I'm trying to set max call duration, but after 5 seconds call is continues. Kamailio version: 4.3.2 Here's part of my config file: #!define CC_FLAG 29 ... modparam("cnxcc", "credit_check_period", 1) modparam("cnxcc", "redis", "addr=127.0.0.1;port=6379;db=1") modparam("dialog", "hash_size",

[SR-Users] CNXCC

2015-08-14 Thread Keith
Hi All, I have CNXCC setup, it is kind of working but when I run kamcmd cnxcc.check_client the call information is still there even when the call is disconnected. Is this right? I basically want to make sure a customer can only have x number of simultaneous calls. Thanks Keith __

Re: [SR-Users] cnxcc

2015-08-13 Thread Keith
Hi Guys, Trying to use cnxcc but cnxcc.so is not in the modules folder. What is the easiest way to install? Thanks Keith ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.or

Re: [SR-Users] CNXCC lock

2015-07-27 Thread Kelvin Chua
already looked into it. let's see if i get the time to create a patch for this Kelvin Chua On Thu, Jul 23, 2015 at 3:28 PM, Dirk Teurlings - SIGNET B.V. < dteurli...@signet.nl> wrote: > Although we also use CNXCC I can't confirm this bug, mainly because we > only fire up CNXCC from routes when t

Re: [SR-Users] CNXCC lock

2015-07-23 Thread Dirk Teurlings - SIGNET B.V.
Although we also use CNXCC I can't confirm this bug, mainly because we only fire up CNXCC from routes when the user still has credits (controlled and checked by MySQL using transactions) As far as the lock_get goes, look into the cnxcc_check.c to find out what gets released when the user overf

[SR-Users] CNXCC lock

2015-07-21 Thread Kelvin Chua
after a call exhausted credits, the next call will fail with a timeout. found out it gets stuck in cnxcc_mod.c line 1137 static call_t *__alloc_new_call_by_money(credit_data_t *credit_data, struct sip_msg *msg, double credit, double cost_per_second, int init

[SR-Users] CNXCC cnxcc_set_max_time Version 4.2

2015-07-08 Thread Jonathan Hunter
e max time for calls. All I do is set the CC_FLAG, and then dlg_manage, and Ive also tried with the DLG_FLAG set same as CC_FLAG. Thanks Jon From: hunter...@hotmail.com To: sr-users@lists.sip-router.org Date: Tue, 7 Jul 2015 18:29:30 + Subject: [SR-Users] CNXCC cnxcc_set_max_time Version 4.2 Hi

[SR-Users] CNXCC cnxcc_set_max_time Version 4.2

2015-07-07 Thread Jonathan Hunter
Hi Guys, I have just moved from kamailio 4.1, to 4.2 and have installed via git version 4.2 I am testing with the function cnxcc_set_max_time, as I want to set the maximum call duration. Having moved to 4.2, i cant get the module to terminate the call. I have set dlg_flag, and cc_flag, following

Re: [SR-Users] CNXCC Max Call control on Version 4.1.4

2015-02-20 Thread Jonathan Hunter
Ok understood Carlos, is there a command I can run to check the CNXCC version? Jon Date: Fri, 20 Feb 2015 11:04:33 -0600 From: carlos.ruizd...@gmail.com To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] CNXCC Max Call control on Version 4.1.4 I'm not sure if the builds are up to

Re: [SR-Users] CNXCC Max Call control on Version 4.1.4

2015-02-20 Thread Carlos Ruiz Díaz
io from packages on centos via yum. > > Would a yum update to 4.1.8 include cnxcc latest version? > > Thanks > > Jon > > -- > Date: Fri, 20 Feb 2015 10:27:58 -0600 > > From: carlos.ruizd...@gmail.com > To: sr-users@lists.sip-router.org >

Re: [SR-Users] CNXCC Max Call control on Version 4.1.4

2015-02-20 Thread Jonathan Hunter
e response! Whats the latest version of Cnxcc for my reference please? And presume it runs fine with kamailio 4.1.4 ? thanks Jon Date: Fri, 20 Feb 2015 08:57:15 -0600 From: carlos.ruizd...@gmail.com To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] CNXCC Max Call control on Version

Re: [SR-Users] CNXCC Max Call control on Version 4.1.4

2015-02-20 Thread Carlos Ruiz Díaz
ats the latest version of Cnxcc for my reference please? And presume it > runs fine with kamailio 4.1.4 ? > > thanks > > Jon > > -- > Date: Fri, 20 Feb 2015 08:57:15 -0600 > From: carlos.ruizd...@gmail.com > To: sr-users@lists.sip-router.

Re: [SR-Users] CNXCC Max Call control on Version 4.1.4

2015-02-20 Thread Jonathan Hunter
Hi Carlos! Thanks for the response! Whats the latest version of Cnxcc for my reference please? And presume it runs fine with kamailio 4.1.4 ? thanks Jon Date: Fri, 20 Feb 2015 08:57:15 -0600 From: carlos.ruizd...@gmail.com To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] CNXCC Max Call

Re: [SR-Users] CNXCC Max Call control on Version 4.1.4

2015-02-20 Thread Carlos Ruiz Díaz
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 >

[SR-Users] CNXCC Max Call control on Version 4.1.4

2015-02-20 Thread Jonathan Hunter
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_c

Re: [SR-Users] CNXCC PrePaid module

2014-11-27 Thread Rene Montilva
Hi Carlos is there any different issue with kamailio 4.2.1, because i have the same error, you solved above, i got the same error with float value /usr/sbin/kamailio[13336]: WARNING: [rvalue.c:1016]: rval_get_int(): automatic string to int conversion for "0.0005" failed and with the basic value,

Re: [SR-Users] cnxcc serial fork

2014-09-28 Thread Kelvin Chua
Hi Carlos, Any updates on this? Kelvin Chua On Sun, Sep 7, 2014 at 12:35 PM, Kelvin Chua wrote: > i am not sure if this is related but, there are cases when if a user adds > credit, it does not reflect on cnxcc.active_clients > after the next call. somehow, cnxcc saves the old credit and does n

Re: [SR-Users] cnxcc serial fork

2014-09-06 Thread Kelvin Chua
i am not sure if this is related but, there are cases when if a user adds credit, it does not reflect on cnxcc.active_clients after the next call. somehow, cnxcc saves the old credit and does not update it Kelvin Chua On Thu, Aug 28, 2014 at 10:24 PM, Carlos Ruiz Díaz < carlos.ruizd...@gmail.com

Re: [SR-Users] cnxcc serial fork

2014-08-28 Thread Carlos Ruiz Díaz
Hi Kelvin, this is an interesting scenario. I will have to reproduce it myself in order to reply you properly. Answering your question, yes, it should be updated to 200. Let me check ASAP. Regards, Carlos On Thu, Aug 28, 2014 at 4:31 AM, Kelvin Chua wrote: > hi carlos, > > i have a serial

[SR-Users] cnxcc serial fork

2014-08-28 Thread Kelvin Chua
hi carlos, i have a serial forking scenario to several providers as failover. and i used cnxcc_set_max_credit to control the session credit/time. just wanted to make sure it does what i think it should do so i made a little experiment. the logic goes this way. 1. cnxcc_set_max_credit -> $100, cos

Re: [SR-Users] CNXCC curious case

2014-08-21 Thread Carlos Ruiz Díaz
Thank you for the feedback Kelvin. On Thu, Aug 21, 2014 at 2:48 AM, Kelvin Chua wrote: > just to close this issue, > it does not happen on 4.1.5 > > Kelvin Chua > > > On Thu, Jul 10, 2014 at 9:26 PM, Carlos Ruiz Díaz < > carlos.ruizd...@gmail.com> wrote: > >> Hi Kevin, >> >> what are the steps

Re: [SR-Users] CNXCC curious case

2014-08-21 Thread Kelvin Chua
just to close this issue, it does not happen on 4.1.5 Kelvin Chua On Thu, Jul 10, 2014 at 9:26 PM, Carlos Ruiz Díaz wrote: > Hi Kevin, > > what are the steps to reproduce this? > > Also, do you have the latest update of the module? I remember fixing a > deadlock that could be the root cause of

Re: [SR-Users] CNXCC curious case

2014-07-10 Thread Carlos Ruiz Díaz
Hi Kevin, what are the steps to reproduce this? Also, do you have the latest update of the module? I remember fixing a deadlock that could be the root cause of this problem. Regards, Carlos On Thu, Jul 10, 2014 at 12:03 AM, Kelvin Chua wrote: > I am using cnxcc_set_max_channels and set the

[SR-Users] CNXCC curious case

2014-07-09 Thread Kelvin Chua
I am using cnxcc_set_max_channels and set the max channels to 1 after the 1st call goes through and hangs up, the 2nd one would be blocked even if there are no more active dialogs. could it be a dialog state issue? Kelvin Chua ___ SIP Express Router (SE

Re: [SR-Users] CNXCC and multiple servers

2014-06-04 Thread Carlos Ruiz Díaz
Hi Kelvin, actually, it's something I wanted to do myself for like 4 months, but I haven't found the time to work on this. If you do, you are welcome to implement your idea :). I believe it's doable, and my original script was about using a proxy that should be aware of where the calls belonging

[SR-Users] CNXCC and multiple servers

2014-06-04 Thread Kelvin Chua
I was just playing around with the dmq module when i thought of an idea, cnxcc being able to track users across servers. cnxcc would have to be aware of dialogs created on another server. is this something doable? Kelvin Chua ___ SIP Express Router (SER

Re: [SR-Users] cnxcc

2014-06-03 Thread Carlos Ruiz Díaz
rked. > >>> > >>> Please don't forget to "git pull" to update your cnxcc copy. > >>> > >>> Regards, > >>> Carlos > >>> > >>> > >>> On Mon, Apr 28, 2014 at 3:17 AM, Andrzej Ciupek > &

Re: [SR-Users] cnxcc

2014-06-02 Thread Kelvin Chua
gt;> Carlos >>> >>> >>> On Mon, Apr 28, 2014 at 3:17 AM, Andrzej Ciupek >>> wrote: >>>> >>>> Hello again >>>> >>>> It works perfect, I was missing "setflag(DLG_FLAG);" in my main route. >>>> >&

Re: [SR-Users] CNXCC PrePaid module

2014-05-13 Thread Rene Montilva
Hi Carlos i've tested, works perfect, muchas gracias hermano! On Mon, May 12, 2014 at 11:27 PM, Carlos Ruiz Díaz < carlos.ruizd...@gmail.com> wrote: > Get the latest updates, by cloning the repository and > recompiling/reinstalling it. > > $ git clone git://git.sip-router.org/kamailio kamailio

Re: [SR-Users] CNXCC PrePaid module

2014-05-12 Thread Carlos Ruiz Díaz
Get the latest updates, by cloning the repository and recompiling/reinstalling it. $ git clone git://git.sip-router.org/kamailio kamailio Regards, Carlos On Mon, May 12, 2014 at 2:21 PM, Rene Montilva wrote: > Hi carlos, > > sorry my ignorance, where is it the master link? > > the test with on

Re: [SR-Users] CNXCC PrePaid module

2014-05-12 Thread Rene Montilva
Hi carlos, sorry my ignorance, where is it the master link? the test with only integers works perfect On Sun, May 11, 2014 at 10:48 PM, Carlos Ruiz Díaz < carlos.ruizd...@gmail.com> wrote: > Yep, assignment failed because the variables contain floating point values > and Kamailio does not hand

Re: [SR-Users] CNXCC PrePaid module

2014-05-11 Thread Carlos Ruiz Díaz
Yep, assignment failed because the variables contain floating point values and Kamailio does not handle well this kind of precision. I patched the module to add the check before initiating the call, it is in master. As a way of testing your code, replace those values with integer ones, like 5 and

Re: [SR-Users] CNXCC PrePaid module

2014-05-11 Thread Rene Montilva
Hi Carlos kamailio version 4.1 El 11/05/2014 21:32, "Carlos Ruiz Díaz" escribió: > What Kamailio version are you using? > > > On Sat, May 10, 2014 at 9:33 PM, Rene Montilva wrote: > >> Hi Carlos >> >> kamailio config: >> >> log("L_INFO", "saldo:$var(credit) y seg:$var(cost_per_sec) "); >> >> >>

Re: [SR-Users] CNXCC PrePaid module

2014-05-11 Thread Carlos Ruiz Díaz
What Kamailio version are you using? On Sat, May 10, 2014 at 9:33 PM, Rene Montilva wrote: > Hi Carlos > > kamailio config: > > log("L_INFO", "saldo:$var(credit) y seg:$var(cost_per_sec) "); > > > if($var(cost_per_sec) > $var(credit)) { > > sl_send_reply("402","payment required")

Re: [SR-Users] cnxcc

2014-05-11 Thread Carlos Ruiz Díaz
Andrzej Ciupek < >> andrzej.ciu...@hotmail.com> wrote: >> >>> Hello again >>> >>> It works perfect, I was missing "setflag(DLG_FLAG);" in my main route. >>> >>> Thank You very much for help. >>> >>> Greetings

Re: [SR-Users] cnxcc

2014-05-11 Thread Kelvin Chua
;> It works perfect, I was missing "setflag(DLG_FLAG);" in my main route. >> >> Thank You very much for help. >> >> Greetings >> Andrzej Ciupek >> >> ---------- >> From: andrzej.ciu...@hotmail.com >> To: carlos.ru

Re: [SR-Users] CNXCC PrePaid module

2014-05-10 Thread Rene Montilva
Hi Carlos kamailio config: log("L_INFO", "saldo:$var(credit) y seg:$var(cost_per_sec) "); if($var(cost_per_sec) > $var(credit)) { sl_send_reply("402","payment required"); exit; } if (!cnxcc_set_max_credit("$var(client)", "$var(credit)", "$var(cost_per_s

Re: [SR-Users] CNXCC PrePaid module

2014-05-09 Thread Carlos Ruiz Díaz
On Fri, May 9, 2014 at 3:52 PM, Rene Montilva wrote: > these are the values before the function call: > > /usr/sbin/kamailio[24933]: INFO:

Re: [SR-Users] CNXCC PrePaid module

2014-05-09 Thread Rene Montilva
these are the values before the function call: /usr/sbin/kamailio[24933]: INFO:

Re: [SR-Users] CNXCC PrePaid module

2014-05-09 Thread Carlos Ruiz Díaz
Oops, correction: *if ($var(credit) < $var(cost_per_second)) {* *sl_send_reply("402", "payment required");* *exit;* *}* By the way, please inform of your results after doing your tests. Thanks, Carlos On Fri, May 9, 2014 at 3:17 PM, Carlos Ruiz Díaz wrote: > Hello, > > "i_puls

Re: [SR-Users] CNXCC PrePaid module

2014-05-09 Thread Carlos Ruiz Díaz
Hello, "i_pulse" and "f_pulse" are direct translations of the Spanish (I noticed you speak it) phrases "pulso inicial" and "pulso final", which I don't think have the same meaning in English. Updating the docs and using the proper terminology are pending matters on this module. Both values repres

Re: [SR-Users] CNXCC PrePaid module

2014-05-09 Thread Rene Montilva
Hi Carlos This my kamailio config: #!ifdef CNXCC_MONEY sql_query("ca", "select * from billing.sel_customer_credit('pepe','xxx","ra"); xlog("L_INFO", "Setting up money based credit control"); if($dbr(ra=>rows)> 0){ xlog("L_INFO", "saldo:$dbr(ra=>[0,0]) y seg:$dbr(ra=>[0,1]) "); $var(credit)

Re: [SR-Users] CNXCC PrePaid module

2014-05-09 Thread Carlos Ruiz Díaz
Hi, Can you paste the code you are using, with the values that each variable contain at the moment of initiating the call? Regards, On Fri, May 9, 2014 at 2:35 PM, Rene Montilva wrote: > Hi list > > I don't understand prepaid logic calculation, because when my credit is 0 > or lees than cost p

[SR-Users] CNXCC PrePaid module

2014-05-09 Thread Rene Montilva
Hi list I don't understand prepaid logic calculation, because when my credit is 0 or lees than cost per second, the call is established equal $var(i_pulse) and $var(f_pulse) how this works ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-use

Re: [SR-Users] cnxcc

2014-04-28 Thread Carlos Ruiz Díaz
; Thank You very much for help. > > Greetings > Andrzej Ciupek > > -- > From: andrzej.ciu...@hotmail.com > To: carlos.ruizd...@gmail.com > CC: sr-users@lists.sip-router.org > Subject: RE: [SR-Users] cnxcc > Date: Mon, 28 Apr 2014 09:54:30 +0

Re: [SR-Users] cnxcc

2014-04-28 Thread Andrzej Ciupek
Hello again It works perfect, I was missing "setflag(DLG_FLAG);" in my main route. Thank You very much for help. GreetingsAndrzej Ciupek From: andrzej.ciu...@hotmail.com To: carlos.ruizd...@gmail.com CC: sr-users@lists.sip-router.org Subject: RE: [SR-Users] cnxcc Date: Mon, 28 Apr 201

Re: [SR-Users] cnxcc

2014-04-28 Thread Andrzej Ciupek
Hello You are amazing !! Your example work perfect, but I have to work with mine cfg, because when I use part of Your route into my config it doesn't work like it should.I think I have some problems with dialog module, because when I start Your script I get: Apr 28 09:47:31 kamailio /usr/local/sb

Re: [SR-Users] cnxcc

2014-04-27 Thread Carlos Ruiz Díaz
t;> version. >> >> Regards, >> >> >> On Sat, Apr 26, 2014 at 10:23 AM, Andrzej Ciupek < >> andrzej.ciu...@hotmail.com> wrote: >> >>> Yes. I want prepaid subscribers be able to create only one channel to >>> prevent frau

Re: [SR-Users] cnxcc

2014-04-27 Thread Carlos Ruiz Díaz
be able to create only one channel to >> prevent frauds for simultaneous calls. >> >> Greetings >> Andrzej Ciupek >> -- >> Od: Carlos Ruiz Díaz >> Wysłano: ‎2014-‎04-‎26 16:42 >> Do: Andrzej Ciupek >> DW: Kamailio (S

Re: [SR-Users] cnxcc

2014-04-27 Thread Andrzej Ciupek
Hello I’am using default config with options from an example. It looks like event route isn’t execuded after hangup. Apr 26 16:26:14 kamailio /usr/local/sbin/kamailio[4611]: INFO:

Re: [SR-Users] cnxcc

2014-04-26 Thread Carlos Ruiz Díaz
> Andrzej Ciupek > -- > Od: Carlos Ruiz Díaz > Wysłano: ‎2014-‎04-‎26 16:42 > Do: Andrzej Ciupek > DW: Kamailio (SER) - Users Mailing List > Temat: Re: [SR-Users] cnxcc > > Hi Andrzej, > > are you trying to setup cnxcc to check both credit and maximum > simultane

Re: [SR-Users] cnxcc

2014-04-26 Thread Carlos Ruiz Díaz
Hi Andrzej, are you trying to setup cnxcc to check both credit and maximum simultaneous calls? Regards, On Sat, Apr 26, 2014 at 9:26 AM, Andrzej Ciupek wrote: > Hello > > I’am using default config with options from an example. It looks like > event route isn’t execuded after hangup. > > Apr

Re: [SR-Users] cnxcc

2014-04-26 Thread Carlos Ruiz Díaz
Hi, sorry guys, I forgot about this. I will make my own tests and post the results. Andrzej, can you post the configuration file you are using? Regards, Carlos On Sat, Apr 26, 2014 at 4:15 AM, Kelvin Chua wrote: > No, I have not yet found the solution for this issue on my setup. > > Maybe Ca

Re: [SR-Users] cnxcc

2014-04-26 Thread Kelvin Chua
No, I have not yet found the solution for this issue on my setup. Maybe Carlos can help us out On Apr 26, 2014 5:10 PM, "Andrzej Ciupek" wrote: > Hello > > Have You solved this issue ? > I’am using Kamailio 4.1.3 and I’am getting the same results. > > Greetings > Andrzej Ciupek > _

Re: [SR-Users] cnxcc

2014-04-09 Thread Kelvin Chua
Yeah, i copied dialog and cnxcc params from your kamailio-cnxcc-basic.cfg #!define DLG_FLAG 28 #!define CC_FLAG 29 modparam("dialog", "hash_size", 2048) modparam("dialog", "default_timeout", 3600) modparam("dialog", "db_mode", 0) modparam("dialog", "dlg_flag", DLG_FLAG) modparam("cnxcc", "dlg_flag

Re: [SR-Users] cnxcc

2014-04-09 Thread Carlos Ruiz Díaz
Hi Kelvin, this looks a lot like the classic dialog matching problem. Have you tried to use the example conf file that is provided with the module? Please try that as is, and copy the params of both dialog and cnxcc modparams to your script. I will try to reply when i'm not touring around ;-). R

Re: [SR-Users] cnxcc

2014-04-08 Thread Kelvin Chua
Wow rome! great choice carlos! enjoy your honeymoon! :) here is what i did: #!define FLD_CNXCC 5 modparam("cnxcc", "dlg_flag", FLD_CNXCC) cnxcc_set_max_credit(1 , 196.9485 , 0.011000 , 6 , 6); number_of_calls increments for every call and i never see max_amount going non-zero client_id:6,number

Re: [SR-Users] cnxcc

2014-04-08 Thread Daniel Grotti
Rome! Great choice! :) Daniel On 04/08/2014 10:31 AM, Carlos Ruiz Díaz wrote: > Hi Carsten, > > that's right, I'm replying to this while I wait for a tour to the > Vatican City :-D ;-) > > Cheers, > > > On Tue, Apr 8, 2014 at 3:27 AM, Carsten Bock > wrote: > >

Re: [SR-Users] cnxcc

2014-04-08 Thread Carlos Ruiz Díaz
Hi Carsten, that's right, I'm replying to this while I wait for a tour to the Vatican City :-D ;-) Cheers, On Tue, Apr 8, 2014 at 3:27 AM, Carsten Bock wrote: > Hi Carlos, > > please remember: You're on your Honeymoon! :-) > > Enjoy Rome, > Carsten > > 2014-04-08 10:26 GMT+02:00 Carlos Ruiz D

Re: [SR-Users] cnxcc

2014-04-08 Thread Carsten Bock
Hi Carlos, please remember: You're on your Honeymoon! :-) Enjoy Rome, Carsten 2014-04-08 10:26 GMT+02:00 Carlos Ruiz Díaz : > Hi Kelvin, > > probably the dialog matching parameter is wrong, or something in the > parameter configuration of cnxcc. > > The value of max_amount is 0, because the call

Re: [SR-Users] cnxcc

2014-04-08 Thread Carlos Ruiz Díaz
Hi Kelvin, probably the dialog matching parameter is wrong, or something in the parameter configuration of cnxcc. The value of max_amount is 0, because the call wasn't established or was established and cnxcc couldn't detect it (probably because of the dlg matching, as I mentioned). It will reta

[SR-Users] cnxcc

2014-04-08 Thread Kelvin Chua
i am trying to use cnxcc for the first time. kamctl kamcmd cnxcc.active_clients client_id:6,number_of_calls:1,concurrent_calls:0,type:1,max_amount:0.00,consumed_amount:0.00; i don't think this is correct, seems like the dialog is not disengaging after i hang up. i created dialogs alongsi

Re: [SR-Users] cnxcc module insufficient credit

2013-07-29 Thread Jayesh Nambiar
Hey Carlos, I would test and get back. --- Jayesh On Jul 29, 2013 7:27 PM, "Carlos Ruiz Díaz" wrote: > Hi Jayesh, > > I just applied the changes and updated the documentation. Please give it a > try. > > Regards, > Carlos > > > On Wed, Jul 17, 2013 at 11:01 PM, Jayesh Nambiar wrote: > >> Thank y

Re: [SR-Users] cnxcc module insufficient credit

2013-07-29 Thread Carlos Ruiz Díaz
Hi Jayesh, I just applied the changes and updated the documentation. Please give it a try. Regards, Carlos On Wed, Jul 17, 2013 at 11:01 PM, Jayesh Nambiar wrote: > Thank you Carlos. > > --- Jayesh > > > On Wed, Jul 17, 2013 at 11:19 PM, Carlos Ruiz Díaz < > carlos.ruizd...@gmail.com> wrote: >

Re: [SR-Users] cnxcc module insufficient credit

2013-07-17 Thread Jayesh Nambiar
Thank you Carlos. --- Jayesh On Wed, Jul 17, 2013 at 11:19 PM, Carlos Ruiz Díaz < carlos.ruizd...@gmail.com> wrote: > Ok. Right now I'm short in time but this weekend I'm gonna schedule myself > this. > > I'll let you know. > > Carlos. > > > On Wed, Jul 17, 2013 at 11:40 AM, Jayesh Nambiar wrot

Re: [SR-Users] cnxcc module insufficient credit

2013-07-17 Thread Carlos Ruiz Díaz
Ok. Right now I'm short in time but this weekend I'm gonna schedule myself this. I'll let you know. Carlos. On Wed, Jul 17, 2013 at 11:40 AM, Jayesh Nambiar wrote: > Thanks for the reply Carlos. Checking before relaying the call is how I am > doing it right now but it feels like it would have

Re: [SR-Users] cnxcc module insufficient credit

2013-07-17 Thread Jayesh Nambiar
Thanks for the reply Carlos. Checking before relaying the call is how I am doing it right now but it feels like it would have been more neater if done in the cnxcc module itself since it is anyways checking the credit after the call is active !! I would wait for that behavior though in the cnxcc m

Re: [SR-Users] cnxcc module insufficient credit

2013-07-17 Thread Carlos Ruiz Díaz
Hi Jayesh, yes, I think this behavior can be added. As a workaround you can check the credit data before relaying the INVITE so you can reject it immediately in case of lacking enough credit. Have you tried that? Regards, Carlos. On Wed, Jul 17, 2013 at 10:57 AM, Jayesh Nambiar wrote: > Hi Al

[SR-Users] cnxcc module insufficient credit

2013-07-17 Thread Jayesh Nambiar
Hi All, I was testing out the cnxcc module and it works well for prepaid credit handling. One problem that I saw with the module is that if the credit is insufficient it still allows the call to pass and then disconnect within a second. Is it possible that if the credit is insufficient for the call

Re: [SR-Users] cnxcc developer module pulse concept

2013-06-06 Thread Carlos Ruiz Díaz
Hi Eduardo, please take into account that there might be telephony concepts mistranslated from Spanish to English. In case you find something else that seems confusing, please let me know. Regards, Carlos On Thu, Jun 6, 2013 at 7:56 AM, Eduardo Lejarreta wrote: > Good evening Carlos. > >

[SR-Users] cnxcc developer module pulse concept

2013-06-06 Thread Eduardo Lejarreta
Good evening Carlos. I've found an example on git repository where you have additional information. For a credit of 50, a discount per second of 0,5, a initial_pulse of 30 and final_pulse of 6 .. # if only one call is established, that call should last 1m, 36s Now It makes sense to

[SR-Users] cnxcc developer module pulse concept

2013-06-06 Thread Eduardo Lejarreta
Good morning Carlos. On cnxcc_set_max_credit() function I don't understand the concept "pulse" (sure it's something easy but I'm a not aware about this matter) Could you please explain it in an example? Thanks and best regards. -- Eduardo Lejarreta. __