[asterisk-users] prob with debian and chan_zap
nephish
nephish at xit.net
Fri Jul 7 18:50:43 MST 2006
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
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 ?
ok, thanks.
On Sat, 2006-07-08 at 04:17 +0300, Tzafrir Cohen wrote:
> On Fri, Jul 07, 2006 at 07:43:19PM -0500, nephish wrote:
> > OK, yep, that was a typo. i am using 3.1 (sarge)
> > i did not use the asterisk or zaptel packages because i tried them
> > out yesterday. the zaptel package did not have a wctdm driver that
> > the pdf from digium told me i needed to load, so i re-installed the os
> > and started fresh with the packages from digium.
> >
> > here is what i have from dpkg -l udev
> >
> > Desired=Unknown/Install/Remove/Purge/Hold
> > |
> > Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> > |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> > uppercase=bad)
> > ||/ Name Version Description
> > +++-==============-==============-============================================
> > ii udev 0.056-3 /dev/ management daemon
> >
> >
> > ok, i added SUBSYSTEM=="zaptel", GROUP="dialout"
> > to /etc/udev/permissions.rules
> > do i still need to add asterisk to the dialout group before i reboot ?
>
> Reboot? Why would you do such a strnage thing?
>
> Well, this was done to allow applications other than Asterisk to use
> zaptel (e.g: the package yate). You could naturally change that into:
>
> SUBSYSTEM=="zaptel", USER="asterisk", GROUP="dialout"
>
> or even:
>
> SUBSYSTEM=="zaptel", USER="asterisk"
>
> (both are untested)
>
> Just be aware that you're using non-standard ules and thus it may break
> on an upgrade ome time in the future.
>
More information about the asterisk-users
mailing list