VoiceXML for Web developers: Introduction

December 15th, 2009 by Adam Kalsey

This post is part of a series exploring voice applications and VoiceXML through the eyes of a web developer. For the rest of the series, see the index.

I’ll admit it. Before joining Voxeo, I wasn’t much of a voice guy. I’m a web guy. I was pretty sure that voice applications were created through witchcraft. Turns out, there’s no magic involved, just some standards and markup languages. If you can create a web app, you can create a voice app. Voxeo has some great developer documentation and detailed tutorials available through Evolution, our developer portal. Over the next few weeks, I’ll be walking through some examples as I learn, from the perspective of a web developer, VoiceXML, CCXML, and Voxeo’s own CallXML.

I’ll start with VoiceXML. VoiceXML is a W3C standard, just like HTML is. Like HTML, your code is executed in a browser, but instead of a visual browser on a computer screen, in this case it’s a voice browser that you use over the telephone. To test out any of the samples I’m going to create, I’m going to need a VoiceXML browser attached to the telephone network. Voxeo provides developers with free accounts and a phone number so you can build and test your app. You’ll also need a web server to host your XML file, but Voxeo will provide some hosting space for you for free if you’d like.

Go over to Evolution and create an account. Then go to the Application Manager.

App Manager

Create a new application and call it anything you’d like. Then decide how you want your app to work. For now, I’m only using voice, so I don’t need text messaging. I can always add it in the future if I change my mind.

Creating an app

I need to tell Evolution where my VoiceXML file is at by providing a URL for it. Since I’m going to create a Hello World application and host it on my own server, I’m putting in the URL I intend to use for my VoiceXML file. Again, I can change this later if I decide on a different file name or path.

Creating an app, step 2

After I create my app, I have a new tab at the top of the page that gives me some phone numbers I can use to call my application.

app created

Clicking on that tab reveals a local number, a toll-free number, and numbers to call from Skype, SIP, and iNum providers. I can also add a dedicated local number if I’d like. Since I’m going to test with Skype, I don’t need a local number, but if you’re testing from your phone, grab one.

contact numbers

And that’s it. I now have a VoiceXML browser hooked up to the telephone network that I can use to test my application. In my next post a couple of days from now, I’ll create my first app.

Reblog this post [with Zemanta]


Related posts:

  1. VoiceXML for web developers: Hello World
  2. Processing Input (VoiceXML for Web Developers)
  3. Collecting touch tone input (VoiceXML for Web Developers)
  4. VoiceXML for Web Developers: Collecting Input
  5. VoiceXML Variable Scoping

Tags: , ,


If you found this post interesting or helpful, please consider either subscribing via RSS, becoming a fan on Facebook, or following us on Twitter.


5 Tweets

6 Responses to “VoiceXML for Web developers: Introduction”

  1. voxeo Says:

    VoiceXML for Web developers: Introduction – http://bit.ly/6ucZAf

    This comment was originally posted on Twitter

  2. Voxeo Developers Corner » Blog Archive » VoiceXML for web developers: Hello World Says:

    [...] Voxeo Developers Corner Tips, tricks and tutorials about developing applications on Voxeo platforms « VoiceXML for Web developers: Introduction [...]

  3. akalsey Says:

    New series on @voxeo blog: VoiceXML for web developers. First two posts: http://tr.im/HUby and http://tr.im/HUbx

    This comment was originally posted on Twitter

  4. Voxeo Developers Corner » Blog Archive » VoiceXML for Web Developers: Collecting Input Says:

    [...] If you want to follow along with these examples, you should create a free VoiceXML hosting account in Evolution. Complete instructions were in the first installment of the series. [...]

  5. Voxeo Developers Corner » Processing Input (VoiceXML for Web Developers) Says:

    [...] If you want to follow along with these examples, you should create a free VoiceXML hosting account in Evolution. Complete instructions were in the first installment of the series. [...]

  6. Voxeo Developers Corner » Collecting touch tone input (VoiceXML for Web Developers) Says:

    [...] If you want to follow along with these examples, you should create a free VoiceXML hosting account in Evolution. Complete instructions were in the first installment of the series. [...]

Leave a Reply

Please note: By submitting a comment you agree to comply with our Comment Policy. We welcome all comments, positive or negative, but do reserve the right to remove all or part of blog comments that do not comply with our policy.

Additionally, the first time you leave a comment on this blog, it will be held for moderation. After that first comment has been approved, future comments will be posted without delay.

Additional comments powered by BackType