mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-27 13:44:16 +00:00
save history when stoping now
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16312 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
99b45eb1fb
commit
f4a50a5e91
5 files changed
+29
-1
No files matched your search
@@ -1472,6 +1472,13 @@ SWITCH_STANDARD_API(ctl_function)
|
||||
stream->write_function(stream, "+OK\n");
|
||||
} else if (!strcasecmp(argv[0], "calibrate_clock")) {
|
||||
switch_core_session_ctl(SCSC_CALIBRATE_CLOCK, NULL);
|
||||
stream->write_function(stream, "+OK\n");
|
||||
} else if (!strcasecmp(argv[0], "crash")) {
|
||||
switch_core_session_ctl(SCSC_CRASH, NULL);
|
||||
stream->write_function(stream, "+OK\n");
|
||||
} else if (!strcasecmp(argv[0], "save_history")) {
|
||||
switch_core_session_ctl(SCSC_SAVE_HISTORY, NULL);
|
||||
stream->write_function(stream, "+OK\n");
|
||||
} else if (!strcasecmp(argv[0], "shutdown")) {
|
||||
switch_session_ctl_t command = SCSC_SHUTDOWN;
|
||||
int x = 0;
|
||||
|
||||
Reference in new issue
Block a user