Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 9:38 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Can Somebody help for a2billing Installation
PostPosted: Wed Feb 03, 2010 5:04 am 
Offline

Joined: Thu Jan 28, 2010 3:57 pm
Posts: 16
Hi..
1) Am using CentOs 5.4
2) Asterisk server installed by following the below procedure
Note - Need admin previlages for installing asterisk.
----------------------------------------------------------------------------------------
1. Extrat the asterisk source to /usr/src
# cd /usr/src/
# tar zxvf asterisk-1.4-current.tar.gz
IGNORE STEP 2 FOR HIGHER VERSIONS OF ASTERISK (> 1.2.3)
2. Replace the file /usr/src/asterisk-1.4-current/channels/chan_sip.c
- the file has modifications for Asterisk RFC incompliancy
with the "Subscription-state" not being included in the
MWI NOTIFY event
3. Build Asterisk
# cd /usr/src/asterisk-1.2.3
#./configure
# make clean
# make
# make install
# make samples
4. Conf file changes
# cd /etc/asterisk
modules.conf - add line
noload => cdr_pgsql.so
sip.conf - add users
[3039]
type=friend
username=harish
callerid=Harish <3039>
nat=no
noauth=yes
host=dynamic
canreinvite=no
context=internal

[3085]
type=friend
username=kausar
callerid=Kausar <3085>
nat=no
noauth=yes
host=dynamic
canreinvite=no
context=internal

extension.conf - add dial plan
[internal]
exten => 3039,1,Dial(SIP/3039)
exten => 3085,1,Dial(SIP/3085)

5.start asterisk
#asterisk
#asterisk -vvvvvr
[Asterisk CLI>reload
- run the 'reload' command from the asterisk CLI if any of the asterisk coniguration files are modified aafter
the installation]
------------------------------------------------------------------------------------------

3. After this Asterisk got installed
4. Now Can i get some help, for how to integrate a2billing to asterisk with snapshots. Am new to linux flavour os.
5. I followed this document for a2billing Installation.. http://www.asterisk2billing.org/cgi-bin ... lation-deb
6. I got stuck in the first step itself..when i enter the below command
#apt-get install libapache2-mod-php5 php5 php5-common
am getting an error saying -bash: apt-get: command not found

Plz help me with the installation...


Top
 Profile  
 
 Post subject: Re: Can Somebody help for a2billing Installation
PostPosted: Wed Feb 03, 2010 5:29 am 
Offline

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

apt-get is a command for Debian, while you are running CentOS.

May I suggest that you start with one of the asterisk aggregations, e.g. PBX in a Flash, FonicaPABX, etc, which will give you a working asterisk setup, then follow the instructions for installing A2Billing on centos.

You may find this useful as well.

http://pbxinaflash.net/Conversational_Linux.pdf

Joe


Top
 Profile  
 
 Post subject: Re: Can Somebody help for a2billing Installation
PostPosted: Wed Feb 03, 2010 7:45 am 
Offline

Joined: Thu Jan 28, 2010 3:57 pm
Posts: 16
Thanks for ur reply..

I know the basic commands and stuffs to certain extent. Is there any snapshot for installing a2billing on CentOS??? Am trying this installation from past 4 days and no results, every day it is increasing my frustration. :furious:



when i try this[ step 6, checkpoint2] in the installation guide http://www.asterisk2billing.org/cgi-bin ... lation-deb

http://<ip where asterisk is running>/a2billing/admin

Am getting a blank page...Can you plz let me know what the mistake that have done.

This is my http configuration (/etc/httpd/conf/httpd.conf)
<VirtualHost pcwks182.migv.mot.com:80>
ServerAdmin [email protected]
DocumentRoot /var/www
ServerName pcwks182.migv.mot.com
ErrorLog logs/pcwks182.com-error_log
CustomLog logs/pcwks182.com-access_log common
</VirtualHost>

Eagerly Waiting for ur reply...


Top
 Profile  
 
 Post subject: Re: Can Somebody help for a2billing Installation
PostPosted: Wed Feb 03, 2010 7:50 am 
Offline

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

You are using debian instructions to install on a Centos machine - unless you have intimate knowledge with both OS systems, it's going to end in frustration.

I would suggest changing either the instructions you are using, or the operating system.

Joe


Top
 Profile  
 
 Post subject: Re: Can Somebody help for a2billing Installation
PostPosted: Wed Feb 03, 2010 9:11 am 
Offline

Joined: Thu Jan 28, 2010 3:57 pm
Posts: 16
Once again thanks for ur reply..Since have installed Cent0S..I would like to continue the a2billing installation on it..

Can you plz let me know whether there is any particular installation doc for CentOs which you would like me to go thru[with snapshots would be really helpful].

The installation process for any person who is new to linux wil take weeks i suppose , without any snapshot.


Changing to debian will be my next option. Or plz let me know which is the best option, changing to debian or waiting for the installation doc for Centos from you..
Plz kindly let me know


Top
 Profile  
 
 Post subject: Re: Can Somebody help for a2billing Installation
PostPosted: Wed Feb 03, 2010 9:25 am 
Offline

