[Asterisk-Users] TDM400 stopped working

Jim Van Meggelen jim at vanmeggelen.ca
Tue Feb 1 09:59:06 MST 2005


asterisk-users-bounces at lists.digium.com wrote:
> On Tue, 1 Feb 2005, David Brodbeck wrote:
>
>>> -----Original Message-----
>>> From: Matthew Laird [mailto:zapa at luther.ca]
>>
>>> I excitedly installed my TDM dev kit earlier this weekend,
>>> installing asterisk and all the kernel drivers to make it work.
>>> And it did, it was fantastic.
>>>
>>> I then reboot the machine, and even after doing a modprobe wctdm, I
>>>   get the following: == Parsing '/etc/asterisk/zapata.conf': Found
>>> Jan 31 13:34:27 WARNING[342]: chan_zap.c:793 zt_open: Unable to
>>> specify channel 1: No such device or address
>>
>> Did you remember to run ztcfg after loading the module? You have to
>> do it every time or the channels won't be configured.
>
> Yes I did.  It's even in /etc/modules.conf as a post-install action
> for the module.
>
> Hmm, found the problem, I just manually ran it again (I did
> last night) specifying the configuration file.... well that's
> annoying.  I have zaptel.conf in /etc/asterisk along with the
> other configs, ztcfg looks in /etc.... So, why does it expect
> the file somewhere else from all the other asterisk configuration
> files?

There's a very good reason for that: The zaptel driver is for the Linux
operating system. Asterisk simply makes use of the driver.
Theoretically, any software can use the zaptel driver, so it is
appropriate to place its configuration file in /etc, with other, similar
driver configuration files.

The zapata.conf file, on the other hand, is specific to Asterisk. It
tells Asterisk how to use the zaptel driver.

Asterisk -> /etc/asterisk/zapata.conf
Linux -> /etc/zaptel.conf

Or, hierarchically:
[Asterisk]
(/etc/asterisk/zapata.conf)
 ^
 |
 v
(/etc/zaptel.conf)
[Linux]

Not well explained by the documentation, perhaps, but logical
nonetheless.

Cheers,

Jim.


--
Jim Van Meggelen
jim at vanmeggelen.ca
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.3 - Release Date: 31/01/2005
 




More information about the asterisk-users mailing list