Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sun Apr 28, 2024 1:52 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Recording Installation
PostPosted: Wed Aug 29, 2007 11:32 pm 
Offline

Joined: Wed Aug 29, 2007 11:25 pm
Posts: 5
Hi, i have installed succefully.
linux fc4+asterisk 1.4.7+a2billing1.30
now do all place in /html folder.. but when i write
http://10.110.12.78/A2Billing_UI/Public/index.php
on browser it gives nothing except a white page. i think its connected succefully but does any body know why its like that ?
plz help me..

thanx


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 30, 2007 9:28 am 
Offline

Joined: Thu Aug 30, 2007 9:19 am
Posts: 3
You must apply installation script:
cd /usr/src/A2Billing_1.3.0/addons
./install.sh


Top
 Profile  
 
 Post subject: NO EFFECT
PostPosted: Thu Aug 30, 2007 11:36 pm 
Offline

Joined: Wed Aug 29, 2007 11:25 pm
Posts: 5
man i already copied A2BCustomer_UI A2Billing_AGI A2Billing_UI
folders in /var/www/html/
so also installed addons,, no way. help me..


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 31, 2007 7:48 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Can you put in a simple test page, just to confirm that your Webserver is working and the permissions are all correct.

Generally, we run httpd and asterisk under the same user - asterisk

Joe


Top
 Profile  
 
 Post subject: ya i did
PostPosted: Fri Aug 31, 2007 5:44 pm 
Offline

Joined: Wed Aug 29, 2007 11:25 pm
Posts: 5
hi man, i already test my another PHP script its already working fine,
but listen when i dial extention like

exten => _X, 1 , AGI (a2billing.php)

1st gives me error like "NO AGI class f ound in a2billing.php:
but next time, it does nt giv me this error, but script did nothing, just after this next priority HANGUP, so plz tell me whts that?
help meout kindly


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 31, 2007 11:33 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Wow. You're not making a whole lot of sense to me, but that most recent error you 'quoted' sounds like you didn't update php.ini to include the libs_a2billing folder in include_path.


Top
 Profile  
 
 Post subject: anybody?
PostPosted: Sun Sep 02, 2007 2:17 pm 
Offline

Joined: Wed Aug 29, 2007 11:25 pm
Posts: 5
HI, sir plz tell me how to do this? tahnx in advance

Added after 23 minutes:

hi, again sir plz tell me how to do this? and is there any body here to explain all this step by step proceure...

and whts the purpose of a2billing.php script -- actually new in PHP, so kindly help me out thanx for all quick response...


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 02, 2007 2:19 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
You're asking me how to edit a config file? :shock:
No, that can't be right. I must have misunderstood you. After all you're the guy who does IP PBX development consultancy!

Please spend a moment reading back your question before posting to ensure it's going to make sense to others.


Top
 Profile  
 
 Post subject: hello
PostPosted: Sun Sep 02, 2007 2:30 pm 
Offline

Joined: Wed Aug 29, 2007 11:25 pm
Posts: 5
i m not asking that how to edit confs files of asterisk, just asking that how to include in PHP script? is that hav to include that u r telling me.. anywaz i need my solution , rest its my first time to do in a2billing, there r many others like ASTCC that i can use, but i have to try a2billing this time, just tell me step by step, so i can make it sure that i m on the right path, thanx for the quick reply


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 02, 2007 3:03 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group