[Asterisk-Users] FXS interfaces

Mike M no-linux-support at earthlink.net
Wed Jun 22 12:30:43 MST 2005


On Wed, Jun 22, 2005 at 01:03:33PM -0300, Alessandro wrote:
> Mike,
> It's got 4 modules.  What color are the modules in positions 1, 2, 3, 4
> 
> on the TDM400P card?  Don't be confused by the 0-3 numbering, just add
> 1.
> 
>     The colors in positions 3 and 4 are green, 1 and 2 light is off.

You should double check what you are reporting.  I deliberately
reversed the zaptel settings on my box and got this:

[root at b2 src]# modprobe wctdm
ZT_CHANCONFIG failed on channel 25: Invalid argument (22)
Did you forget that FXS interfaces are configured with FXO signalling
and that FXO interfaces use FXS signalling?
/lib/modules/2.4.21-27.0.1.EL/misc/wctdm.o: post-install wctdm failed
/lib/modules/2.4.21-27.0.1.EL/misc/wctdm.o: insmod wctdm failed
[root at b2 src]# Jun 22 15:11:31 b2 kernel: PCI: Found IRQ 11 for device
01:0a.0
Jun 22 15:11:31 b2 kernel: Freshmaker version: 71
Jun 22 15:11:31 b2 kernel: Freshmaker passed register test
Jun 22 15:11:31 b2 kernel: Module 0: Installed -- AUTO FXS/DPO
Jun 22 15:11:31 b2 kernel: Module 1: Not installed
Jun 22 15:11:31 b2 kernel: Module 2: Not installed
Jun 22 15:11:31 b2 kernel: Module 3: Not installed
Jun 22 15:11:31 b2 kernel: Found a Wildcard TDM: Wildcard TDM400P REV
E/F (4 modules)

Look familiar?

> > > ZT_CHANCONFIG failed on channel 3: Invalid argument (22)
> > > Did you forget that FXS interfaces are configured with FXO signalling
> > > and that FXO interfaces use FXS signalling?
> > > /lib/modules/2.4.21-27.EL/misc/wcfxs.o: post-install wcfxs failed
> > > /lib/modules/2.4.21-27.EL/misc/wcfxs.o: insmod wctdm failed

Then I corrected my zaptel.conf and got this:

[root at b2 src]# modprobe wctdm
[root at b2 src]# Jun 22 15:14:14 b2 kernel: PCI: Found IRQ 11 for device
01:0a.0
Jun 22 15:14:14 b2 kernel: Freshmaker version: 71
Jun 22 15:14:14 b2 kernel: Freshmaker passed register test
Jun 22 15:14:14 b2 kernel: Module 0: Installed -- AUTO FXS/DPO
Jun 22 15:14:14 b2 kernel: Module 1: Not installed
Jun 22 15:14:14 b2 kernel: Module 2: Not installed
Jun 22 15:14:14 b2 kernel: Module 3: Not installed
Jun 22 15:14:14 b2 kernel: Found a Wildcard TDM: Wildcard TDM400P REV
E/F (4 modules)
Jun 22 15:14:14 b2 kernel: Registered tone zone 0 (United States / North
America)

Everything works.

Your system is telling you that you have nothing in position 1 and 2, and
red modules in position 3 and 4:

Jun 21 19:06:16 darthvaden kernel: PCI: Sharing IRQ 9 with 00:1f.5
Jun 21 19:06:16 darthvaden kernel: Freshmaker version: 71
Jun 21 19:06:16 darthvaden kernel: Freshmaker passed register test
Jun 21 19:06:16 darthvaden kernel: ProSLIC 3210 version 2 is too old
Jun 21 19:06:16 darthvaden kernel: Module 0: Not installed
Jun 21 19:06:16 darthvaden kernel: ProSLIC 3210 version 2 is too old
Jun 21 19:06:16 darthvaden kernel: Module 1: Not installed
Jun 21 19:06:16 darthvaden kernel: Module 2: Installed -- AUTO FXO (FCC
mode)
Jun 21 19:06:16 darthvaden kernel: Module 3: Installed -- AUTO FXO (FCC
mode)
Jun 21 19:06:16 darthvaden kernel: Found a Wildcard TDM: Wildcard
TDM400P REV E/F (4 modules)

Try changing your zaptel.conf to:

fxoks=1,2 
fxsks=3,4 

You should install your green modules in position 1 and 2.

Position 1 is closest to the connectors.  Be  sure of the following:

p1 - green (closest to the connectors)
p2 - green
p3 - red
p4 - red

If you still have problems after double checking everything you may need to get 
help from the mfr or distributor.  I had 2 RMAs on a recent order.
-- 
Mike



More information about the asterisk-users mailing list