This document was generated from CDN thread
Created by: Sanjay Gulati on 11-08-2010 12:59:34 AM
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
Subject: RE: Dynamic Menu
Replied by: Hemal Mehta on 11-08-2010 04:29:25 AM
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.
Subject: RE: Dynamic Menu
Replied by: Sanjay Gulati on 11-08-2010 05:36:23 AM
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