add warning for keywords in type=h323 that make no sense

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeremy McNamara
2003-12-03 20:08:58 +00:00
parent af19291e01
commit 6b45687df2

View File

@@ -205,6 +205,8 @@ static struct oh323_alias *build_alias(char *name, struct ast_variable *v)
strncpy(alias->context, v->value, sizeof(alias->context)-1);
} else if (!strcasecmp(v->name, "secret")) {
strncpy(alias->secret, v->value, sizeof(alias->secret)-1);
} else {
ast_log(LOG_WARNING, "Keyword %s does not make sense in type=h323\n", v->value);
}
v = v->next;
}