This is TikiWiki 1.9.7 -Sirius- © 2002–2006 by the Tiki community Thu 20 of Dec, 2007 [16:12 UTC]

History: SMG with Zaptel Installation

Source of version: 11 (current)

Use this procedure for integrating SMG with Zaptel drivers and Sangoma A200 cards for POTS analog service and Sangoma E1/T1 cards for PRI service.

ALERT: Only works with GCC Rev 3.4.6 and greater compilers.

References:
*[http://sangoma.editme.com/wanpipe-linux-asterisk-install|Wanpipe Asterisk Installation]
*[http://www.voip-info.org/tiki-index.php?page=Asterisk+PRI|viop-info wiki on Asterisk PRI]


#Basic ((SMG Installation)) should be complete at this point. This will seem redundant, and it is with respect to compiling the Sangoma driver. But this procedure will save steps performed by humans. If this is a first time installation, then this step will create the complete SMG environment. If this is an upgrade, then this step will help you ensure SMG is completely stopped.
#Rebuild Sangoma drivers again - this time with zaptel support.~pp~
[root@tdmv-test src]# cd /usr/src/Sangoma/wanpipe
[root@tdmv-test wanpipe]# ./Setup drivers
ARGS:

----------------------------------------------------------
WAN Router vbeta8-2.3.4 Installation Script
Copyright (c) 1995-2006, Sangoma Technologies Inc.
----------------------------------------------------------


UPDATING WANPIPE DEVICE DRIVERS: LINUX KERNEL

To integrate WANPIPE Multiprotocol WAN Router (and WAN drivers
included with this package) into the Linux kernel, the kernel has
to be 'patched' or 'upgraded'.

Patching/Upgrading will update ONLY WANPIPE source
files located in the Linux kernel.

If the kernel has already been patched with old WANPIPE
drivers you'll be prompted to upgrade to the current version.

IMPORTANT:
It is always recommended to say YES to UPGRADE option,
this way we make sure that the latest WANPIPE driver
sources are in the linux kernel tree.

Would you like update/upgrade wanpipe drivers? (y/n) y

----------------------------------------------------------
WAN Router vbeta8-2.3.4 Installation Script
Copyright (c) 1995-2006, Sangoma Technologies Inc.
----------------------------------------------------------


Please specify absolute path name of your linux directory

(Press Enter for Default: /lib/modules/2.6.9-5.0.3.ELsmp/build)


Setting linux directory to /lib/modules/2.6.9-5.0.3.ELsmp/build

Current WANPIPE kernel patch is beta8-2.3.4


Upgrading WANPIPE kernel documentation ...Done.


Upgrading WANPIPE kernel headers ...Done.

Upgrading WANPIPE kernel drivers ...Done.

WANPIPE device drivers upgraded successfully!

Press [Enter] to continue...

----------------------------------------------------------
WAN Router vbeta8-2.3.4 Installation Script
Copyright (c) 1995-2006, Sangoma Technologies Inc.
----------------------------------------------------------

WANPIPE KERNEL DRIVER COMPILATION

The next step in WANPIPE installation involves compiling WANPIPE kernel
modules. The setup is able to compile all WANPIPE and API drivers.

Therefore, NO kernel recompilation is necessary :)

Default Compilation:
--------------------
WANPIPE drivers will include following standard WAN
protocols: Frame Relay, CHDLC, PPP, X25 and ADSL
Custom Compilation:
------------------
Customise WANPIPE driver compilation to add only the
protocols that you need. This way one can reduce
the size of the WANPIPE kernel drivers.

Refer to the WapipeIntallation.(pdf/txt) documentation.

Proceed to build WANPIPE kernel modules ? (y/n) y

----------------------------------------------------------
WAN Router vbeta8-2.3.4 Installation Script
Copyright (c) 1995-2006, Sangoma Technologies Inc.
----------------------------------------------------------


Please Select Compilation Mode

1. WAN Protocol Support (Default)
Protocols: Frame Relay, CHDLC, PPP, X25 and ADSL

2. TDM Voice (Asterisk) Support Only
Protocols: TDMV (Asterisk) on AFT adatpers.

3. TDM Voice (Asterisk) + WAN Protocol Support
Protocols: TDMV, Frame Relay, CHDLC, PPP, X25, ADSL

4. TDM Voice (Asterisk) + SS7 Support + WAN Protocol Support
Protocols: TDMV, SS7, Frame Relay, CHDLC, PPP, X25, ADSL

5. Custom Compilation Mode
Specify protocols to be added into the WANPIPE
kernel drivers.

Please select (1,2,3,4 or 5) [Default: 1]: 5

----------------------------------------------------------
WAN Router vbeta8-2.3.4 Installation Script
Copyright (c) 1995-2006, Sangoma Technologies Inc.
----------------------------------------------------------

DEFAULT Protocols
[FR] : Frame Relay [PPP] : PPP
[CHDLC] : Cisco HDLC [X25] : X25 API

[MFR] : MP Frame Relay [MPROT] : MP Prot
[ADSL] : ADSL (S518) [ATM] : ATM

[AFT_TE1] : AFT_TE1 (A101/2/4)[AFT_TE3] : AFT_TE3 (A105)

API Protocols
[SDLC] : SDLC [BISYNC] : MP Bisync
[BSCSTRM] : Bisync Stream [BITSTRM] : Bit Stream
[POS] : POS (S509/S515) [EDU] : Wan EduKit
[SS7] : SS7 L2 (S514) [MPAPI] : MP API
[ADCCP] : ADCCP LAPB API [ASYHDLC] : Async HDLC API
[LIPAPI] : LIP XDLC/LAPB [TDM] : TDMV Asterisk
[XMTP2] : XMTP2 SS7

[DEF] : Enable All Default [API] : Enable All API
[ALL] : Enable All Protocols [NONE]: Disable ALL Protocols

[EXIT|Q|q]: Exit Protocol Selection

Please select a protocol option in [<opt>]: AFT_TE1-XMTP2-TDM
Enabling the SS7 XMTP2 Protocol
Enabling the AFT TE1 Support


Please specify absolute path to Zaptel source directory

(Press Enter for Default: /usr/src/zaptel)


Enabling the TDM Voice Asterisk Support


Enable TDMV DCHAN Native HDLC Support & Patch Zaptel ? (y/n) y

Zaptel DCHAN Patch successful

Your Zaptel source was modified, recompile/reinstall zaptel ? (y/n) y

Removing current Zaptel compilation(make clean)...OK
Recompiling/reinstalling Zaptel(make install)...OK

Checking for UDEV Zaptel compatibility...
Would you like to add UDEV rules for Zaptel devices ? (y/n) n

Would you like to add UDEV permissions for root user ? (y/n) n

Would you like to add UDEV Permissions for non-root user? (y/n) n

Press [Enter] to continue...

./Setup: line 4557: [: !=: unary operator expected

----------------------------------------------------------
WAN Router vbeta8-2.3.4 Installation Script
Copyright (c) 1995-2006, Sangoma Technologies Inc.
----------------------------------------------------------

DEFAULT Protocols
[FR] : Frame Relay [PPP] : PPP
[CHDLC] : Cisco HDLC [X25] : X25 API

[MFR] : MP Frame Relay [MPROT] : MP Prot
[ADSL] : ADSL (S518) [ATM] : ATM

[AFT_TE1]*: AFT_TE1 (A101/2/4)[AFT_TE3] : AFT_TE3 (A105)

API Protocols
[SDLC] : SDLC [BISYNC] : MP Bisync
[BSCSTRM] : Bisync Stream [BITSTRM] : Bit Stream
[POS] : POS (S509/S515) [EDU] : Wan EduKit
[SS7] : SS7 L2 (S514) [MPAPI] : MP API
[ADCCP] : ADCCP LAPB API [ASYHDLC] : Async HDLC API
[LIPAPI] : LIP XDLC/LAPB [TDM]* : TDMV Asterisk (DCHAN)
[XMTP2]* : XMTP2 SS7

[DEF] : Enable All Default [API] : Enable All API
[ALL] : Enable All Protocols [NONE]: Disable ALL Protocols

[EXIT|Q|q]: Exit Protocol Selection

Please select a protocol option in [<opt>]: q

Supported WAN Protocols:

Press [Enter] to continue...

- API Socket
Support for X25, HDLC, CHDLC and Frame Relay API
socket development.

Press [Enter] to continue...


- AFT TE1 Support
Support for AFT TE1 Cards.
Protocols: Frame Relay
PPP
CHDLC
API: HDLC (Raw)
Transparent Bitstreaming

Press [Enter] to continue...


- XMTP2 SS7 Protocol
Support for LIP XMTP2 AFT cards only.

Press [Enter] to continue...


- TDM Voice Hardware Support for Asterisk PBX Software
Hardware Support for Asterisk PBX Software over
S514 T1/E1 Cards.

Press [Enter] to continue...


Checking for SMP support ...Enabled.

Checking current processor type ...i686

Wan Update Flags: -DWANPIPE_MOD_266_FORCE_UPDATE


--------------------------------------------------
CFLAGS: gcc -Wp,-MD,.wanpipe.o.d -nostdinc -iwithprefix include
-D__LINUX__ -Dlinux -D__KERNEL__ -I/lib/modules/2.6.9-5.0.3.ELsmp/build/include
-DMODULE -DWANPIPE_MOD_266_FORCE_UPDATE -Wall -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fomit-frame-pointer -g
-Wdeclaration-after-statement -pipe -msoft-float -m32 -fno-builtin-sprintf
-fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -fno-unit-at-a-time
-march=i686 -mregparm=3
-I/lib/modules/2.6.9-5.0.3.ELsmp/build/include/asm-i386/mach-generic
-I/lib/modules/2.6.9-5.0.3.ELsmp/build/include/asm-i386/mach-default
-D__KERNEL__ -Iinclude
--------------------------------------------------

Checking for REGPARM kernel option ...Enabled.

Compiling General WANPIPE Driver for 2.6.X Kernel .....Done.


WAN HWEC module enabled and compiled!

XMTP2 binary compiled for GCC Ver=3 Arch=i686 File:wanpipe_xmtp2.gcc3.i686.regparm.o

Linking Wanpipe Driver and protocols ...Done.

Updating Kernel Modules ...Done.

Visually Confirm that driver compilation was successful! (y/n) y
Compilation Successful.
[root@tdmv-test wanpipe]#~/pp~
#Make the Asterisk components again. This probably an overly conservative step but evidence is still being collected on its value and it certainly won't hurt anything.
##libpri; make clean/make install as shown above
##zaptel; make clean/make install as shown above
##asterisk; make clean/make install as shown above; the following warning can be ignored - ((chan_woomera.so)) is a component of SMG~pp~WARNING WARNING WARNING

Your Asterisk modules directory, located at
/usr/lib/asterisk/modules
contains modules that were not installed by this
version of Asterisk. Please ensure that these
modules are compatible with this version before
attempting to run Asterisk.

chan_woomera.so

WARNING WARNING WARNING
~/pp~


Menu [hide]
Toggle  Wiki
Powered by TikiWiki Powered by PHP Powered by Smarty Powered by ADOdb Made with CSS Powered by RDF
RSS Wiki
[ Execution time: 1.38 secs ]   [ Memory usage: Unknown ]   [ 16 database queries used ]   [ GZIP Disabled ]   [ Server load: 6.64 ]