Hello Joe,
Thank you so much for your response. I have attempted at the instalation twice already, and can't seem to get pass the "Connection failed". As for database credentials, they work find from console. In both the GUI and CLI "a2billing.php"I am getting the error. Here are the following php modules installed:
[PHP Modules] Core ctype date dom ereg fileinfo filter gd gettext hash iconv json libxml mcrypt mysql pcntl pcre PDO pdo_sqlite Phar posix Reflection session SimpleXML SPL SQLite sqlite3 standard tokenizer xml xmlreader xmlwriter zlib
[Zend Modules]
When I issue a:
#yes "" | /usr/local/php/bin/php -e /var/lib/asterisk/agi-bin/a2billing.php 1 GET VARIABLE IDCONF Connection failed
In manager.conf, I have made sure that all the write settings are present:
[myasterisk] secret=mycode deny=0.0.0.0/0.0.0.0 permit=127.0.0.1/255.255.255.0 read = system,call,log,verbose,command,agent,user write = system,call,log,verbose,command,agent,user,originate
I have attached the log from within asterisk cli. Is there any way to get meaningfull logs from a2billing.php?
I have the following, but they are all empty
touch /var/log/a2billing/a2billing_agi.log touch /var/log/a2billing/a2billing_api_callback_request.log touch /var/log/a2billing/a2billing_api_card.log touch /var/log/a2billing/a2billing_api_ecommerce_request.log touch /var/log/a2billing/a2billing_epayment.log touch /var/log/a2billing/a2billing_paypal.log touch /var/log/a2billing/cront_a2b_alarm.log touch /var/log/a2billing/cront_a2b_archive_data.log touch /var/log/a2billing/cront_a2b_autorefill.log touch /var/log/a2billing/cront_a2b_batch_process.log touch /var/log/a2billing/cront_a2b_bill_diduse.log touch /var/log/a2billing/cront_a2b_check_account.log touch /var/log/a2billing/cront_a2b_currency_update.log touch /var/log/a2billing/cront_a2b_invoice.log touch /var/log/a2billing/cront_a2b_subscription_fee.log touch /var/log/asterisk/a2billing-daemon-callback.log
Thanks in Advance,
Nick
Attachments: |
log.txt [1.87 KiB]
Downloaded 604 times
|
|