<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: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:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        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;
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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 bgcolor=white lang=DE-AT link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Fixed quite some time ago <a href="https://github.com/sipwise/rate-o-mat/issues/1">https://github.com/sipwise/rate-o-mat/issues/1</a> . Not backported so upgrading to a newer version will do the trick.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>br<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;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><span lang=DE style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext'>Von:</span></b><span lang=DE style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext'> Spce-user [mailto:spce-user-bounces@lists.sipwise.com] <b>Im Auftrag von </b>Henk<br><b>Gesendet:</b> Freitag, 3. Mai 2019 15:11<br><b>An:</b> spce-user@lists.sipwise.com<br><b>Betreff:</b> [Spce-user] Billing with prefix not working<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p>Hi, I'm on mr6.5.3 and I uploaded billing fees in <b>prefix</b> form, after that rate-o-mat stops with "INFO: Caught DBI:err 1690" and<o:p></o:p></p><p class=MsoNormal><tt><span style='font-size:10.0pt'>"DBD::mysql::st execute failed: BIGINT UNSIGNED value is out of range in '(_i@8 - 1)' at /usr/sbin/rate-o-mat line 1590.</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>May  3 12:33:40 spce (info) rate-o-mat[21444]: FATAL: FATAL: Error executing profile info statement: BIGINT UNSIGNED value is out of range in '(_i@8 - 1)'"</tt></span> <o:p></o:p></p><p>This error seems to be produced by function getbilling_fee_id. If I call it with the same parameters directly I get the same error:<o:p></o:p></p><p><tt><span style='font-size:10.0pt'>MariaDB [billing]> select get_billing_fee_id(6,'call','out','<a href="mailto:31490000000@1.1.1.1">31490000000@1.1.1.1</a>','<a href="mailto:31880000000@2.2.2.2">31880000000@2.2.2.2</a>',NULL);</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>ERROR 1690 (22003): BIGINT UNSIGNED value is out of range in '(_i@8 - 1)'</tt></span><o:p></o:p></p><p>The fees in profile 6 look correct. Will it help to upgrade to mr6.5.4?<o:p></o:p></p><p>Regards,<o:p></o:p></p><p>Henk<o:p></o:p></p></div></body></html>