aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-09-26 18:16:06 +0000
committercitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-09-26 18:16:06 +0000
commitd71b2c725ab24bf8cfc698afd87a9d883969a1ba (patch)
treeaf9a6d42fbe5fbe5ab166b0ffe1e7aa15e590507
parent86deca3cff10e754d7bf8195034d04d54a3b0815 (diff)
Fix inband priindication checking in chan_zap.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3841 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xchannels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index f15530f97..b4149cfc9 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -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",