How to Install and configure asterisk with Sangoma card and testing with PRI Line ?
1) Operating system Centos 6.5 (64 bit)
2) Disable iptables {service iptables stop} and {chkconfig iptables off}
3) Disable selinux {setenforce 0} and edit in /etc/selinux/config
  
 
Now Turn for library and kernel installation in centos
# yum -y kernel*
reboot machine by typing # reboot
cd /usr/src/
             
            
   
  Now Its time to Installation of sangoma driver and configuration
Download package by typing in /usr/src directory
# wget ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-7.0.3.tgz
Install following library for before proceeding for sangoma driver installation
# yum -y install kernel-devel-$(uname -r) libtool* gcc make patch perl bison gcc-c++ ncurses-devel flex libtermcap-devel autoconf* automake*
After Configuring sangoma then know how to check whether PRI is up and make a call
to open asterisk
a) asterisk -rvvvvvvv
to check pri line is up
b) pri show spans
To make a conference call
c) originate dahdi/g0/Your-Mobile-number application dial dahdi/g0/reciever-mobile-number
Please also find link for video and asterisk pri line
1) Operating system Centos 6.5 (64 bit)
2) Disable iptables {service iptables stop} and {chkconfig iptables off}
3) Disable selinux {setenforce 0} and edit in /etc/selinux/config
Now Turn for library and kernel installation in centos
# yum -y kernel*
reboot machine by typing # reboot
cd /usr/src/
- Download libpri by “wget http://downloads.asterisk.org/pub/telephony/libpri/old/libpri-1.4.12.tar.gz”
 - Dowload dahdi linux complete by
 
      4. Downlaod Asterisk by “wget 
Now Install software as given below :-
Install libpri by following steps:
           tar zxvf libpri-1.4.12.tar.gz
           cd libpri-1.4.12
            make clean
            make
            make install
Install dahdi complete by following steps:
            tar zxvf  dahdi-linux-complete-2.6.0+2.6.0.tar.gz
            cd dahd-linux-complete-2.6.0+2.6.0
            make clean
            make
            make install
            make config
  Install Asterisk by following steps:
          tar zxvf asterisk-1.8.21.0.tar.gz
            cd asterisk-1.8.21.0
            make clean
            ./configure
            make
            make install
            make samples( for only fresh installation) Download package by typing in /usr/src directory
# wget ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-7.0.3.tgz
Install following library for before proceeding for sangoma driver installation
# yum -y install kernel-devel-$(uname -r) libtool* gcc make patch perl bison gcc-c++ ncurses-devel flex libtermcap-devel autoconf* automake*
- Place the card properly and power on the system.
 - Check whether system detects the card “lspci | grep Sangoma”.
 - Check whether dahdi detects the card “dahdi_tool”.
 - Go to the directory “cd /usr/src”
 - Install wanpipe by (tar zxvf wanpipe-7.0.3.tgz, cd /wanpipe-7.0.3/, make clean.
 - The run the command “./Setup install “,if it prompts yes press “y” and proceed to the next level.
 
After Configuring sangoma then know how to check whether PRI is up and make a call
to open asterisk
a) asterisk -rvvvvvvv
to check pri line is up
b) pri show spans
To make a conference call
c) originate dahdi/g0/Your-Mobile-number application dial dahdi/g0/reciever-mobile-number
Please also find link for video and asterisk pri line
No comments:
Post a Comment