I'm using the <Play>
element to greet my clients in music :)
It works great but I'd like to use the Speak
element as well, in the same time.
Does anybody knows if this is possible: play a music while speaking a text in the same time?
Thank you
Play and Speak cannot be executed simultaneously using the XML. You could use one in the XML and execute the other using the API. For example, if you use Play in XML, you can use Speak API. To invoke the Speak API, you need the Call UUID of the ongoing call. Call UUID is usually passed on to the answer url. In case, your call has 2 legs (Aleg and Bleg), make sure that you use the correct Call UUID.