From: James Golovich Date: Sun, 26 Sep 2004 18:16:06 +0000 (+0000) Subject: Fix inband priindication checking in chan_zap.c X-Git-Tag: 1.0.10~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01c0938ddf85e9f45838dca9ffa1d93ca1300f51;p=thirdparty%2Fasterisk.git Fix inband priindication checking in chan_zap.c git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3841 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index f15530f97a..b4149cfc90 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",