cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
391
Views
0
Helpful
0
Replies

CVP Need to interrupt an active voice grammar

MichaelBeers58
Level 1
Level 1

Hello, We have a VXML Server application that is called by ICM when a caller is placed in a queue . The application

plays audio ( currently in the background using fetchaudio ) and a custom Java element that connects to an external engine which determines when the call has been removed from the queue. When the custom element detects the removal has occurred the application exits. We now have a requirement to allow the caller to enter input to break out of the queue. 

We need to be able to interrupt the active grammar (that accepts input from the caller) from within the application.

While the grammar is active the applications voice element has given control back to VXML Server. We've looked at hotlink and hotevent but don't see a way to generate them from Java code.  We also thought about creating a custom voice element and in the addXMLBody method starting a separate thread and somehow interrupting

the grammar that way, but can't see a way to do that. Does any one have suggestions? Is it even possible?

Thanks

0 Replies 0