/ fixed an inverted test
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5455 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
247a535247
commit
7ebc87e9a1
|
@ -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);
|
||||
|
|
Reference in New Issue