mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
normalize configuration parameters to use - instead of _.
Break everybody's configuration. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1475 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -149,11 +149,11 @@ static switch_status_t do_config(void)
|
||||
char *var = (char *) switch_xml_attr(param, "name");
|
||||
char *val = (char *) switch_xml_attr(param, "value");
|
||||
|
||||
if (!strcasecmp(var, "gateway_url")) {
|
||||
if (!strcasecmp(var, "gateway-url")) {
|
||||
char *bindings = (char *) switch_xml_attr(param, "bindings");
|
||||
set_global_bindings(bindings);
|
||||
set_global_url(val);
|
||||
} else if (!strcasecmp(var, "http_port")) {
|
||||
} else if (!strcasecmp(var, "http-port")) {
|
||||
globals.port = (uint16_t)atoi(val);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user