===== VoiceXML Example : Hello World! =====
**Simple with TextToSpeech**
The VoiceXML browser will use the TextToSpeech to convert the text "Hello world!" to a synthesis audio prompt.
Download :
[[http://links.i6net.com/vxml_examples/helloworld/helloworld1.vxml|helloworld1.vxml]]
**With an audio file**
The VoiceXML browser will play the audio file helloworld.wav (in the same folder). In this example, the audio content "Hello World!" message.
You can use any format supported by the asterisk.
Download :
[[http://links.i6net.com/vxml_examples/helloworld/helloworld2.vxml|helloworld2.vxml]]
[[http://links.i6net.com/vxml_examples/helloworld/helloworld.wav|helloworld.wav]]
**With Asterisk audio reference**
The VoiceXML browser will use the default Asterisk audio folder to play the message.
The default folder is "///var/lib/asterisk/sound//". The language set in xml:lang select the Asterisk language.
[[http://www.voip-info.org/wiki/view/Asterisk+sound+files|Asterisk sound files]]
Download :
[[http://links.i6net.com/vxml_examples/helloworld/helloworld3.vxml|helloworld3.vxml]]