After several attempts to run A2B 1.4 on Trixbox and Fonica PABX, This what I've got when I tried to make a call.
[Oct 26 22:04:32] VERBOSE[3693] logger.c: -- Executing [9404100@a2billing:1] Answer("SIP/242462-09ba1158", "") in new stack
[Oct 26 22:04:32] VERBOSE[3693] logger.c: -- Executing [9404100@a2billing:2] Wait("SIP/242462-09ba1158", "1") in new stack
[Oct 26 22:04:33] VERBOSE[3693] logger.c: -- Executing [9404100@a2billing:3] DeadAGI("SIP/242462-09ba1158", "a2billing.php|1") in new stack
[Oct 26 22:04:33] WARNING[3693] res_agi.c: Running DeadAGI on a live channel will cause problems, please use AGI
[Oct 26 22:04:33] VERBOSE[3693] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
[Oct 26 22:04:33] VERBOSE[3693] logger.c: -- AGI Script a2billing.php completed, returning 0
[Oct 26 22:04:33] VERBOSE[3693] logger.c: -- Executing [9404100@a2billing:4] Hangup("SIP/242462-09ba1158", "") in new stack
[Oct 26 22:04:33] VERBOSE[3693] logger.c: == Spawn extension (a2billing, 9404100, 4) exited non-zero on 'SIP/242462-09ba1158'
Seems, a2billing.php is not running properly.
When I try to start the script manuallyÇ: php /var/lib/asterisk/agi-bin/a2billing.php, I got this message:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pcntl.so' - /usr/lib/php/modules/pcntl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Fatal error: Class 'AGI' not found in /var/lib/asterisk/agi-bin/a2billing.php on line 62
I remove php-pcntl, because is installed on php-common. The I ran again php /var/lib/asterisk/agi-bin/a2billing.php, and got this message:
PHP Fatal error: Class 'AGI' not found in /var/lib/asterisk/agi-bin/a2billing.php on line 62
I've being reading a lot on the forum and also posted, but not answer at all.
Anybody have a clue how to solve it?
I'm using: Trixbox 2.6.2.22 at this time, because I thought may be an issue with Fonica PABX. Same thing ¡¡
Please advice.
Cheers.
It solved it:
I follow instructions in this link:
viewtopic.php?f=21&t=6401Could be helpfull to add this on A2B 1.4 instrucctions.
Thanks.