userdoc:wanpipe

This is an old revision of the document!


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 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 DAHDI1), 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 Wanpipe configuration files (for a Sangoma A101u in a Soekris net5501 connecting to a US 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



1)
since wanpipe-3.5.21
  • userdoc/wanpipe.1488371031.txt.gz
  • Last modified: 2017/03/01 06:23
  • by droemel