[Asterisk-Users] Unable to open master device '/dev/zap/ctl'

Shamsul Arefin saktek at gmail.com
Wed Jun 15 15:59:38 MST 2005


IF using Fedora Core 3. Make the following changes.

To /etc/vdev/50-udev.rules

# Section for zaptel device
KERNEL="zapctl",     NAME="zap/ctl"
KERNEL="zaptimer",   NAME="zap/timer"
KERNEL="zapchannel", NAME="zap/channel"
KERNEL="zappseudo",  NAME="zap/pseudo"
KERNEL="zap[0-9]*",  NAME="zap/%n"

and following to /etc/udev/50-udev.permission
zap/*:root:root:05700

then make sure you modprobe zaptel before you modprobe any other device



BEst Regards
Shamsul Arefin
Iris Communicaitons P/L
The Broadband Telephony Experts


On 6/16/05, Kumara Jayaweera <kumara.jayaweera at damad.com> wrote:
> Hi all,
> 
> 
> 
> when I try to load asterisk I get this error
> 
> 
> 
> [chan_zap.so] => (Zapata Telephony w/PRI)
>   == Parsing '/etc/asterisk/zapata.conf': Found
> Jun 15 10:41:29 WARNING[3615]: chan_zap.c:869 zt_open: Unable to open
> '/dev/zap/channel': No such file or directory
> Jun 15 10:41:29 ERROR[3615]: chan_zap.c:6572 mkintf: Unable to open channel
> 1: No such file or directory
> here = 0, tmp->channel = 1, channel = 1
> Jun 15 10:41:29 ERROR[3615]: chan_zap.c:9910 setup_zap: Unable to register
> channel '1'
> Jun 15 10:41:29 WARNING[3615]: loader.c:402 __load_resource: chan_zap.so:
> load_module failed, returning -1
> Jun 15 10:41:29 WARNING[3615]: loader.c:523 load_modules: Loading module
> chan_zap.so failed!
> [root at proxy asterisk]#
> 
>  if I try to run asterisk I get this error
> 
> 
> 
> [root at proxy ~]# cd /etc/asterisk
> [root at proxy asterisk]# ztcfg -vv
> Notice: Configuration file is /etc/zaptel.conf
> line 0: Unable to open master device '/dev/zap/ctl'
> line 204: Cannot get number of tones chanel 1
> line 204: Cannot init tones chanel 1
> line 204: Cannot get number of tones chanel 2
> line 204: Cannot init tones chanel 2
> 
> 5 error(s) detected
> 
> [root at proxy asterisk]#
> 
> please help me
> 
> kumara
> 
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
> 


-- 
Best Regards
Shamsul Arefin
Saktek Technologies



More information about the asterisk-users mailing list