add warning for keywords in type=h323 that make no sense
authorJeremy McNamara <jj@nufone.net>
Wed, 3 Dec 2003 20:08:58 +0000 (20:08 +0000)
committerJeremy McNamara <jj@nufone.net>
Wed, 3 Dec 2003 20:08:58 +0000 (20:08 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1822 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_h323.c

index 8d5c720..7dda4be 100755 (executable)
@@ -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;
                }