mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-25 03:10:39 +00:00
FS-4859 correction
This commit is contained in:
parent
89f4cd75f0
commit
1f06fe909c
@ -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)
|
|||||||
}
|
}
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user