[SR-Users] Cost deduction in kamailio

Federico Cabiddu federico.cabiddu at gmail.com
Wed Aug 23 14:15:44 CEST 2017


Hi,
cnxcc doesn't provide this feature. Is not aware of any backend, it just
controls subscriber's balance, money or time, as instructed.
You can calculate the amount to be deducted after the call ends (if you're
doing money based accounting) using dlg variables to store the needed
information (start_time, end_time, cost per second) and then updating the
balance via sqlops module's functions.

Cheers,

Federico

On Wed, Aug 23, 2017 at 7:50 AM, Logeshwaran G <logeshwarangs at gmail.com>
wrote:

> Hi,
>
> How to deduct the call cost or credits for the subscribers with the cnxcc
> module?
>
> Input Please
>
>
> Thanks & Kind Regards,
> Logeshwaran G
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170823/c475388e/attachment.html>


More information about the sr-users mailing list