I plugged power supply to jack 14. when i execute dahdi_genconf i saw problem exist. FXO modules wrongly has been detected as FXS module and vice versa. after plugging power supply (12v) FXS module wrongly has been detected as FXO module!!! here is output:
[root@saeedi:~]# cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Tue May 11 04:57:50 2010
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)
fxoks=1
echocanceller=mg2,1
# channel 2, WCTDM/4/1, no module.
fxsks=3
echocanceller=mg2,3
fxsks=4
echocanceller=mg2,4
# Global data
loadzone = us
defaultzone = us
and :
[root@saeedi:~]# dahdi_cfg -vvvvvv
DAHDI Tools Version - 2.2.1.1
DAHDI Version: 2.3.0
Echo Canceller(s): MG2
Configuration
======================
Channel map:
Channel 01: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)
3 channels to configure.
Setting echocan for channel 1 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
hello:
As you said, channels 1 is FXS module (green module), channels 3 and 4 are FXO module(red module). Because the FXS module use the FXO signalling, and the FXO module use the FXS signalling. So the result is right.
Hi:
If your card has modules FXO, FXO, FXS, FXS (in that order), put:
fxsks=1-2
fxoks=3-4
If your card has modules FXS, FXO, FXO, FXS (in that order), put:
fxoks=1,4
fxsks=2-3
If your card has modules FXS, (empty), FXO, FXS (in that order), put:
fxoks=1,4
fxsks=3
NOTE: the names are reversed. For FXO modules you use fxsks= and for FXS modules you use fxoks=