[asterisk-bugs] [JIRA] (ASTERISK-28838) AST_MODULE_INFO requires, MODULEINFO does not mention

Friendly Automation (JIRA) noreply at issues.asterisk.org
Mon Apr 20 11:46:25 CDT 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250451#comment-250451 ] 

Friendly Automation commented on ASTERISK-28838:
------------------------------------------------

Change 14285 merged by Friendly Automation:
cdr_odbc: Sync load- and build-time deps.

[https://gerrit.asterisk.org/c/asterisk/+/14285|https://gerrit.asterisk.org/c/asterisk/+/14285]

> AST_MODULE_INFO requires, MODULEINFO does not mention
> -----------------------------------------------------
>
>                 Key: ASTERISK-28838
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28838
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 16.9.0, 17.3.0
>            Reporter: Alexander Traud
>            Severity: Minor
>
> Follow-up of ASTERISK-28789 which just looked at the scenario ‘use/require’. I ran another script over the whole Asterisk. There are 12 modules which do not mention at all the internal library in MODULEINFO although it is declared as required in AST_MODULE_INFO. Let us call this scenario ‘no/require’:
> {code}
>   res_pjsip_pubsub res/res_pjsip_refer.c
>  res_pjsip_session res/res_pjsip_one_touch_record_info.c
>  res_pjsip_session res/res_pjsip_messaging.c
>  res_pjsip_session res/res_pjsip_dtmf_info.c
>  res_pjsip_session res/res_pjsip_rfc3326.c
>  res_pjsip_session res/res_pjsip_empty_info.c
>  res_pjsip_session res/res_pjsip_path.c
>  res_pjsip_session res/res_pjsip_diversion.c
>  res_pjsip_session res/res_pjsip_nat.c
>                  * cdr/cdr_odbc.c
>           res_adsi apps/app_getcpeid.c
>           res_curl funcs/func_curl.c
> func_curl,res_curl res/res_config_curl.c
> {code}Anyone who takes over this? In the first step, you have to double-check whether the modules are really required at runtime: Is AST_MODULE_INFO correct at all? If a module is optional (or not used at all), its AST_MODULE_INFO must be updated. Then, the second step is to update MODULEINFO (how, see ASTERISK-28789).



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



More information about the asterisk-bugs mailing list