[Home]

Summary:ASTERISK-29617: res_adsi: build although deprecated.
Reporter:Alexander Traud (traud)Labels:
Date Opened:2021-08-25 13:43:45Date Closed:
Priority:TrivialRegression?
Status:Open/NewComponents:Resources/res_adsi
Versions:19.0.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:ASTERISK-29339 (Gerrit [15625|https://gerrit.asterisk.org/15625], commit [46ed6af |https://github.com/asterisk/asterisk/commit/46ed6af]) introduced new warnings to the Asterisk console. However, when a new user installs Asterisk with the samples configuration files, warnings show up because modules are deprecated but still build on default.

*Asterisk 16 LTS*
{code}PBX UUID: ...
NOTICE: loader.c:2389 load_modules: 338 modules will be loaded.
[ Initializing Custom Configuration Options ]
 ERROR: res_config_pgsql.c:1604 pgsql_reconnect: PostgreSQL RealTime: Failed to connect database asterisk on 127.0.0.1:
WARNING: res_config_pgsql.c:1542 parse_config: PostgreSQL RealTime: Couldn't establish connection. Check debug.
NOTICE: res_config_ldap.c:1830 parse_config: No directory user found, anonymous binding as default.
 ERROR: res_config_ldap.c:1856 parse_config: No directory URL or host found.
 ERROR: res_config_ldap.c:1718 load_module: Cannot load LDAP RealTime driver.
NOTICE: cdr.c:4522 cdr_toggle_runtime_options: CDR simple logging enabled.
WARNING: res_phoneprov.c:1232 get_defaults: Unable to find a valid server address or name.
NOTICE: res_smdi.c:1424 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener.
NOTICE: chan_skinny.c:8459 config_load: Configuring skinny from skinny.conf
SIP channel loading...
 ERROR: ari/config.c:312 process_config: No configured users for ARI
NOTICE: confbridge/conf_config_parser.c:2376 verify_default_profiles: Adding default_menu menu to app_confbridge
NOTICE: cdr_pgsql.c:545 config_module: cdr_pgsql configuration contains no global section, skipping module load.
NOTICE: cdr_radius.c:264 load_module: Cannot load radiusclient-ng configuration file /etc/radiusclient-ng/radiusclient.conf.
NOTICE: cel_radius.c:236 load_module: Cannot load radiusclient-ng configuration file /etc/radiusclient-ng/radiusclient.conf.
NOTICE: cel_custom.c:95 load_config: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
WARNING: cel_pgsql.c:467 process_my_load_module: CEL pgsql config file missing global section.
NOTICE: cel_tds.c:450 tds_load_module: cel_tds has no global category, nothing to configure.
WARNING: cel_tds.c:555 load_module: cel_tds module had config problems; declining load
max_amp: 80 m_pitch: 320
p_min: 20 p_max: 160
Wo_min: 0.039270 Wo_max: 0.314159
nw: 279 tw: 40
max_amp: 80 m_pitch: 320
p_min: 20 p_max: 160
Wo_min: 0.039270 Wo_max: 0.314159
nw: 279 tw: 40
WARNING: loader.c:2393 load_modules: Some non-required modules failed to load.
WARNING: loader.c:2487 load_modules: Module 'res_monitor' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'res_adsi' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'app_getcpeid' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'chan_oss' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'app_url' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'app_adsiprog' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'app_ices' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'chan_phone' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'app_nbscat' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'app_image' has been loaded but may be removed in a future release.
 ERROR: loader.c:2508 load_modules: res_pjsip_transport_websocket declined to load.
 ERROR: loader.c:2508 load_modules: cdr_tds declined to load.
 ERROR: loader.c:2508 load_modules: cel_sqlite3_custom declined to load.
 ERROR: loader.c:2508 load_modules: cdr_pgsql declined to load.
 ERROR: loader.c:2508 load_modules: cdr_radius declined to load.
 ERROR: loader.c:2508 load_modules: cel_radius declined to load.
 ERROR: loader.c:2508 load_modules: cdr_sqlite3_custom declined to load.
 ERROR: loader.c:2508 load_modules: cel_tds declined to load.
{code}

*Asterisk 18 LTS*
{code}PBX UUID: ...
NOTICE: loader.c:2389 load_modules: 253 modules will be loaded.
[ Initializing Custom Configuration Options ]
NOTICE: cdr.c:4504 cdr_toggle_runtime_options: CDR simple logging enabled.
WARNING: res_phoneprov.c:1232 get_defaults: Unable to find a valid server address or name.
NOTICE: res_smdi.c:1424 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener.
NOTICE: chan_skinny.c:8451 config_load: Configuring skinny from skinny.conf
 ERROR: ari/config.c:312 process_config: No configured users for ARI
NOTICE: confbridge/conf_config_parser.c:2376 verify_default_profiles: Adding default_menu menu to app_confbridge
NOTICE: cel_custom.c:95 load_config: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
WARNING: loader.c:2393 load_modules: Some non-required modules failed to load.
WARNING: loader.c:2487 load_modules: Module 'res_monitor' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'res_adsi' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'app_getcpeid' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'chan_oss' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'app_url' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'app_adsiprog' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'app_ices' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'chan_phone' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'app_nbscat' has been loaded but may be removed in a future release.
WARNING: loader.c:2487 load_modules: Module 'app_image' has been loaded but may be removed in a future release.
 ERROR: loader.c:2508 load_modules: cel_sqlite3_custom declined to load.
 ERROR: loader.c:2508 load_modules: cdr_sqlite3_custom declined to load.
{code}

*Asterisk 19*
{code}PBX UUID: ...
NOTICE: loader.c:2391 load_modules: 334 modules will be loaded.
[ Initializing Custom Configuration Options ]
 ERROR: res_config_pgsql.c:1604 pgsql_reconnect: PostgreSQL RealTime: Failed to connect database asterisk on 127.0.0.1:
WARNING: res_config_pgsql.c:1542 parse_config: PostgreSQL RealTime: Couldn't establish connection. Check debug.
NOTICE: res_config_ldap.c:1830 parse_config: No directory user found, anonymous binding as default.
 ERROR: res_config_ldap.c:1856 parse_config: No directory URL or host found.
 ERROR: res_config_ldap.c:1718 load_module: Cannot load LDAP RealTime driver.
NOTICE: cdr.c:4504 cdr_toggle_runtime_options: CDR simple logging enabled.
WARNING: res_phoneprov.c:1232 get_defaults: Unable to find a valid server address or name.
NOTICE: res_smdi.c:1424 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener.
 ERROR: ari/config.c:312 process_config: No configured users for ARI
NOTICE: confbridge/conf_config_parser.c:2376 verify_default_profiles: Adding default_menu menu to app_confbridge
NOTICE: cdr_pgsql.c:545 config_module: cdr_pgsql configuration contains no global section, skipping module load.
NOTICE: cdr_radius.c:264 load_module: Cannot load radiusclient-ng configuration file /etc/radiusclient-ng/radiusclient.conf.
NOTICE: cel_radius.c:236 load_module: Cannot load radiusclient-ng configuration file /etc/radiusclient-ng/radiusclient.conf.
NOTICE: cel_custom.c:95 load_config: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
WARNING: cel_pgsql.c:467 process_my_load_module: CEL pgsql config file missing global section.
NOTICE: cel_tds.c:450 tds_load_module: cel_tds has no global category, nothing to configure.
WARNING: cel_tds.c:555 load_module: cel_tds module had config problems; declining load
max_amp: 80 m_pitch: 320
p_min: 20 p_max: 160
Wo_min: 0.039270 Wo_max: 0.314159
nw: 279 tw: 40
max_amp: 80 m_pitch: 320
p_min: 20 p_max: 160
Wo_min: 0.039270 Wo_max: 0.314159
nw: 279 tw: 40
WARNING: loader.c:2395 load_modules: Some non-required modules failed to load.
WARNING: loader.c:2489 load_modules: Module 'res_adsi' has been loaded but may be removed in a future release.
WARNING: loader.c:2489 load_modules: Module 'app_getcpeid' has been loaded but may be removed in a future release.
WARNING: loader.c:2489 load_modules: Module 'app_adsiprog' has been loaded but may be removed in a future release.
 ERROR: loader.c:2510 load_modules: cdr_tds declined to load.
 ERROR: loader.c:2510 load_modules: cel_sqlite3_custom declined to load.
 ERROR: loader.c:2510 load_modules: cdr_pgsql declined to load.
 ERROR: loader.c:2510 load_modules: cdr_radius declined to load.
 ERROR: loader.c:2510 load_modules: cel_radius declined to load.
 ERROR: loader.c:2510 load_modules: cdr_sqlite3_custom declined to load.
 ERROR: loader.c:2510 load_modules: cel_tds declined to load.
{code}With the upcoming Asterisk 19, only the module {{res_adsi}} must be changed and the three warnings introduced by ASTERISK-29339 disappear because the two apps just depend.
Comments:By: Asterisk Team (asteriskteam) 2021-08-25 13:43:47.721-0500

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: Benjamin Keith Ford (bford) 2021-08-27 12:25:22.538-0500

I've opened up an internal ticket for this. Conversations moving forward will be on the mailing list to try and come up with a better solution for the community about what we should do moving forward.