mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 14:27:14 +00:00
don't create another endpoint on a reload
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -212,7 +212,7 @@ static struct oh323_alias *build_alias(char *name, struct ast_variable *v)
|
|||||||
} 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 {
|
} else {
|
||||||
if (strcasecmp(v->name, "h323")) {
|
if (strcasecmp(v->value, "h323")) {
|
||||||
ast_log(LOG_WARNING, "Keyword %s does not make sense in type=h323\n", v->value);
|
ast_log(LOG_WARNING, "Keyword %s does not make sense in type=h323\n", v->value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1403,8 +1403,9 @@ int reload_config(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* fire up the H.323 Endpoint */
|
/* fire up the H.323 Endpoint */
|
||||||
h323_end_point_create();
|
if (!h323_end_point_exist()) {
|
||||||
|
h323_end_point_create();
|
||||||
|
}
|
||||||
h323debug=0;
|
h323debug=0;
|
||||||
dtmfmode = H323_DTMF_RFC2833;
|
dtmfmode = H323_DTMF_RFC2833;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user