[asterisk-bugs] [JIRA] (ASTERISK-27553) [patch] res_curl: Avoid error message on unload.

Alexander Traud (JIRA) noreply at issues.asterisk.org
Fri Jan 5 07:34:39 CST 2018


Alexander Traud created ASTERISK-27553:
------------------------------------------

             Summary: [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: 15.1.5, 13.18.5
            Reporter: Alexander Traud
            Severity: Trivial


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