RE: [Asterisk-Users] TDM400 stopped working

2005-02-02 Thread Kanwar Ranbir Sandhu
On Tue, 2005-01-02 at 11:59 -0500, Jim Van Meggelen wrote:
> Jim Van Meggelen
> [EMAIL PROTECTED]

Jim,

I've been trying to get in touch with you (email), but it doesn't seem
to be getting through.

Send me an email. I believe you have my email address.

Sorry for the noise, everyone.

Regards,

Ranbir
-- 
Kanwar Ranbir Sandhu
Linux Consultant
Systems Aligned Inc.
www.systemsaligned.com

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] TDM400 stopped working

2005-02-01 Thread Jim Van Meggelen
[EMAIL PROTECTED] wrote:
> On Tue, 1 Feb 2005, David Brodbeck wrote:
>
>>> -Original Message-
>>> From: Matthew Laird [mailto:[EMAIL PROTECTED]
>>
>>> 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
[EMAIL PROTECTED]
 

-- 
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
 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] TDM400 stopped working

2005-02-01 Thread David Brodbeck
> -Original Message-
> From: Matthew Laird [mailto:[EMAIL PROTECTED]

> 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?

Left hand doesn't know what the right hand is doing, I'd guess.  The people
who wrote the hardware driver and the people who wrote Asterisk may not be
the same.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] TDM400 stopped working

2005-02-01 Thread Matthew Laird

On Tue, 1 Feb 2005, David Brodbeck wrote:

> > -Original Message-
> > From: Matthew Laird [mailto:[EMAIL PROTECTED]
>
> > 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?

An entire evening of frustration wasted sigh.

Thanks though for pointing me in the right direction.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] TDM400 stopped working

2005-02-01 Thread David Brodbeck
> -Original Message-
> From: Matthew Laird [mailto:[EMAIL PROTECTED]

> 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.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users