# chan\_zap.so error

**URL:** <https://community.asterisk.org/t/chan-zap-so-error/5498>\
**Category:** Asterisk Support\
**Created:** [April 4, 2006, 2:55pm UTC](https://community.asterisk.org/t/chan-zap-so-error/5498 "2006-04-04T14:55:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wreckli](https://avatars.discourse-cdn.com/v4/letter/w/df705f/32.png) [@wreckli](https://community.asterisk.org/u/wreckli)\
**Post date:** [April 4, 2006, 2:55pm UTC](https://community.asterisk.org/t/chan-zap-so-error/5498/1 "2006-04-04T14:55:12Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![kennedymat](https://avatars.discourse-cdn.com/v4/letter/k/a9adbd/32.png) [@kennedymat](https://community.asterisk.org/u/kennedymat)\
**Post date:** [April 4, 2006, 10:23pm UTC](https://community.asterisk.org/t/chan-zap-so-error/5498/2 "2006-04-04T22:23:47Z")

</div>

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](http://www.ubuntuforums.org/showthread.php?t=136785&highlight=compile+asterisk)

Good luck.

---

<div class="post-metadata">

**Author:** ![steve006](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@steve006](https://community.asterisk.org/u/steve006)\
**Post date:** [April 5, 2006, 8:02pm UTC](https://community.asterisk.org/t/chan-zap-so-error/5498/3 "2006-04-05T20:02:18Z")

</div>

[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
