asterisk2billing.org
http://forum.asterisk2billing.org/

Rates, Generate Customer and Add Customer not working
http://forum.asterisk2billing.org/viewtopic.php?f=22&t=6554
Page 1 of 1

Author:  brnbxtr [ Tue Nov 10, 2009 5:02 pm ]
Post subject:  Rates, Generate Customer and Add Customer not working

Hi All,

A2Billing 1.4.1 on asterisk 1.4 / centos 5.4. with Elastix 1.5.2-2.3 and FreePBX 2.5.1.0 I an having the following problems.

1. Generate customers is not working and
2. Adding single customer not working.
3. Rates cannot be added

1. when generating customer nothing happen.. it loads but no customer/card were created

2. Creating single customer.... error message (INSERT NEW Card - Your new Card hasn't been inserted.)
and no customer/card was created..

3. Adding Rate not working...... error message (INSERT NEW Rates - Your new Rates hasn't been inserted.)

Any solutions for the above issues wuold be greatly appreciated?

Author:  bruce [ Sat Nov 21, 2009 7:11 pm ]
Post subject:  Re: Rates, Generate Customer and Add Customer not working

BUMP!

Same error. Can't insert Customers or Rates.

Installing A2Billing v.1.4.2.1. Also, tried without updating database to 1.4.2.1 and kept it at 1.4.2.0 and still no work.

This happens with Elastix 1.5.2, FreePBX, and CentOS. Following is mysql info:

[root@elastix ~]# rpm -qa | grep mysql
php-mysql-5.1.6-23.2.el5_3
elastix-mysqldbdata-1.0-3
mysql-5.0.77-3.el5
mysql-server-5.0.77-3.el5
mysql-devel-5.0.77-3.el5


Used install-db.sh and get the following error:

ERROR 1142 (42000) at line 8344: CREATE VIEW command denied to user 'a2billinguser'@'localhost' for table 'cc_sip_buddies_empty'

Lots of people reporting this but absolutely no help so far anywhere on the forum.

Please have a look at this and insert your input. I have a system ready to test.

Many Thanks.

Author:  jroper [ Sun Nov 22, 2009 8:36 am ]
Post subject:  Re: Rates, Generate Customer and Add Customer not working

Check the permissions of the A2Billing user.

Joe

Author:  bruce [ Wed Nov 25, 2009 3:10 am ]
Post subject:  Re: Rates, Generate Customer and Add Customer not working

Thanks for the reply.

Tried FLUSH PRIVILLEGES; but getting this:
ERROR 1146 (42S02): Table 'mysql.procs_priv' doesn't exist

Also, using HeidiSQL getting this:
ERROR 1146 (42S02): Table 'mysql.procs_priv' doesn't exist

Something is different on mySQL which on Elastix than the one which is on Trixbox.

Any input on this is appreciated.

Thanks

Author:  jroper [ Wed Nov 25, 2009 4:05 am ]
Post subject:  Re: Rates, Generate Customer and Add Customer not working

back up MySQL and especially A2Billing, then run:-

Code:
mysql_fix_privilege_tables --password=root_password


Replacing root_password with your root password for mySQL

Joe

Author:  bruce [ Mon Dec 07, 2009 2:36 am ]
Post subject:  Re: Rates, Generate Customer and Add Customer not working

This actually worked. Thanks

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/