====== Sangoma Wanpipe ======
!!Note:!! Since AstLinux 1.2.9 Sangoma Wanpipe card support is no longer supplied in the standard AstLinux images.\\ Use a custom build to enable 'wanpipe' support.
Starting with AstLinux 0.7.6 the utilities ''wancfg'' and ''wancfg_dahdi'' which configures [[http://www.sangoma.com/|Sangoma]] telephony cards for DAHDI, are supported. These utilities define files in the /mnt/kd/wanpipe (aka /etc/wanpipe) directory.
Previous to AstLinux 0.7.6 the utilities ''wancfg'' and ''wancfg_dahdi'' were not supported. The configuration files must therefore be created manually for older versions of AstLinux.
With AstLinux 1.0.2 the A500 and B700 BRI/Hybrid cards, which work now with DAHDI((since wanpipe-3.5.21)), are supported too.
The "wancfg" tool is only for cards used in "data mode" and does NOT work with the B700 card, "wancfg_dahdi" is needed for "voice mode" together with Asterisk.
**Remember that AstLinux stores the majority of its configuration files in a different location to where vanilla Asterisk installations store theirs, so use the locations listed below.**
/mnt/kd/wanpipe/wanpipe1.conf (aka /etc/wanpipe/wanpipe1.conf)
/mnt/kd/dahdi/system.conf (aka /etc/dahdi/system.conf)
/mnt/kd/asterisk/chan_dahdi.conf (aka /etc/asterisk/chan_dahdi.conf)
Here are sample [[http://wiki.sangoma.com/wanpipe-linux-drivers|Wanpipe]] configuration files (for a [[http://www.sangoma.com/products/hardware_products/digital_voice_and_data_networking/a101.html|Sangoma A101u]] in a [[http://www.soekris.com/net5501.htm|Soekris net5501]] connecting to a US [[http://en.wikipedia.org/wiki/T-carrier#t1|T1]]). They will need to be customized to fit your own environment.
''/mnt/kd/wanpipe/wanpipe1.conf'':
#================================================
# WANPIPE1 Configuration File
#================================================
[devices]
wanpipe1 = WAN_AFT, Comment
[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment
[wanpipe1]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 14 ; } get these values via the command 'wanrouter hwprobe'
PCIBUS = 0 ; }
FE_MEDIA = T1
FE_LCODE = B8ZS
FE_FRAME = ESF
FE_LINE = 1
TE_CLOCK = NORMAL
TE_REF_CLOCK = 0
ACTIVE_CH = ALL
TE_HIGHIMPEDANCE = NO
LBO = 0-110FT
FE_TXTRISTATE = NO
MTU = 1500
UDPPORT = 0
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
TDMV_DCHAN = 24
[w1g1]
ACTIVE_CH = ALL
TDMV_ECHO_OFF = NO
''/mnt/kd/dahdi/system.conf'':
span=1,0,0,esf,b8zs
# Configuration for T1 trunk
# channel 1-23 data channels
bchan=1-23
echocanceller=mg2,1-23
# channel 24 control
hardhdlc=24
Add this to the end of ''/mnt/kd/asterisk/chan_dahdi.conf'':
context=internal
switchtype=national
signalling = pri_net
group = 1,24
channel => 1-23
\\