[Asterisk-Users] TDM400 not working

Tzafrir Cohen tzafrir at cohens.org.il
Mon Oct 10 13:20:19 MST 2005


On Mon, Oct 10, 2005 at 07:25:59PM +1000, Rudolf Ladyzhenskii wrote:
> Hi, all
> 
> I have installed TDM400 card. I can see it is there (lspci).
> But Asterisk does not find it.
> 
> phonebox2*CLI> zap show status
> No Zaptel interface found.
> 
> I assume that driver is not loaded, but I am sure I have installed it (I 
> compiled zaptel and then re-build asterisk and did make install for both 
> zaptel and asterisk).
> 
> When asterisk is started I get:
> Jan  2 06:28:08 WARNING[3473]: chan_zap.c:872 zt_open: Unable to open 
> '/dev/zap/channel': No such file or directory

The device file does not exast

> Jan  2 06:28:08 ERROR[3473]: chan_zap.c:6572 mkintf: Unable to open channel 
> 2: No such file or directory
> here = 0, tmp->channel = 2, channel = 2
> Jan  2 06:28:08 ERROR[3473]: chan_zap.c:9927 setup_zap: Unable to register 
> channel '2'
> Jan  2 06:28:08 WARNING[3473]: loader.c:402 __load_resource: chan_zap.so: 
> load_module failed, returning -1
> Jan  2 06:28:08 WARNING[3473]: loader.c:523 load_modules: Loading module 
> chan_zap.so failed!
> 
> Ok, I look in the /dev and I could not find /dev/zap at all! But, there is 
> a /dev/zapchannel character device.

Is that a typo? It should be /dev/zap/channel . Do you use udev? If so,
see README.udev . If not: you need to generate those device files.

Anyway: could you please post the output of:

  lsmod | grep zaptel

> 
> Any ideas what can be wrong?
> 
> And last question. Does zaptel driver reads configuration file on startup? 
> If so, how do I force the driver to update if config file was changed?

ztcfg loads the configuration to the zaptel module from /etc/zaptel.conf
.

-- 
Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend



More information about the asterisk-users mailing list