Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Unable to load module chan_zap.so


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jeremy at malcolm.id.au
Guest





PostPosted: Mon Apr 14, 2008 4:02 am    Post subject: [asterisk-users] Unable to load module chan_zap.so Reply with quote

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
Back to top
brett at websmyths.com
Guest





PostPosted: Mon Apr 14, 2008 4:43 am    Post subject: [asterisk-users] Unable to load module chan_zap.so Reply with quote

On Mon, 14 Apr 2008, Jeremy Malcolm wrote:
Quote:

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

Just 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
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Mon Apr 14, 2008 4:58 am    Post subject: [asterisk-users] Unable to load module chan_zap.so Reply with quote

On Mon, Apr 14, 2008 at 04:43:20AM -0500, Brett Crapser wrote:
Quote:

On Mon, 14 Apr 2008, Jeremy Malcolm wrote:

Quote:
Quote:
/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

Just off hand - isn't that backwards?

Isn't it global first before the channels???

The order doesn't really matter (unless you try to redefine the same
thing...).

But all of that is Zaptel-level stuff. IT seems to be well defined.

In the Asterisk CLI, what happens when you run:

module unload chan_zap.so
module load chan_aap.so

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Back to top
michiel at vanbaak.info
Guest





PostPosted: Mon Apr 14, 2008 5:07 am    Post subject: [asterisk-users] Unable to load module chan_zap.so Reply with quote

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:
Quote:
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?"
Back to top
Jeremy at Malcolm.id.au
Guest





PostPosted: Mon Apr 14, 2008 9:33 pm    Post subject: [asterisk-users] Unable to load module chan_zap.so Reply with quote

On 14/04/2008, at 5:58 PM, Tzafrir Cohen wrote:
Quote:
In the Asterisk CLI, what happens when you run:

module unload chan_zap.so
module load chan_aap.so

hostname*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
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Mon Apr 14, 2008 9:43 pm    Post subject: [asterisk-users] Unable to load module chan_zap.so Reply with quote

On Tue, Apr 15, 2008 at 10:33:43AM +0800, Jeremy Malcolm wrote:
Quote:
On 14/04/2008, at 5:58 PM, Tzafrir Cohen wrote:
Quote:
In the Asterisk CLI, what happens when you run:

module unload chan_zap.so
module load chan_aap.so

hostname*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)

This is Asterisk 1.2:

unload chan_zap.so
load chan_zap.so

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Back to top
Jeremy at Malcolm.id.au
Guest





PostPosted: Tue Apr 15, 2008 9:20 am    Post subject: [asterisk-users] Unable to load module chan_zap.so Reply with quote

On 15/04/2008, at 10:34 PM, Tzafrir Cohen wrote:
Quote:
On Tue, Apr 15, 2008 at 10:33:43AM +0800, Jeremy Malcolm wrote:
Quote:
On 14/04/2008, at 5:58 PM, Tzafrir Cohen wrote:
Quote:
In the Asterisk CLI, what happens when you run:

This is Asterisk 1.2:

unload chan_zap.so
load chan_zap.so

Yeah, 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}'
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services