<div dir="auto">Hi Viraj</div><div dir="auto"><br></div><div dir="auto">Try removing all the $ from the lines. That denotes end of line which doesn’t match your patterns. Also check the destination regex. I think you mean to put a . Before the last +</div><div dir="auto"><br></div><div dir="auto">For instance</div><div dir="auto"><br></div><div dir="auto">^31.+,^31.+,out,"National","National",3,1,0.011,1,3,1,0.011,1,0,prefix,,0,,0,0<br></div><div dir="auto"><br></div><div dir="auto">Should match the first call that failed. </div><div dir="auto"><br></div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 24 Feb 2021 at 15:39, Viraj Balgobind <<a href="mailto:ideatells@outlook.com">ideatells@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="en-NL" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="m_7490175796361392003WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Hi Walter, Matthias,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">I changed the CSV according to the format of Matthias. With the following as result: (I also tried it with “” on the source and destination)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="m_7490175796361392003MsoListParagraph" style="margin-left:0cm"><b><span lang="EN-GB">Rates<u></u><u></u></span></b></li></ol>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">^31.+$,^31+$,out,"National","National",3,1,0.011,1,3,1,0.011,1,0,prefix,,0,,0,0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">^31.+$,^31112+$,out,"National","National",0,1,0,1,0,1,0,1,0,prefix,,0,,0,0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">^31.+$,^3114+$,out,"National","National",3,1,0.045,1,3,1,0.045,1,0,prefix,,0,,0,0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">^31.+$,^316+$,out,"National","National",3,1,0.045,1,3,1,0.045,1,0,prefix,,0,,0,0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">^31.+$,^316350+$,out,"National","National",1.3,1,1.3,1,1.3,1,1.3,1,0,prefix,,0,,0,0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">^31.+$,^31660+$,out,"National","National",1.3,1,1.3,1,1.3,1,1.3,1,0,prefix,,0,,0,0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">^31.+$,^3167+$,out,"National","National",1.3,1,1.3,1,1.3,1,1.3,1,0,prefix,,0,,0,0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">^31.+$,^31800+$,out,"National","National",0,1,0,1,0,1,0,1,0,prefix,,0,,0,0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">^31.+$,^3184+$,out,"National","National",1.3,1,1.3,1,1.3,1,1.3,1,0,prefix,,0,,0,0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">^31.+$,^31842+$,out,"National","National",1.3,1,1.3,1,1.3,1,1.3,1,0,prefix,,0,,0,0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">^31.+$,^3185+$,out,"National","National",3,1,0.011,1,3,1,0.011,1,0,prefix,,0,,0,0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">^31.+$,^3187+$,out,"National","National",1.3,1,1.3,1,1.3,1,1.3,1,0,prefix,,0,,0,0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">^31.+$,^3188+$,out,"National","National",3,1,0.011,1,3,1,0.011,1,0,prefix,,0,,0,0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">^31.+$,^319+$,out,"National","National",1.3,1,1.3,1,1.3,1,1.3,1,0,prefix,,0,,0,0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">^31.+$,^31970+$,out,"National","National",3,1,0.045,1,3,1,0.045,1,0,prefix,,0,,0,0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="en-NL"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="en-NL"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-GB">2) I started rat-o-mat and checked the log, the following was giving as output:<u></u><u></u></span></b></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:14 spce (info) ngcp-rate-o-mat[10717]: WARNING: 1/24 - rating CDR ID 60 aborted  (retry 1): FATAL: No outbound fee info for profile 3 and source user '31853XXXXXX' or user/domain
 '31853XXXXXX@62.XXX.XXX.XX' and destination user '31704XXXXXX' or user/domain '<a href="mailto:31704XXXXXX@voip.my.com" target="_blank">31704XXXXXX@voip.my.com</a>' found<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:14 spce (info) ngcp-rate-o-mat[10717]: WARNING: 1/24 - rating CDR ID 61 aborted  (retry 1): FATAL: No outbound fee info for profile 3 and source user '31853XXXXXX' or user/domain
 '31853XXXXXX@62.XXX.XXX.XX' and destination user '31704XXXXXX' or user/domain '<a href="mailto:31704XXXXXX@voip.my.com" target="_blank">31704XXXXXX@voip.my.com</a>' found<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:14 spce (info) ngcp-rate-o-mat[10717]: WARNING: 1/24 - rating CDR ID 62 aborted  (retry 1): FATAL: No outbound fee info for profile 3 and source user '31853XXXXXX' or user/domain
 '31853XXXXXX@62.XXX.XXX.XX' and destination user '31704XXXXXX' or user/domain '<a href="mailto:31704XXXXXX@voip.my.com" target="_blank">31704XXXXXX@voip.my.com</a>' found<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:14 spce (info) ngcp-rate-o-mat[10717]: WARNING: 1/24 - rating CDR ID 63 aborted  (retry 1): FATAL: No outbound fee info for profile 3 and source user '31853XXXXXX' or user/domain
 '31853XXXXXX@62.XXX.XXX.XX' and destination user '31704XXXXXX' or user/domain '<a href="mailto:31704XXXXXX@voip.my.com" target="_blank">31704XXXXXX@voip.my.com</a>' found<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: FATAL: 1/24 - rating CDR ID 3 aborted (failed 3 times), please fix it manually: FATAL: No outbound fee info for profile 5 and source
 user '31853XXXXXX' or user/domain '31853XXXXXX@62.XXX.XXX.XX' <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: Trying to connect to billing db...<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: Successfully connected to duplication db...<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: Trying to connect to provisioning db...<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: Successfully connected to provisioning db...<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: Trying to connect to accounting db...<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: Successfully connected to accounting db...<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: local cdr cash balance column model loaded<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: local cdr relation column model loaded<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: local cdr time balance column model loaded<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: local cdr tag column model loaded<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: Up and running.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: Grabbed 24 CDRs<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 3<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 6<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 9<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 10<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 11<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 12<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 14<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 24<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 26<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 30<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 31<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 38<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 39<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 40<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 41<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 44<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 49<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 55<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 56<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 59<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 60<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 61<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 62<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 63<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: Batch of 0 CDRs completed. 0 CDRs rated overall so far.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: There were 24 failed CDRs, sleep 30<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: Grabbed 24 CDRs<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 3<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 6<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 9<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 10<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 11<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 12<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 14<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 24<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 26<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 30<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 31<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 38<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 39<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 40<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 41<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 44<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 49<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 55<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 56<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 59<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 60<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 61<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 62<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 63<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: Batch of 0 CDRs completed. 0 CDRs rated overall so far.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: There were 24 failed CDRs, sleep 30<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: Grabbed 24 CDRs<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Feb 24 08:25:44 spce (info) ngcp-rate-o-mat[10717]: INFO: 1/24 - rate CDR ID 3<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-GB">3) In the Web GUI I see the following:<u></u><u></u></span></b></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><img src="cid:177d44bc4a711bfad142" style="width:896px;max-width:100%"></span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">It looks like there is no match on the rates what I uploaded to the billing profile. The right billing profile is applied to the peer and subscriber.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Kind regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">VIraj<u></u><u></u></span></p>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Walter Klomp <<a href="mailto:walter@myrepublic.net" target="_blank">walter@myrepublic.net</a>>
