[Spce-user] Upload Fees as CSV

Barry Flanagan barry at flanagan.ie
Mon Nov 25 10:49:53 EST 2013


On 25 November 2013 15:37, Sergey Kharlamov <mentax at bk.ru> wrote:

> Is that correct or not?!
>
>
>    So, as I understand for my situation (I use USD)
> Rate per minute 0.119812
>
> 0.119812/60 = 0.00199686666
>
> and I need to put (0.00199686666) it as a rate and sipwise will use it
> correctly?
>
>
Yes.  If 0.119812 is your rate per minute, then 0.119812/60 is your rate
per second.

-Barry


>   On 22 November 2013 12:10, Marc Storck <mstorck at voipgate.com> wrote:
>
>> > here an example:
>> >
>> >
>> > ".","^35542.*$",out,"ALBANIA
>> TIRANE","-",5.22,60,5.22,60,5.22,60,5.22,60,0
>> >
>> >
>> > Please be careful:
>> >
>> > 1. use comma (,) as separator
>> > 2. check out double quotes (" ") where there's no need.
>> >
>> >
>> > In attached also a csv example.
>>
>> I've got this working correctly now.
>>
>> However somehow my CDRs are rates ~60x higher than expected.
>>
>>
> Rates are per second.....
>
> -Barry Flanagan
>
>
>
>> Example:
>>
>> '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
>> -LU-MOB','All Destinations','Luxembourg mobile Orange Luxembourg
>> S.A.','0','0','0.00','0.00','','','','','0','0','0.00','','','0','0.00','','','0'
>>
>> This is my corresponding rate line:
>>
>> ".*","^352661.*","out","EU-LU-MOB","Luxembourg mobile Orange Luxembourg
>> S.A.","13.44","60","13.44","60","13.44","60","13.44","60","0"
>>
>> 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.
>>
>> What am I doing wrong?
>>
>> Regards,
>>
>> Marc
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> http://lists.sipwise.com/listinfo/spce-user
>>
>>
>  _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user
>
>
>
> --
> Сергей Харламов
>  _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com<https://e.mail.ru/sentmsg?compose&To=Spce%2duser@lists.sipwise.com>
> http://lists.sipwise.com/listinfo/spce-user
>
>
>
> --
> Sergey Kharlamov
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20131125/87a01ab1/attachment.html>


More information about the Spce-user mailing list