mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
mod_rayo: fixed prompt state machine - wrong state transition when output finishes before input starts
This commit is contained in:
parent
3c6ba5d0f9
commit
33b78057d7
@ -454,7 +454,8 @@ static iks *prompt_component_handle_output_complete(struct rayo_actor *prompt, s
|
||||
iks_delete(PROMPT_COMPONENT(prompt)->iq);
|
||||
break;
|
||||
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;
|
||||
case PCS_INPUT_OUTPUT:
|
||||
PROMPT_COMPONENT(prompt)->state = PCS_INPUT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user