提交 1f06fe90 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-4859 correction

上级 89f4cd75
...@@ -4672,6 +4672,11 @@ switch_status_t config_sofia(sofia_config_t reload, char *profile_name) ...@@ -4672,6 +4672,11 @@ switch_status_t config_sofia(sofia_config_t reload, char *profile_name)
} }
if (profile->sipip) { if (profile->sipip) {
if (!profile->extsipport) {
profile->extsipport = profile->sip_port;
}
launch_sofia_profile_thread(profile); launch_sofia_profile_thread(profile);
if (profile->odbc_dsn) { if (profile->odbc_dsn) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Connecting ODBC Profile %s [%s]\n", profile->name, url); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Connecting ODBC Profile %s [%s]\n", profile->name, url);
...@@ -4693,10 +4698,6 @@ switch_status_t config_sofia(sofia_config_t reload, char *profile_name) ...@@ -4693,10 +4698,6 @@ switch_status_t config_sofia(sofia_config_t reload, char *profile_name)
} }
done: done:
if (!profile->extsipport) {
profile->extsipport = profile->sip_port;
}
if (profile_already_started) { if (profile_already_started) {
sofia_glue_release_profile(profile_already_started); sofia_glue_release_profile(profile_already_started);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论