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

Adnan Ahmed adnan at xnet.com.pk
Sun Nov 21 12:46:34 MST 2004


Jose Hernandez wrote:

>I installed TDM400P and X100P pci cards in a system running mandrake 10.1
>official, kernel 2.6.8.1-12mdksmp. I can compile zaptel, libpri, asterisk
>and modprobe (zaptel, wcfxs, wcfxo) without errors. Except that running
>ztcfg and asterisk fails.
>
>[root at asterisk asterisk]# ztcfg
>Notice: Configuration file is /etc/zaptel.conf
>line 3: Unable to open master device '/dev/zap/ctl'
>
>[root at asterisk asterisk]# asterisk -vvvvvvvvvvvvvvvcg
>...
>  == Parsing '/etc/asterisk/zapata.conf': Found
>Nov 22 21:16:11 WARNING[14643]: chan_zap.c:757 zt_open: Unable to open
>'/dev/zap/channel': No such file or directory
>Nov 22 21:16:11 ERROR[14643]: chan_zap.c:6195 mkintf: Unable to open channel
>1: No such file or directory
>here = 0, tmp->channel = 1, channel = 1
>Nov 22 21:16:11 ERROR[14643]: chan_zap.c:9139 setup_zap: Unable to register
>channel '1'
>Nov 22 21:16:11 WARNING[14643]: loader.c:334 ast_load_resource: chan_zap.so:
>load_module failed, returning -1
>  == Unregistered channel type 'Tor'
>  == Unregistered channel type 'Zap'
>Nov 22 21:16:11 WARNING[14643]: loader.c:429 load_modules: Loading module
>chan_zap.so failed!
>[root at asterisk asterisk]# Ouch ... error while writing audio data: : Broken
>pipe
>
>zaptel.conf
>loadzone = us
>fxoks = 1
>
>
>I found an page on the wiki that suggested commenting the "ifeq ($(DYNFS),)
>else end if" block in Makefile. I made the changes recompiled without errors
>but still same error running ztcfg and starting asterisk.
>
>Any suggestions?
>
>- Jose
>
>double check your zaptel.conf file you missing alot like in your TDM400 how many modules you are using 1 fxs/fxo 2 04 more and also in x100p using fxo or fxs after checking these modules properly define in zaptel.conf like
>  
>
fxoks =1         ;x100p
fxsks = 3         ;TDM400
etc.....
hope this helps.

>_______________________________________________
>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
>
>
>  
>




More information about the asterisk-users mailing list