hello;
i have installed asterisk 1.2.6, zapte1.2.5 and libpro 1.2.2 on a suse 10.0 box. With a tdm11b digium card. I got the following error:
Apr 4 16:03:04 VERBOSE[7030] logger.c: [chan_zap.so]Apr 4 16:03:04 WARNING[7030] loader.c: /usr/lib/asterisk/modules/chan_zap.so: undefined symbol: pri_restart
Apr 4 16:03:04 WARNING[7030] loader.c: Loading module chan_zap.so failed!
my zaptel.conf looks like this:
fxoks=1
loadzone=it
defaultzone=it
fxsks=2
loadzone=it
defaultzone=it
can someone tell me what can I do to make that module working?
I can’t say for sure what your problem is, but I had a very similar problem because I simply used Ubuntu to get the Asterisk package, and the Asterisk package on Ubuntu did NOT contain the support for the zaptel protocols.
So, I had to go get the Asterisk source code and compile it myself. It was not as difficult as it might sound. Here are the directions I followed:
http://www.ubuntuforums.org/showthread.php?t=136785&highlight=compile+asterisk
Good luck.
[quote=“zozo6015”]hello;
i have installed asterisk 1.2.6, zapte1.2.5 and libpro 1.2.2 on a suse 10.0 box. With a tdm11b digium card. I got the following error:
Apr 4 16:03:04 VERBOSE[7030] logger.c: [chan_zap.so]Apr 4 16:03:04 WARNING[7030] loader.c: /usr/lib/asterisk/modules/chan_zap.so: undefined symbol: pri_restart
Apr 4 16:03:04 WARNING[7030] loader.c: Loading module chan_zap.so failed!
my zaptel.conf looks like this:
fxoks=1
loadzone=it
defaultzone=it
fxsks=2
loadzone=it
defaultzone=it
can someone tell me what can I do to make that module working?[/quote]
I had the same problem
The reason is (or was in my case) that during the installation Suse installs modules in /usr/lib/asterisk/modules and Asterisk also does.
Than you get incompatible modules.
How I solved the problem:
#cd /usr/lib/asterisk
rm -rf modules (this will remove all modules
Then do a “make install” in /usr/src/asterisk to regenerate the (correct) modules again.
Gr.
Henk