Hi, I have the following error once I have installed asterisk on my new Fedora Core 2 test 3 box with a T100P, compiled fine no problems after using the info on voip-info.org but when i run ztcfg i get this error message: Notice: Configuration file is /etc/zaptel.conf line 143: Unable to open master device '/dev/zap/ctl' The cards appear to load fine when i modprobe them no errors appear but Asterisk cannot use them when I make a call to the line in question asterisk doesn't acknowledge them, the config I am using is off my old machine (identical version same hardware and card just new OS) no errors on its startup euitither it seems to accept the config fine. | suspect that the channel has possibly changed but without ZTCFG i don't know how to check, does anybody have any ideas on a) what this message means and B is there anyway to see the channel the device is using. Cheers James Botham Client Support Consultant Computer Software Group plc www.computersoftware.com <http://www.computersoftware.com> --------------------------------------------------------- ________________________________________________________ TALENT Sport Europe's first 'paper' Smart tickets for Reading FC & London Irish RFC www.computersoftware.com/smartticket.pdf <http://www.computersoftware.com/smartticket.pdf> TALENT CRM Electrolux Outdoor Products improve customer service with ROI in 6 months! www.computersoftware.com/eop.pdf <http://www.computersoftware.com/eop.pdf> _________________________________________________________ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041102/967e7add/attachment.htm
On Tue, 2004-11-02 at 11:51, James Botham wrote:> Hi, > > I have the following error once I have installed asterisk on my new > Fedora Core 2 test 3 box with a T100P, compiled fine no problems after > using the info on voip-info.org but when i run ztcfg i get this error > message: > > Notice: Configuration file is /etc/zaptel.conf > line 143: Unable to open master device '/dev/zap/ctl'SNIP---------------------------- Did you use the make linux26 ? I was able to compile with no errors, using a simple make from within the zaptel directory, but had flackey issues after words. Using linux26 solved the issues! Dave
kwijibo@zianet.com
2004-Nov-02 11:36 UTC
[Asterisk-Users] Zaptel Issue in Fedora Core 2 test 3
Three things you may want to look at. 1. Do those devices exist? 2. Does the user that is starting Asterisk have permission to access those devices? 3. I *think* FC3 comes with SELinux on by default. This may or may not be getting in your way. Steve James Botham wrote:> Hi, > > I have the following error once I have installed asterisk on my new > Fedora Core 2 test 3 box with a T100P, compiled fine no problems after > using the info on voip-info.org but when i run ztcfg i get this error > message: > > Notice: Configuration file is /etc/zaptel.conf > line 143: Unable to open master device '/dev/zap/ctl' > The cards appear to load fine when i modprobe them no errors appear but > Asterisk cannot use them when I make a call to the line in question > asterisk doesn't acknowledge them, the config I am using is off my old > machine (identical version same hardware and card just new OS) no errors > on its startup euitither it seems to accept the config fine. | suspect > that the channel has possibly changed but without ZTCFG i don't know how > to check, does anybody have any ideas on a) what this message means and > B is there anyway to see the channel the device is using. > > Cheers > > James Botham > Client Support Consultant > > *Computer Software Group plc* > _www.computersoftware.com <http://www.computersoftware.com>_ > --------------------------------------------------------- > > ________________________________________________________ > > *TALENT Sport Europe's first 'paper' Smart tickets *for Reading FC & > London Irish RFC _www.computersoftware.com/smartticket.pdf > <http://www.computersoftware.com/smartticket.pdf>_* > TALENT CRM Electrolux Outdoor Products* improve customer service with > ROI in 6 months! www.computersoftware.com/eop.pdf > <http://www.computersoftware.com/eop.pdf> > > _________________________________________________________ > > > > > *This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they are > addressed. If you have received this email in error please notify the > system manager. Please note that any views or opinions presented in this > email are solely those of the author and do not necessarily represent > those of the company.* > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
On Wednesday 03 November 2004 08:05 am, James Botham wrote:> just interested to know what the contents of you /dev/zap/ctl directory are.ctl is not a directory. Look here: crw-r--r-- 1 root root 196, 0 Oct 30 16:40 /dev/zap/ctl And no you cannot readily cat a dev. I've not had to create any device files for a long time so I've forgotten how you do it, but the c means its a character device. It's a device that is read one character at a time. The command should be mknod so a man mknod should give you the details. And I cannot imagine why it was not created for you. It seems plausable that it should have been created at least by the time you run the zaptel install script. You could also just reinstall the binaries. There's script on szmidt.org/asterisk/asterisk-update.sh that will create backups of your source code and download, compile, install the asterisk system, etc. Simply run it without any parameter and it will give you the syntax. Not that running the install by hand is very hard... but I get lazy and try to automate everything. Which can make things overly complex. So it may still have some bug in it. Though it seems to run just fine now. -- Steve Szmidt "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." Benjamin Franklin
Patrick Conroy
2004-Nov-05 05:03 UTC
[Asterisk-Users] Zaptel Issue in Fedora Core 2 test 3
> I have the following error once I have installed asterisk on my new Fedora > Core 2 test 3 box with a T100P, compiled fine no problems after using the > info on voip-info.org but when i run ztcfg i get this error message: > > Notice: Configuration file is /etc/zaptel.conf > line 143: Unable to open master device '/dev/zap/ctl' >I had the same problem when I tried to install zaptel on FC2. I resolved it by commenting out the following lines: ifeq ($(DYNFS),) else @echo "**** Dynamic filesystem detected -- not creating device nodes" @echo "**** If you are running udev, read README.udev" endif from the zaptel Makefile (lines 233, 253-256 as of this morning's Makefile). Hope this helps, Patrick
I have done as below now I get a new error message when trying to make clean or make install it says Makefile:230: *** missing rule before commands. Stop. In the build I have these lines were slightly different the ifeq ($(DYNFS),) is on line 230. I take it you didn't comment out the lines below as these look like they are creating the device nodes. Any ideas Thanks James -----Original Message----- From: Patrick Conroy [mailto:patrick.j.conroy@gmail.com] Sent: 05 November 2004 12:04 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Zaptel Issue in Fedora Core 2 test 3> I have the following error once I have installed asterisk on my new Fedora > Core 2 test 3 box with a T100P, compiled fine no problems after using the > info on voip-info.org but when i run ztcfg i get this error message: > > Notice: Configuration file is /etc/zaptel.conf > line 143: Unable to open master device '/dev/zap/ctl' >I had the same problem when I tried to install zaptel on FC2. I resolved it by commenting out the following lines: ifeq ($(DYNFS),) else @echo "**** Dynamic filesystem detected -- not creating device nodes" @echo "**** If you are running udev, read README.udev" endif from the zaptel Makefile (lines 233, 253-256 as of this morning's Makefile). Hope this helps, Patrick _______________________________________________ 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 This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041105/aeecc8d9/attachment.htm
Ignore my last comment its worked hadn't commented it correctly. Apologies James -----Original Message----- From: James Botham [mailto:James.Botham@computersoftware.com] Sent: 05 November 2004 12:27 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] Zaptel Issue in Fedora Core 2 test 3 I have done as below now I get a new error message when trying to make clean or make install it says Makefile:230: *** missing rule before commands. Stop. In the build I have these lines were slightly different the ifeq ($(DYNFS),) is on line 230. I take it you didn't comment out the lines below as these look like they are creating the device nodes. Any ideas Thanks James -----Original Message----- From: Patrick Conroy [ mailto:patrick.j.conroy@gmail.com <mailto:patrick.j.conroy@gmail.com> ] Sent: 05 November 2004 12:04 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Zaptel Issue in Fedora Core 2 test 3> I have the following error once I have installed asterisk on my new Fedora> Core 2 test 3 box with a T100P, compiled fine no problems after using the > info on voip-info.org but when i run ztcfg i get this error message: > > Notice: Configuration file is /etc/zaptel.conf > line 143: Unable to open master device '/dev/zap/ctl' >I had the same problem when I tried to install zaptel on FC2. I resolved it by commenting out the following lines: ifeq ($(DYNFS),) else @echo "**** Dynamic filesystem detected -- not creating device nodes" @echo "**** If you are running udev, read README.udev" endif from the zaptel Makefile (lines 233, 253-256 as of this morning's Makefile). Hope this helps, Patrick _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users <http://lists.digium.com/mailman/listinfo/asterisk-users> To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users <http://lists.digium.com/mailman/listinfo/asterisk-users> This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041105/d13c5ae9/attachment.htm
Patrick, Thanks for this info its working fine now, I have added this info to the voip-info site for anybody else experiencing it. Thanks James -----Original Message----- From: Patrick Conroy [mailto:patrick.j.conroy@gmail.com] Sent: 05 November 2004 12:04 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Zaptel Issue in Fedora Core 2 test 3> I have the following error once I have installed asterisk on my new Fedora > Core 2 test 3 box with a T100P, compiled fine no problems after using the > info on voip-info.org but when i run ztcfg i get this error message: > > Notice: Configuration file is /etc/zaptel.conf > line 143: Unable to open master device '/dev/zap/ctl' >I had the same problem when I tried to install zaptel on FC2. I resolved it by commenting out the following lines: ifeq ($(DYNFS),) else @echo "**** Dynamic filesystem detected -- not creating device nodes" @echo "**** If you are running udev, read README.udev" endif from the zaptel Makefile (lines 233, 253-256 as of this morning's Makefile). Hope this helps, Patrick _______________________________________________ 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 This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041105/fbf50dfe/attachment.htm