I have a Python script that takes about 1-4 seconds to complete. It is setting up variables for the dialplan to use.
My question:
Is there a way to play a message WHILE the script runs? Just writing it in dialplan has it execute linearly (Python script, then the announcement), which causes the pause.
Settled on using PlayTones for now. Not exactly what we were hoping for, but achieves the objective of letting the far end know that the line is still connected.
As mentioned in other postings, I believe the way forward is to build the treatment using the rest interface. That should allow us to play messages while still processing.