asterisk2billing.org http://forum.asterisk2billing.org/ |
|
Importing Rate Cards http://forum.asterisk2billing.org/viewtopic.php?f=16&t=3457 |
Page 1 of 1 |
Author: | shanghai [ Mon Mar 31, 2008 8:00 am ] |
Post subject: | Importing Rate Cards |
I've been wrestling with this for hours now: So, I've got a file. The ONLY content in it is the following: 1;USA;0,05;0,0001 (dialprefix, destination, rate initial, buyrate) I then save it as test.csv and upload it. I select the ratecard I am using, I select the trunk I then get an error, I make sure the radio button is on "UNITS", I make sure to add "buy rate" to the right scroll box and then I upload and get this error: Quote: ERROR:
* file type is not allowed: application/octet-stream o .html, .php, .txt, .inc (etc) (text/plain) o .csv (text/x-comma-separated-values) o .csv (text/csv) o .xls (application/vnd.ms-excel) Any ideas? Thanks in advance. |
Author: | stavros [ Mon Mar 31, 2008 8:12 am ] |
Post subject: | |
Rename it to .txt and you should find it imports without a problem. |
Author: | shanghai [ Tue Apr 01, 2008 1:47 am ] |
Post subject: | |
Fixed, you rock. |
Author: | gineta [ Sat Apr 12, 2008 2:48 pm ] |
Post subject: | |
stavros wrote: Rename it to .txt and you should find it imports without a problem. stavros you are right but I no understand why in all the a2billing version why no change the legend Quote: New rate cards have to be imported from a CSV file. . and change for Quote: New rate cards have to be imported from a TXT file..
the people answer hundred time this question and is solve with only change one small text |
Author: | xrg [ Sat Apr 12, 2008 3:13 pm ] |
Post subject: | |
If you use a proper desktop OS, it will work fine with CSV, too. |
Author: | zuuldibo [ Wed Apr 16, 2008 2:38 pm ] |
Post subject: | |
I think there is a problem in the example in the page Import a RateCard because it looks like this: Code: 1;US;0,70;0,50;2008-03-07 21:21:38 and you will get and error because of the : on the time. You should change the example to something different. I think it works with: Code: 1;US;0,70;0,50;2008-03-07 21-21-38
|
Author: | H3001 [ Sat Jul 19, 2008 11:39 am ] |
Post subject: | ratecard import |
I had this problem, using firefox. It ran fine with explorer. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |