mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 14:27:14 +00:00
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:
@@ -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);
|
strncpy(alias->context, v->value, sizeof(alias->context)-1);
|
||||||
} else if (!strcasecmp(v->name, "secret")) {
|
} else if (!strcasecmp(v->name, "secret")) {
|
||||||
strncpy(alias->secret, v->value, sizeof(alias->secret)-1);
|
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;
|
v = v->next;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user