diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-14 14:48:38 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-14 14:48:38 +0000 |
commit | 35d428bccae3ad607662249b9fd6c3a2d16b9364 (patch) | |
tree | eb8395c48dfe42302c76abaf23fc722e7e6190bf /apps/app_minivm.c | |
parent | 3b2aaf764626c8870fd2c7de8805fb935e65b0db (diff) |
Convert ast_verbose to ast_verb.
Reported by: snuffy
Patch by: snuffy
(Closes issue #11547)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@92913 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_minivm.c')
-rw-r--r-- | apps/app_minivm.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/apps/app_minivm.c b/apps/app_minivm.c index 20d10699b..77497fb19 100644 --- a/apps/app_minivm.c +++ b/apps/app_minivm.c @@ -1256,8 +1256,7 @@ static int play_record_review(struct ast_channel *chan, char *playfile, char *re switch (cmd) { case '2': /* Review */ - if (option_verbose > 2) - ast_verbose(VERBOSE_PREFIX_3 "Reviewing the message\n"); + ast_verb(3, "Reviewing the message\n"); ast_streamfile(chan, recordfile, chan->language); cmd = ast_waitstream(chan, AST_DIGIT_ANY); break; @@ -1266,9 +1265,9 @@ static int play_record_review(struct ast_channel *chan, char *playfile, char *re /* Record */ if (option_verbose > 2) { if (recorded == 1) - ast_verbose(VERBOSE_PREFIX_3 "Re-recording the message\n"); + ast_verb(3, "Re-recording the message\n"); else - ast_verbose(VERBOSE_PREFIX_3 "Recording the message\n"); + ast_verb(3, "Recording the message\n"); } if (recorded && outsidecaller) cmd = ast_play_and_wait(chan, "beep"); @@ -1571,8 +1570,7 @@ static int leave_voicemail(struct ast_channel *chan, char *username, struct leav } if (duration < global_vmminmessage) { - if (option_verbose > 2) - ast_verbose( VERBOSE_PREFIX_3 "Recording was %d seconds long but needs to be at least %d - abandoning\n", duration, global_vmminmessage); + ast_verb(3, "Recording was %d seconds long but needs to be at least %d - abandoning\n", duration, global_vmminmessage); fclose(txt); ast_filedelete(tmptxtfile, NULL); unlink(tmptxtfile); |