[Spce-user] Add time to call duration

Jon Bonilla (Manwe) manwe at sipdoc.net
Fri Jul 23 05:41:53 EDT 2021

El Fri, 23 Jul 2021 11:14:23 +0200
Rickey <rickey58 at gmail.com> escribió:

> Good day,
> Is it possible to add 1 second to the duration field of the accounting.cdr
> table for outgoing calls (successful ones, i.e. duration> 0s) and calculate
> the source_customer_cost on this basis?

You have the correct info in the db. Just use ceil or any other function in
your exports, views or whatever. 

PekePBX, the multitenant PBX solution
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Firma digital OpenPGP
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20210723/fef6788d/attachment-0002.sig>

More information about the Spce-user mailing list