提交 5db9b9d0 authored 作者: Michael Jerris's avatar Michael Jerris

better error message/don't print null when no sip-ip is specified.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3967 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 fec8895d
......@@ -5056,8 +5056,12 @@ static switch_status_t config_sofia(int reload)
}
}
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Started Profile %s [%s]\n", profile->name, url);
launch_profile_thread(profile);
if (profile->sipip) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Started Profile %s [%s]\n", profile->name, url);
launch_profile_thread(profile);
} else {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Unable to start Profile %s due to no configured sip-ip\n", profile->name);
}
profile = NULL;
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论