mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Fix -s socket option, and document it as well.
Closes issue #11645, patch by Laureano. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2851,7 +2851,7 @@ int main(int argc, char *argv[])
|
||||
ast_readconfig();
|
||||
|
||||
if (ast_opt_remote && remotesock != NULL)
|
||||
ast_copy_string((char *) ast_config_AST_SOCKET, remotesock, sizeof(ast_config_AST_SOCKET));
|
||||
ast_copy_string((char *) cfg_paths.socket_path, remotesock, sizeof(cfg_paths.socket_path));
|
||||
|
||||
if (!ast_language_is_prefix && !ast_opt_remote)
|
||||
ast_log(LOG_WARNING, "The 'languageprefix' option in asterisk.conf is deprecated; in a future release it will be removed, and your sound files will need to be organized in the 'new style' language layout.\n");
|
||||
|
Reference in New Issue
Block a user