[asterisk-users] prob with debian and chan_zap

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Jul 7 19:08:59 MST 2006


On Fri, Jul 07, 2006 at 08:50:43PM -0500, nephish wrote:
> ok, i modified my /dev/udev/permissions file and then did a 
> asterisk -U asterisk -G asterisk -cvv
> 
> 
> this is the last few lines
> Jul  7 20:47:15 WARNING[3996]: chan_zap.c:915 zt_open: Unable to open
> '/dev/zap/channel': Permission denied

ls -l /dev/zap/channel
ls -ld /dev/zap

> Jul  7 20:47:15 ERROR[3996]: chan_zap.c:6883 mkintf: Unable to open
> channel 1: Permission denied
> here = 0, tmp->channel = 1, channel = 1
> Jul  7 20:47:15 ERROR[3996]: chan_zap.c:10319 setup_zap: Unable to
> register channel '1'
> Jul  7 20:47:15 WARNING[3996]: loader.c:414 __load_resource:
> chan_zap.so: load_module failed, returning -1
> Jul  7 20:47:15 WARNING[3996]: loader.c:554 load_modules: Loading module
> chan_zap.so failed!
> Ouch ... error while writing audio data: : Broken pipe
> 
> so, did the permissions thing not take ? ( i did not reboot or restart
> anything ) should something be restarted ?

It takes place when that device appears: when the module zaptel is
loaded.

rmmod ztdummy zaptel
modprobe ztdummy

See if there's any change.

-- 
Tzafrir Cohen      sip:tzafrir at local.xorcom.com
icq#16849755       iax:tzafrir at local.xorcom.com
+972-50-7952406           
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-users mailing list