<br>
<b>Sent:</b> Tuesday, 23 February 2021 18:00<br>
<b>To:</b> Viraj Balgobind <<a href="mailto:ideatells@outlook.com" target="_blank">ideatells@outlook.com</a>><br>
<b>Cc:</b> <a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a><br>
<b>Subject:</b> Re: [Spce-user] Billing not working<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Rate-O-mat isn’t running. Try to start it with service ngcp-rate-o-mat start<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Things should appear in the log file pointing you where the problem is. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Tue, 23 Feb 2021 at 21:38, Viraj Balgobind <<a href="mailto:ideatells@outlook.com" target="_blank">ideatells@outlook.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Dear,</span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">I am facing an issue with applying a billing profile to my subscribers and peers.</span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><span lang="en-NL"><u></u><u></u></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.</span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">I used a CSV to upload my rates. An example is one the following:</span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">I checked the following logs:</span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">root@spce:/var/log/ngcp# cat cdr.log</span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></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.</span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></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.</span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></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.</span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></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.</span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></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.</span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></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.</span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></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.</span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></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.</span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></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.</span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></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.</span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></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.</span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></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.</span><span lang="en-NL"><u></u><u></u></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</span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">root@spce:/var/log/ngcp# cat rate-o-mat.log 
</span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">root@spce:/var/log/ngcp#</span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><span lang="en-NL"><u></u><u></u></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.</span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><img border="0" src="cid:177d44bc4a7ad7999131" style="width:896px;max-width:100%"></span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Could you help me out with this issue?</span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Kind regards,</span><span lang="en-NL"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Viraj</span><span lang="en-NL"><u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal">-- <br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com" target="_blank">http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com</a><u></u><u></u></p>
</blockquote>
</div>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<table border="0" cellspacing="0" cellpadding="0" width="346" style="width:259.8pt">
<tbody>
<tr>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Warmest Regards,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:purple"><a href="https://myrepublic.com.sg/" target="_blank"><span style="color:purple"><br>
</span><span style="color:purple;text-decoration:none"><img border="0" width="140" height="92" style="width:1.4583in;height:.9583in" id="m_7490175796361392003_x0000_i1025" src="https://myrepublic.com.sg/resources/email-signature.png"></span></a></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p>
</div>
</td>
<td style="padding:0cm 0cm 0cm 0cm">
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#7f2b99">Walter Klomp</span></b><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#4d4d4d">Head of Voice & Systems</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#4d4d4d">MyRepublic Limited</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#4d4d4d">T: +65 6816 1120</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#4d4d4d">F: +65 6717 2031</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p>
</div>
</td>
</tr>
<tr>
<td width="333" colspan="2" style="width:249.75pt;padding:0cm 0cm 0cm 0cm">
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#4d4d4d">MyRepublic Limited</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#4d4d4d"><a href="https://www.google.com/maps/search/11+Lorong+3+Toa+Payoh+Block+B?entry=gmail&source=g">11 Lorong 3 Toa Payoh Block B</a> Jackson Square</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#4d4d4d">#04-11/15 Singapore 319579</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#4d4d4d"><br>
</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#4d4d4d"><a href="https://myrepublic.com.sg/" target="_blank"><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#4d4d4d">myrepublic.com.sg</span></a></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#4d4d4d">Follow us on: <a href="https://twitter.com/myrepublic" target="_blank"><span style="color:#4d4d4d">Twitter</span></a> | <a href="https://facebook.com/myrepublicsg" target="_blank"><span style="color:#4d4d4d">Facebook</span></a> | <a href="https://www.linkedin.com/company/myrepublic" target="_blank"><span style="color:#0563c1">LinkedIn</span></a></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p>
</div>
</td>
</tr>
</tbody>
</table>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<table border="0" cellspacing="0" cellpadding="0" width="346" style="width:259.8pt">
<tbody>
<tr>
<td valign="top" style="padding:0cm 0cm 0cm 0cm"></td>
</tr>
</tbody>
</table>
</div>
</div>
<p class="MsoNormal"><br>
<i><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#666666;background:white">The contents of this email and any attachments are confidential and may also be privileged. You must not disseminate the contents of this email and any attachments
 without permission of the sender. If you have received this email by mistake, please delete all copies and inform the sender immediately. You may refer to our company's Privacy Policy
