mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 14:44: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:
1 parent
0048061a7a
commit
31ee0d59fc
9 files changed
+33
-35
No files matched your search
@@ -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