Home > Articles

This chapter is from the book

Web-Based Environment

The last type of development environment we will describe is Web-based. Web-based tools and sites are a little difficult to describe, kind of like an online Integrated Development Environment (IDE).

This kind of environment is especially interesting to us as new VoiceXML developers due to its ease of installation, minimal configuration, and, for now anyway, low cost (in most cases free with registration in an online developers' community).

Though we will discuss some of the basics of using these tools, they are remote and likely to change. The only official versions are on the Web, and changes are difficult to predict.

For ease of setting up and price, Web-based tools are hard to beat. If you select this route, you will be faster getting into the business of developing VoiceXML than any other approach—just register for one of the developer programs, and you will be writing and running VoiceXML in a few minutes.

In addition to the provisioning tools we used to map a telephone number to our application and run our VoiceXML code earlier in this chapter, Web-based VoiceXML toolkits may include some or all the following tools:

  • Code validator—This tool checks the syntax of your VoiceXML code and reports errors. This may be part of a larger text editor or may be a standalone tool you paste your code into for a quick check.

  • Log viewer—Lets you examine the log that results from your code being run on the VSP's VoiceXML gateway. The log contains detailed information about your application, including errors, variable evaluation, program control flow, HTTP header data, speech recognition status, and others. Logs may be viewed dynamically as an application runs or stored and retrieved from previous application runs.

  • Text interface—Provides a text interface in place of the actual voice interface. Using a text interface, when your application prompts you for information, you can enter your input at the keyboard. Though this is far removed from the experience your actual users will have, it is useful for certain debugging situations and almost essential when using a Web-based toolkit via a dialup modem.

  • Support—By joining a VSP's developers program, you can use its technical support, including documentation about how to use the toolkit itself. In addition, standard information such as the VoiceXML specification is often provided in better organized formats than a single, large PDF document. Most important are documents that describe in detail what VoiceXML elements and attributes are supported, which audio formats the VSP prefers, programmer FAQs, newsgroups, tutorials, and other useful information.

The next section of this chapter examines some of the features of different Web-based toolkits available. We will look at some of the sites we are already familiar with for their work as VSPs. These Web-based development environments include a variety of tools, but there are some common ones that we will discuss before looking at each VSP's environment individually.

BeVocal Café

You can find BeVocal Café at (cafe.bevocal.com). Its File Management provisioning interface, shown earlier in the chapter, also supports uploading your application to its Web server in addition to linking to your application URL as we did.

Additionally, Café has a code validator called VoiceXML Checker, log viewer called Log Browser, text interface called Vocal Scripter, and support. You select individual tools from the navigation menu on the left side of the screen; the tool itself is in the main frame.

Café's code validator, VoiceXML Checker, is quick and reports line number of errors.

The log viewer, Log Browser, reports trace messages from a number of sources, including

  • General flow trace
  • Custom message
  • Event trace
  • Parser
  • Field fill trace
  • Platform
  • Variables trace
  • Recognition info
  • Error message
  • HTTP header info

The log color codes trace messages according to the previous categories for easy scanning of the log during debugging. You can filter log entries by selecting the types of trace messages you want to see and deselecting ones in which you are uninterested.

Café's text interface is called Vocal Scripter. Besides just letting you interact with your applications using a text interface, Vocal Scripter has an interesting feature that lets you work in "bulk" mode, supplying a file that includes multiple responses to your application's prompts for a given scenario. This is a great feature for regression testing and takes some of the monotony out of other kinds testing as well.

In addition to the sorts of tools already discussed, BeVocal provides a Port Estimator for determining the number of ports needed to support your application. You tell the estimator how your application will be used, such as call arrival rate and call duration, and the estimator tells you how many callers would be turned away for a range of port numbers.

Café includes good support, including documentation, newsgroups, a FAQ, links, and release notes.

HeyAnita FreeSpeech

Earlier we described how to use HeyAnita's FreeSpeech VoiceXML IDE (available from freespeech.heyanita.com) to link to your application's URL and run your VoiceXML code.

The IDE also supports a RapidApp method of coding, where you enter your code into the text screen, and the code is stored on HeyAnita's Web server (see Figure 3.7). Enter code in the screen and click the Update button, and you can test your code immediately. This is helpful for learning and trying one-document applications.

You can also upload multipage documents to HeyAnita's servers by using the FileApp tab. This lets you upload all your VoiceXML and supporting files, such as recorded audio and grammars, rather than hosting the files on your own Web server.

Figure 3.7 After logging in, HeyAnita's FreeSpeech displays the VoiceXML IDE defaulting to the RapidApp tab.

HeyAnita's code validator is integrated in all the places where you can direct the gateway _to VoiceXML code in the VoiceXML IDE. You can run the validator by clicking the Check Syntax button when you update code in the RapidApp screen, when you select files to upload to HeyAnita servers, and when you enter your application's URL in the URLApp tab.

To access HeyAnita's log viewer, click the Debug Log button from the RapidApp, URLApp, or FileApp tab.

HeyAnita does not currently support a text interface.

In addition to the standard tools we have discussed, FreeSpeech also includes two interesting grammar tools, Grammar IDE and Grammar Wizard. The Grammar Wizard simplifies the task of writing grammars, especially when you are beginning to work with them, by taking you through a few input screens and generating a grammar. You enter the name and purpose of the grammar, and then supply the individual grammar entries. After you have created a couple and become more familiar, you may choose to create grammars in an editor more quickly.

The Grammar IDE is useful for writing grammars for larger applications. Using this tool, you can check the syntax of grammars without the overhead of your application.

Tellme Studio

Tellme Studio is available at studio.tellme.com. Besides its Application URL tab for linking to your application, Studio also has a Scratchpad (see Figure 3.8) for running one-page VoiceXML documents. Here, you can enter VoiceXML code directly into the editor, click the Update button, and immediately call Tellme to run the code.

Figure 3.8 Tellme's MyStudio opens to the Scratchpad where you can run one-page VoiceXML documents.

Studio's code validator, text interface, log viewer, and other tools are integrated into the Scratchpad and Application URL tabs. From those screens, you can invoke these tools from a row of buttons beneath the tabs. The tools accessible here are

  • Debug Log (log viewer)
  • Check Syntax (code validator)
  • Grammar Tools
  • VoiceXML Terminal (text interface)
  • Record By Phone

Tellme Studio's Debug Log presents five main types of trace messages:

  • General Flow Trace
  • Event Trace
  • Field Fill Trace
  • Variables Trace
  • Errors and custom messages

Log messages are color coded and can by filtered by type.

The code validator, whose detailed results are accessed by clicking the Check Syntax button, simply checks your code and reports errors and line numbers. The validator is invoked when you update the Scratchpad or Application URL screens.

Using the VoiceXML Terminal you can interact with your application and respond to text prompts on the terminal with text input.

In addition to standard Web-based features, Studio has Record By Phone and Grammar Tools. Record By Phone allows you to call Tellme and record a message. The audio file is then e-mailed to you attached as a file.

Grammar Tools includes several useful tools for building grammars. The Grammar Tools IDE is similar to the VoiceXML interface, with grammar-specific menu buttons for

  • Scratchpad—The default grammar tab, this screen allows you to enter a grammar in the text window and click the Check Grammar button to validate the grammar code you entered.

  • Grammar URL—Performs grammar validation on grammars located on your Web server.

  • Parse—Allows you to enter phrases and find out how they will be recognized using the last grammar you validated.

  • Generate—Displays all the phrases your last validated grammar can recognize or a random sample of recognizable phrases.

  • DTMF—Generates the DTMF sequences for a word or comma-separated list of words.

Tellme support includes reusable source code modules and documentation in addition to its Web-based IDE and standard support methods, such as a FAQ, newsgroups, and release notes. Very useful are Tellme's libraries of audio files and grammars.

VoiceGenie Developer Workshop

VoiceGenie Developer Workshop is available from developer.voicegenie.com. The welcome screen to VoiceGenie's Developer Workshop introduces the main navigation screen in the left frame (see Figure 3.9). The main frame gives high-level descriptions and links to the environment, support, and developer resources.

Earlier we described how to use the Manage Extensions screen in VoiceGenie's Developer Workshop to provision your application's URL.

Figure 3.9 VoiceGenie's Developer Workshop opens with descriptions of the major tools and resources, and the standard navigation menu.

Developer Workshop's code validator is called VoiceXML Validator. The validator does not have a text entry window; instead, you either enter the URL of the file or select a file on your PC to be validated. The validator not only checks your code but also displays your application visually in the form of a flow diagram.

The log viewer for Developer Workshop is Call Log Explorer. Using this tool, you can browse previous call logs by time and access detailed information about a particular log.

VoiceGenie takes a different approach in its text interface, GenieTracer, a text-based VoiceXML interpreter useful for developing your applications locally or offline. It accepts either an URL or local file and allows you to interact with the application both in batch and interactive modes. GenieTracer is available for download from the Developer Workshop site. This tool is currently a beta release but looks promising for those simulating their applications offline.

In addition to the expected development tools, VoiceGenie Developer Workshop offers an Audio Converter and Record By Phone. Audio Converter converts your audio files to the Dialogic Vox format supported by VoiceGenie's platform. You can record audio files by calling the Record by Phone tool, which e-mails you the final recorded file in Vox format.

Developer Workshop has a range of support and resources including sample code, tutorials, white papers, developer forums, links, and a FAQ.

Voxeo Community

Earlier we walked through the steps of provisioning an application at Voxeo using the Account Manager (available from community.voxeo.com). The Voxeo IDE does not support uploading your code to its Web servers.

Voxeo's log viewer is accessed through Logging in the Account menu. The log displays trace messages.

Voxeo Community offers no text interface.

Support and documentation are at the Voxeo Community site. Resources include tutorials, sample code, newsgroups, and a library of recorded audio files.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020