Fix inband priindication checking in chan_zap.c

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
James Golovich 2004-09-26 18:16:06 +00:00
parent fda8fa2367
commit 01c0938ddf
1 changed files with 1 additions and 1 deletions

View File

@ -9460,7 +9460,7 @@ static int setup_zap(void)
} else if (!strcasecmp(v->name, "priindication")) {
if (!strcasecmp(v->value, "outofband"))
priindication_oob = 1;
else if (!strcasecmp(v->name, "inband"))
else if (!strcasecmp(v->value, "inband"))
priindication_oob = 0;
else
ast_log(LOG_WARNING, "'%s' is not a valid pri indication value, should be 'inband' or 'outofband' at line %d\n",