Jehanzaib, thanks for the private message, but I don't offer unpaid support via those means.
Jehanzaib, via private message, wrote:
help meout kindly
AND HOW TO INCLUDE AND UPDATA PHP.INI, i cant get it, actualy i m new, plz guide me... thanx... and write me step by step ... now wht i have to do?
I've just searched the installation guide and I can't find any reference to the modification to php.ini I was trying to refer you to.
I based my previous advice on outdated knowledge of the installation procedure. Asterisk2Billing now seems to function just fine without adding anything to include_path in php.ini. I'm very sorry to have mislead you. Perhaps someone else has some idea what may be causing Jehanzaib's problem?
Added after 25 minutes: This is complete guesswork, but my next port-of-call in diagnosing your problem would likely be to try checking the AGI installation folder for permissions:
Code:
a2b asterisk2billing # ls -la /var/lib/asterisk/agi-bin/
total 68
drwxrwx--- 3 asterisk asterisk 256 Aug 19 01:41 .
drwxrwx--- 9 asterisk asterisk 248 Aug 1 19:23 ..
-rw-rw---- 1 asterisk asterisk 0 Aug 19 01:41 .keep_net-misc_asterisk-0
-rwxrwx--- 1 asterisk asterisk 43965 Aug 14 19:39 a2billing.php
-rwxrwx--- 1 asterisk asterisk 1742 Aug 19 01:41 agi-test.agi
-rwxrwx--- 1 asterisk asterisk 8720 Aug 19 01:41 eagi-sphinx-test
-rwxrwx--- 1 asterisk asterisk 7400 Aug 19 01:41 eagi-test
drwxrwx--- 8 asterisk asterisk 312 Jun 19 18:58 libs_a2billing
I would also check that the libs_a2billing folder contains all of the following:
Code:
a2b asterisk2billing # ls -la /var/lib/asterisk/agi-bin/libs_a2billing/
total 157
drwxrwx--- 8 asterisk asterisk 312 Jun 19 18:58 .
drwxrwx--- 3 asterisk asterisk 256 Aug 19 01:41 ..
-rwxrwx--- 1 asterisk asterisk 97403 Aug 14 19:39 Class.A2Billing.php
-rwxrwx--- 1 asterisk asterisk 44655 Aug 14 19:39 Class.RateEngine.php
-rwxrwx--- 1 asterisk asterisk 15274 Aug 14 19:39 Misc.php
drwxrwx--- 14 asterisk asterisk 1392 Jun 19 18:58 adodb
drwxrwx--- 3 asterisk asterisk 440 Jun 19 18:58 crontjob
drwxrwx--- 3 asterisk asterisk 104 Jun 19 18:58 db_php_lib
drwxrwx--- 3 asterisk asterisk 144 Jun 19 18:58 mail
drwxrwx--- 3 asterisk asterisk 144 Jun 19 18:58 phpagi_2_14
Failing that try copying & pasting more of the debug log. What looks innocent to you may ring alarm bells for more experienced users.