/ fixed an inverted test
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
b4cf0acd8e
commit
f61b19eda8
|
@ -1713,8 +1713,11 @@ static int vpb_digit(struct ast_channel *ast, char digit)
|
|||
char s[2];
|
||||
int res = 0;
|
||||
|
||||
if (!use_ast_dtmf)
|
||||
if (use_ast_dtmf){
|
||||
if (option_verbose > 3)
|
||||
ast_verbose(VERBOSE_PREFIX_4 "%s: vpb_digit: asked to play digit[%c] but we are using asterisk dtmf play back?!\n", p->dev, digit);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
if (option_verbose > 3) ast_verbose("%s: LOCKING in digit \n", p->dev);
|
||||
|
|
Loading…
Reference in New Issue