Wanpipe Asterisk Configuration File

  1. Wanpipe AFT A101/2/4/8 config for Asterisk/Zaptel 

  2. Wanpipe AFT A200/400 config for Asterisk/Zaptel

  3. Wanpipe AFT A500 config for TDM API/SMG/Asterisk

 


 

Wanpipe Configuration file for Asterisk/Zaptel SoftPBX:

Skeleton: 

 [devices]
<Wanpipe device definition>

[interfaces]
<List of all wanpipe interfaces: w1g1/w2g1 (for Linux) or wag1/wbg1 (for FreeBSD) >

[wanpipe#]
<List of wanpipe device configuration parameters (see below)>

[w#g1]
<List of wanpipe interface configuration parameters (see below)>

Wanpipe Asterisk Configuration for A101/A102/A104/A108 T1/E1 cards:

[devices]
wanpipe1 = WAN_AFT, Comment                       # For old AFT-A101/AFT-A102:
wanpipe1 = WAN_AFT_TE1, Comment               # For AFT-A101/AFT-A102/AFT-A104/AFT-A108:

[interfaces]
w#g1 = wanpipe1, , TDM_VOICE, Comment

[wanpipe1]

Parameter

Value 

 

Description

 CARD_TYPE

 AFT

 

Define AFT card type

AUTO_PCISLOT

YES
NO

 

Enable/Disable AUTO PCI detection. This parameter can be set to YES only if you have only one card of the same type.  If this option is enabled, PCISLOT/PCIBUS options are ignored (NOTE: A101/A102/A104/A108 T1/E1 is treated as the same card).

PCISLOT

 

 

 

PCIBUS

 

 

 

FE_MEDIA

T1
E1

 

Front End Media type.

FE_LCODE

B8ZS
AMI
HDB3

T1
T1/E1
E1

Front End Line Coding.

FE_FRAME

ESF
D4
UNFRAMED
SLC-96
NCRC4
CRC4

T1
T1
T1/E1
T1
E1
E1

Front End Framing.

FE_LINE

Number

T1/E1

Front End Port/Line number.
(For A108, FE_LINE=1..8; for A104, FE_LINE=1..4)

TE_CLOCK

MASTER
NORMAL

 

T1/E1 clock source.
Normal - slave clock, clock is received from telco (default). Master- master clock, use HW oscillator clock.

TE_REF_CLOCK

Number

 

T1/E1 Reference clock source.
This options allows one to use the incoming clock from a different port as a clock source to this port. This option works only if TE_CLOCK is MASTER. If TE_REF_CLOCK is set to 0, the feature is disable.

TE_HIGHIMPEDANCE

YES
NO

 

Enable/Disable RX High Impedance mode.

TE_RX_SLEVEL

120
180
300
360
430
300
225
175
120

T1/E1:12dB
T1/E1:18dB
T1/E1:30dB
T1:36dB
E1:43dB
T1/E1:HI:30dB
T1/E1:HI:22.5dB
T1/E1:HI:17.5dB
T1/E1:HI:12dB

Define T1/E1 Receive sensitivity (Max Cable loss allowed) (dB). 
('HI' means that these options available if TE_HIGHIMPEDANCE parameter is set to YES).

LBO

0DB
7.5DB
15DB
22.5DB
0-110ft
110-220ft
220-330ft
330-440ft
440-550ft
550-660ft
120OH
75OH  

T1
T1
T1
T1
T1
T1
T1
T1
T1
T1
E1
E1

Define the Line Build Out

(LBO compensates for the loss in decibels based on the distance from the device to the first repeater in the circuit. A longer distance from the device to the repeater requires that the signal strength on the circuit be boosted to compensate for loss over that distance.)

FE_TXTRISTATE

YES
NO

 

Enable/Disable T1/E1 Tx Tri-State mode.

MTU

 

 

 

TDMV_SPAN

Number

 

Define span number for this device

TDMV_DCHAN

Number

 

Set to 0 if HW DCHAN is disabled. To enable HW DCHAN support, set it to dchan number

TDMV_HW_DTMF

YES
NO

 

Enable/Disable Hardware DTMF detection (Echo Cancellation module is required)

TDMV_HW_FAX_DETECT

YES
NO

 

 Enable/Disable Hardware Fax detection (Echo Cancellation module is required)

 TE_IGNORE_YEL

YES
NO

 

 Ignore incoming Yellow alarms and do not stop transmitting.  Needed for ATM systems where Yellows don't clear till cells are aligned

HWEC_CLKSRC

YES

 

Changes the port that will be used to recover a clock for the HWEC.  By default the first port started is used.
Placed in the wanpipeX.conf file that you wish to be the clock source.

[w#g1]

 Parameter

Value

 

Description

ACTIVE_CH

ALL

 

Bit-map of active T1/E1 channels/timeslots

TDMV_ECHO_OFF

YES
NO

 

 Disables or enables SWEC

TDMV_HWEC

YES
NO

 

Enable/Disable Echo Cancellation for this wanpipe interface

 


Wanpipe Asterisk Configuration for A200/A400 Analog cards:

 

[devices]
wanpipe1 = WAN_AFT_ANALOG, Comment

[interfaces]
w#g1 = wanpipe1, , TDM_VOICE, Comment

[wanpipe1]

Parameter

Value 

 

Description

 CARD_TYPE

 AFT

 

Define AFT card type

AUTO_PCISLOT

 YES
 NO

 

Enable/Disable AUTO PCI detection. This parameter can be set to YES only if you have only one card of the same type.  If this option is enabled, PCISLOT/PCIBUS options are ignored (NOTE: A101/A102/A104/A108 T1/E1 is treated as the same card).

PCISLOT

 Number

 

 PCI Slot number

PCIBUS

 Number

 

 PCI Bus number

FE_MEDIA

 FXO/FXS

 

 Front End Media type.

TDMV_LAW

 MULAW
 ALAW

 

 

TDMV_OPERMODE

See note (1)

 

FXO operation mode.

RM_BATTTHRESH

3

 

Battery threshhold.

RM_BATTDEBOUNCE

16

 

Battery debounce parameter.

RM_NETWORK_SYNC

 

 

 

RM_FXSTXGAIN 

0
-35
35

0dB
-3.5dB
3.5dB

 Analog FXS TX path gain

RM_FXSRXGAIN 

0
-35
35

0dB
-3.5dB
3.5dB

 Analog FXS RX path gain

RM_FXOTXGAIN

 -165 to 135

-16.5db to 13.5db

Analog FXO TX path gain

RM_FXORXGAIN

 -165 to 135

-16.5db to 13.5db 

Analog FXO RX path gain

RM_PULSEDIALING

 

 

 

RM_RELAXCFG 

 

 

 

MTU

 

 

 

TDMV_SPAN

Number

 

Define span number for this device

TDMV_HW_DTMF

YES
NO

 

Enable/Disable Hardware DTMF detection (Echo Cancellation module is required)

 

 

 

 

 

  
[w#g1]  

 Parameter

Value

 

Description

ACTIVE_CH

ALL

 

Bit-map of active T1/E1 channels/timeslots

TDMV_ECHO_OFF

YES
NO

 

Disable/Enable SWEC

TDMV_HWEC

YES
NO

 

Enable/Disable Echo Cancellation for this wanpipe interface

 

 


Wanpipe TDM API Configuration for A500 BRI cards:

 

[devices]
wanpipe1 = WAN_AFT_ISDN, Comment

[interfaces]
w#g1 = wanpipe1, , TDM_VOICE_API, Comment

[wanpipe1]

Parameter

Value 

 

Description

 CARD_TYPE

 AFT

 

Define AFT card type

AUTO_PCISLOT

 YES
 NO

 

Enable/Disable AUTO PCI detection. This parameter can be set to YES only if you have only one card of the same type.  If this option is enabled, PCISLOT/PCIBUS options are ignored (NOTE: A101/A102/A104/A108 T1/E1 is treated as the same card).

PCISLOT

 Number

 

 PCI Slot number

PCIBUS

 Number

 

 PCI Bus number

FE_MEDIA

 BRI

 

 Front End Media type.

FE_LINE

 Number

1-12

 Port number

TDMV_LAW

 MULAW
 ALAW

 

 

RM_BRI_CLOCK

LINE
OSC

 

Clocking mode
LINE: card might use this port as clocking source if current port is in connected state

OSC: card will never use this port as a clocking source.

MTU

 

 

 

TDMV_SPAN

Number

 

Define span number for this device

TDMV_HW_DTMF

YES
NO

 

Enable/Disable Hardware DTMF detection (Echo Cancellation module is required)

 

 

 

 

 

  
[w#g1]  

 Parameter

Value

 

Description

ACTIVE_CH

ALL

 

Bit-map of active BRI channels/timeslots

TDMV_ECHO_OFF

 

 

 

TDMV_HWEC

YES
NO

 

Enable/Disable Echo Cancellation for this wanpipe interface

Return to Documentation Home I Return to Sangoma Support