Joined: Thu Jan 28, 2010 3:57 pm
Posts: 16
And also how do i confirm the below things..what changes do i need to do for the below??as these are mentioned as assumptions in the installation guide..


•your apache2 default root folder is /var/www
•your asterisk sounds are under /usr/share/asterisk
•your asterisk AGI folder is expected under /usr/share/asterisk
•your apache2 runs as www-data (uid)
•you asterisk runs as asterisk (uid)
•those using subversion to check out the code, can use symbolic links instead of copying the files to the right directories


Top
 Profile  
 
 Post subject: Re: Can Somebody help for a2billing Installation
PostPosted: Wed Feb 03, 2010 9:26 am 
Offline

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

There are a few install instructions on the forum, as well as install scripts, additionally, we have thoughtfully included some install instructions in the tarball called INSTALL.centos

Joe


Top
 Profile  
 
 Post subject: Re: Can Somebody help for a2billing Installation
PostPosted: Wed Feb 03, 2010 9:36 am 
Offline

Joined: Thu Jan 28, 2010 3:57 pm
Posts: 16
Thank you..Can you plz give me the link of that install instructions which i must follow. As have lost patience trying out so many things and i dont want to fall into loops where at the end of the day i feel i havent dont nothing today. And also it would be helpful for others who would start fresh to install a2billing.
Thanks for ur patience to help me out.


Top
 Profile  
 
 Post subject: Re: Can Somebody help for a2billing Installation
PostPosted: Wed Feb 03, 2010 9:56 am 
Offline

Joined: Thu Jan 28, 2010 3:57 pm
Posts: 16
I followed this..viewtopic.php?p=21225(written by u :) )

1) after entering the below command
------------------------------------------
yum -y install perl-DBD-Pg subversion
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.oss.eznetsols.org
* base: repo.genomics.upenn.edu
* extras: mirror.nyi.net
* updates: ftp.oss.eznetsols.org
Setting up Install Process
Package perl-DBD-Pg-1.49-2.el5_3.1.i386 already installed and latest version
Package subversion-1.4.2-4.el5_3.1.i386 already installed and latest version
Nothing to do
------------------------------------------------------------------------------------

2) then tried the below command
mkdir /var/a2billing_install
cd /var/a2billing_install
svn co --username guest --password guest http://svn.a2billing.net/svn/asterisk2billing/trunk

And getting the below
svn: PROPFIND request failed on '/svn/asterisk2billing/trunk'
svn: PROPFIND of '/svn/asterisk2billing/trunk': Could not resolve hostname `svn.a2billing.net': Host not found (http://svn.a2billing.net)

is there anything wrong in my proxy (dns) settings

Plz let me know


Top
 Profile  
 
 Post subject: Re: Can Somebody help for a2billing Installation
PostPosted: Wed Feb 03, 2010 10:02 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Have you tried pinging svn.a2billing.net?


Top
 Profile  
 
 Post subject: Re: Can Somebody help for a2billing Installation
PostPosted: Wed Feb 03, 2010 10:36 am 
Offline

Joined: Thu Jan 28, 2010 3:57 pm
Posts: 16
when i enter this on the browser...
http://svn.a2billing.net/svn/asterisk2billing/trunk/ am able to access that page.


But from the command propmt when i enter the below command, this is wat happening.
[root@pcwks182 a2billing_install]# ping svn.a2billing.net
ping: unknown host svn.a2billing.net


I dont know , y is this happening..!!!! Am i again missing something??plz let me know.


Attachments:
File comment: when i enter this on the browser...
http://svn.a2billing.net/svn/asterisk2billing/trunk/ am able to access that page.

plzcheck.zip [97.3 KiB]
Downloaded 551 times
Top
 Profile  
 
 Post subject: Re: Can Somebody help for a2billing Installation
PostPosted: Wed Feb 03, 2010 10:52 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
DNS? Connectivity?


Top
 Profile  
 
 Post subject: Re: Can Somebody help for a2billing Installation
PostPosted: Wed Feb 03, 2010 10:58 am 
Offline

Joined: Thu Jan 28, 2010 3:57 pm
Posts: 16
how to check that??DNS connectivity??


Top
 Profile  
 
 Post subject: Re: Can Somebody help for a2billing Installation
PostPosted: Wed Feb 03, 2010 11:04 am 
Offline

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

http://www.lmgtfy.com/?q=check+dns+resolution+linux


Top
 Profile  
 
 Post subject: Re: Can Somebody help for a2billing Installation
PostPosted: Wed Feb 03, 2010 12:02 pm 
Offline

Joined: Thu Jan 28, 2010 3:57 pm
Posts: 16
Is there any other alternative to svn???which i can use..Instead of trying things(as now i spent 1 hour on that dns configuration) which i dont know much

svn co --username guest --password guest http://svn.a2billing.net/svn/asterisk2billing/trunk


is this equivalent to..downloading the A2Billing_1.5.1.tar.gz and do
tar zxvf A2Billing_1.5.1.tar.gz


after doing this cant i continue with the remaining steps...???

Plz let me know


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 8 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