mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-14 15:24:13 +00:00
option to turn of auto_restart of sofia profiles on ip change
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10715 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
ac8daf49c4
commit
4dc4b35590
4 files changed
+8
-1
No files matched your search
@@ -2686,7 +2686,7 @@ static void general_event_handler(switch_event_t *event)
|
||||
{
|
||||
const char *cond = switch_event_get_header(event, "condition");
|
||||
|
||||
if (cond && !strcmp(cond, "network-address-change")) {
|
||||
if (cond && !strcmp(cond, "network-address-change") && mod_sofia_globals.auto_restart) {
|
||||
sofia_glue_restart_all_profiles();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user