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

Bill Neely (JIRA) noreply at issues.asterisk.org
Wed Feb 3 11:11:59 CST 2021


Bill Neely created ASTERISK-29277:
-------------------------------------

             Summary: 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


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