<div dir="ltr">Thanks. <div><br></div><div>Not sure, if source plays any role. I tried also dot . in source in second example, so everysource should be processed. Source is not important right now for me. I need to rate outgoing calls, all. </div><div><br></div><div>So for example, </div><div><br></div><div>I am calling from 421222222222 to 421333333333 this is rated based on regex OK<br></div><div>I am calling from 421222222222 to 420444444444 and this is unrated, but it should be based on prefix</div><div><br></div><div>I am pretty sure, when I replace prefix rule with this regex rule, it will work: <span style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14.6667px;white-space:nowrap">.,^420.*$ </span></div><div><span style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14.6667px;white-space:nowrap">But as I read in manual, regex is slower, better to use prefix...</span></div><div><br></div><div>G.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">po 19. 10. 2020 v 23:41 odesílatel Dario D Busso <<a href="mailto:dbusso@sipwise.com">dbusso@sipwise.com</a>> napsal:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<tt><font size="-1">Which are the CDR source and destination numbers
you would expect to match?</font></tt><tt><br>
</tt><tt><font size="-1">I see</font></tt><tt><br>
</tt><tt><font size="-1"> with regex_longest_pattern => source
'.' and destination '</font></tt><tt><font size="-1">^421.*$'</font></tt><tt><br>
</tt><tt><font size="-1">with prefix => source '421' and
destination '420'</font></tt><tt><br>
</tt><tt><font size="-1">Did you switch the prefix in the second
one?</font></tt><font size="-1"><font face="Helvetica, Arial,
sans-serif"><br>
</font></font>
<p><tt>-d</tt><br>
</p>
<div>On 19.10.20 17:50, Jiri Ptacnik wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">I am still confused,
<div><br>
</div>
<div>when i use this kind of billing fee pattern, it works
fine: </div>
<div><br>
</div>
<div>
<table style="border-collapse:collapse;width:48pt" width="64" cellspacing="0" cellpadding="0" border="0">
<colgroup><col style="width:48pt" width="64"> </colgroup><tbody>
<tr style="height:15pt" height="20">
<td style="height:15pt;width:48pt;padding-top:1px;padding-right:1px;padding-left:1px;color:black;font-size:11pt;font-family:Calibri,sans-serif;vertical-align:bottom;border:none;white-space:nowrap" width="64" height="20">.,^421.*$,out,SVK,SVKall,0.00645,60,0.00645,60,0.00645,60,0.00645,60,0,regex_longest_pattern,,0,,0,0<br>
<br>
when i use this line in same billing profile, it is
not working, unrated: <br>
<br>
<table style="border-collapse:collapse;width:48pt" width="64" cellspacing="0" cellpadding="0" border="0">
<colgroup><col style="width:48pt" width="64"> </colgroup><tbody>
<tr style="height:15pt" height="20">
<td style="height:15pt;width:48pt;padding-top:1px;padding-right:1px;padding-left:1px;font-size:11pt;font-family:Calibri,sans-serif;vertical-align:bottom;border:none" width="64" height="20">421,420,out,CZ,CZall,0.002500001,60,0.002500001,60,0.002500001,60,0.002500001,60,0,prefix,,0,,0,0<br>
<br>
What could be the problem? Regex
patterns work, prefix does not. <br>
<br>
thanks<br>
George</td>
</tr>
</tbody>
</table>
<br>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">po 14. 9. 2020 v 13:26
odesílatel Jiri Ptacnik <<a href="mailto:ptakjura@gmail.com" target="_blank">ptakjura@gmail.com</a>>
napsal:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">As I wrote, NO problem with upload.
<div><br>
</div>
<div>Looking for best practice for big billing fee set
FORMAT. If you are using regex, or prefixes... If someone
put example of few lines of fees, it will be great (you
can zeroed prices, if you wish privacy). </div>
<div><br>
</div>
<div>Thanks</div>
<div>George</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">pá 11. 9. 2020 v 12:03
odesílatel Rene Krenn <<a href="mailto:rkrenn@sipwise.com" target="_blank">rkrenn@sipwise.com</a>>
napsal:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="DE-AT">
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Upgraded
ngcp versions can provide various multithreaded
ETL tools for bulk loading.</span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">You
can use eg. fee import module to quickly load tens
of millions of fees.</span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">br</span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></p>
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif" lang="DE">Von:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif" lang="DE"> Walter Klomp via Spce-user [mailto:<a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a>]
<br>
<b>Gesendet:</b> Freitag, 11. September 2020 11:09<br>
<b>An:</b> Jon Bonilla (Manwe) <<a href="mailto:manwe@sipdoc.net" target="_blank">manwe@sipdoc.net</a>><br>
<b>Cc:</b> spce-user <<a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a>><br>
<b>Betreff:</b> Re: [Spce-user] Billing fees best
practices</span></p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">I noticed the timeout as well,
but meanwhile in the background it will still
finish the job. I'll take some time, but it works.
At least on 6.5.x</p>
</div>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal">On Fri, Sep 11, 2020 at 4:13
PM Jon Bonilla (Manwe) <<a href="mailto:manwe@sipdoc.net" target="_blank">manwe@sipdoc.net</a>>
wrote:</p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">El Fri, 11 Sep 2020 10:00:51
+0200<br>
Jiri Ptacnik <<a href="mailto:ptakjura@gmail.com" target="_blank">ptakjura@gmail.com</a>>
escribió:<br>
<br>
<br>
> <br>
> How you deal with this kind of stuff on
your CEs?<br>
> <br>
<br>
<br>
I've used 50K line fee csv files without issues.
What's the problem when<br>
uploading 35K? Maybe nginx timeout?<br>
<br>
<br>
<br>
<br>
-- <br>
PekePBX, the multitenant PBX solution<br>
<a href="https://pekepbx.com" target="_blank">https://pekepbx.com</a><br>
-- <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></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
</p>
<div>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal">-- </p>
<div>
<div>
<table style="width:259.8pt" width="0" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="padding:0cm" valign="top">
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Warmest Regards,</p>
</div>
<div>
<p class="MsoNormal"><span style="color:purple"><a href="https://myrepublic.com.sg/" target="_blank"><span style="color:purple"><br>
</span><span style="color:purple;text-decoration:none"><img id="gmail-m_6462918666148321586gmail-m_6072960912070993516gmail-m_-4053627584592814652_x0000_i1025" src="https://myrepublic.com.sg/resources/email-signature.png" width="140" height="92" border="0"></span></a></span></p>
</div>
</td>
<td style="padding:0cm">
<div>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(127,43,153)">Walter
Klomp</span></b></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Arial,sans-serif;color:rgb(77,77,77)">Head
of Voice & Systems</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Arial,sans-serif;color:rgb(77,77,77)">MyRepublic
Limited</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Arial,sans-serif;color:rgb(77,77,77)">T:
+65 6816 1120</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Arial,sans-serif;color:rgb(77,77,77)">F:
+65 6717 2031</span></p>
</div>
</td>
</tr>
<tr>
<td colspan="2" style="width:249.75pt;padding:0cm" width="346">
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Arial,sans-serif;color:rgb(77,77,77)">MyRepublic
Limited</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Arial,sans-serif;color:rgb(77,77,77)">11
Lorong 3 Toa Payoh Block B Jackson
Square</span><span style="font-family:Arial,sans-serif"></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Arial,sans-serif;color:rgb(77,77,77)">#04-11/15
Singapore 319579</span><span style="font-family:Arial,sans-serif"></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Arial,sans-serif;color:rgb(77,77,77)"><br>
</span><span style="color:rgb(77,77,77)"><a href="https://myrepublic.com.sg/" target="_blank"><span style="font-size:8.5pt;font-family:Arial,sans-serif;color:rgb(77,77,77)">myrepublic.com.sg</span></a></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Arial,sans-serif;color:rgb(77,77,77)">Follow
us on: <a href="https://twitter.com/myrepublic" target="_blank"><span style="color:rgb(77,77,77)">Twitter</span></a> | <a href="https://facebook.com/myrepublicsg" target="_blank"><span style="color:rgb(77,77,77)">Facebook</span></a> | <a href="https://www.linkedin.com/company/myrepublic" target="_blank"><span style="color:rgb(5,99,193)">LinkedIn</span></a></span></p>
</div>
</td>
</tr>
</tbody>
</table>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica,sans-serif;color:black"> </span></p>
</div>
<table style="width:259.8pt" width="0" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="padding:0cm" valign="top"><br>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<p class="MsoNormal"><br>
<i><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(102,102,102);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></p>
</div>
</div>
-- <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" rel="noreferrer" target="_blank">http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com</a><br>
</blockquote>
</div>
</blockquote>
</div>
<br>
<fieldset></fieldset>
</blockquote>
<pre cols="72">--
Dario D. Busso
Senior VoIP System Engineer
Sipwise GmbH | an ALE Company
Europaring F15 | 2345 Brunn am Gebirge
Office: +43 1 30120
Email: <a href="mailto:dbusso@sipwise.com" target="_blank">dbusso@sipwise.com</a>
Website: <a href="https://www.sipwise.com" target="_blank">https://www.sipwise.com</a>
Particulars according Austrian Companies Code paragraph 14
"Sipwise GmbH“ - Europaring F15 – 2345 Brunn am Gebirge
FN:305595f, Commercial Court Wr. Neustadt, ATU64002206</pre>
</div>
-- <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="https://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com" rel="noreferrer" target="_blank">https://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com</a><br>
</blockquote></div>