g729 icon indicating copy to clipboard operation
g729 copied to clipboard

Error while loading module on asterisk

Open GoogleCodeExporter opened this issue 10 years ago • 1 comments

What steps will reproduce the problem?
1. Compile/install g729 (./autogen.sh -> ./configure -> make -> make install)
2. Copy libg729b.so.0.0.0 to asterisk module path renaming it to codec_g729b
3. Load module on asterisk-cli (module load codec_g729b)

What is the expected output? What do you see instead?
Expected: Load Module Success
Got:

raspbx*CLI> module load codec_g729b.so
Unable to load module codec_g729b.so
Command 'module load codec_g729b.so ' failed.
[2013-05-19 14:59:02] WARNING[11050]: loader.c:423 load_dynamic_module: Error 
loading module 'codec_g729b.so': /usr/lib/asterisk/modules/codec_g729b.so: 
undefined symbol: bad_lsf
[2013-05-19 14:59:02] WARNING[11050]: loader.c:902 load_resource: Module 
'codec_g729b.so' could not be loaded.

What version of the product are you using? On what operating system?
Using branch v8
OS: Debian weezy (Raspian) - Linux raspbx 3.6.11+ #408 PREEMPT Wed Apr 10 
20:33:39 BST 2013 armv6l GNU/Linux

Please provide any additional information below.

I'm running asterisk on raspberry pi.
Does it need to be compiled with custom parameters to work with my armv6l? 

Original issue reported on code.google.com by [email protected] on 19 May 2013 at 6:10

GoogleCodeExporter avatar Aug 21 '15 00:08 GoogleCodeExporter

I don't think it will work with Asterisk, even if undefined symbol error is 
fixed. You will need an asterisk codec interface wrapper around this lib to 
make it identified and work with Asterisk.

Original comment by [email protected] on 1 Jul 2013 at 2:45

GoogleCodeExporter avatar Aug 21 '15 00:08 GoogleCodeExporter