[Spce-user] Control of CDR export file generation

Thomas Odorfer odotom at gmail.com
Thu Jul 24 17:36:54 EDT 2014

Hi Andreas,
thanks for the hint - I haven’t recognized that this flag was already set, now it works.

Just another problem that was caused by this issue or by my procedure:
The actual balance (peering costs, customer revenue and even the total sum within the test invoice) is not correct anymore and does not reflect the new rates - how are the values for billing.contract_balances generated in detail and could this be „reset“?

Once I get this solved I might publish a procedure for „secure rerating“ in the case of mishandling your billing fee ruleset ;-)

Am Jul 24, 2014 um 11:13 PM schrieb Andreas Granig <agranig at sipwise.com>:


Just reset export_status to unexported in accounting.cdr for the ones
you need to re-export.


On 07/24/2014 08:30 PM, Thomas Odorfer wrote:
> Hi,
> is it possible to trigger the export of a bunch of rerated CDRs again (towards „cdrexport“ files)?
> Due to an error in the billing fees rules I had to correct the rating for already stored CDRs (I changed the status of the relevant CDRs back into „unrated“ within accounting.cdr   and restarted rate-o-mat).
> However, I would also like to generate the CDR export into the cdv files.
> I just found the marker for the file sequence (accounting.mark) for the cdv files, but how and where does it remember the last „generated“ CDR?
> Cheers
> Thomas
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
Spce-user mailing list
Spce-user at lists.sipwise.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20140724/5c2b14ac/attachment-0001.asc>

More information about the Spce-user mailing list