<div dir="ltr">On 22 November 2013 12:10, Marc Storck <span dir="ltr"><<a href="mailto:mstorck@voipgate.com" target="_blank">mstorck@voipgate.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc 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 style>Rates are per second.....</div><div style><br></div><div style>-Barry Flanagan </div><div style><br></div><div style> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc 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 href="mailto:Spce-user@lists.sipwise.com">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>