Difference between revisions of "Sangoma Wanpipe installation"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 5: Line 5:
After Zaptel with Asterisk/Libpri are installed:
After Zaptel with Asterisk/Libpri are installed:


  apt-get install flex ncurses patch
  apt-get install flex ncurses-base patch
  cd /usr/src
  cd /usr/src
  wget ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.2.1.tgz
  wget ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.2.1.tgz

Revision as of 09:19, 23 February 2008

http://wiki.sangoma.com/wanpipe-linux-asterisk-install

Installation

After Zaptel with Asterisk/Libpri are installed:

apt-get install flex ncurses-base patch
cd /usr/src
wget ftp://ftp.sangoma.com/linux/current_wanpipe/wanpipe-3.2.1.tgz
tar xzvf wanpipe-3.2.1.tgz
cd wanpipe-3.2.1
./Setup install

Configuration

Would you like to install WANPIPE now? [y] (y/n)
YES
ENTER
Would you like build wanpipe kernel drivers? [y] (y/n)
YES
Press Enter for Default: /lib/modules/2.6.18-5-686/build
ENTER
WANPIPE device drivers upgraded successfully!
ENTER
Proceed to build WANPIPE kernel modules ? [y] (y/n)
YES
Please select (1,2,3,4,5,6 or 7) [Default: 1]:
2
Looking for zaptel directory in /usr/src ...
-------------------------------------------
1 : /usr/src/zaptel-1.4.7.1
2 : /usr/src/zaptel
------------------------------------------
3 : /usr/src/zaptel    (entered manually)
------------------------------------------
m : Enter zaptel path manually
(ctrl-c to Exit)
Please select working zaptel directory [1-9][m]:
1

Enable TDMV DCHAN Native HDLC Support & Patch Zaptel (recommended) ? (y/n)
YES
Recompile/reinstall Zaptel (recommended) ? (y/n)
YES
ENTER
ENTER
ENTER
ENTER

Visually Confirm that driver compilation was successful! (y/n)
YES
Would you like to install WANPIPE start-up scripts? (y/n)
YES
Would you like to auto-execute ztcfg after wanrouter start? (y/n)
YES
ENTER
ENTER
ENTER
ENTER
ENTER
ENTER
ENTER
ENTER

Would you like to configure wanpipe devices for ZAPTEL? (y/n)
YES

Would you like to generate /etc/asterisk/zapata.conf
1

Following configuration depends on your own case!

Select media type for A101 on port 1 [slot:2 bus:2 span:1]
Select framing type for 101 on port 1
Select clock for A101 on port 1 [slot:2 bus:2 span:1]
Select signalling type for 101 on port 1 [slot:2 bus:2 span:1]
Select switchtype for 101 on port 1

Zaptel and Wanpipe configuration complete: choose action
1. Save cfg: Restart Asterisk & Wanpipe now
Would you like to execute 'ztcfg' each time wanrouter starts?
1. YES

Testing

Confirm successful Wanpipe/Zaptel installation run:

wanrouter hwprobe


Errors

Warning: WAN_LOCK_DIR = /var/lock/subsys does not exist!
Please update the WAN_LOCK_DIR in /etc/wanpipe/wanrouter.rc

In file /etc/wanpipe/wanrouter.rc fix real path.