[Spce-user] No contract balance

Abel Alejandro aalejandro at alliedtechnologygrouppr.com
Wed Oct 2 21:49:00 EDT 2013


I am getting this error:

root at spce:/var/log/ngcp# /etc/init.d/ngcp-rate-o-mat restart
Restarting rate-o-mat: rate-o-mat.
root at spce:/var/log/ngcp# Use of uninitialized value in addition (+) at
/usr/sbin/rate-o-mat line 933.
Use of uninitialized value in addition (+) at /usr/sbin/rate-o-mat line 933.
Error rating CDR batch: No contract balance for CDR 14750 found

However I havent setup any limits for the account, so I am confused by it.

The cdr is as follow:

mysql> select * from cdr where id=14750\G
*************************** 1. row ***************************
                                  id: 14750
                         update_time: 2013-09-03 07:58:17
                      source_user_id: 66ec170b-dfad-4d7e-96b7-941b557bd334
                  source_provider_id: 1
       source_external_subscriber_id:
         source_external_contract_id: Dr Jaime Ortiz
                   source_account_id: 13
                         source_user: 802
                       source_domain: sip.alliedtechpr.com
                          source_cli: 17877058924
                         source_clir: 0
                           source_ip: 192.254.110.8
                 destination_user_id: 0
             destination_provider_id: 2
  destination_external_subscriber_id:
    destination_external_contract_id:
              destination_account_id: 0
                    destination_user: 178772753XX
                  destination_domain: 196.12.170.XXX
             destination_user_dialed: 78772753XX
                 destination_user_in: 178772753XX
               destination_domain_in: sip.alliedtechpr.com
                      peer_auth_user:
                     peer_auth_realm:
                           call_type: call
                         call_status: ok
                           call_code: 200
                           init_time: 1378209427.219
                          start_time: 1378209432.490
                            duration: 55.640
                             call_id:
4f007f934e211aeb179ebf5246ee9e0b at sip.alliedtechpr.com
                 source_carrier_cost: 0.00
                source_reseller_cost: 0.00
                source_customer_cost: 0.00
            source_carrier_free_time: NULL
           source_reseller_free_time: NULL
           source_customer_free_time: NULL
       source_carrier_billing_fee_id: NULL
      source_reseller_billing_fee_id: NULL
      source_customer_billing_fee_id: NULL
      source_carrier_billing_zone_id: NULL
     source_reseller_billing_zone_id: NULL
     source_customer_billing_zone_id: NULL
            destination_carrier_cost: 0.00
           destination_reseller_cost: 0.00
           destination_customer_cost: 0.00
       destination_carrier_free_time: NULL
      destination_reseller_free_time: NULL
      destination_customer_free_time: NULL
  destination_carrier_billing_fee_id: NULL
 destination_reseller_billing_fee_id: NULL
 destination_customer_billing_fee_id: NULL
 destination_carrier_billing_zone_id: NULL
destination_reseller_billing_zone_id: NULL
destination_customer_billing_zone_id: NULL
                 frag_carrier_onpeak: NULL
                frag_reseller_onpeak: NULL
                frag_customer_onpeak: NULL
                       is_fragmented: NULL
                               split: 0
                            rated_at: NULL
                       rating_status: unrated
                         exported_at: NULL
                       export_status: unexported
1 row in set (0.00 sec)

mysql>



-- 
Abel Alejandro




More information about the Spce-user mailing list