don't complain on type=h323 itself :)
[asterisk/asterisk.git] / channels / chan_h323.c
index f013060..dd3a144 100755 (executable)
@@ -212,7 +212,9 @@ static struct oh323_alias *build_alias(char *name, struct ast_variable *v)
                        } else if (!strcasecmp(v->name, "secret")) {
                                strncpy(alias->secret,  v->value, sizeof(alias->secret)-1);
                        } else {
+                               if (strcasecmp(v->name, "h323")) {      
                                        ast_log(LOG_WARNING, "Keyword %s does not make sense in type=h323\n", v->value);
+                               }
                        }
                        v = v->next;
                }