<html>
<head>
<!-- Template generated by Exclaimer Mail Disclaimers on 07:16:51 Thursday, 27 August 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">P.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</style><style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
p
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif}
p.imprintuniqueid, li.imprintuniqueid, div.imprintuniqueid
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif}
span.stilemessaggiodipostaelettronica17
        {font-family:"Calibri",sans-serif;
        color:windowtext}
span.StileMessaggioDiPostaElettronica23
        {font-family:"Calibri",sans-serif;
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt;
        font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:70.85pt 2.0cm 2.0cm 2.0cm}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="IT" link="#0563C1" vlink="#954F72">
<p class="ImprintUniqueID"></p>
<div>Hi Alessandro</div>
<div><br>
</div>
<div>The error is pretty clear;</div>
<div><br>
</div>
<div>ug 27 10:17:34 sip rate-o-mat[6537]: No outbound fee info for profile 6 and source user '39075847xxx' or user/domain '390758472xxx@185.xx.xx.xx' and destination user '003598xxxxxxx' or user/domain '003598xxxxxxx@xxxxxxxx’ found</div>
<div><br>
</div>
<div>You don't have a rate defined on your billing profile 6 for the destination 003598. </div>
<div><br>
</div>
<div>Looks like maybe your inbound re-write rule isn't stripping your 00 and your numbers back to E164?</div>
<div><br>
</div>
<div>If you fix your rule and restart ngcp-rate-o-mat service you'll see if it hits more errors. </div>
<div><br>
</div>
<div>You can't produce bills if your calls are not rating.</div>
<div><br>
</div>
<div>You need to fix the root cause which is the billing rate doesn't exist. </div>
<div><br>
</div>
<div>Greg<br>
<br>
<div class="acompli_signature"></div>
<br>
</div>
<br>
<br>
<br>
<p></p>
<p class="ImprintUniqueID"><font size="2" face="Calibri"></font> </p>
<strong>
<p class="ImprintUniqueID"><font style="font-family:Calibri;font-size:10pt;color:Black;font-weight:bold;">Greg</font><font color="black" size="2" face="Calibri"> </font><font style="font-family:Calibri;font-size:10pt;color:Black;">Lipschitz</font><font color="black" size="2" face="Calibri"> |
</font><font style="font-family:Calibri;font-size:10pt;color:Black;font-weight:bold;">Director</font><font color="black" size="2" face="Calibri"> |
</font><font style="font-family:Calibri;font-size:10pt;color:Black;">The Summit Group</font></p>
</strong>
<p class="ImprintUniqueID"><font size="2" face="Calibri">E: </font><span style="font-family:Calibri;font-size:10pt;"><a href="mailto:Greg@thesummitgroup.com.au" title="Click to send email to Greg Lipschitz" target="" style="font-family:Calibri;font-size:10pt;"><span style="font-family:Calibri; font-size:10pt;">Greg@thesummitgroup.com.au</span></a></span><font size="2" face="Calibri"> | W:
<a href="http://www.thesummitgroup.com.au" title="" target="" style="">www.thesummitgroup.com.au</a></font></p>
<p class="ImprintUniqueID"><font size="2" face="Calibri">The Summit Group (Australia) Pty Ltd | P: </font><font style="font-family:Calibri;font-size:10pt;">1300 049 749</font><font size="2"><font face="Calibri"> | Level 1, 39 Railway Road, Blackburn  VIC  3130<br>
The Summit Group (USA) LLC | P: 321 216 3844 | Suite 1003, 364E Main Street, Middletown  DE 19709<br>
</font><font face="Calibri">Postal:      P.O. Box 3225, Doncaster East  VIC  3109</font></font></p>
<p class="ImprintUniqueID"><font size="2" face="Calibri"></font> </p>
<p class="ImprintUniqueID"><font size="2" face="Calibri">Follow us on </font><a href="http://www.facebook.com/thesummitgroup/"><font size="2" face="Calibri">Facebook</font></a><font size="2" face="Calibri"> |
</font><a href="http://www.linkedin.com/company/1942329"><font size="2" face="Calibri">LinkedIn</font></a><font size="2" face="Calibri"> |
</font><a href="http://twitter.com/summitgroupau/"><font size="2" face="Calibri">Twitter</font></a><em><strong><br>
</strong></em></p>
<p class="ImprintUniqueID"></p>
<div class="gmail_quote">On Thu, Aug 27, 2015 at 2:05 AM -0700, "Alessandro Bolletta"
<span dir="ltr"><<a href="mailto:alessandro@mediaspot.net" target="_blank">alessandro@mediaspot.net</a>></span> wrote:<br>
<br>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Greg,</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">no errors on rate-o-mat log. If i grep it at /var/log/ngcp/rate-o-mat.log, i see this:</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aug 27 10:17:34 sip rate-o-mat[6537]: Trying to connect to billing db...</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aug 27 10:17:34 sip rate-o-mat[6537]: Successfully connected to billing db...</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aug 27 10:17:34 sip rate-o-mat[6537]: Trying to connect to accounting db...</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aug 27 10:17:34 sip rate-o-mat[6537]: Successfully connected to accounting db...</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aug 27 10:17:34 sip rate-o-mat[6537]: Up and running.</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aug 27 10:17:34 sip rate-o-mat[6537]: rate cdr #5095</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aug 27 10:17:34 sip rate-o-mat[6537]: No outbound fee info for profile 6 and source user '39075847xxx' or user/domain '390758472xxx@185.xx.xx.xx' and destination user '003598xxxxxxx' or user/domain '003598xxxxxxx@xxxxxxxx’
 found</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aug 27 10:17:34 sip rate-o-mat[6537]: Error rating CDR batch: No outbound fee info for profile 6 and source user '390758472327' or user/domain '3907584xxxx@185.xx.xxx.xx' and destination user '0035987xxxxxxx'
 or user/domain '0035987xxxxxxx@xxxxxxxxx' found</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Aug 27 10:17:34 sip rate-o-mat: Error rating CDR batch: No outbound fee info for profile 6 and source user '390758472327' or user/domain '39075847xxxx@185.xx.xxx.xx' and destination user '003598xxxxxxxx' or user/domain
 '003598xxxxxxxx@xxxxxxxxx' found</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">So, you are saying that, after this unmatched call, rate-o-mat stopped billing?</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Also, is there a way to bill unrated calls? I have much calls which are not billed now.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks,</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Alessandro</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Da:</b> Greg Lipschitz [mailto:Greg@thesummitgroup.com.au]
