<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.E-MailFormatvorlage19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-AT link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Hey,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>what did you mean, they are not applied to your calls?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>If you go into the subscriber > call log… did you see the calls there and also the rated amount?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=DE style='mso-fareast-language:DE-AT'>Von:</span></b><span lang=DE style='mso-fareast-language:DE-AT'> Viraj Balgobind <ideatells@outlook.com> <br><b>Gesendet:</b> Dienstag, 23. Februar 2021 14:38<br><b>An:</b> spce-user@lists.sipwise.com<br><b>Betreff:</b> [Spce-user] Billing not working<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-GB>Dear,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>I am facing an issue with applying a billing profile to my subscribers and peers.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>I applied the billing profile to my peers and customer, but the rates are not applied to my calls.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>I used a CSV to upload my rates. An example is one the following:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>.,^35526490,out, VoIP, VoIP,3,1,0.233333333,1,3,1,0.233333333,1,0,prefix<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>.,^35526523,out, VoIP, VoIP,3,1,0.233333333,1,3,1,0.233333333,1,0,prefix<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>.,^35526563,out, VoIP, VoIP,3,1,0.233333333,1,3,1,0.233333333,1,0,prefix<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>I checked the following logs:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>root@spce:/var/log/ngcp# cat cdr.log<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 12:37:23 spce (info) mediator[1081]: mediator.c:443 [main]: Total CDR creation rate 145.623999 CDR/sec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 12:47:06 spce (info) mediator[1081]: mediator.c:442 [main]: Runtime for loop processing 1 callids and generating 1 CDRs was 6857 us.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 12:47:06 spce (info) mediator[1081]: mediator.c:443 [main]: Total CDR creation rate 145.836372 CDR/sec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 12:47:49 spce (info) mediator[1081]: mediator.c:442 [main]: Runtime for loop processing 1 callids and generating 1 CDRs was 7676 us.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 12:47:49 spce (info) mediator[1081]: mediator.c:443 [main]: Total CDR creation rate 130.276186 CDR/sec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 12:48:12 spce (info) mediator[1081]: mediator.c:442 [main]: Runtime for loop processing 1 callids and generating 0 CDRs was 2176 us.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 12:48:12 spce (info) mediator[1081]: mediator.c:443 [main]: Total CDR creation rate 0.000000 CDR/sec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 12:48:22 spce (info) mediator[1081]: mediator.c:442 [main]: Runtime for loop processing 1 callids and generating 1 CDRs was 6967 us.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 12:48:22 spce (info) mediator[1081]: mediator.c:443 [main]: Total CDR creation rate 143.533802 CDR/sec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 12:48:25 spce (info) mediator[1081]: mediator.c:442 [main]: Runtime for loop processing 1 callids and generating 0 CDRs was 1353 us.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 12:48:25 spce (info) mediator[1081]: mediator.c:443 [main]: Total CDR creation rate 0.000000 CDR/sec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 12:48:35 spce (info) mediator[1081]: mediator.c:442 [main]: Runtime for loop processing 1 callids and generating 1 CDRs was 6205 us.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 12:48:35 spce (info) mediator[1081]: mediator.c:443 [main]: Total CDR creation rate 161.160355 CDR/sec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 13:13:08 spce (info) mediator[1081]: mediator.c:442 [main]: Runtime for loop processing 1 callids and generating 1 CDRs was 6586 us.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 13:13:08 spce (info) mediator[1081]: mediator.c:443 [main]: Total CDR creation rate 151.837230 CDR/sec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 13:17:41 spce (info) mediator[1081]: mediator.c:442 [main]: Runtime for loop processing 1 callids and generating 0 CDRs was 1706 us.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 13:17:41 spce (info) mediator[1081]: mediator.c:443 [main]: Total CDR creation rate 0.000000 CDR/sec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 13:17:51 spce (info) mediator[1081]: mediator.c:442 [main]: Runtime for loop processing 1 callids and generating 1 CDRs was 5205 us.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 13:17:51 spce (info) mediator[1081]: mediator.c:443 [main]: Total CDR creation rate 192.122959 CDR/sec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 13:23:24 spce (info) mediator[1081]: mediator.c:442 [main]: Runtime for loop processing 1 callids and generating 1 CDRs was 7136 us.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 13:23:24 spce (info) mediator[1081]: mediator.c:443 [main]: Total CDR creation rate 140.134529 CDR/sec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 13:23:27 spce (info) mediator[1081]: mediator.c:442 [main]: Runtime for loop processing 1 callids and generating 1 CDRs was 8149 us.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 13:23:27 spce (info) mediator[1081]: mediator.c:443 [main]: Total CDR creation rate 122.714443 CDR/sec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 13:23:50 spce (info) mediator[1081]: mediator.c:442 [main]: Runtime for loop processing 1 callids and generating 1 CDRs was 7276 us.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Feb 23 13:23:50 spce (info) mediator[1081]: mediator.c:443 [main]: Total CDR creation rate 137.438153 CDR/sec<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>root@spce:/var/log/ngcp# cat rate-o-mat.log <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>root@spce:/var/log/ngcp#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>This is what I see when I click on customers in the menu. It looks like it is applied to the customer.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB><img width=1176 height=119 style='width:12.25in;height:1.2416in' id="Picture_x0020_1" src="cid:image001.png@01D709F5.59E24EC0"></span><span lang=EN-GB><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Could you help me out with this issue?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Kind regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Viraj<o:p></o:p></span></p></div></body></html>