Fix inband priindication checking in chan_zap.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3841 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
86deca3cff
commit
d71b2c725a
|
@ -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",
|
||||
|
|
Reference in New Issue