<div dir="ltr">On 25 November 2013 15:37, Sergey Kharlamov <span dir="ltr"><<a href="mailto:mentax@bk.ru" target="_blank">mentax@bk.ru</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>Is that correct or not?!<br><br><br>
<blockquote style="border-left-width:1px;border-left-style:solid;border-left-color:rgb(8,87,166);margin:10px;padding:0px 0px 0px 10px">
<div>
<div>
<div>
<div>
So, as I understand for my situation (I use USD)<br>Rate per minute 0.119812<br><br><a href="tel:0.119812%2F60" value="+35311981260" target="_blank">0.119812/60</a> = 0.00199686666<br><br>and I need to put (0.00199686666) it as a rate and sipwise will use it correctly?<br>
<br></div></div></div></div></blockquote></div></blockquote><div><br></div><div style>Yes. If 0.119812 is your rate per minute, then 0.119812/60 is your rate per second.</div><div style><br></div><div style>-Barry</div>
<div style>
<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><blockquote style="border-left-width:1px;border-left-style:solid;border-left-color:rgb(8,87,166);margin:10px;padding:0px 0px 0px 10px">
<div><div><div><div><br>
<blockquote style="border-left-width:1px;border-left-style:solid;border-left-color:rgb(8,87,166);margin:10px;padding:0px 0px 0px 10px">
<div>
<div>
<div>
<div><div dir="ltr">On 22 November 2013 12:10, Marc Storck <span dir="ltr"><<a>mstorck@voipgate.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">> here an example:<br>
><br>
><br>
> ".","^35542.*$",out,"ALBANIA TIRANE","-",5.22,60,5.22,60,5.22,60,5.22,60,0<br>
><br>
><br>
> Please be careful:<br>
><br>
> 1. use comma (,) as separator<br>
> 2. check out double quotes (" ") where there's no need.<br>
><br>
><br>
> In attached also a csv example.<br>
<br>
I've got this working correctly now.<br>
<br>
However somehow my CDRs are rates ~60x higher than expected.<br>
<br></blockquote><div><br></div><div>Rates are per second.....</div><div><br></div><div>-Barry Flanagan </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Example:<br>
<br>
'655','2013-11-22 12:51:23','bd61da3f-ce23-4916-93d7-0eacfa0a11fc','1','','13','','5','vgtest01','sw1.ngn.local','35220123456','0','1.2.3.4','0','2','','','','0','352661123456','mgc.local','352661123456','sw1.ngn.local','661123456','','','call','ok','200','2013-11-22 12:49:05.174','2013-11-22 12:49:18.760','118.900','b2448f52b369-mqlyiz2zi3oa','ok','2013-11-22 12:51:23','0.00','1612.80','Free Default Zone','EU<br>
-LU-MOB','All Destinations','Luxembourg mobile Orange Luxembourg S.A.','0','0','0.00','0.00','','','','','0','0','0.00','','','0','0.00','','','0'<br>
<br>
This is my corresponding rate line:<br>
<br>
".*","^352661.*","out","EU-LU-MOB","Luxembourg mobile Orange Luxembourg S.A.","13.44","60","13.44","60","13.44","60","13.44","60","0"<br>
<br>
As you can see the rate should be 13.44 EURcent. A call of a duration of 118.9 seconds should there cost 26.6336 EURcent. Rate-O-Mat says 1612.80, which is ~60x off.<br>
<br>
What am I doing wrong?<br>
<br>
Regards,<br>
<br>
Marc<br>
<br>_______________________________________________<br>
Spce-user mailing list<br>
<a>Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
<br></blockquote></div><br></div></div>
</div>
<div>_______________________________________________<br>
Spce-user mailing list<br>
<a>Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
<br>
</div>
</div>
</div>
</div>
</blockquote>
<br><span class=""><font color="#888888">
<br>-- <br>Сергей Харламов<br>
</font></span></div><span class=""><font color="#888888">
<div>_______________________________________________<br>
Spce-user mailing list<br>
<a href="https://e.mail.ru/sentmsg?compose&To=Spce%2duser@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
<br>
</div>
</font></span></div><span class=""><font color="#888888">
</font></span></div><span class=""><font color="#888888">
</font></span></div><span class=""><font color="#888888">
</font></span></blockquote><span class=""><font color="#888888">
<br>
<br>--
<br>Sergey Kharlamov<br></font></span></div>
</blockquote></div><br></div></div>