mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-15 22:38:08 +00:00
issue #5752
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user