The A200 analog card is installed in a Linux system.
When I ran “wanrouter start” and I got below message:
diag_fld > $wanrouter start
Starting up device: wanpipe1
wanconfig: WAN device wanpipe1 driver load failed !!
: ioctl(wanpipe1,ROUTER_SETUP) failed:
: 22 - Invalid argument
Wanpipe driver did not load properly
Please check /var/log/wanrouter and
/var/log/messages for errors
Configuring interfaces: w1g1 ifconfig: SIOCGIFFLAGS: No such device
done.
diag_fld >
I already ran “wancfg_tdmapi” to create a new wanpipe1.conf as below:
What would be the issue?
Thanks,
Gansheng
diag_fld > $cat /etc/wanpipe/wanpipe1.conf
#================================================
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]
wanpipe1 = WAN_AFT_ANALOG, Comment
[interfaces]
w1g1 = wanpipe1, , TDM_VOICE_API, Comment
[wanpipe1]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 4
PCIBUS = 2
FE_MEDIA = FXO/FXS
TDMV_LAW = MULAW
TDMV_OPERMODE = FCC
RM_BATTTHRESH = 3
RM_BATTDEBOUNCE = 16
FE_NETWORK_SYNC = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
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 = YES # YES: receive dtmf events from hardware
TDMV_HW_FAX_DETECT = NO # 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 = NO
RM_FAKE_POLARITY_THRESHOLD = 16000
RM_FAKE_POLARITY_CIDTIMER = 400
RM_FAKE_POLARITY_CIDTIMEOUT = 4000
RM_RING_DEBOUNCE = 0 #Value in ms: [0,24,32,54] [0 == 54]=Default, Set to lower value if initial ring is very short
[w1g1]
ACTIVE_CH = ALL
MTU = 8
TDMV_HWEC = YES
diag_fld >