On Thu, 2004-11-25 at 00:10, Jose Hernandez wrote: > I added the rules to udev permissions file and changed zaptel.conf, > restarted. > I still get the same error; > > [EMAIL PROTECTED] frank]# ztcfg -vv > Zaptel Configuration > ====================== > Channel map: > > Channel 01: FXS Kewlstart (Default) (Slaves: 01) > Channel 02: FXO Kewlstart (Default) (Slaves: 02) > > 2 channels configured. > > Notice: Configuration file is /etc/zaptel.conf > line 5: Unable to open master device '/dev/zap/ctl' > > zaptel.conf > fxsks=1 ;X100P > fxoks=2 ;TDM400, TDM10B (1 FXS port) > loadzone=us > defaultzone=us >
I don't know if it makes a difference but try putting loadzone and defaultzone before the fxXks declarations. Also be careful with spacing. I remember once I had problems because a config file (don't remember if it was zapata.conf or zaptel.conf) had (or had no) spaces when I "declared" the channels. Little parsing glitches! :) > This is the output from "ls -al za*" in /dev > crw------- 1 root root 196, 1 Nov 23 15:33 /dev/zap1 > crw------- 1 root root 196, 254 Nov 23 15:33 /dev/zapchannel > crw------- 1 root root 196, 0 Nov 23 15:33 /dev/zapctl > crw------- 1 root root 196, 255 Nov 23 15:33 /dev/zappseudo > crw------- 1 root root 196, 253 Nov 23 15:33 /dev/zaptimer > > Are these names correct? > The error has /dev/zap/ctl but in /dev I have /dev/zapctl As the permissions are now it will only work if * runs as root (which is a bad idea). Do a 'ps aux|grep asterisk' and find out which user asterisk is running as. Leandro Morgado _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
