[asterisk-users] Asterisk and TDM400P ?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Nov 24 06:17:35 MST 2006


A summary of some of the mistakes in this thread, as it was full of
them.

On Fri, Nov 24, 2006 at 06:32:14AM +0100, Noc Phibee wrote:
> Hi
> 
> i have buy a Digium TDM400P with 1 fxo modules TDM01B for connect
> my asterisk to a french analog line.
> 
> In my zaptel.conf, i have:
>    loadzone=fr
>    defaultzone=fr
>    fxols=3

An FXO module needs FXS signalling:

 fxsls=3

And probably fxsks=3: I'm not sure whether or not KS is used in the
French telco .

Didn't you know this obvious fact?

And what is the channel number of this module?

> when i load the module, i have in logs:
> Nov 24 06:13:40 gw kernel: Freed a Wildcard
> Nov 24 06:13:40 gw kernel: Zapata Telephony Interface Unloaded
> Nov 24 06:13:40 gw zaptel: Removing zaptel module:  succeeded
> Nov 24 06:13:42 gw kernel: Zapata Telephony Interface Registered on 
> major 196
> Nov 24 06:13:42 gw kernel: Zaptel Version: 1.2.9.1-1mdv2007.0 Echo 
> Canceller: KB1
> Nov 24 06:13:42 gw zaptel: Loading zaptel framework:  succeeded
> Nov 24 06:13:42 gw kernel: ACPI: PCI Interrupt 0000:02:0a.0[A] -> GSI 21 
> (level, low) -> IRQ 20
> Nov 24 06:13:43 gw kernel: Freshmaker version: 73
> Nov 24 06:13:43 gw kernel: Freshmaker passed register test
> Nov 24 06:13:43 gw kernel: Module 0: Not installed
> Nov 24 06:13:43 gw kernel: Module 1: Not installed
> Nov 24 06:13:43 gw kernel: Module 2: Not installed
> Nov 24 06:13:43 gw kernel: Module 3: Installed -- AUTO FXO (FCC mode)

The card reports that first three slots are unused, and only slot 4 is
used. You should have known that this is a zero-based counting, whereas
the counting of Zaptel channels is 1-based.

Luckily for you you have just one card, and didn't need any further
offsets calculations.

Those two tiny this are obvious to us who havve been messing long enough
with Zaptel. However they are far from being intuitive.

My suggestions: either:

* Use genzaptelconf from xpp/utils/genzaptelconf to save you from this
  guesswork.

Or:

* Apply http://bugs.digium.com/view.php?id=7613

(preferably with some optimizations from the wctdm driver itself, but
the latter is clearly not my department).

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list