Chris Bullock
2007-Jan-09 16:51 UTC
[asterisk-users] Zap 1.4 error line 0: Unable to open master device '/dev/zap/ctl'
I've looked over EVERY resource I can find, but have run short of a solution. I'm running CentOS 4.4. Just installed Asterisk 1.4 and Zaptel 1.4 and libpri, but when I run ztcfg I get this error: line 0: Unable to open master device '/dev/zap/ctl' I realize this is a udev error (or from what I've read), but I cannot find out how to resolve this. I've reinstalled zaptel several times. I read a lot about having to read the README.udev file in the zaptel source, but I don't even have that file on my system. If anyone has any ideas I'd love to hear from them. -Chris
Tzafrir Cohen
2007-Jan-09 23:23 UTC
[asterisk-users] Zap 1.4 error line 0: Unable to open master device '/dev/zap/ctl'
On Tue, Jan 09, 2007 at 05:50:52PM -0600, Chris Bullock wrote:> I've looked over EVERY resource I can find, but have run short of a > solution. I'm running CentOS 4.4. Just installed Asterisk 1.4 and Zaptel > 1.4 and libpri, but when I run ztcfg I get this error: line 0: Unable to > open master device '/dev/zap/ctl'This is a generic error message ztcfg gives when it fails to open /dev/zap/ctl. It is followed by the error string of the error code it got (usually: "no such file" or "no such device"). "No such file": the file /dev/zap/ctl is simply not there. "No such device": The file is there, but there is no device to support it. If you use udev (or the older devfs) and have not created the device file yourself manually with mknod, you probably won't get the latter.> > I realize this is a udev error (or from what I've read), but I cannot find > out how to resolve this. I've reinstalled zaptel several times. I read a lot > about having to read the README.udev file in the zaptel source, but I don't > even have that file on my system. > > If anyone has any ideas I'd love to hear from them.It may be because the module zaptel has failed to load. Do you have the directory /proc/zaptel ? lsmod | grep zaptel -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
Ma Zhiyong
2007-Jan-09 23:41 UTC
[asterisk-users] Newbie question: How to config rtp packetization in 1.4?
Hi, any one test rtp packetization in 1.4?
Chris Bullock
2007-Jan-10 09:55 UTC
[asterisk-users] Zap 1.4 error line 0: Unable to open master device '/dev/zap/ctl'
Ok. I finally got past this. After doing all the relevant udev stuff, I ran a make config from the zaptel sources, and got the service to install. I'm still quiet an asterisk newbie, and defiantly a huge Linux newbie, so thanks for the help. -Chris