mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 03:02:15 +00:00
Convert ast_verbose to ast_verb.
Reported by: snuffy Patch by: snuffy (Closes issue #11547) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -765,8 +765,7 @@ static int builtin_automixmonitor(struct ast_channel *chan, struct ast_channel *
|
||||
// This means a mixmonitor is attached to the channel, running or not is unknown.
|
||||
if (count > 0) {
|
||||
|
||||
if (option_verbose > 3)
|
||||
ast_verbose(VERBOSE_PREFIX_3 "User hit '%s' to stop recording call.\n", code);
|
||||
ast_verb(3, "User hit '%s' to stop recording call.\n", code);
|
||||
|
||||
//Make sure they are running
|
||||
ast_channel_lock(callee_chan);
|
||||
@@ -821,8 +820,7 @@ static int builtin_automixmonitor(struct ast_channel *chan, struct ast_channel *
|
||||
args[x] = '-';
|
||||
}
|
||||
|
||||
if (option_verbose > 3)
|
||||
ast_verbose(VERBOSE_PREFIX_3 "User hit '%s' to record call. filename: %s\n", code, touch_filename);
|
||||
ast_verb(3, "User hit '%s' to record call. filename: %s\n", code, touch_filename);
|
||||
|
||||
pbx_exec(callee_chan, mixmonitor_app, args);
|
||||
pbx_builtin_setvar_helper(callee_chan, "TOUCH_MIXMONITOR_OUTPUT", touch_filename);
|
||||
@@ -945,8 +943,7 @@ static int builtin_blindtransfer(struct ast_channel *chan, struct ast_channel *p
|
||||
}
|
||||
if (!transferee->pbx) {
|
||||
/* Doh! Use our handy async_goto functions */
|
||||
if (option_verbose > 2)
|
||||
ast_verbose(VERBOSE_PREFIX_3 "Transferring %s to '%s' (context %s) priority 1\n"
|
||||
ast_verb(3, "Transferring %s to '%s' (context %s) priority 1\n"
|
||||
,transferee->name, xferto, transferer_real_context);
|
||||
if (ast_async_goto(transferee, transferer_real_context, xferto, 1))
|
||||
ast_log(LOG_WARNING, "Async goto failed :-(\n");
|
||||
|
Reference in New Issue
Block a user