#================================================
# WANPIPE1 Configuration File
#================================================
#
# Date: Mon Jul 31 17:10:23 EDT 2006
#
# Note: This file was generated automatically
#       by /usr/local/sbin/setup-sangoma program.
#
#       If you want to edit this file, it is
#       recommended that you use wancfg program
#       to do so.
#================================================
# Sangoma Technologies Inc.
#================================================

[devices]
wanpipeDEVNUM = WAN_AFT_ANALOG, Comment

[interfaces]
wIFNUMg1 = wanpipeDEVNUM, , TDM_VOICE_OP_MODE, Comment

[wanpipeDEVNUM]
CARD_TYPE 	= AFT
S514CPU 	= A
CommPort 	= PRI
AUTO_PCISLOT 	= NO
PCISLOT 	= SLOTNUM
PCIBUS  	= BUSNUM
FE_MEDIA	= FXO/FXS
TDMV_LAW	= TDM_LAW
TDMV_OPERMODE	= TDM_OPERMODE
RM_BATTTHRESH	= 3
RM_BATTDEBOUNCE = 16
FE_NETWORK_SYNC = RMNETSYNC
MTU 		= 1500
UDPPORT 	= 9000
TTL		= 255
IGNORE_FRONT_END = NO
TDMV_SPAN	= TDMVSPANNO
TE_AIS_MAINTENANCE = NO         #NO: defualt  YES: Start port in AIS Blue Alarm and keep line down
                                #wanpipemon -i w1g1 -c Ttx_ais_off to disable AIS maintenance mode
								#wanpipemon -i w1g1 -c Ttx_ais_on to enable AIS maintenance mode  
TDMV_HW_DTMF        = HWDTMF        # YES: receive dtmf events from hardware
TDMV_HW_FAX_DETECT      = HWFAX     # YES: receive fax 1100hz events from hardware
HWEC_OPERATION_MODE     = OCT_NORMAL    # OCT_NORMAL: echo cancelation enabled with nlp (default) 
                                        # OCT_SPEECH: improves software tone detection by disabling NLP (echo possible)
                                        # OCT_NO_ECHO:disables echo cancelation but allows VQE/tone functions. 
HWEC_DTMF_REMOVAL       = NO    # NO: default  YES: remove dtmf out of incoming media (must have hwdtmf enabled)
HWEC_NOISE_REDUCTION    = NO    # NO: default  YES: reduces noise on the line - could break fax
HWEC_ACUSTIC_ECHO       = NO    # NO: default  YES: enables acustic echo cancelation
HWEC_NLP_DISABLE        = NO    # NO: default  YES: guarantees software tone detection (possible echo)   
HWEC_TX_AUTO_GAIN       = 0     # 0: disable   -40-0: default tx audio level to be maintained (-20 default)
HWEC_RX_AUTO_GAIN       = 0     # 0: disable   -40-0: default tx audio level to be maintained (-20 default)  
HWEC_TX_GAIN            = 0     # 0: disable   -24-24: db values to be applied to tx signal
HWEC_RX_GAIN            = 0     # 0: disable   -24-24: db values to be applied to tx signal


RM_FAKE_POLARITY 		= RMFAKEPOLARITY
RM_FAKE_POLARITY_THRESHOLD	= RMFAKETHRES
RM_FAKE_POLARITY_CIDTIMER = RMFAKECIDTIMER
RM_FAKE_POLARITY_CIDTIMEOUT = RMFAKECIDTIMEOUT

RM_RING_DEBOUNCE = RMRINGDEBOUNCE  #Value in ms: [0,24,32,54] [0 == 54]=Default, Set to lower value if initial ring is very short 

[wIFNUMg1]
ACTIVE_CH	= ALL
MTU		= 8
TDMV_HWEC	= HWECMODE
