diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-15 19:33:15 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-15 19:33:15 +0000 |
commit | a45b2019dfab4fc54e037a07dd23993e294b44de (patch) | |
tree | 3721d078f6cc13125ed3957230a8d8ea369e85ac | |
parent | 6bfdf6f45aa2097f091934515a27997e398459f9 (diff) |
issue #5752
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | ChangeLog | 2 | ||||
-rwxr-xr-x | apps/app_playback.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,7 @@ 2005-11-15 Kevin P. Fleming <kpfleming@limerick.digium.com> + * apps/app_playback.c (playback_exec): use correct logic tests for options (issue #5752) + * apps/app_disa.c (disa_exec): use standard arg parsing routines (issue #5736) 2005-11-15 Russell Bryant <russell@digium.com> diff --git a/apps/app_playback.c b/apps/app_playback.c index 485e73519..ed33097ab 100755 --- a/apps/app_playback.c +++ b/apps/app_playback.c @@ -99,9 +99,9 @@ static int playback_exec(struct ast_channel *chan, void *data) AST_STANDARD_APP_ARGS(args, tmp); if (args.options) { - if (!strcasestr(args.options, "skip")) + if (strcasestr(args.options, "skip")) option_skip = 1; - if (!strcasestr(args.options, "noanswer")) + if (strcasestr(args.options, "noanswer")) option_noanswer = 1; if (strchr(args.options, 'j')) priority_jump = 1; |