Answer the question
In order to leave comments, you need to log in
Is it possible to stop playback in agi?
Question, I’m listening during a person’s answer, for example, the bot says with a record “Tell me your name and date of birth”
The person answers “Ivanov Ivan Ivanovich 2000 May 13” The
bot plays the following record, which lasts 5 seconds, and during playback, the person, says something like "Oops, I made a mistake, May 14", at which point you need to interrupt playback in php AGI and start another record, in the style of "Sorry, can you repeat?"
for those who ask for the code, although it is not needed
Does anyone know if it is possible to interrupt the script like this and how to do it?
$agi->exec('Playback', 'hello-world');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question