Fix inband priindication checking in chan_zap.c
authorJames Golovich <james@gnuinter.net>
Sun, 26 Sep 2004 18:16:06 +0000 (18:16 +0000)
committerJames Golovich <james@gnuinter.net>
Sun, 26 Sep 2004 18:16:06 +0000 (18:16 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3841 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index f15530f..b4149cf 100755 (executable)
@@ -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",