Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 07, 2020 5:46 pm
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: installing 1.4 for testing-SOLVED
PostPosted: Tue Mar 04, 2008 12:22 am 
Offline

Joined: Sat Sep 30, 2006 11:22 am
Posts: 167
Location: South East Florida
Hello. I'm having a hard time installing v1.4. I have installed 1.30 and upgrade to v1.4 with no luck.

When calling the page on browser they are blank and also I noticed the difference in the agi the a2billing.php is there but just a link for the libs. How do I transfer or copy these files?

Thanks for the help.

Solution: Copy the trunk/common directory to var/www/html also.

Thanks again stavros.


Last edited by ladca2003 on Tue Mar 04, 2008 4:46 pm, edited 3 times in total.

Top
 Profile  
 
 Post subject: Re: installing 1.4 for testing
PostPosted: Tue Mar 04, 2008 12:51 am 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
ladca2003 wrote:
there but just a link for the libs. How do I transfer or copy these files?
Hmmm... does copying the files as normal not create all the destinations correctly (by following the symlinks and copying the relevant files)?
If not, I imagine something like this would work if your distro runs Asterisk as 'asterisk' and Apache2 as 'apache':
Code:
mkdir /usr/local/a2billing
cp -r trunk/common /usr/local/a2billing
chown -R asterisk:apache /usr/local/a2billing
chmod -R ug+rx /usr/local/a2billing
ln -s /var/lib/asterisk/agi-bin/lib /usr/local/a2billing/common/lib
ln -s /var/www/path/to/A2BCustomer_UI/javascript /usr/local/a2billing/common/javascript
ln -s /var/www/path/to/A2BCustomer_UI/lib /usr/local/a2billing/common/lib
ln -s /var/www/path/to/A2BCustomer_UI/pdf-invoices /usr/local/a2billing/common/lib/pdf-invoices
ln -s /var/www/path/to/A2Billing_UI/lib /usr/local/a2billing/common/lib
I don't think it should be necessary though.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 04, 2008 2:02 am 
Offline

Joined: Sat Sep 30, 2006 11:22 am
Posts: 167
Location: South East Florida
Wasn't expecting your asnwer till tomorrow.

Thank you so much for the help and the code.

If I follow the symlink to copy the relevant files in v1.4 should I create a libs_a2billing directory in agi-bin?

till now I copied the AGI components as per intructions.

cp -rf libs_a2billing /var/lib/asterisk/agi-bin/.

- Can I do it just the same by creating the directory and following the symlink like you said and copy the files. You see, there are several changes in v1.4 that I'm not familiar with and just don't know if the directory is supposed to be there or not. That's my confussion.

Thanks again stavros.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 04, 2008 2:27 am 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Well as I say I'm in unknown territory, so I may be leading you astray.
Quote:
If I follow the symlink to copy the relevant files
Sorry, I mean the 'cp' command should follow the symlinks for you. I just tried it, it doesn't. It blindly copies the symlink, which won't work well that I can see.
Quote:
in v1.4 should I create a libs_a2billing directory in agi-bin?
No. Notice the symlink is called 'lib' and it points to '../common/lib':
Code:
$ ls -lFgG A2Billing_AGI/lib
lrwxrwxrwx 1 13 Feb 22 01:41 A2Billing_AGI/lib -> ../common/lib/
The 'libs_a2billing' has been renamed to just 'lib', to fit it with the other places where it's used; any folder or symlink you create should also be called 'lib'.

Did you try following the instructions I gave previously as they should work.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 04, 2008 3:18 am 
Offline

Joined: Sat Sep 30, 2006 11:22 am
Posts: 167
Location: South East Florida
No, did not try it yet. Wanted to run this by you first and just now putting it all together stavros. Thanks again I got it now.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 04, 2008 2:10 pm 
Offline

Joined: Sat Sep 30, 2006 11:22 am
Posts: 167
Location: South East Florida
See first post.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group