Bug#260575: Problem with chan_zap

Edward King Edward King <edk@cendatsys.com>, 260575@bugs.debian.org
Wed, 29 Sep 2004 17:09:21 -0500


Using a TDM400 with two fxo modules we get the following:

Sep 29 16:46:46 WARNING[1077088384]: Unable to open '/dev/zap/channel': 
Permission denied
Sep 29 16:46:46 ERROR[1077088384]: Unable to open channel 2: Permission 
denied
here = 0, tmp->channel = 2, channel = 2
Sep 29 16:46:46 ERROR[1077088384]: Unable to register channel '2'
Sep 29 16:46:46 WARNING[1077088384]: chan_zap.so: load_module failed, 
returning -1
Sep 29 16:46:46 WARNING[1077088384]: Loading module chan_zap.so failed!
Sep 29 16:50:21 WARNING[1077088384]: 
/usr/lib/asterisk/modules/chan_zap.so: undefined symbol: ast_pickup_call
Sep 29 16:50:21 WARNING[1077088384]: Loading module chan_zap.so failed!
Sep 29 16:52:19 WARNING[1077088384]: 
/usr/lib/asterisk/modules/chan_zap.so: undefined symbol: ast_pickup_call
Sep 29 16:52:19 WARNING[1077088384]: Loading module chan_zap.so failed!
Sep 29 16:53:45 WARNING[1077088384]: 
/usr/lib/asterisk/modules/chan_zap.so: undefined symbol: ast_pickup_call
Sep 29 16:53:45 WARNING[1077088384]: Loading module chan_zap.so failed!

The permissions on /dev/zap/channel is as follows:

pbx:/etc/asterisk# ll /dev/zap/channel
crw-r--r--  1 asterisk root 196, 254 Sep 23 08:26 /dev/zap/channel

Everything is loaded with most current releases (ran dselect update).  
Using libpri 1.0.0-1, but the TDM card is designed for POTS lines -- not 
using ISDN, also the symbol missing is different.

I am running sarge with a 2.6.8 kernel.  The zaptel module and the wcfxs 
module load, card lights show it's active, and the /var/log/messages shows:

Sep 29 16:48:06 localhost kernel: Freed a Wildcard
Sep 29 16:48:10 localhost kernel: Zapata Telephony Interface Unloaded
Sep 29 16:48:18 localhost kernel: Zapata Telephony Interface Registered 
on major 196
Sep 29 16:48:18 localhost kernel: ACPI: PCI interrupt 0000:01:08.0[A] -> 
GSI 12 (level, low) -> IRQ 12
Sep 29 16:48:18 localhost kernel: Freshmaker version: 63
Sep 29 16:48:18 localhost kernel: Freshmaker passed register test
Sep 29 16:48:19 localhost kernel: Module 0: Not installed
Sep 29 16:48:19 localhost kernel: Module 1: Installed -- AUTO FXO (FCC mode)
Sep 29 16:48:19 localhost kernel: Module 2: Installed -- AUTO FXO (FCC mode)
Sep 29 16:48:19 localhost kernel: Module 3: Not installed
Sep 29 16:48:19 localhost kernel: Found a Wildcard TDM: Wildcard TDM400P 
REV E/F (4 modules)
Sep 29 16:48:19 localhost kernel: Registered tone zone 0 (United States 
/ North America)
Sep 29 16:53:02 localhost kernel: Registered tone zone 0 (United States 
/ North America)