[Freeswitch-svn] [commit] r5815 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Fri Oct 5 12:09:47 EDT 2007
Author: anthm
Date: Fri Oct 5 12:09:47 2007
New Revision: 5815
Modified:
freeswitch/trunk/src/switch_core_state_machine.c
Log:
fix (you want this)
Modified: freeswitch/trunk/src/switch_core_state_machine.c
==============================================================================
--- freeswitch/trunk/src/switch_core_state_machine.c (original)
+++ freeswitch/trunk/src/switch_core_state_machine.c Fri Oct 5 12:09:47 2007
@@ -374,6 +374,7 @@
while ((state = switch_channel_get_state(session->channel)) != CS_DONE) {
uint8_t exception = 0;
+ midstate = state;
if (switch_channel_test_flag(session->channel, CF_REPEAT_STATE)) {
switch_channel_clear_flag(session->channel, CF_REPEAT_STATE);
exception = 1;
@@ -381,7 +382,7 @@
if (state != laststate || state == CS_HANGUP || exception) {
int index = 0;
int proceed = 1;
-
+
switch (state) {
case CS_NEW: /* Just created, Waiting for first instructions */
More information about the Freeswitch-svn
mailing list