[Home]

Summary:ASTERISK-14965: app_voicemail does not load in 1.4.25.1 and 1.4.26.2 and 1.4.27rc2
Reporter:philipp2 (philipp2)Labels:
Date Opened:2009-10-08 19:48:59Date Closed:2010-04-19 16:25:16
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:WARNING[32485]: loader.c:409 load_dynamic_module: Error loading module 'app_voicemail.so': /usr/lib/asterisk/modules/app_voicemail.so: undefined symbol: ast_smdi_interface_find
WARNING[32485]: loader.c:721 load_resource: Module 'app_voicemail.so' could not be loaded.

This is on Debian Sarge with 2.4.32 and zaptel 1.4.12 (with ztdummy).
With Asterisk 1.4.24 all is fine and voicemail works as expected.


****** ADDITIONAL INFORMATION ******

Related: ASTERISK-14557 and ASTERISK-13912
Comments:By: philipp2 (philipp2) 2009-10-08 19:49:43

Asterisk < 1.4.25 also means no SFA (Skype for Asterisk). :-(

By: Elazar Broad (ebroad) 2009-10-08 23:43:37

Are you building Asterisk from source or are these packages from the Debian repository?

By: Tilghman Lesher (tilghman) 2009-10-09 01:04:51

Clearly, you've failed to either build and install res_smdi.so or you've specified not to load it in modules.conf.  Load that module before app_voicemail.so, and all will work correctly.

By: philipp2 (philipp2) 2009-10-09 02:43:31

@ebroad: from source
@tilghman: does not help :-(

[modules]
autoload=yes
load => res_smdi.so
load => app_voicemail.so

res_odbc.so => (ODBC Resource)
res_speech.so => (Generic Speech Recognition API)
WARNING[12132]: loader.c:409 load_dynamic_module: Error loading module 'app_voicemail.so': /usr/lib/asterisk/modules/app_voicemail.so: undefined symbol: ast_smdi_interface_find
WARNING[12132]: loader.c:721 load_resource: Module 'app_voicemail.so' could not be loaded.
== Parsing '/etc/asterisk/musiconhold.conf'



By: philipp2 (philipp2) 2009-10-09 02:46:48

Oops! There was indeed a "noload => res_smdi.so" in [modules] further down.
Thank you very much for the pointer, and sorry for noise. Please close this.



By: philipp2 (philipp2) 2009-10-09 04:37:03

Additional question: How can I now elegantly get rid of this SMDI warning?

"WARNING[13025]: res_smdi.c:1365 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener."

By: Elazar Broad (ebroad) 2009-10-09 09:18:51

Are any of these lines uncommented in voicemail.conf:

externnotify=/usr/bin/myapp
smdiport=/dev/ttyS0

if so comment them out; additionally, do you have an smdi.conf(not sample) in your asterisk config directory, if so, rename or remove it.

By: philipp2 (philipp2) 2009-10-09 10:09:12

Removing smdi.conf does not lead to the desired result (I had tried that before):

NOTICE[14344]: res_smdi.c:886 smdi_load: Unable to load config smdi.conf: SMDI disabled
WARNING[14344]: res_smdi.c:1365 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener.

There is neither "externnotify=" nor "smdiport=" in voicemail.conf.

By: Tilghman Lesher (tilghman) 2009-10-09 10:13:39

I don't think there is a way to remove that message; just ignore it.

By: Elazar Broad (ebroad) 2009-10-09 10:15:13

Configuration issue.