mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-20 22:36:08 +00:00
remove code that doesn't do anything
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9962 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7112384318
commit
788eda6019
@ -1876,10 +1876,7 @@ switch_status_t config_sofia(int reload, char *profile_name)
|
|||||||
if (profile) {
|
if (profile) {
|
||||||
switch_xml_t aliases_tag, alias_tag;
|
switch_xml_t aliases_tag, alias_tag;
|
||||||
|
|
||||||
if ((gateways_tag = switch_xml_child(xprofile, "registrations"))) {
|
if ((gateways_tag = switch_xml_child(xprofile, "gateways"))) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT,
|
|
||||||
"The <registrations> syntax has been discontinued, please see the new syntax in the default configuration examples\n");
|
|
||||||
} else if ((gateways_tag = switch_xml_child(xprofile, "gateways"))) {
|
|
||||||
parse_gateways(profile, gateways_tag);
|
parse_gateways(profile, gateways_tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user