<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hello, </div><div><br></div><div>ngcp-rate-o-mat was not started, when starting i get this error: </div><div><br></div><div> Error rating CDR batch: No outbound fee info for profile 1 and source user '112' or user/domain '112@ xxxxxxxxxx' and destination user 'xxxxxxxxxx' or user/domain 'xxxxxxxxxx@ xxxxxxxxxx'</div><div><br></div>(I replaced the server and phone number with X for privacy reasons) <div><br></div><div>this is the result of  mysql accounting -e "select * from cdr where id=18 \G"</div><div><br></div><div><div>*************************** 1. row ***************************</div><div>                                  id: 18</div><div>                         update_time: 2013-05-08 10:18:32</div><div>                      source_user_id: d3f9d0d9-0595-4de0-8e7e-f2d8b28e2826</div><div>                  source_provider_id: 1</div><div>       source_external_subscriber_id: </div><div>         source_external_contract_id: 1</div><div>                   source_account_id: 4</div><div>                         source_user: 112</div><div>                       source_domain: xxx.xxx.xx.xx</div><div>                          source_cli: 112</div><div>                         source_clir: 0</div><div>                           source_ip: xxx.xxx.xx.xx</div><div>                 destination_user_id: 0</div><div>             destination_provider_id: 0</div><div>  destination_external_subscriber_id: </div><div>    destination_external_contract_id: </div><div>              destination_account_id: 0</div><div>                    destination_user: xxxxxxxxx</div><div>                  destination_domain: xxx.xxx.xx.xx</div><div>             destination_user_dialed: xxxxxxxxx</div><div>                 destination_user_in: xxxxxxxxx</div><div>               destination_domain_in: xxx.xxx.xx.xx</div><div>                      peer_auth_user: </div><div>                     peer_auth_realm: </div><div>                           call_type: call</div><div>                         call_status: offline</div><div>                           call_code: 404</div><div>                           init_time: 1368033502.379</div><div>                          start_time: 1368033502.380</div><div>                            duration: 0.000</div><div>                             call_id: aaa4230a2cb5fa01</div><div>                 source_carrier_cost: 0.00</div><div>                source_reseller_cost: 0.00</div><div>                source_customer_cost: 0.00</div><div>            source_carrier_free_time: 0</div><div>           source_reseller_free_time: 0</div><div>           source_customer_free_time: 0</div><div>       source_carrier_billing_fee_id: NULL</div><div>      source_reseller_billing_fee_id: NULL</div><div>      source_customer_billing_fee_id: NULL</div><div>      source_carrier_billing_zone_id: NULL</div><div>     source_reseller_billing_zone_id: NULL</div><div>     source_customer_billing_zone_id: NULL</div><div>            destination_carrier_cost: 0.00</div><div>           destination_reseller_cost: 0.00</div><div>           destination_customer_cost: 0.00</div><div>       destination_carrier_free_time: 0</div><div>      destination_reseller_free_time: 0</div><div>      destination_customer_free_time: 0</div><div>  destination_carrier_billing_fee_id: NULL</div><div> destination_reseller_billing_fee_id: NULL</div><div> destination_customer_billing_fee_id: NULL</div><div> destination_carrier_billing_zone_id: NULL</div><div>destination_reseller_billing_zone_id: NULL</div><div>destination_customer_billing_zone_id: NULL</div><div>                 frag_carrier_onpeak: NULL</div><div>                frag_reseller_onpeak: NULL</div><div>                frag_customer_onpeak: NULL</div><div>                       is_fragmented: NULL</div><div>                               split: 0</div><div>                            rated_at: 2013-05-08 10:18:32</div><div>                       rating_status: ok</div><div>                         exported_at: NULL</div><div>                       export_status: unexported</div></div><div><br></div><div><blockquote type="cite"><b>From:</b> Andreas Granig <<a href="mailto:agranig@sipwise.com">agranig@sipwise.com</a>><br><b>Date:</b> May 16, 2013, 11:56:13 PM PDT<br><b>To:</b> <a href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a><br><b>Subject:</b> <b>Re: [Spce-user] Sipwise Billing issue</b><br><br></blockquote><blockquote type="cite">Hi,<br><br>Please subscribe to the mailing list before posting, thanks. See comments inline:<br><br>On 05/17/2013 01:06 AM, Nigel Johnson wrote:<br><blockquote type="cite"><blockquote type="cite">I was hoping to get some answers about billing profiles. I have set up a billing profile and stored billing fees but every time i make a call no cost is added to CDR next to the call. I have filled in all of the required fields and still nothing gets billed. i have tried using various amounts, deleting and re adding billing profiles and fees and still nothing.<br></blockquote></blockquote><br>Please check that mediator and rate-o-mat is running, and if not, check /var/log/ngcp/cdr.log and /var/log/ngcp/rate-o-mat.log for error messages.<br><br>If those seem fine, please send us the output of such a CDR on question, like:<br><br>mysql accounting -e "select * from cdr where id=xxx \G"<br><br>Thanks,<br>Andreas</blockquote></div></body></html>