<a href="https://myrepublic.net/sg/legal/terms-of-use-policies/privacy-policy/" target="_blank">
here</a>.</span></i><u></u><u></u></p>
</div>
</div>

</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><table border="0" cellspacing="0" cellpadding="0" width="346" style="font-family:Helvetica;width:259.8pt"><tbody><tr><td valign="top" style="padding:0cm"><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><br></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman"">Warmest Regards,</div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="color:purple"><a href="https://myrepublic.com.sg/" style="color:purple" target="_blank"><br><img border="0" width="140" height="92" src="https://myrepublic.com.sg/resources/email-signature.png"></a></span><span></span></div></td><td style="padding:0cm"><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><b><span style="font-size:10pt;font-family:Arial;color:rgb(127,43,153)">Walter Klomp</span></b><span></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)">Head of Voice & Systems</span><span></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)">MyRepublic Limited</span><span></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)">T: +65 6816 1120</span><span></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)">F: +65 6717 2031</span></div></td></tr><tr><td width="333" colspan="2" style="width:249.75pt;padding:0cm"><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""> <span></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)">MyRepublic Limited</span><span></span></div><div style="font-family:arial,sans-serif;font-size:16px;margin:0in 0in 0.0001pt"><font color="#4d4d4d" face="Arial, sans-serif"><span style="font-size:11.3333px">11 Lorong 3 Toa Payoh Block B Jackson Square</span></font></div><div style="font-family:arial,sans-serif;font-size:16px;margin:0in 0in 0.0001pt"><font color="#4d4d4d" face="Arial, sans-serif"><span style="font-size:11.3333px">#04-11/15 Singapore 319579</span></font></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)"><br></span><span style="color:rgb(77,77,77)"><a href="https://myrepublic.com.sg/" style="color:purple" target="_blank"><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)">myrepublic.com.sg</span></a></span><span></span></div><div style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman""><span style="font-size:8.5pt;font-family:Arial;color:rgb(77,77,77)">Follow us on: <a href="https://twitter.com/myrepublic" style="color:purple" target="_blank"><span style="color:rgb(77,77,77)">Twitter</span></a> | <a href="https://facebook.com/myrepublicsg" style="color:purple" target="_blank"><span style="color:rgb(77,77,77)">Facebook</span></a> | <a href="https://www.linkedin.com/company/myrepublic" style="color:purple" target="_blank"><span style="color:rgb(5,99,193)">LinkedIn</span></a></span></div></td></tr></tbody></table><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px"><br></div><table border="0" cellspacing="0" cellpadding="0" width="400" style="font-family:Helvetica;width:259.8pt"><tbody><tr><td valign="top" style="padding:0in"><br></td></tr></tbody></table></div></div>

<br>
<span style="color:rgb(34,34,34);font-family:sans-serif;background-color:rgb(255,255,255)"><font size="1"><span style="font-family:Arial;color:rgb(102,102,102);font-style:italic;vertical-align:baseline;white-space:pre-wrap">The contents of this email and any attachments are confidential and may also be privileged. You must not disseminate the contents of this email and any attachments without permission of the sender. If you have received this email by mistake, please delete all copies and inform the sender immediately. You may refer to our company's Privacy Policy </span><span style="color:rgb(102,102,102);font-family:Arial;font-style:italic;vertical-align:baseline;white-space:pre-wrap"><a href="https://myrepublic.net/sg/legal/terms-of-use-policies/privacy-policy/" target="_blank">here</a></span><span style="font-family:Arial;color:rgb(102,102,102);font-style:italic;vertical-align:baseline;white-space:pre-wrap">.</span></font></span>