userdoc:wanpipe

This is an old revision of the document!


Wanpipe

Because Astlinux has been created to fit into as small an installation as possible, a full version of Perl is not included. This means that the utility wancfg_dahdi, which configures Sangoma telephony cards for DAHDI, will not run. The configuration files must therefore be created manually. Starting with AstLinux 0.7.6 the utility wancfg will function properly, and can be used to define files in the /mnt/kd/wanpipe (aka /etc/wanpipe) directory.

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.

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
  • userdoc/wanpipe.1295731471.txt.gz
  • Last modified: 2011/01/22 15:24
  • by abelbeck