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_of_calls:2,concurrent_calls:0,type:1,max_amount:0.000000,consumed_amount:0.000000;
Kelvin Chua
On Tue, Apr 8, 2014 at 5:19 AM, Daniel Grotti <dgrotti(a)sipwise.com> wrote:
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 <carsten(a)ng-voice.com
<mailto:carsten@ng-voice.com>> wrote:
Hi Carlos,
please remember: You're on your Honeymoon! :-)
Enjoy Rome,
Carsten
2014-04-08 10:26 GMT+02:00 Carlos Ruiz Díaz
<carlos.ruizdiaz(a)gmail.com <mailto:carlos.ruizdiaz@gmail.com>>:
> 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 retain this value for as long
as the call
is in the "early" state.
Check this example [1], it may help you.
[1]
http://caruizdiaz.com/2014/04/04/cnxcc-prepaid-module-workshop-kamailio-wor…
Regards,
On Tue, Apr 8, 2014 at 3:04 AM, Kelvin Chua <kelchy(a)gmail.com
<mailto:kelchy@gmail.com>> wrote:
>
> 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.000000,consumed_amount:0.000000;
>
> i don't think this is correct, seems like the dialog is not
disengaging
>> after i hang up.
>> i created dialogs alongside cnxcc just to compare, all dialogs
were
>
disengaged.
> is this an expected behavior?
>
> It's also weird that the max_amount is 0 while i checked that
there is
a
> value for credit being passed as an
argument.
>
>
> Kelvin Chua
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list
>> sr-users(a)lists.sip-router.org <mailto:
sr-users(a)lists.sip-router.org>
>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
--
Carlos
http://caruizdiaz.com
http://ngvoice.com
+595981146623 <tel:%2B595981146623>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
list
> sr-users(a)lists.sip-router.org <mailto:
sr-users(a)lists.sip-router.org>
--
Carsten Bock
CEO (Geschäftsführer)
ng-voice GmbH
Schomburgstr. 80
D-22767 Hamburg / Germany
http://www.ng-voice.com
mailto:carsten@ng-voice.com <mailto:carsten@ng-voice.com>
Office +49 40 34927219 <tel:%2B49%2040%2034927219>
Fax +49 40 34927220 <tel:%2B49%2040%2034927220>
Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284
Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/
_______________________________________________
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
--
Carlos
http://caruizdiaz.com
http://ngvoice.com
+595981146623
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org