Re: [Asterisk-Users] TDM400 not working -- SOLVED
Sorry, I was pretty busy and did not work on my *. Problem was in zaptel not properly registering driver with udev. Manually updating udev rules fixed the problem. Thanks, Rudolf - Original Message - From: Tzafrir Cohen [EMAIL PROTECTED] To: asterisk-users@lists.digium.com Sent: Tuesday, October 11, 2005 6:20 AM Subject: Re: [Asterisk-Users] TDM400 not working 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 | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ___ --Bandwidth and Colocation sponsored by Easynews.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 ___ --Bandwidth and Colocation sponsored by Easynews.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
[Asterisk-Users] TDM400 not working
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 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. 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? Thanks, Rudolf ___ --Bandwidth and Colocation sponsored by Easynews.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 not working
I failed to make TDM400 working too myself. But I believed I passed the the driver stuff... by installing zaptel-1.2.0-beta1. Inside the package, there is a script zaptel.init that should take care of loading/unloading the driver. Min -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rudolf Ladyzhenskii Sent: Monday, October 10, 2005 5:26 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] TDM400 not working 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 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. 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? Thanks, Rudolf ___ --Bandwidth and Colocation sponsored by Easynews.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 ___ --Bandwidth and Colocation sponsored by Easynews.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 not working
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 | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ___ --Bandwidth and Colocation sponsored by Easynews.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
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
-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
RE: [Asterisk-Users] TDM400 stopped working
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
-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
[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
[Asterisk-Users] TDM400 stopped working
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 Jan 31 13:34:27 ERROR[342]: chan_zap.c:6347 mkintf: Unable to open channel 1: No such device or address here = 0, tmp-channel = 1, channel = 1 Jan 31 13:34:27 ERROR[342]: chan_zap.c:9403 setup_zap: Unable to register channel '1' Jan 31 13:34:27 WARNING[342]: loader.c:388 __load_resource: chan_zap.so: load_module failed, returning -1 == Unregistered channel type 'Zap' Jan 31 13:34:27 WARNING[342]: loader.c:509 load_modules: Loading module chan_zap.so failed! I've confirmed the module was loaded - I see the messages on the console describing how it found the two modules. I've confirmed the card is powered, I see the two green lights on the PCI card's bracket on. I'm using the exact same configureation file I had the first time it work. I'm baffled on why it stopped working. The reboot was to change power supplies on this machine. Thinking the new one might not be giving the right kick, I tried switching back, no luck. I've ensured the power cable is hooked to the TDM400 card. But when I pick up the phone, I don't even get the same buzzing at before. I'm leaning towards a hardware issue, but before I send this card back to Alabama I was seeking some advice. Any ideas on why after a reboot the card might suddenly stop working, yet have all the signs of life? Here are some key configs: zapata.conf: signalling=fxo_ks echocancel=yes ; You can set this to 32, 64, or 128, tweak to your needs. echocancelwhenbridged=yes echotraining=400 ; Asterisk trains to the beginning of the call, number is in milliseconds callerid=asreceived group=1 context=default ; Points to the default context of your extensions.conf channel = 1 mailbox=1234 signalling=fxs_ks group=2 context=incoming channel= 4 ; Again change the 'X' to the number of FXO modules you have zaptel.conf: loadzone=us defaultzone=us # Load FXS device (a TDM400P) as Channel #, and use fxoks=1 # Load FXO device (a T100X) as Channel #, and use kewlstart fxsks=4 Thanks! ___ 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