Compile additional asterisk modules

kla960
Posts: 5
Member Since:
2006-10-16

Hi,

I tried to compile some additional modules chan_h323 and app_voicemail with imap-support for trixbox 2.6 and 2.8. Wherefor I download the trixbox asterisk sources, performed the patches and did run configure, make menuconfig and make. Everythink looks fine and I got the new modules, but I'm not able to load the modules in asterisk.

What is wrong?

Thanks
Klaus



SkykingOH
Posts: 9675
Member Since:
2007-12-17
Quote: Everythink looks fine
Quote:
Everythink looks fine and I got the new modules, but I'm not able to load the modules in asterisk.

How can we possibly know what you did wrong since you gave us no information to go on.

I suggest reading the stick post "how to ask for help".

Version numbers and relevant log excerpts are the essentials.

--

Scott

aka "Skyking"



kla960
Posts: 5
Member Since:
2006-10-16
I tried that with the

I tried that with the version asterisk16-1.6.0.26-1, trixbox version 2.8.0.4 and the sources asterisk16-1.6.0.26-1_trixbox.src.rpm. After the compilation of the new asterisk modules I coppied for example the chan_h323.so to the folder /usr/lib/asterisk/modules and tried to run module with module load chan_h323.so. The console doesn't show any message. In the log file I found the following lines:

[Jun 29 12:03:21] WARNING[5037] loader.c: Error loading module 'chan_h323.so': /usr/lib/asterisk/modules/chan_h323.so: undefined symbol: _ZNK7PObject7CompareERKS_

all I found on google doesn't help.

I have a second problem with app_Voicemail with imapstorage:

156*CLI> module load app_voicemail_imapstorage.so
Unable to load module app_voicemail_imapstorage.so
Command 'module load app_voicemail_imapstorage.so' failed.

Log entry:
[Jun 29 16:38:11] WARNING[15006] loader.c: Error loading module 'app_voicemail_imapstorage.so': /usr/lib/asterisk/modules/app_voicemail_imapstorage.so: undefined symbol: ao2_lock
[Jun 29 16:38:11] WARNING[15006] loader.c: Module 'app_voicemail_imapstorage.so' could not be loaded.
[Jun 29 16:48:20] WARNING[15086] loader.c: Error loading module 'app_voicemail_imapstorage.so': /usr/lib/asterisk/modules/app_voicemail_imapstorage.so: undefined symbol: ao2_lock
[Jun 29 16:48:20] WARNING[15086] loader.c: Module 'app_voicemail_imapstorage.so' could not be loaded.



obeliks
Posts: 878
Member Since:
2010-03-14
Yeah, compiling trixbox

Yeah, compiling trixbox modules from source is a futile attempt.
Just get the asterisk sources, recompile it and install it.
As a bonus you might get a version that does not crash in the BRIDGE() function.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.