<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)">
<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;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.imprintuniqueid, li.imprintuniqueid, div.imprintuniqueid
        {mso-style-name:imprintuniqueid;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
span.stilemessaggiodipostaelettronica17
        {mso-style-name:stilemessaggiodipostaelettronica17;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.StileMessaggioDiPostaElettronica23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
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="IT" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Hi Greg,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">no errors on rate-o-mat log. If i grep it at /var/log/ngcp/rate-o-mat.log, i see this:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Aug 27 10:17:34 sip rate-o-mat[6537]: Trying to connect to billing db...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Aug 27 10:17:34 sip rate-o-mat[6537]: Successfully connected to billing db...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Aug 27 10:17:34 sip rate-o-mat[6537]: Trying to connect to accounting db...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Aug 27 10:17:34 sip rate-o-mat[6537]: Successfully connected to accounting db...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Aug 27 10:17:34 sip rate-o-mat[6537]: Up and running.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Aug 27 10:17:34 sip rate-o-mat[6537]: rate cdr #5095<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">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<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">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<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">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<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">So, you are saying that, after this unmatched call, rate-o-mat stopped billing?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Also, is there a way to bill unrated calls? I have much calls which are not billed now.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-US">Alessandro<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language: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>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<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></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. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p> </o:p></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. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p> </o:p></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. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Greg<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p> </o:p></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>
<o:p></o:p></span></p>
<p class="imprintuniqueid"> <o:p></o:p></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><o:p></o:p></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><o:p></o:p></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><o:p></o:p></p>
<p class="imprintuniqueid"> <o:p></o:p></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><o:p></o:p></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:<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></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.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></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.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></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?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">--<o:p></o:p></p>
<p class="MsoNormal">Alessandro Bolletta<o:p></o:p></p>
<p class="MsoNormal">Mediaspot Srl<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>