forgot to print ok

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16419 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2010-01-20 18:44:35 +00:00
parent 97a2670af7
commit c26d08dbfc
1 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,8 @@ SWITCH_STANDARD_API(shutdown_function)
{
switch_session_ctl_t command = SCSC_SHUTDOWN;
int arg = 0;
stream->write_function(stream, "+OK\n");
switch_core_session_ctl(command, &arg);
return SWITCH_STATUS_SUCCESS;