Applies to VoipNow 3.X.X and 4.X.X!
To create a call cost file, you must use the following format. For more details on channel costs, visit this page.
Another way to get a format example is to manually add costs in the interface, then export the file and use it as an example.
Here are some of the potential issues you might encounter.
Format is not correct
On VoipNow 3.5.0 and higher versions, you will get an error message telling you what lines to check.
You can take some lines from your cost file and upload them to check the format and thus avoid any file-size related issue.
File is too large
You can first try to extend the size of the cost file for upload.
For that you should go to Unified Communications >> Web interface >> Interface Settings >> Maximum uploaded file size. If you still cannot upload it and you get timeouts, check the php_error.log:
During upload, you might get a memory-related error like this:
If so, edit /usr/local/voipnow/admin/conf/fpm.conf and increase the memory allocated here to 512 MB for example:
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.