mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 11:32:25 +00:00
Change superfluous messages to DEBUG and remove dead code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3071,12 +3071,12 @@ static int rqm_exec(struct ast_channel *chan, void *data)
|
|||||||
|
|
||||||
switch (remove_from_queue(args.queuename, args.interface)) {
|
switch (remove_from_queue(args.queuename, args.interface)) {
|
||||||
case RES_OKAY:
|
case RES_OKAY:
|
||||||
ast_log(LOG_NOTICE, "Removed interface '%s' from queue '%s'\n", args.interface, args.queuename);
|
ast_log(LOG_DEBUG, "Removed interface '%s' from queue '%s'\n", args.interface, args.queuename);
|
||||||
pbx_builtin_setvar_helper(chan, "RQMSTATUS", "REMOVED");
|
pbx_builtin_setvar_helper(chan, "RQMSTATUS", "REMOVED");
|
||||||
res = 0;
|
res = 0;
|
||||||
break;
|
break;
|
||||||
case RES_EXISTS:
|
case RES_EXISTS:
|
||||||
ast_log(LOG_WARNING, "Unable to remove interface '%s' from queue '%s': Not there\n", args.interface, args.queuename);
|
ast_log(LOG_DEBUG, "Unable to remove interface '%s' from queue '%s': Not there\n", args.interface, args.queuename);
|
||||||
if (priority_jump || ast_opt_priority_jumping)
|
if (priority_jump || ast_opt_priority_jumping)
|
||||||
ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101);
|
ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101);
|
||||||
pbx_builtin_setvar_helper(chan, "RQMSTATUS", "NOTINQUEUE");
|
pbx_builtin_setvar_helper(chan, "RQMSTATUS", "NOTINQUEUE");
|
||||||
@@ -3087,9 +3087,6 @@ static int rqm_exec(struct ast_channel *chan, void *data)
|
|||||||
pbx_builtin_setvar_helper(chan, "RQMSTATUS", "NOSUCHQUEUE");
|
pbx_builtin_setvar_helper(chan, "RQMSTATUS", "NOSUCHQUEUE");
|
||||||
res = 0;
|
res = 0;
|
||||||
break;
|
break;
|
||||||
case RES_OUTOFMEMORY:
|
|
||||||
ast_log(LOG_ERROR, "Out of memory\n");
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
LOCAL_USER_REMOVE(lu);
|
LOCAL_USER_REMOVE(lu);
|
||||||
|
|||||||
Reference in New Issue
Block a user