[Freeswitch-svn] [commit] r9463 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Freeswitch SVN
brian at freeswitch.org
Fri Sep 5 10:46:17 EDT 2008
Author: brian
Date: Fri Sep 5 10:46:16 2008
New Revision: 9463
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
Log:
don't need to do this like that for ext-rtp-ip
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Fri Sep 5 10:46:16 2008
@@ -1497,12 +1497,7 @@
if (!strcmp(val, "0.0.0.0")) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Invalid IP 0.0.0.0 replaced with %s\n", mod_sofia_globals.guess_ip);
} else {
- if (!switch_strlen_zero(val)) {
- switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Invalid ext-rtp-ip replaced with %s\n", mod_sofia_globals.guess_ip);
- ip = "auto";
- } else {
ip = strcasecmp(val, "auto") ? val : mod_sofia_globals.guess_ip;
- }
}
profile->extrtpip = switch_core_strdup(profile->pool, ip);
} else {
More information about the Freeswitch-svn
mailing list