fix internal state machine session yuckyness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@599 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
abde08febc
commit
5bf08ed3c6
|
@ -1764,7 +1764,7 @@ SWITCH_DECLARE(void) switch_core_session_run(switch_core_session *session)
|
|||
}
|
||||
}
|
||||
switch_channel_set_state(session->channel, CS_DONE);
|
||||
midstate == switch_channel_get_state(session->channel);
|
||||
midstate = switch_channel_get_state(session->channel);
|
||||
break;
|
||||
case CS_INIT: /* Basic setup tasks */
|
||||
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "State INIT\n");
|
||||
|
|
Loading…
Reference in New Issue