mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-23 04:14:47 +00:00
fix (you want this)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5815 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b00decc869
commit
bbb530a6f3
@ -374,6 +374,7 @@ SWITCH_DECLARE(void) switch_core_session_run(switch_core_session_t *session)
|
|||||||
|
|
||||||
while ((state = switch_channel_get_state(session->channel)) != CS_DONE) {
|
while ((state = switch_channel_get_state(session->channel)) != CS_DONE) {
|
||||||
uint8_t exception = 0;
|
uint8_t exception = 0;
|
||||||
|
midstate = state;
|
||||||
if (switch_channel_test_flag(session->channel, CF_REPEAT_STATE)) {
|
if (switch_channel_test_flag(session->channel, CF_REPEAT_STATE)) {
|
||||||
switch_channel_clear_flag(session->channel, CF_REPEAT_STATE);
|
switch_channel_clear_flag(session->channel, CF_REPEAT_STATE);
|
||||||
exception = 1;
|
exception = 1;
|
||||||
@ -381,7 +382,7 @@ SWITCH_DECLARE(void) switch_core_session_run(switch_core_session_t *session)
|
|||||||
if (state != laststate || state == CS_HANGUP || exception) {
|
if (state != laststate || state == CS_HANGUP || exception) {
|
||||||
int index = 0;
|
int index = 0;
|
||||||
int proceed = 1;
|
int proceed = 1;
|
||||||
|
|
||||||
|
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case CS_NEW: /* Just created, Waiting for first instructions */
|
case CS_NEW: /* Just created, Waiting for first instructions */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user