INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL® PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY
ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN
INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS
ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES
RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER
INTELLECTUAL PROPERTY RIGHT. Intel products are not intended for use in medical, life saving, or life sustaining applications.
Intel may make changes to specifications and product descriptions at any time, without notice.
This Voice API for Linux Demo Guide as well as the software described in it is furnished under license and may only be used or copied in accordance
with the terms of the license. The information in this manual is furnished for informational use only, is subject to change without notice, and should not
be construed as a commitment by Intel Corporation. Intel Corporation assumes no responsibility or liability for any errors or inaccuracies that may
appear in this document or any software that may be provided in association with this document.
Except as permitted by such license, no part of this document may be reproduced, stored in a retrieval system, or transmitted in any form or by any
means without express written consent of Intel Corporation.
This revision history summarizes the changes made in each published version of this document.
Document No.Publication DateDescription of Revisions
05-2342-002June 2005Demo Descriptions chapter: Added custserv, dpddemo, and d40demo. Also added
information about the d4xtools.c toolkit.
Running the Demos chapter: Added sections for custserv, dpddemo, and d40demo.
Demo Details chapter: Added sections for custserv, dpddemo, and d40demo.
05-2342-001November 2004Initial version of document.
Voice API for Linux Demo Guide — June 20054
About This Publication
The following topics provide information about the Voice API for Linux Demo Guide:
• Purpose
• Applicability
• Intended Audience
• How to Use This Publication
• Related Information
Purpose
This publication describes the voice demonstration programs and provides instructions for running
the demos on the Linux* operating system.
Applicability
This document version (05-2342-002) is published for Intel® Dialogic® System Release 6.1 for
Linux.
This document may also be applicable to later Intel Dialogic system releases on Linux. Check the
Release Guide for your software release to determine whether this document is supported.
Intended Audience
This publication is written for users of the voice demonstration programs which may include the
following:
• Distributors
• System Integrators
• Toolkit Developers
• Independent Software Vendors (ISVs)
• Value Added Resellers (VARs)
• Original Equipment Manufacturers (OEMs)
• End Users
Voice API for Linux Demo Guide — June 20055
About This Publication
How to Use This Publication
This publication assumes that you understand computer telephony terms and concepts, and are
familiar with the Linux operating system and the C programming language.
The information in this guide is organized as follows:
• Chapter 1, “Demo Descriptions” provides a brief overview of the voice demos.
• Chapter 2, “System Requirements” discusses the hardware and software required to run the
demos.
• Chapter 3, “Preparing to Run the Demos” lists the procedures you must follow before running
the demos.
• Chapter 4, “Running the Demos” describes the steps to run the demos, the demo options, and
how to stop the demo.
• Chapter 5, “Demo Details” provides additional information about the demos, such as the files
used by the demos.
Related Information
See the following documents for more information:
• For information about voice library features and guidelines for building applications using
Voice software, see the Voice API Programming Guide.
• For details on all voice functions, parameters, and data structures in the voice library, see the
Voice API Library Reference.
• For information about the SRL and programming models supported, see the Standard Runtime
Library API Programming Guide.
• For information on the system release, system requirements, software and hardware features,
supported hardware, and release documentation, see the Release Guide for your system
release.
• For details on known problems and late-breaking updates or corrections to the release
documentation, see the Release Update. Be sure to check the Release Update for the software
release you are using for any updates or corrections to this publication. Release Updates are
available on the Telecom Support Resources website at
This chapter provides a brief description of the voice demonstration programs.
The following demonstration programs are provided with the voice software. These demos are
supported on Springware boards only.
cbansr
Voice application that uses the asynchronous callback programming model. This demo is statedriven but uses event handlers that can be enabled or disabled for specific events on specific
devices. The demo illustrates the voice recording and playback feature. You can listen to a
prompt, record a message, and play back that message.
pansr
A multithreaded, multi-channel voice application that uses the asynchronous polled
programming model. This demo is state-driven and uses polling to get event information
without the use of event handlers or device handlers. The demo illustrates the voice recording
and playback feature. You can listen to a prompt, record a message, and play back that
message.
custserv
Synchronous mode, customer service application that transfers calls to the proper service
representative based on the caller’s input.
1
dpddemo
A multi-channel voice application that uses the asynchronous polled programming model. The
demo illustrates the voice recording and playback feature. It is similar to the pansr demo, but
can accept both dial pulses and DTMF tones.
d40demo
Synchronous mode, simple order entry application built on a menu system.
The purpose of the demo programs is to show how to use the voice library functions in a voice
application. They provide a framework on which to base your applications; they are not intended to
be used as real voice applications.
Source code and an executable version of the demo programs are provided, as well as a makefile to
compile the source. The source is written in C.
A toolkit of general purpose C routines is also included with the demo programs. This toolkit aids
in the development of voice applications. The toolkit source is contained in d4xtools.c.
Note: The synchronous programming model is not recommended for production applications; however, it
can be used for demo or proof of concept applications. For detailed information on programming
models, including advantages and disadvantages of each model, see the Standard Runtime Library API Programming Guide.
Voice API for Linux Demo Guide — June 20057
Demo Descriptions
8Voice API for Linux Demo Guide — June 2005
2.System Requirements
The requirements for running the voice demos are described in the following sections:
• A Springware board that supports the R4 voice API library installed in a computer system (for
a list of supported Springware boards, see the release guide for the system release)
• A central office simulator OR a connection to a telephone switch or public telephone network
• For boards with a digital network interface, a T1 or an E1 line connected to your system.
• For boards with an analog interface, an analog line such as a connection to a PBX.
• A telephone
For other system configuration requirements, such as memory requirements, see the release guide
for your system release.
2
The following is an example of a hardware setup for use with cbansr or pansr demo:
• One D/41JCT-LS board
• One central office simulator
• One analog phone
Connect the phone to Line 1A of the simulator and connect Line 2 of the simulator to the desired
channel on the back of the board.
2.2Software Requirements
To run a voice demo, you need the Intel® Dialogic® System Release. Be sure to select the package
for Intel Dialogic Boards (Springware boards) when installing the system release. For details on
installing the system release, see the software installation guide for your system release.
For a list of operating system requirements and supported compilers, see the release notes for your
system release.
Voice API for Linux Demo Guide — June 20059
System Requirements
10Voice API for Linux Demo Guide — June 2005
3.Preparing to Run the Demos
This chapter provides information on preparations to follow before running a voice demo.
Before you run a voice demo program, ensure that you have performed the following:
1. Adhered to the hardware and software requirements described in Chapter 2, “System
Requirements”.
2. Installed a Springware board in your computer system. This product should support the R4
API libraries.
3. Started System Services for the board.
4. Connected the board to a central office simulator, telephone switch or the public telephone
network.
5. Installed a telephone extension near your computer through which you can dial extensions
assigned to the board.
3
Voice API for Linux Demo Guide — June 200511
Loading...
+ 25 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.