Published on 2005-08-15 10:28:03
Part 2 Coding : Service's content
In this example we separated content in a table named "content", So the second part of our entreprise VoiceXML application will connect to the database, retrieve the content of the service and read them to the enduser, then go back to the main menu to choose another service ... etc
The service part is the more easy one as you can notice. We have a category of content, that we'll browse. We just verify that this category exist and have content, Then a multi choice menu via voice to allow choose which content to read.
We have just taken an example of menu that accept dtmf entry from user to naviguate. I have just use it to show more VoiceXML possibilities.
In the end of the application we notice the asterisk * that will allow us to switch to the main application.
Conclusion :
The main code of the application is over here, in the next articles I'll try to discuss optimization of the applications, administration and possible extended usage of this small code. Something to make the IVR application more easy to use for the endusers.
Member of the PHP Magazine Network, Copyright (C) 2005-2008 phpmagazine.net All Rights Reserved