FS-3372 --resolve

This commit is contained in:
Anthony Minessale
2011-06-27 10:09:15 -05:00
parent dfc30b2e67
commit b6fc1a5f30
3 changed files with 18 additions and 1 deletions

View File

@@ -2031,6 +2031,12 @@ SWITCH_DECLARE(int32_t) switch_core_session_ctl(switch_session_ctl_t cmd, void *
}
}
break;
case SCSC_PAUSE_CHECK:
newintval = !!switch_test_flag((&runtime), SCF_NO_NEW_SESSIONS);
break;
case SCSC_READY_CHECK:
newintval = switch_core_ready();
break;
case SCSC_SHUTDOWN_CHECK:
newintval = !!switch_test_flag((&runtime), SCF_SHUTDOWN_REQUESTED);
break;