I am having trouble with chan_zap.so not loading. When I load it from modules.conf, Asterisk bails out without any error message. When I load it from the console, it just says "Unable to load module chan_zap.so" no matter what verbose level I am using. dmesg says: Zaptel Version: 1.4.4 Zaptel Echo Canceller: MG2 Freshmaker version: 73 Freshmaker passed register test Module 0: Installed -- AUTO FXS/DPO Module 1: Installed -- AUTO FXO (FCC mode) Module 2: Installed -- AUTO FXO (FCC mode) Module 3: Installed -- AUTO FXO (FCC mode) Found a Wildcard TDM: Wildcard TDM400P REV I (4 modules) Registered tone zone 1 (Australia) lsmod says: wctdm 30912 0 wcfxo 9344 0 zaptel 180388 2 wctdm,wcfxo ztcfg -vv says: Zaptel Version: 1.4.4 Echo Canceller: MG2 Configuration ===================== Channel map: Channel 01: FXO Loopstart (Default) (Slaves: 01) Channel 02: FXS Kewlstart (Default) (Slaves: 02) Channel 03: FXS Kewlstart (Default) (Slaves: 03) Channel 04: FXS Kewlstart (Default) (Slaves: 04) 4 channels to configure. cat /proc/zaptel/* says: Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" 1 WCTDM/0/0 FXOLS 2 WCTDM/0/1 FXSKS 3 WCTDM/0/2 FXSKS 4 WCTDM/0/3 FXSKS /etc/zaptel.conf is: # Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" fxols=1 fxsks=2 fxsks=3 fxsks=4 # Global data loadzone = au defaultzone = au I have Googled for help but not found anything. Does anyone have any suggestions? TIA -- Jeremy Malcolm LLB (Hons) B Com Internet and Open Source lawyer, IT consultant, actor host -t NAPTR 1.0.8.0.3.1.2.9.8.1.6.e164.org|awk -F! '{print $3}' Luxury Perth apartment for sale! http://www.yourestate.com.au/sresult.php?property_id=8581
On Mon, 14 Apr 2008, Jeremy Malcolm wrote:> > I am having trouble with chan_zap.so not loading. When I load it from > modules.conf, Asterisk bails out without any error message. When I > load it from the console, it just says "Unable to load module > chan_zap.so" no matter what verbose level I am using. > > dmesg says: > > Zaptel Version: 1.4.4 > Zaptel Echo Canceller: MG2 > Freshmaker version: 73 > Freshmaker passed register test > Module 0: Installed -- AUTO FXS/DPO > Module 1: Installed -- AUTO FXO (FCC mode) > Module 2: Installed -- AUTO FXO (FCC mode) > Module 3: Installed -- AUTO FXO (FCC mode) > Found a Wildcard TDM: Wildcard TDM400P REV I (4 modules) > Registered tone zone 1 (Australia) > > lsmod says: > > wctdm 30912 0 > wcfxo 9344 0 > zaptel 180388 2 wctdm,wcfxo > > ztcfg -vv says: > > Zaptel Version: 1.4.4 > Echo Canceller: MG2 > Configuration > =====================> > Channel map: > > Channel 01: FXO Loopstart (Default) (Slaves: 01) > Channel 02: FXS Kewlstart (Default) (Slaves: 02) > Channel 03: FXS Kewlstart (Default) (Slaves: 03) > Channel 04: FXS Kewlstart (Default) (Slaves: 04) > > 4 channels to configure. > > cat /proc/zaptel/* says: > > Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" > > 1 WCTDM/0/0 FXOLS > 2 WCTDM/0/1 FXSKS > 3 WCTDM/0/2 FXSKS > 4 WCTDM/0/3 FXSKS > > /etc/zaptel.conf is: > > # Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" > fxols=1 > fxsks=2 > fxsks=3 > fxsks=4 > > # Global data > loadzone = au > defaultzone = auJust off hand - isn't that backwards? Isn't it global first before the channels??? Right in the file it says: # Now apply the configuration to the specified channels: # # # We are all done with our channel parameters, so now we specify what # # channels they apply to channels=1-4 What least that is alway what I have done... Brett
Make sure /usr/lib/asterisk/modules/chan_zap.so is on your system. If not, my best guess is you compiled asterisk before zaptel. You'll need to recompile asterisk with the zaptel channeldriver enabled. Check with: make menuselect On 17:02, Mon 14 Apr 08, Jeremy Malcolm wrote:> I am having trouble with chan_zap.so not loading. When I load it from > modules.conf, Asterisk bails out without any error message. When I > load it from the console, it just says "Unable to load module > chan_zap.so" no matter what verbose level I am using. > > dmesg says: > > Zaptel Version: 1.4.4 > Zaptel Echo Canceller: MG2 > Freshmaker version: 73 > Freshmaker passed register test > Module 0: Installed -- AUTO FXS/DPO > Module 1: Installed -- AUTO FXO (FCC mode) > Module 2: Installed -- AUTO FXO (FCC mode) > Module 3: Installed -- AUTO FXO (FCC mode) > Found a Wildcard TDM: Wildcard TDM400P REV I (4 modules) > Registered tone zone 1 (Australia) > > lsmod says: > > wctdm 30912 0 > wcfxo 9344 0 > zaptel 180388 2 wctdm,wcfxo > > ztcfg -vv says: > > Zaptel Version: 1.4.4 > Echo Canceller: MG2 > Configuration > =====================> > Channel map: > > Channel 01: FXO Loopstart (Default) (Slaves: 01) > Channel 02: FXS Kewlstart (Default) (Slaves: 02) > Channel 03: FXS Kewlstart (Default) (Slaves: 03) > Channel 04: FXS Kewlstart (Default) (Slaves: 04) > > 4 channels to configure. > > cat /proc/zaptel/* says: > > Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" > > 1 WCTDM/0/0 FXOLS > 2 WCTDM/0/1 FXSKS > 3 WCTDM/0/2 FXSKS > 4 WCTDM/0/3 FXSKS > > /etc/zaptel.conf is: > > # Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" > fxols=1 > fxsks=2 > fxsks=3 > fxsks=4 > > # Global data > loadzone = au > defaultzone = au > > I have Googled for help but not found anything. Does anyone have any > suggestions? > > TIA > > -- > Jeremy Malcolm LLB (Hons) B Com > Internet and Open Source lawyer, IT consultant, actor > host -t NAPTR 1.0.8.0.3.1.2.9.8.1.6.e164.org|awk -F! '{print $3}' > > Luxury Perth apartment for sale! > http://www.yourestate.com.au/sresult.php?property_id=8581 > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Michiel van Baak michiel at vanbaak.eu http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD "Why is it drug addicts and computer aficionados are both called users?"
On 14/04/2008, at 5:58 PM, Tzafrir Cohen wrote:> In the Asterisk CLI, what happens when you run: > > module unload chan_zap.so > module load chan_aap.sohostname*CLI> module unload chan_zap.so No such command 'module' (type 'help' for help) hostname*CLI> module load chan_zap.so No such command 'module' (type 'help' for help) But /usr/lib/asterisk/modules/chan_zap.so does exist and is readable. In answer to someone else's response, I didn't compile this Asterisk or its Zaptel module, I'm using the precompiled packages from updates.xorcom.com - but presumably they should match. Thanks. -- Jeremy Malcolm LLB (Hons) B Com Internet and Open Source lawyer, IT consultant, actor host -t NAPTR 1.0.8.0.3.1.2.9.8.1.6.e164.org|awk -F! '{print $3}' Luxury Perth apartment for sale! http://www.yourestate.com.au/sresult.php?property_id=8581
On 15/04/2008, at 10:34 PM, Tzafrir Cohen wrote:> On Tue, Apr 15, 2008 at 10:33:43AM +0800, Jeremy Malcolm wrote: >> On 14/04/2008, at 5:58 PM, Tzafrir Cohen wrote: >>> In the Asterisk CLI, what happens when you run: >>> > This is Asterisk 1.2: > > unload chan_zap.so > load chan_zap.soYeah, I mentioned in my first post to the list that that doesn't work. It just says "Unable to load module chan_zap.so" but doesn't say why, no matter how verbose I set it to be. It's the same message as if I had typed "load nonexistent_module.so". -- Jeremy Malcolm LLB (Hons) B Com Internet and Open Source lawyer, IT consultant, actor host -t NAPTR 1.0.8.0.3.1.2.9.8.1.6.e164.org|awk -F! '{print $3}'