[asterisk-bugs] [JIRA] (ASTERISK-29277) Unable to load module app_voicemail.so

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Wed Feb 3 11:15:59 CST 2021


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua C. Colp updated ASTERISK-29277:
--------------------------------------

    Assignee: Bill Neely
      Status: Waiting for Feedback  (was: Triage)

What is the output of "module show like voicemail"? Do you have other voicemail modules that are being autoloaded?

As well you can only load one module at a time. You therefore have to ensure that either you build only 1 voicemail module, or set modules.conf to noload the other unused modules.

> Unable to load module app_voicemail.so
> --------------------------------------
>
>                 Key: ASTERISK-29277
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29277
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail
>    Affects Versions: 18.2.0
>         Environment: Debian GNU/Linux 10 (buster)
>            Reporter: Bill Neely
>            Assignee: Bill Neely
>
> Compiled version 18.2.0
> app_voicemail.so fails to load
> tried to load manually produced the following result
> module load app_voicemail.so
> Unable to load module app_voicemail.so
> Command 'module load app_voicemail.so' failed.
> Also failed to load app_voicemail_odbc.so
> module load app_voicemail_odbc.so
> Unable to load module app_voicemail_odbc.so
> Command 'module load app_voicemail_odbc.so' failed.
> [Feb  3 17:01:57] ERROR[16097]: app_voicemail_odbc.c:13917 actual_load_config: No valid SMDI interface specfied, disabling SMDI voicemail notification
> [Feb  3 17:01:57]   == Registered application 'VoiceMail'
> [Feb  3 17:01:57]   == Registered application 'VoiceMailMain'
> [Feb  3 17:01:57]   == Registered application 'VMAuthenticate'
> [Feb  3 17:01:57]   == Registered application 'VoiceMailPlayMsg'
> [Feb  3 17:01:57]   == Registered application 'VMSayName'
> [Feb  3 17:01:57] ERROR[16097]: pbx_functions.c:394 __ast_custom_function_register: Function VM_INFO already registered.
> [Feb  3 17:01:57]   == Manager registered action VoicemailUsersList
> [Feb  3 17:01:57]   == Manager registered action VoicemailUserStatus
> [Feb  3 17:01:57]   == Manager registered action VoicemailRefresh
> [Feb  3 17:01:57] ERROR[16097]: app_voicemail_odbc.c:15182 load_module: Failure registering applications, functions or tests
> [Feb  3 17:01:57]   == Unregistered application 'VoiceMail'
> [Feb  3 17:01:57]   == Unregistered application 'VoiceMailMain'
> [Feb  3 17:01:57]   == Unregistered application 'VMAuthenticate'
> [Feb  3 17:01:57]   == Unregistered application 'VoiceMailPlayMsg'
> [Feb  3 17:01:57]   == Unregistered application 'VMSayName'
> [Feb  3 17:01:57]   == Manager unregistered action VoicemailUsersList
> [Feb  3 17:01:57]   == Manager unregistered action VoicemailUserStatus
> [Feb  3 17:01:57]   == Manager unregistered action VoicemailRefresh
> Contents of modules.conf
> autoload=yes
> ;
> ; Any modules that need to be loaded before the Asterisk core has been
> ; initialized (just after the logger has been initialized) can be loaded
> ; using 'preload'. This will frequently be needed if you wish to map all
> ; module configuration files into Realtime storage, since the Realtime
> ; driver will need to be loaded before the modules using those configuration
> ; files are initialized.
> ;
> ; An example of loading ODBC support would be:
> preload => res_odbc.so
> preload => res_config_odbc.so
> ;noload => chan_sip.so
> ;
> ;following items are for v18
> load => res_smdi.so
> load = app_voicemail.so
> load = app_voicemail_odbc.so
> Contents of voicemail.conf
> smdienable=yes
> smdiport=/dev/ttyS0



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list