[asterisk-bugs] [JIRA] (ASTERISK-27553) [patch] res_curl: Avoid error message on unload.
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Sun Jan 7 16:49:39 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=241398#comment-241398 ]
Friendly Automation commented on ASTERISK-27553:
------------------------------------------------
Change 7828 merged by Jenkins2:
General: Silence modules on (un)load.
[https://gerrit.asterisk.org/7828|https://gerrit.asterisk.org/7828]
> [patch] res_curl: Avoid error message on unload.
> ------------------------------------------------
>
> Key: ASTERISK-27553
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27553
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: PBX/pbx_lua, Resources/General
> Affects Versions: 13.18.5, 15.1.5
> Reporter: Alexander Traud
> Assignee: Alexander Traud
> Severity: Trivial
> Labels: patch
> Attachments: module_silence.patch
>
>
> After running the script {{./contrib/scripts/install_prereq}} to install Asterisk, near to all modules compile at default. Some of those modules emit unnormal and unneeded status messages. _res_curl_ even emits an error message when Asterisk is stopped gracefully:{code}NOTICE: res_odbc.c:1021 int load_module(void): res_odbc loaded.
> NOTICE: pbx_lua.c:1652 int load_or_reload_lua_stuff(void): Lua PBX Switch loaded.
> ...
> ERROR: res_curl.c:63 int unload_module(void): res_http_media_cache.so (dependent module) is still loaded. Cannot unload res_curl.so
> NOTICE: pbx_lua.c:1663 int unload_module(void): Lua PBX Switch unloaded.{code}That prerequisite script is mainly for Asterisk starters. For those users no confusing messages should be printed on the command-line interface (CLI). Furthermore since ASTERISK-27475, _res_curl_ is built on default when the user wants the audio codec Opus-Codec from Digium.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list