mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
add max_sessions fsctl command
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5812 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -657,6 +657,9 @@ SWITCH_DECLARE(int32_t) switch_core_session_ctl(switch_session_ctl_t cmd, int32_
|
||||
}
|
||||
*val = runtime.hard_log_level;
|
||||
break;
|
||||
case SCSC_MAX_SESSIONS:
|
||||
*val = switch_core_session_limit(*val);
|
||||
break;
|
||||
case SCSC_LAST_SPS:
|
||||
*val = runtime.sps_last;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user