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:
parent
fda8fa2367
commit
01c0938ddf
|
@ -9460,7 +9460,7 @@ static int setup_zap(void)
|
||||||
} else if (!strcasecmp(v->name, "priindication")) {
|
} else if (!strcasecmp(v->name, "priindication")) {
|
||||||
if (!strcasecmp(v->value, "outofband"))
|
if (!strcasecmp(v->value, "outofband"))
|
||||||
priindication_oob = 1;
|
priindication_oob = 1;
|
||||||
else if (!strcasecmp(v->name, "inband"))
|
else if (!strcasecmp(v->value, "inband"))
|
||||||
priindication_oob = 0;
|
priindication_oob = 0;
|
||||||
else
|
else
|
||||||
ast_log(LOG_WARNING, "'%s' is not a valid pri indication value, should be 'inband' or 'outofband' at line %d\n",
|
ast_log(LOG_WARNING, "'%s' is not a valid pri indication value, should be 'inband' or 'outofband' at line %d\n",
|
||||||
|
|
Loading…
Reference in New Issue