VoiceXML PHP Framework documentation
VoiceXML PHP Framework is an authoring tool to help developping VoiceXML applications using PHP.
The framework introduce a new VoiceXML application model. For articles and help of using the
framework please visit IVR PHP VoiceXML Solutions
The default application could be loaded by using http://path_to_voicexml_framework/index.php/home Which will
load the home application available under /app/home/home.class.php folder.
I have just a hello world sample to illustrate the usage of the new application model. You can see the others
application for more advanced usage :
- <?php
-
- /**
- * Default home application
- */
- class home {
-
- // VoiceXML Application
-
- var $app;
-
- function home () {
-
- }
-
- function process () {
-
- $this->app = new VoiceXML;
-
- $this->app->start_vxml('','','en','','','2.0');
-
- $this->app->load("message", array("","Hello World !","","hello.wav"));
-
- $this->app->end_vxml();
-
- $this->app->generate();
- }
- }
-
- ?>
The VoiceXML PHP Framework is available for download under the GPL license.