My analog phones do not sound


I have a tdm400p with two fxs modules and two fxo modules.
It is working well but my analog phones don’t make any sounds when they ring (and I can answer a phone call).

My zaptel.conf:
loadzone = fr
defaultzone = fr

fxsks = 1-2
fxoks = 3-4

My zapata.conf:

language = fr
nationalprefix = 0
internationalprefix = 00
usecallingpres = yes

echocancel = yes
echocancelwhenbridged = yes
echotraining = yes

overlapdial = yes
immediate = no


channel => 1

channel => 2

channel => 3-4

My extensions.conf:
exten => _X.,1,Dial(ZAP/1/${EXTEN})

;exten => s,1,Dial(SIP/123) ;;;;Works well
exten => s,1,Dial(ZAP/3);;Works but the phone doesn’t ring

Any help would really be appreciated.

i’m not familiar with FXS modules on the TDM400 cards, but the first thing that came to mind was whether you have connected the molex power connector on the card ? i understand that’s required to generate ringing voltages.

also, are you loading your wctdm with your country code ? e.g. opermode=FRANCE

Thanks for your fast reply,

I have connected my power-supply cable on the rear of my card.
But I don’t think that I’m loading my wctdm with my country code.
I think I have to add it in the modprobe.conf file, is it?


yes, it depends on the OS you’re running. i’m using an FC2-based distro and my /etc/modprobe.conf file contains this line

I’ve tried to put ‘opermode=FRANCE’ but It doesn’t work…

My phones doesn’t ring and when I do a ‘dmesg’ it’s say to me “wcfxo: ‘FRANCE’ invalid for parameter ‘opermode’”

Any idea?

what build are you using ?

can you look in the source for wcfxo, the parameters should all be listed in there. usually /usr/src/zaptel/wcfxo.h i think !

I use an Asterisk 1.2.1 built on a i686 running Linux Kernel 2.6 on Centos.

I’ve tried to look in source code and I find this:

static int opermode = 0;
fxo_modes[] =
{ “FCC”, 0, 0, 2, 0, 0, 0, 0 }, /
US /
{ “CTR21”, 0, 0, 3, 0, 0, 3, 0 }, /
Austria, Belgium, Denmark, Finland, France, Germany,
Greece, Iceland, Ireland, Italy, Luxembourg, Netherlands,
Norway, Portugal, Spain, Sweden, Switzerland, and UK */

What do you think about it?
(it seems I have to change the fxo mode to ctr21, but how???)

i’ve just had a look at 1.0.10 source (can’t get access to 1.2.1 right now, but it’s similar enough i think)

isn’t the wcfxo module for the X100P cards ? shouldn’t you be loading wcfxs instead ? apologies if i’m mislead you on this point !!

It seems it’s the parameters of the wctdm module I have to modify.
I’ll try to and hop it will works…

I’ve tried again to put the parameters in my ‘modprobe.conf’ and I don’t have any error more…

I put:
options wctdm opermode=FRANCE fxshonormode=1 boostringer=1

The ‘dmesg’ cmd shows that this parameters are applied:
Module 0: Installed – AUTO FXO (FRANCE mode)

But my phones doesn’t ring…

Does someone have any idea?

Some news:

I tried with an other phone and it’s seems to work (the new phone is
(I have to load the module with modprobe -vv wctdm boostringer=1).
I will search why the others doesn’t…

An other question comes to me:
I have this context: External call to Asterisk box and TDM400p
when I hang up the phone (on external line), the phones (on the internal
side) continue to sound.
It seems that the system doesn’t see that I hang up.
Any idea on this new problem?


according to your first post, you’re using kewlstart. you could try adding hanguponpolarityswitch=yes to your zapata.conf and testing.

bear in mind that you should check with your telco to establish whether they send a polarity reversal for anything else … if they do you’ll get false hangups.

have a look at the wiki on, search for zapata.conf and explore the options you have detailed there.

Thanks for reply baconbuttie,

It seems to work!
I’ve add hanguponpolarityswitch=yes and busydetect=yes.
(I did not know this option ‘hanguponpolarityswitch’ and I recommand you this link: