[asterisk-users] Unable to open master device '/dev/zap/ctl'

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Jan 16 05:01:00 CST 2008


On Wed, Jan 16, 2008 at 03:55:08PM +0500, ast guy wrote:
> Hi,
> 
> I'm using zaptel-1.2.22.1 with asterisk-1.2.10 and following steps to
> make zaptel working...
> 
> OS is gentoo linux 2006.1
> 
> Hardware:
> ---------
> 
> 0000:05:01.0 Communication controller: Tiger Jet Network Inc. Tiger3XX
> Modem/ISDN interface
>         Subsystem: Unknown device 8085:0003
>         Flags: bus master, medium devsel, latency 32, IRQ 22
>         I/O ports at b400
>         Memory at ff900000 (32-bit, non-prefetchable) [size=4K]
>         Capabilities: [40] Power Management version 2
> 
> - Compiled, installed zaptel
> - Compiled, installed Asterisk
> 
> gigli ~ # modprobe zaptel
> 
> /var/log/messages:
> Jan 16 15:42:31 gigli Zapata Telephony Interface Registered on major 196
> Jan 16 15:42:31 gigli Zaptel Version: 1.2.22.1
> Jan 16 15:42:31 gigli Zaptel Echo Canceller: KB1
> 
> gigli ~ # modprobe wcfxo
> 
> /var/log/messages:
> Jan 16 15:42:33 gigli ACPI: PCI Interrupt 0000:05:01.0[A] -> GSI 22
> (level, low) -> IRQ 22
> Jan 16 15:42:33 gigli wcfxo: DAA mode is 'FCC'
> Jan 16 15:42:33 gigli Found a Wildcard FXO: Wildcard X101P
> 
> gigli # ztcfg  -v
> Notice: Configuration file is /etc/zaptel.conf
> line 0: Unable to open master device '/dev/zap/ctl'

ls -l /dev/zap/
ls -l /sys/class/zaptel/

> 
> 1 error(s) detected
> 
> 
> Asterisk log
> -------------
> 

Don't waste your time on Asterisk. Fix Zaptel first.

> Zaptel File /etc/zaptel.conf:
> -----------------------------
> 
> fxsks=1
> loadzone = us
> defaultzone=us
> 
> 
> UDEV file /etc/udev/rules.d/50-udev.rules:
> -----------------------------------------
> 
> # Asterisk Zaptel devices
> 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"

Looks OK. The only missing line is a permissions line. But not  porblem
when you run ztcfg as root.

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



More information about the asterisk-users mailing list