Summary: | ASTERISK-29277: Unable to load module app_voicemail.so | ||
Reporter: | Bill Neely (bill@xantek.net) | Labels: | |
Date Opened: | 2021-02-03 11:10:35.000-0600 | Date Closed: | 2021-02-04 12:59:39.000-0600 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Applications/app_voicemail |
Versions: | 18.2.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Debian GNU/Linux 10 (buster) | Attachments: | |
Description: | 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 | ||
Comments: | By: Asterisk Team (asteriskteam) 2021-02-03 11:10:37.031-0600 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. Please note that log messages and other files should not be sent to the Sangoma Asterisk Team unless explicitly asked for. All files should be placed on this issue in a sanitized fashion as needed. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur. Please note that by submitting data, code, or documentation to Sangoma through JIRA, you accept the Terms of Use present at [https://www.asterisk.org/terms-of-use/|https://www.asterisk.org/terms-of-use/]. By: Joshua C. Colp (jcolp) 2021-02-03 11:14:37.908-0600 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. By: George Joseph (gjoseph) 2021-02-03 12:44:48.821-0600 You also can't load res_mwi_voicemail with any of the app_voicemail modules. They are all voicemail providers and only one can be loaded at a time. By: Bill Neely (bill@xantek.net) 2021-02-04 09:50:24.059-0600 ok found a solution: Went back to menuselect and selected app_voicemail_odbc then deslected app_voicemail did make clean, then removed everythihg in the modules directory. did make and make install. Now module show like voicemail returns the follwoing; Module Description Use Count Status Support Level app_voicemail_odbc.so Comedian Mail (Voicemail System) with OD 0 Running core res_pjsip_send_to_voicemail.so PJSIP REFER Send to Voicemail Support 0 Running core So not really a bug, but maybe menselect should not allow selecting 2 voicemail options By: George Joseph (gjoseph) 2021-02-04 12:59:26.007-0600 The reason menuselect allows it is for package maintainers who need to build all variants for packaging so the user can configure the one they want when they configure asterisk. |