mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
Add set debug option, make output for set verbose better (bug #2428)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1404,6 +1404,8 @@ static void ast_remotecontrol(char * data)
|
||||
pid = -1;
|
||||
snprintf(tmp, sizeof(tmp), "set verbose atleast %d", option_verbose);
|
||||
fdprint(ast_consock, tmp);
|
||||
snprintf(tmp, sizeof(tmp), "set debug atleast %d", option_debug);
|
||||
fdprint(ast_consock, tmp);
|
||||
ast_verbose("Connected to Asterisk %s currently running on %s (pid = %d)\n", version, hostname, pid);
|
||||
remotehostname = hostname;
|
||||
if (getenv("HOME"))
|
||||
|
Reference in New Issue
Block a user