Vieri
2008-Feb-20 10:07 UTC
[asterisk-users] Unable to create channel of type 'Zap' with ecmg2 and kernel 2.6.23
Hi, I have a working Asterisk 1.2 server on kernel 2.6.22 with the OSLEC echo canceller on a Digium PRI card. I recently switched to kernel 2.6.23 with the MG2 echo canceller (nothing else changed). Each time I try to establish a call on the PRI line I get a congestion signal. in /var/log/asterisk/full: Feb 20 08:09:43 VERBOSE[10657] logger.c: -- Executing Dial("SIP/4445-082e8340", "Zap/g1/3666||tTW") in new stack Feb 20 08:09:43 NOTICE[10657] app_dial.c: Unable to create channel of type 'Zap' (cause 34 - Circuit/channel congestion) Feb 20 08:09:43 VERBOSE[10657] logger.c: == Everyone is busy/congested at this time (1:0/1/0) At first I thought that the new kernel version could have been the culprit although I hadn't seen any warnings in the Changelogs except that the most recent zaptel is "compatible" with 2.6.24 (but I have 2.6.23). Then I came across this post: http://lists.digium.com/pipermail/asterisk-users/2006-August/162640.html Could MG2 be the cause? I can't easily test by enabling/disabling/changing echo cancellation since I only have 1 PRI line and it's in production. I would like to know if other users have experienced a similar issue. In any case, how can I diagnose this (considering that I need to do this within a minimal time frame)? Could it be that an echo cancellation module renders a zap interface "unusable"? On the test server with an unconnected PRI card (2.6.23 + mg2) I have: Zaptel Tool (C)2002 Linux Support Services, Inc. Wildcard TE120P Card 0 Current Alarms: Red Alarm Sync Source: Internally clocked IRQ Misses: 39 Bipolar Viol: 0 Tx/Rx Levels: 0/ 0 Total/Conf/Act: 31/ 31/ 0 1111111111222222222233 1234567890123456789012345678901 # lsmod | grep zaptel zaptel 168356 65 wcte12xp crc_ccitt 2304 1 zaptel # ztcfg -vvv Zaptel Configuration ===================== SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1) Channel map: Channel 01: Clear channel (Default) (Slaves: 01) Channel 02: Clear channel (Default) (Slaves: 02) Channel 03: Clear channel (Default) (Slaves: 03) Channel 04: Clear channel (Default) (Slaves: 04) Channel 05: Clear channel (Default) (Slaves: 05) Channel 06: Clear channel (Default) (Slaves: 06) Channel 07: Clear channel (Default) (Slaves: 07) Channel 08: Clear channel (Default) (Slaves: 08) Channel 09: Clear channel (Default) (Slaves: 09) Channel 10: Clear channel (Default) (Slaves: 10) Channel 11: Clear channel (Default) (Slaves: 11) Channel 12: Clear channel (Default) (Slaves: 12) Channel 13: Clear channel (Default) (Slaves: 13) Channel 14: Clear channel (Default) (Slaves: 14) Channel 15: Clear channel (Default) (Slaves: 15) Channel 16: D-channel (Default) (Slaves: 16) Channel 17: Clear channel (Default) (Slaves: 17) Channel 18: Clear channel (Default) (Slaves: 18) Channel 19: Clear channel (Default) (Slaves: 19) Channel 20: Clear channel (Default) (Slaves: 20) Channel 21: Clear channel (Default) (Slaves: 21) Channel 22: Clear channel (Default) (Slaves: 22) Channel 23: Clear channel (Default) (Slaves: 23) Channel 24: Clear channel (Default) (Slaves: 24) Channel 25: Clear channel (Default) (Slaves: 25) Channel 26: Clear channel (Default) (Slaves: 26) Channel 27: Clear channel (Default) (Slaves: 27) Channel 28: Clear channel (Default) (Slaves: 28) Channel 29: Clear channel (Default) (Slaves: 29) Channel 30: Clear channel (Default) (Slaves: 30) Channel 31: Clear channel (Default) (Slaves: 31) 31 channels configured. # zaptel_hardware Argument "IRQ" isn't numeric in numeric comparison (<=>) at /usr/lib/perl5/5.8.8/i686-linux-thread-multi/Zaptel/Span.pm line 114. pci:0000:05:01.0 wcte12xp+ d161:0120 Wildcard TE12xP # lszaptel Argument "IRQ" isn't numeric in numeric comparison (<=>) at /usr/lib/perl5/5.8.8/i686-linux-thread-multi/Zaptel/Span.pm line 114. ### Span 1: WCT1/0 "Wildcard TE120P Card 0" HDB3/CCS/CRC4 RED Use of uninitialized value in string eq at /usr/lib/perl5/5.8.8/i686-linux-thread-multi/Zaptel/Chans.pm line 174. Argument "IRQ" isn't numeric in printf at /usr/sbin/lszaptel line 39. 0 unknown 39 1 PRI Clear (In use) 2 PRI Clear (In use) 3 PRI Clear (In use) 4 PRI Clear (In use) 5 PRI Clear (In use) 6 PRI Clear (In use) 7 PRI Clear (In use) 8 PRI Clear (In use) 9 PRI Clear (In use) 10 PRI Clear (In use) 11 PRI Clear (In use) 12 PRI Clear (In use) 13 PRI Clear (In use) 14 PRI Clear (In use) 15 PRI Clear (In use) 16 PRI HDLCFCS (In use) 17 PRI Clear (In use) 18 PRI Clear (In use) 19 PRI Clear (In use) 20 PRI Clear (In use) 21 PRI Clear (In use) 22 PRI Clear (In use) 23 PRI Clear (In use) 24 PRI Clear (In use) 25 PRI Clear (In use) 26 PRI Clear (In use) 27 PRI Clear (In use) 28 PRI Clear (In use) 29 PRI Clear (In use) 30 PRI Clear (In use) 31 PRI Clear (In use) # cat /proc/zaptel/1 Span 1: WCT1/0 "Wildcard TE120P Card 0" HDB3/CCS/CRC4 RED IRQ misses: 39 1 WCT1/0/1 Clear (In use) 2 WCT1/0/2 Clear (In use) 3 WCT1/0/3 Clear (In use) 4 WCT1/0/4 Clear (In use) 5 WCT1/0/5 Clear (In use) 6 WCT1/0/6 Clear (In use) 7 WCT1/0/7 Clear (In use) 8 WCT1/0/8 Clear (In use) 9 WCT1/0/9 Clear (In use) 10 WCT1/0/10 Clear (In use) 11 WCT1/0/11 Clear (In use) 12 WCT1/0/12 Clear (In use) 13 WCT1/0/13 Clear (In use) 14 WCT1/0/14 Clear (In use) 15 WCT1/0/15 Clear (In use) 16 WCT1/0/16 HDLCFCS (In use) 17 WCT1/0/17 Clear (In use) 18 WCT1/0/18 Clear (In use) 19 WCT1/0/19 Clear (In use) 20 WCT1/0/20 Clear (In use) 21 WCT1/0/21 Clear (In use) 22 WCT1/0/22 Clear (In use) 23 WCT1/0/23 Clear (In use) 24 WCT1/0/24 Clear (In use) 25 WCT1/0/25 Clear (In use) 26 WCT1/0/26 Clear (In use) 27 WCT1/0/27 Clear (In use) 28 WCT1/0/28 Clear (In use) 29 WCT1/0/29 Clear (In use) 30 WCT1/0/30 Clear (In use) 31 WCT1/0/31 Clear (In use) ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping