[Spce-user] Error rating CDR batch: No provider info for provider id 5 found

Andreas Granig agranig at sipwise.com
Tue Aug 28 19:21:21 EDT 2012


Hi Daniel,

On 08/15/2012 01:47 PM, Daniel Speichert wrote:
> I have some error in the database that makes rate-o-mat throw a fatal error.
> The message of it is below, I just don't know what "provider" is it
> complaining about as the words used in www_admin are quite different.
> 
> root at sip:~# rollback ineffective with AutoCommit enabled at
> /usr/sbin/rate-o-mat line 90.
> rollback ineffective with AutoCommit enabled at /usr/sbin/rate-o-mat
> line 91.
> Error rating CDR batch: No provider info for provider id 5 found

The provider info is the billing contract for the
destination_provider_id column in the CDR, which must therefore be a
valid billing contract id. Do you have a billing contract with id 5? If
not (maybe you deleted it, and if so, how?) then you need to manually
set the rating_status to 'ok' or 'failed' for the CDRs in question. You
must never delete a billing contract from the DB if there are still
unrated CDRs for this contract.

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20120829/d6cca82c/attachment-0001.asc>


More information about the Spce-user mailing list