Summary:ASTERISK-15976: module app_voicemail not load
Reporter:Juan Settecase (juanctkc)Labels:
Date Opened:2010-04-19 14:59:50Date Closed:2011-06-07 14:10:07
Versions:Frequency of
Environment:Attachments:( 0) modules.conf
( 1) smdi.conf
( 2) voicemail.conf
Description:Asterisk*CLI> module load app_voicemail.so
[Apr 19 16:57:28] WARNING[9782]: loader.c:433 load_dynamic_module: Error loading module 'app_voicemail.so': /usr/lib/asterisk/modules/app_voicemail.so: undefined symbol: ast_smdi_mwi_message_destroy
[Apr 19 16:57:28] WARNING[9782]: loader.c:774 load_resource: Module 'app_voicemail.so' could not be loaded.
Comments:By: Leif Madsen (lmadsen) 2010-04-19 15:15:58

Not enough information provided. This is done from a vanilla Asterisk and not from something like Trixbox or Elastix right?

What is listed in your /usr/lib/asterisk/modules/ directory? This sounds like you're trying to load multiple versions of app_voicemail.

By: Elazar Broad (ebroad) 2010-04-19 16:24:56

Please see https://issues.asterisk.org/view.php?id=16047

By: Leif Madsen (lmadsen) 2010-04-19 16:56:53

Duplicate of ASTERISK-14965

By: Juan Settecase (juanctkc) 2010-04-20 09:15:34

I think inst a duplicate of 0016047. I did what its says on it and i have the same error.
I attach my smdi.conf, voicemail.conf and modules.conf
Please tell me, what you need.
Thanks for all.

By: Tilghman Lesher (tilghman) 2010-04-20 10:09:12

What version of Asterisk are you using?

By: Jason Parker (jparker) 2010-04-20 10:30:25

If you're going to explicitly load app_voicemail.so, make sure you're using preload for res_smdi.so

By: Juan Settecase (juanctkc) 2010-04-20 10:51:56

Asterisk version: 1.4.30

res_smdi.so is loaded before i do a load app_voicemail. Log:
cmts*CLI> load res_smdi.so
[Apr 20 12:50:08] WARNING[13911]: loader.c:748 load_resource: Module 'res_smdi.so' already exists.
cmts*CLI> load app_voicemail.so
[Apr 20 12:50:14] WARNING[13911]: loader.c:433 load_dynamic_module: Error loading module 'app_voicemail.so': /usr/lib/asterisk/modules/app_voicemail.so: undefined symbol: ast_smdi_mwi_message_destroy
[Apr 20 12:50:14] WARNING[13911]: loader.c:774 load_resource: Module 'app_voicemail.so' could not be loaded.

By: Paul Belanger (pabelanger) 2010-04-20 10:56:39

related to ASTERISK-13912?

By: Juan Settecase (juanctkc) 2010-04-20 12:21:42

I have do what it says in 0014846, edit asterisk-1.4.30/res/res_smdi.c, recompile asterisk and the same problem persist.

@@ -1265,7 +1265,12 @@

- return res;
+ /* Note: this should be "return res" and unload the module if no
+ * interfaces are found, however, because of app_voicemail having
+ * a dependancy on this, we need this resource available until
+ * optional_api can be impelmented in 1.6.2. See bug_id=14846
+ */
+ return 0;

static struct ast_custom_function smdi_msg_retrieve_function = {

This asterisk version was download few days ago, and i saw voicemail dont work in this asterisk and anothers with the same problem. any suggestion?

By: Juan Settecase (juanctkc) 2010-04-20 14:31:47

problem resolv. config problem.

autoload = no;
load => app_voicemail.so
load => res_smdi.so

;externnotify=/usr/bin/myapp (yes, commented)

Thanks for all guys.

By: Juan Settecase (juanctkc) 2010-04-20 14:31:57

please, close it.

By: Paul Belanger (pabelanger) 2010-04-20 14:36:54

.config issue.  Closed.