Showing 6 results.
Items per Page 50
of 1

CVP Forum

Combination View Flat View Tree View
Threads [ Previous | Next ]
I am trying to build dynamic menu depending on Users Input below is what i am trying to achinve.
 
Call Starts.
User enters the number
Call web service and get the available audio files for customer.
depending on number of audio files we get play the menu to user. for example let say customer can listen to 4 audio files then play menu with 4 items in menu. if customer can listen to 2 audio files then play menu with 2 menu items etc...
 
Is there a way i can achieve this. Any help will be really appreciated
 
Thanks
Sanjay
 
 

RE: Dynamic Menu
Answer
8/11/10 9:29 AM as a reply to Sanjay Gulati.
Do you have defined no of results that are possible. for example if you have 5 possible results, you can use the decision element to direct to the appropiate menu and play the audio files depending on the no returned from web service.
I personally prefer doing this in vxml code.  It much more powerful.

Can you please share how can we do it with VXML code... I was thinking on writing java cmponent to do so... Is it a good idea..
 
My main problem is the number of items in menu and Menu item both are totally dynamic depending on the response i get from web service.
 
Can you please share some code..
 
Thanks
Sanjay