* cannot load chan_zap.so problem


#1

When staring * I get the fallowing errors:

[chan_zap.so]Apr 14 01:27:01 WARNING[26947]: loader.c:258 ast_load_resource: /usr/lib/asterisk/modules/chan_zap.so: undefined symbol: ast_pickup_call
Apr 14 01:27:01 WARNING[26947]: loader.c:391 load_modules: Loading module chan_zap.so failed!

However ast_pickup_call is defined in the include file; located in chan_zap.c .

I deleted /everything in /usr/lib/asterisk/modules …and reinstalled * v1-0-7. Still no running *!!

what could be wrong???

(my box: intel celeron 2.9Ghz based pc ,running Fedora core 3. )
:angry:


#2

You could try to not have it loaded in modules.conf. Not a noload, just not there at all.


#3

If you build the * before you installed zaptel, the zap module will not be built.

Check if the module exists, if not, build and install zaptel, the recompile *.


#4

1 :Okay any method autoload chan_zap.so ,or load =chan_zap.so would not load this module.
2: I compiled zaptel-1.0.7 first before * and no errors showed up.

I am thinking the zaptel ,and wctdm cannot really get into the registers of the tdm400p

I can get everthing else working in asterisk except the zap module.


== Parsing ‘/etc/asterisk/zapata.conf’: Found
– Registered channel 2, FXO Kewlstart signalling
Apr 14 22:12:58 WARNING[12607]: chan_zap.c:9615 setup_zap: Ignoring singalling
Apr 14 22:12:58 ERROR[12607]: chan_zap.c:6220 mkintf: Signalling requested is FXO Kewlstart but line is in FXS Kewlstart signalling
Apr 14 22:12:58 ERROR[12607]: chan_zap.c:9155 setup_zap: Unable to register channel '1’
Apr 14 22:12:58 WARNING[12607]: loader.c:345 ast_load_resource: chan_zap.so: load_module failed, returning -1
== Unregistered channel type ‘Tor’
== Unregistered channel type ‘Zap’
– Unregistered channel 1
Unable to load module chan_zap.so
*CLI>


zaptel.conf;

loadzone=us
defaultzone=us
fxoks=1
fxsks=2

zapata.conf;

context=mainmenu
signalling=fxo_ks
faxdetect=incoming
usecallerid=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
;group=1
language=en
channel=>1
;
context=outbound
singalling=fxs_ks
faxdetect=incoming
usecallerid=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
;group=0
stripmsd=1
channel=>2
:angry: :angry: