[asterisk-users] prob with debian and chan_zap

nephish nephish at xit.net
Fri Jul 7 19:24:39 MST 2006


ok

ls -l /dev/zap/channel
crw-rw----  1 root root 196, 254 2006-07-07 14:14 /dev/zap/channel

and 
ls -ld /dev/zap
drwxr-xr-x  2 root root 200 2006-07-07 14:14 /dev/zap

and
 rmmod zaptel
ERROR: Module zaptel is in use by wctdm
pivIVR:/home/piv# rmmod wctdm
pivIVR:/home/piv# rmmod zaptel
pivIVR:/home/piv# modprobe zaptel
pivIVR:/home/piv# modprobe wctdm

same error when i restart






On Sat, 2006-07-08 at 05:08 +0300, Tzafrir Cohen wrote:
> 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.
> 




More information about the asterisk-users mailing list