asterisk: unable to register channel

der.hans PLUGd at LuftHans.com
Sat Sep 3 18:13:32 MST 2005


moin, moin,

I'm having problems getting the land line working with a zap card.

Sep  3 17:33:53 WARNING[1329]: Loading module chan_zap.so failed!
Sep  3 17:33:57 WARNING[1348]: Unknown directive
'permit=192.168.1.0/255.255.255
.0' at line 18 of manager_custom.conf
Sep  3 17:33:57 WARNING[1348]: Unable to open pseudo channel for timing...
Soun
d may be choppy.
Sep  3 17:33:57 WARNING[1348]: Unknown directive 'parkingtime' at line 9
of feat
ures.conf
Sep  3 17:33:57 NOTICE[1348]: Unable to load config mgcp.conf, MGCP
disabled
Sep  3 17:33:57 WARNING[1348]: Unable to open IAX timing interface: No
such devi
ce
Sep  3 17:33:57 NOTICE[1348]: Unable to load config skinny.conf, Skinny
disabled
Sep  3 17:33:57 WARNING[1348]: Unable to open '/dev/zap/channel': No such
device
Sep  3 17:33:57 ERROR[1348]: Unable to open channel 1: No such device
here = 0, tmp->channel = 1, channel = 1
Sep  3 17:33:57 ERROR[1348]: Unable to register channel '1'
Sep  3 17:33:57 WARNING[1348]: chan_zap.so: load_module failed, returning
-1
Sep  3 17:33:57 WARNING[1348]: Loading module chan_zap.so failed!


Hmmm, looks like the permit line is supposed to be commented out.

#permit=192.168.1.0/255.255.255.0

I deleted it and restarted asterisk.

Don't know what what MGCP is.

I haven't installed anything specific for IAX. That's the asterisk to
asterisk proto, right?

I think skinny is for some Cisco hardware devices I don't have.

crw-r--r--    1 asterisk asterisk 196, 254 Sep  2 00:44 /dev/zap/channel

Just because there's a /dev/ doesn't mean the physical device is setup,
though.

[root at asterisk1 root]# cat /proc/interrupts
           CPU0
  0:    1401443          XT-PIC  timer
  1:          4          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  8:          1          XT-PIC  rtc
 10:       8408          XT-PIC  eth0
 11:          0          XT-PIC  libata
 12:         33          XT-PIC  PS/2 Mouse
 14:      44358          XT-PIC  ide0
 15:         60          XT-PIC  ide1
NMI:          0
ERR:          0

The zap card was on interrupt 10, but when I restarted asterisk (
including via reboot and hard boot ) it didn't come back up.

I also tried an upgrade via yum.

ciao,

der.hans
-- 
#  https://www.LuftHans.com/
#  Motorräder töten nicht. Motorräder werden getötet.


More information about the PLUG-discuss mailing list