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...