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@gmail.com>:
Carsten Bock> 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-world/
>
> Regards,
>
>
>
>
> On Tue, Apr 8, 2014 at 3:04 AM, Kelvin Chua <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@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@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
--
CEO (Geschäftsführer)
ng-voice GmbH
Schomburgstr. 80
D-22767 Hamburg / Germany
http://www.ng-voice.com
mailto:carsten@ng-voice.com
Office +49 40 34927219
Fax +49 40 34927220
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@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users