Adding VoiceXML to Our .NET Wireless Repertoire

At Interknowlogy, we're completing an end-to-end wireless arsenal that consists of some of the best and most preferred devices on the market, including Palm Pilots, Blackberry devices, Pocket PCs, Window CE devices, cell phones, and—for those occasions when wireless connectivity isn't available—regular old telephones. Just about everyone at InterKnowlogy has a handheld gadget with some sort of wireless capability, and that probably motivated us as we worked through the various phases of this project. Today, I'll give you a quick rundown of what we're doing.

We have an internal Web application called CRM Central, which we developed for our sales team. CRM Central lets you enter new contacts, leads, and proposals, and also lets you update status information. Initially, you had to be inhouse to use this application. In the next phase, we made CRM Central accessible from the Web, which of course lets users access it from anywhere. In the end, we developed software for each technology I mentioned earlier, including a version that incorporates VoiceXML—which added to the robustness because now we truly can access the application from anywhere.

VoiceXML, in short, lets you access a Web site and its services via a telephone. VoiceXML consists of prompts that guide you through the Web site, letting you interact through speech recognition and speech synthesis. You can fill out forms that consist of input boxes, run queries, perform searches, and read dynamic content. Visit the World Wide Web Consortium's (W3C's) Web site to get the latest information about VoiceXML and where it's going. You can also visit the Tellme Networks site and build your first VoiceXML application using Tellme's online studio and tools.

Here's a sample of some basic VoiceXML:

<!DOCTYPE vxml PUBLIC "-//Tellme Networks//Voice Markup Language 1.0//EN"
"http://resources.tellme.com/toolbox/vxml-tellme.dtd">

<vxml>
<meta name="scoping" content="new"/>

<form id="proposal">
<var name="empid" />
<block>
      <audio>Welcome to InterKnowlogy's voice c r m Central system</audio>
      <pause>100</pause>
</block>
<field name="action">
      <grammar>
            <!\[CDATA\[
             \[
                  \[dtmf-0 done end finished stop\] \{<option "done">\}
                  TM_SPEECH_DigitString
             \]
             \]\]>
            </grammar>
            <prompt>
               <audio>Please say your employee i  d?</audio>
         </prompt>
         <nomatch>
                <audio>Sorry, I didn't understand</audio>
         <reprompt/>
         </nomatch>
         <noinput>
           <audio>Sorry, I didn't hear you</audio>
                 <reprompt/>
         </noinput>
         <default/>
</field>
<filled>
        <audio> You said </audio>
        <audio expr="action"/>
</filled>
</form>
</vxml>

In the April 17 issue, I'll provide more code examples that return dynamic queries via voice input. Also, I'll explain how I inserted and updated records in a SQL Server 2000 database using VoiceXML. In addition, I'll show you how you can combine this technology with Active Server Pages (ASP) using VBScript and JavaScript.

Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottOur Experts will show you:
• Common SQL Server
Problems
• Best Practices for T-SQL
• SQL Server Integration
Services
• Database Development

Come See Mike Otey & Tim Ford in Person!

Early Registration Now Open

From the Blogs
May 9, 2013
blog

My ISO 8601-Compliant Signature 2

My family recently just "officially" announced that we're in the process of adopting a child from South Africa. We're quite excited, of course, but there's a ton of paperwork to do—along with the need for gobs of signatures....More
May 8, 2013
blog

Use SSIS for ETL from Hadoop

In this blog post, Mark Kromer walks you through using SSIS as a way to use ETL techniques using Microsoft's Hadoop on Windows (HDInsight) as a source using Hive connectors...More
Vision road sign
May 6, 2013
blog

Cheaters Never Win, Even in TPC Benchmarks

In this portion of the series on database benchmarking, I want to tell you about one of my favorite aspects of the TPC benchmarks – CHEATING....More
SQL Server Pro Forums

Get answers to questions, share tips, and engage with the SQL Server community in our Forums.