mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 14:28:34 +00:00
mod_rayo: fixed prompt state machine - wrong state transition when output finishes before input starts
This commit is contained in:
1 parent
d7bce3256d
commit
4b8ad5b549
1 file changed
+2
-1
@@ -454,7 +454,8 @@ static iks *prompt_component_handle_output_complete(struct rayo_actor *prompt, s
|
|||||||
iks_delete(PROMPT_COMPONENT(prompt)->iq);
|
iks_delete(PROMPT_COMPONENT(prompt)->iq);
|
||||||
break;
|
break;
|
||||||
case PCS_START_INPUT_OUTPUT:
|
case PCS_START_INPUT_OUTPUT:
|
||||||
PROMPT_COMPONENT(prompt)->state = PCS_INPUT;
|
/* output finished before input started */
|
||||||
|
PROMPT_COMPONENT(prompt)->state = PCS_START_INPUT_TIMERS;
|
||||||
break;
|
break;
|
||||||
case PCS_INPUT_OUTPUT:
|
case PCS_INPUT_OUTPUT:
|
||||||
PROMPT_COMPONENT(prompt)->state = PCS_INPUT;
|
PROMPT_COMPONENT(prompt)->state = PCS_INPUT;
|
||||||
|
|||||||
Reference in new issue
Block a user