[Asterisk-Users] Problems with TDM400P and FXO modules

Rich Adamson radamson at routers.com
Tue May 9 05:04:42 MST 2006


Bogdan Tocu wrote:
> Hi , I have an asterix (1.2.7.1 <http://1.2.7.1>) box with 3 TDM400P and 
> 10 FXO modules, and zaptel (1.2.5).
> The problem is that 6 modules can't be initaized and i get the folowing 
> error:
>  
> May  7 09:17:37 WARNING[7739] chan_zap.c: Unable to specify channel 9: 
> No such device
> May  7 09:17:37 ERROR[7739] chan_zap.c: Unable to open channel 9: No 
> such device
> here = 0, tmp->channel = 9, channel = 9

In general terms, the problem seems to be related to exactly which TDM 
card is considered first, second, and third. The order in which they are 
used is not necessarily related to which pci slot they are located in. 
(Just went through the same issue yesterday.)

Since channel 9 is the one causing the issue, it is the TDM card with 
only two fxo modules on it. The other two cards are channels 1-4 and 5-8.

> ztcfg output is:
> 
> Zaptel Configuration
> ======================
> 
> 
> Channel map:
> 
> Channel 03: FXS Kewlstart (Default) (Slaves: 03)
> Channel 04: FXS Kewlstart (Default) (Slaves: 04)
> Channel 05: FXS Kewlstart (Default) (Slaves: 05)
> Channel 06: FXS Kewlstart (Default) (Slaves: 06)
> Channel 07: FXS Kewlstart (Default) (Slaves: 07)
> Channel 08: FXS Kewlstart (Default) (Slaves: 08)
> Channel 09: FXS Kewlstart (Default) (Slaves: 09)
> Channel 10: FXS Kewlstart (Default) (Slaves: 10)
> Channel 11: FXS Kewlstart (Default) (Slaves: 11)
> Channel 12: FXS Kewlstart (Default) (Slaves: 12)
> 
> 10 channels configured.

The above is only reflective of what you define in /etc/zaptel.conf. If 
those definitions are incorrect (eg, incorrect order), you will see the 
above display.  Since you already know channel 9 does not have a module 
in it, the zaptel.conf should probably read something like:

fxsks=1-8,11-12

After correcting the above, you'll need to change zapata.conf to exactly 
match the entries in zaptel.conf.




More information about the asterisk-users mailing list