Difference between revisions of "Sangoma Wanpipe installation"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 7: Line 7:
  cd wanpipe-3.2.1
  cd wanpipe-3.2.1
  ./Setup install
  ./Setup install
----


  Would you like to install WANPIPE now? [y] (y/n)
  Would you like to install WANPIPE now? [y] (y/n)

Revision as of 21:23, 30 December 2007

After Zaptel with Asterisk/Libpri are installed:

apt-get install gcc-c++ flex ncurses 
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




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