asterisk2billing.org http://forum.asterisk2billing.org/ |
|
DB Update to 1.4 - No Destination in rates http://forum.asterisk2billing.org/viewtopic.php?f=22&t=5148 |
Page 1 of 1 |
Author: | ciconet [ Mon Apr 13, 2009 4:56 pm ] |
Post subject: | DB Update to 1.4 - No Destination in rates |
Hello, i'm trying this version and i want to report this: I upgrade my old A2Billing DB to 1.4. All right. When i go in RATES -> show rates don't have anything in name of destination ( example afghanistan - italy ). So, i try to biuld new rates, but not see where i can put name of destination. And other: when i try to create an url for agent i've this: Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/html/a2billing/common/lib/Misc.php on line 31 where i wrong ?? Alex |
Author: | stavros [ Tue Apr 14, 2009 3:42 am ] |
Post subject: | Re: DB Update to 1.4 - No Destination in rates |
ciconet wrote: When i go in RATES -> show rates don't have anything in name of destination ( example afghanistan - italy ). So, i try to biuld new rates, but not see where i can put name of destination. In v1.4 the names of your destinations are kept in the cc_prefix table.Quote: mcrypt_get_iv_size Search here for that symbol name; there was a thread here in the last few days with a solution.
|
Author: | ciconet [ Tue Apr 14, 2009 7:58 pm ] |
Post subject: | |
1) mcrypt_get_iv_size I solved by: yum --enablerepo=centosplus install php-mcrypt then reboot and now work, but if i try to subrcibe new agent when confirm have this error: Invalid Call Plan Id ! I've set one usable callplan ( from list into agent ). Wrong anything ? 2) for cc_prefix table in mysql can u suggest one way to solve it ? If i build new rate where can iwrite destination name ( into a2billing admin ) ? Thanks in advance Alex |
Author: | rrisco [ Wed Apr 15, 2009 3:58 pm ] |
Post subject: | |
for cc_prefix table, if you are upgrading from 1.3.4 you have to use the file: .../a2b14bsource/DataBase/mysql-5.x/a2billing-prefix-table-v1.4.0.sql You can modify the file to INSERT your own prefixes, then the script set the correct destination value in cc_ratecard and cc_call. rafo |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |