A fool-proof guide to installing Wanpipe under Asterisk-ONESponsored by:  Required Level: novice, accomplished, adept, expert, master Prerequisites: - AsteriskNOW installed natively (no Xen nor VMware) on a server or PC
- Digital or Analog port Sangoma card

Warnings: Be sure to read hardware quick start guide for Your card so that we know that all power and signaling or Telco/phone cables are connected properly and the card will not have any interrupt problems. Beware that AsteriskNOW has been designed only for analog port cards of Digium variety so installing Sangoma cards, especially with digital ports makes Asterisk GUI partially useless.
Summary : This articles demonstrates how to install Sangoma Wanpipe drivers on AsteriskNOW. The procedure is very boring but can be automated. All that is necessary is to download and run (as root) an automation script from VoiceWorks site: http://www.voiceworks.pl/wookieboo/scripts/wpastnow.sh The script does the following: - Downloads and compiles missing software development tools :
flex, byacc, m4. - Detects AsteriskNOW kernel version and downloads a source of matching one
- Prepares (bootstraps) the kernel source for kernel module compilation
- Detects AsteriskNOW zaptel version and downloads a source of matching one
- Downloads the most recent public Wanpipe version and installs it
- Remove zapscan utility that overwrites Wanpipe configuration
Detailed instructions: Use our favorite SSH client (eg Putty for Windows) to log onto Your box using the same IP address / user / password combination You use to log in to Asterisk GUI. Assuming the IP is 10.0.2.135 and a unix ssh client that would looke like: > ssh admin@10.0.2.135 admin@10.0.2.135's password: Last login: Thu Oct 4 14:58:22 2007 from gamma.urtho.net [admin@localhost ~]$ Now enter into privileged mode typing ‘sudo su –‘ and enter the same password as above [admin@localhost src]$ sudo su - Password: [root@localhost ~]# Be sure that internet works:
[root@localhost ]# ping -q -c1 -w1 ripe.net >/dev/null 2>&1 && echo "Ok" Ok, internet works Download VoiceWorks automation script : [root@localhost ]# wget http://www.voiceworks.pl/wookieboo/scripts/wpastnow.sh For security paranoid ppl : MD5 for the above file (version 1.02) is 7169d9e921f21584f9dcc50a2414beca
Now execute the script with: [root@localhost ~]# bash wpastnow.sh After a looong while You can start configuring Your Sangoma card with wancfg_zaptel utility. [root@localhost ~]# wancfg_zaptel Now would be the best time to check if Your Sangoma card has the latest firmware version.
|