VoiceXML
[ class tree: VoiceXML ] [ index: VoiceXML ] [ all elements ]

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 :

  1. <?php
  2.  
  3. /**
  4. * Default home application
  5. */
  6. class home {
  7.  
  8. // VoiceXML Application
  9. var $app;
  10. function home () {
  11. }
  12. function process () {
  13. $this->app = new VoiceXML;
  14. $this->app->start_vxml('','','en','','','2.0');
  15. $this->app->load("message", array("","Hello World !","","hello.wav"));
  16. $this->app->end_vxml();
  17. $this->app->generate();
  18. }
  19. }
  20.  
  21. ?>

The VoiceXML PHP Framework is available for download under the GPL license.


Copyright 2005 (C) VoiceXML PHP Framework, by Hatem Ben Yacoub. All rights reserved