From: prince D. <pri...@ya...> - 2013-10-16 09:03:49
|
Hi, i am currently working on OpenVXI interpretor and I am trying to make it work for multiple calls. But I am struck one one scenario .As OpenVXI is implemented as a synchronous code.For eg. when we run VXIclient with a sample VXML Document consisting of just a "prompt" and "filled" for an input. After playing the prompt it waits for the input and proceeds further only if we supply any input. I am trying to develop an application so that it can work Asynchronously i.e Event based. It should play the message and then return to wait for any other event and when input is supplied it processes the input and processes the answer and takes further action. i tried to segregate the prompt code from input receive code, but was unsuccessful as the code is interwoven in two nested while loops. and any change done hampers the normal working of code. So please suggest any way out for this.So that I can make it asynchronous Thanks in advance Prince |