<br>
<b>Inviato:</b> giovedì 27 agosto 2015 10.57<br>
<b>A:</b> spce-user@lists.sipwise.com; Alessandro Bolletta <alessandro@mediaspot.net><br>
<b>Oggetto:</b> Re: [Spce-user] sipwise stopped billing unexpectedly</p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif">Check that rate-o-mat is not throwing errors. </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif">Tail the log, restart the service. You will see an error in the log if it's hitting a record it cannot rate. </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif">If it hits a record it cannot rate it will wait until you have a rule to bill correctly then continue. </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif">Greg</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"> </span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"><br>
<br>
</span></p>
<p class="imprintuniqueid"> </p>
<p class="imprintuniqueid"><b><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:black">Greg Lipschitz | Director | The Summit Group</span></b></p>
<p class="imprintuniqueid"><span style="font-size:10.0pt; font-family:"Calibri",sans-serif">E:
<a href="mailto:Greg@thesummitgroup.com.au" title="Click to send email to Greg Lipschitz">
Greg@thesummitgroup.com.au</a> | W: <a href="http://www.thesummitgroup.com.au" title="">
www.thesummitgroup.com.au</a></span></p>
<p class="imprintuniqueid"><span style="font-size:10.0pt; font-family:"Calibri",sans-serif">The Summit Group (Australia) Pty Ltd | P: 1300 049 749 | Level 1, 39 Railway Road, Blackburn  VIC  3130<br>
The Summit Group (USA) LLC | P: 321 216 3844 | Suite 1003, 364E Main Street, Middletown  DE 19709<br>
Postal:      P.O. Box 3225, Doncaster East  VIC  3109</span></p>
<p class="imprintuniqueid"> </p>
<p class="imprintuniqueid"><span style="font-size:10.0pt; font-family:"Calibri",sans-serif">Follow us on
</span><a href="http://www.facebook.com/thesummitgroup/"><span style="font-size:10.0pt; font-family:"Calibri",sans-serif">Facebook</span></a><span style="font-size:10.0pt; font-family:"Calibri",sans-serif"> |
</span><a href="http://www.linkedin.com/company/1942329"><span style="font-size:10.0pt; font-family:"Calibri",sans-serif">LinkedIn</span></a><span style="font-size:10.0pt; font-family:"Calibri",sans-serif"> |
</span><a href="http://twitter.com/summitgroupau/"><span style="font-size:10.0pt; font-family:"Calibri",sans-serif">Twitter</span></a></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt; font-family:"Times New Roman",serif">On Thu, Aug 27, 2015 at 1:15 AM -0700, "Alessandro Bolletta" <<a href="mailto:alessandro@mediaspot.net" target="_blank">alessandro@mediaspot.net</a>>
 wrote:</span></p>
</div>
<div>
<div>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’m testing Sipwise CE in my production network by these 2 months and it worked well since now. Today we checked the billing on the Subscribers’ call log, and we saw that calls are not billed at all since yesterday.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">So, we see calls on the log, we can also see their length, but Source Cust Cost is 0.00000 in every call.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Why do you think it could happen? Is also there a why to make sipwise bill that calls with a sort of script?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">--</p>
<p class="MsoNormal">Alessandro Bolletta</p>
<p class="MsoNormal">Mediaspot Srl</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</div>
<p></p>
<p><font size="2" face="Calibri"></font></p>
<p><font size="2" face="Calibri"></font></p>

</body>
</html>