Manual Intel 05-2342-002

36 pages 0.25 mb
Download

Go to site of 36

Summary
  • Intel 05-2342-002 - page 1

    V oice API f or Linu x Demo Guide June 2005 05-2342-00 2 ...

  • Intel 05-2342-002 - page 2

    Voice API for Linux D emo Guide – June 2005 INFORMA TION IN THIS DO CUMENT IS PRO VIDED IN CONNECTION WITH INTEL® PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED , BY EST OPPEL OR OTHER WISE, TO ANY INTELLECTU AL PROPER TY RIGHTS IS GRANTED BY THIS DOCUMENT . EXCEPT AS PRO VIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, IN TEL ASS ...

  • Intel 05-2342-002 - page 3

    Voice API for Linux Demo Guide – June 2005 3 Contents Revision H istory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 About This Publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Purpose . . . ...

  • Intel 05-2342-002 - page 4

    Voice API for Linux Demo Guide — June 2005 4 Re vision Histor y This re vision history summarizes the changes made in each published vers ion of this document. Document No. Publication Date Description of Revisions 05-2342-002 June 2005 Demo Descriptions chapter : Added custser v , dpddemo , and d4 0demo . Also added information about the d4xtool ...

  • Intel 05-2342-002 - page 5

    Voice API for Linux Demo Guide — June 2005 5 About This Pub lication The following topics provide info rmation about t he V oice API for Linux Demo Guide : • Purpose • Applicability • Intended Audience • How to Use This Publication • Related Information Purpose This publication describes t he voice demonstration programs and provides in ...

  • Intel 05-2342-002 - page 6

    6 Voice API for Linux Demo Guide — June 2005 About This Public ation How to Use This Pub lication This publication assumes that you understand co mputer telephony terms and concept s, and are familiar with the Linux operating system and the C programming languag e. The information in this guide is or ganized as follo ws: • Chapter 1, “Demo De ...

  • Intel 05-2342-002 - page 7

    Voice API for Linux Demo Guide — June 2005 7 1 1 . Demo Descriptions This chapter pro vides a brief descripti on of the voice demonstration programs . The following demonstration programs ar e provid ed with the vo ice software. These demos are supported on Springware boards on ly . cbansr V oice application that uses the asynchronous callback pr ...

  • Intel 05-2342-002 - page 8

    8 Voice API for Linux Demo Guide — June 2005 Demo Descriptions ...

  • Intel 05-2342-002 - page 9

    Voice API for Linux Demo Guide — June 2005 9 2 2 . System Requirements The requirements for runn ing the voice demos are described in the following sections: • Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 • Software Requirements . . . . . . . . . . . . . . . . . . . . ...

  • Intel 05-2342-002 - page 10

    10 Voice API for Linux Demo Guide — June 2005 System Requireme nts ...

  • Intel 05-2342-002 - page 11

    Voice API for Linux Demo Guide — June 2005 11 3 3 . Preparing to Run the Demos This chapter provides in formation on preparations to follow before running a voice demo. Before you run a voice demo prog ram, ensure that you h av e performed the following: 1. Adhered to the hardware and software requirements described in Chapter 2, “System Requir ...

  • Intel 05-2342-002 - page 12

    12 Voice API for Linux Demo Guide — June 2005 Preparing to Run the Demos ...

  • Intel 05-2342-002 - page 13

    Voice API for Linux Demo Guide — June 2005 13 4 4 . Running the Demos This chapter describes how to run the voice demos. T opics include: • Starting the Demo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 • Demo Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Intel 05-2342-002 - page 14

    14 Voice API for Linux Demo Guide — June 2005 Running the Demos 4.1.2 Starting the pansr demo T o run the pansr demo, follo w these instructions: 1. Open a command prompt window and go to the directory where the demo is located. The default location is the /demos/dx_demos/ansr directory under INTEL_DIALOGIC_DIR (the en vironment variable for the ...

  • Intel 05-2342-002 - page 15

    Voice API for Linux Demo Guide — June 2005 15 Running the Demo s Note: On Linux, the demo name is case-sens iti ve and must be entered as shown. The demo option s are described in T able 1, “V oice Demo Options” , on page 15. If you don’t specify an option, defau lt options are assumed. 4.1.5 Star ting the d40demo T o run the d40demo, follo ...

  • Intel 05-2342-002 - page 16

    16 Voice API for Linux Demo Guide — June 2005 Running the Demos Examples T o run the cbansr demo on a D/41JCT -LS board, specify the following: . /cbansr -d1 -n4 -fAnalog T o run the pansr demo on a D/120JCT -LS board using four channels, specify the following: . /pansr -d1 -n4 -fAnalog 4.3 Using the Demo The following topics discuss ho w to run ...

  • Intel 05-2342-002 - page 17

    Voice API for Linux Demo Guide — June 2005 17 Running the Demo s 7. Hang up the teleph one. 8. Press Ctrl-C to terminate the demo. Note: If you do not terminate the demo using Ctrl-C, the driver for the demo does not unload after quitting the program, necessi tating a reboot before another demo can be loaded. 4.3.2 Using the pansr demo The follow ...

  • Intel 05-2342-002 - page 18

    18 Voice API for Linux Demo Guide — June 2005 Running the Demos 5. Press Ctrl-C to term inate the demo. Note: If you do not terminate the demo using Ctrl -C, the dri ver for the demo does not unload after quitting the prog ram, necessitating a reb oot before another demo can be loaded. 4.3.4 Using the dpddemo The following procedure describes the ...

  • Intel 05-2342-002 - page 19

    Voice API for Linux Demo Guide — June 2005 19 Running the Demo s 4.4 Stopping the Demo Press Ctrl-C at any time to e xit a voice demo. All channels and files a r e properly closed by the demo. ...

  • Intel 05-2342-002 - page 20

    20 Voice API for Linux Demo Guide — June 2005 Running the Demos ...

  • Intel 05-2342-002 - page 21

    Voice API for Linux Demo Guide — June 2005 21 5 5 . Demo Details This chapter provides more detail about the voice demos. Y ou do not need this inf ormation to run the demos successfully . • Files Used b y cbansr and pansr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 • Files Used b y custserv . . . ...

  • Intel 05-2342-002 - page 22

    22 Voice API for Linux Demo Guide — June 2005 Demo Details 5.3 Files Used b y dpddemo T able 4 lists the files that are used by the dpddemo. 5.4 Files Used b y d40demo T able 5 lists the files that are used by the d40demo. T able 3. Files U sed by the custs erv File Name Purpose custserv Exec utable file custserv .c Source code custserv .h Header ...

  • Intel 05-2342-002 - page 23

    Voice API for Linux Demo Guide — June 2005 23 Demo Details 5.5 Supplementary Information f or d40demo Supplementary information on the d40demo is giv en in the following topics: • Source Code Overvie w • Global V ariables • Initialization Routine • Menu System Routine • Messaging System Routine 5.5.1 Sour ce Code Over view The source co ...

  • Intel 05-2342-002 - page 24

    24 Voice API for Linux Demo Guide — June 2005 Demo Details Since d40demo is al so a working order entry syst em, the source code contains nonsystem routines that are specific to the or d er entry application. The d40demo .c module contains th e routines that manage a simple database, which are cal led the application specific routines. The d40dem ...

  • Intel 05-2342-002 - page 25

    Voice API for Linux Demo Guide — June 2005 25 Demo Details if (rc = = 0) { close( 0); . . The code that follo ws the close( ) function call w ithin the if statement is only executed in the child process. The parent process f ails the (rc == 0) comparison and loops back to the while statement. When all the ar guments are exhausted, the pare nt pro ...

  • Intel 05-2342-002 - page 26

    26 Voice API for Linux Demo Guide — June 2005 Demo Details When input is recei ved from the cal ler , four things can happen: cont rol is passed to another menu; an action is performed; an action is performed and control is passed to another menu; an error message is played (in v alid input). All menus provide the caller with options. In the exam ...

  • Intel 05-2342-002 - page 27

    Voice API for Linux Demo Guide — June 2005 27 Demo Details that can be used, DL_PREV and DL_CURR. DL _PREV returns the caller to the previous menu, and DL_CURR return s the caller to the current menu. me_validfnc V alidation Functi on - Pointer to the function that validates the caller's response. This function returns a DL_MNUOPTS structure ...

  • Intel 05-2342-002 - page 28

    28 Voice API for Linux Demo Guide — June 2005 Demo Details menu are implemented as a NULL-terminated ar ray of DL_MNUOPTS structures. An array of DL_MNUOPTS structures allows a menu to have an arbitrary amount of options. typedef struct DL_ MNUOPTS { char * mo_rsps tr; /* Respon se string to t his option * / void (*mo_fcnt )(); /* Next f unction ...

  • Intel 05-2342-002 - page 29

    Voice API for Linux Demo Guide — June 2005 29 Demo Details DL_D A T A Data Structure The DL_D A T A structure defines the termination conditions for gett ing the response to the menu options. It holds the values for se veral fields that map to corresponding D V_TPT elem ents used when getting a caller's response. These are used with the gl o ...

  • Intel 05-2342-002 - page 30

    30 Voice API for Linux Demo Guide — June 2005 Demo Details */ rspent ry=(DL_MNUO PTS *)gt_data( digbuf,cur_ menu->me_valid fnc,cur_men u->me_prompt, cur_menu ->me_retry, cur_menu->me_ error,cur_m enu->me_data); /* * E xecute the appropriate ac tions for t he last respon se */ /* I f a functio n is required execute it */ if(rs pentr ...

  • Intel 05-2342-002 - page 31

    Voice API for Linux Demo Guide — June 2005 31 Demo Details menu_engine( ) then transfers control to the next menu indicated in the mo_nxtmenu field. If the v alue of the f ield is NULL, control is passed to the default menu, specified in the me_defmenu field. A v alue of DM_PREV in me_defm enu sets the current menu to be the previous menu, and lo ...

  • Intel 05-2342-002 - page 32

    32 Voice API for Linux Demo Guide — June 2005 Demo Details } /* Not a valid res ponse */ playmsg (retry); } while ( --numretry) ; /* * No val id response within max. # of retries , so call fata l error * handle r for this menu, if any p rovided, an d then hang up and go idl e. */ if (error ) (*erro r)(); longjmp(i dlestate,1) ; /* never gets here ...

  • Intel 05-2342-002 - page 33

    Voice API for Linux Demo Guide — June 2005 33 Demo Details check_term( ) uses ATDX_TERMMSK( ) attribute to check t he termination t ype. If the I/O function was terminated for an y of the cases, the function calls a longjmp( ) and returns to idlestate. If none of th ese terminations occurred, the caller is still on th e line, and the response mus ...

  • Intel 05-2342-002 - page 34

    34 Voice API for Linux Demo Guide — June 2005 Demo Details The message system uses the DL_MSGS and DL_M SGTBL structures to store the information needed for a DX_IOTT structure. The buil dmsg( ) , buildm sg_v( ) , builddate( ) , gt_iott( ) , gt_numiott( ) , gt_groupio tt( ) , and gt_pairiott( ) functions use the message struct ures to build the D ...

  • Intel 05-2342-002 - page 35

    Voice API for Linux Demo Guide — June 2005 35 Inde x A A7 answer.h 21 , 22 asynchronous callback programming model 7 asynchronous polled programming model 7 C cbansr demo command line options 15 description 7 exiting 17 files used 21 , 22 running 16 starting 13 cbansr executable fil e 21 cbansr.c 21 custserv demo description 7 exiting 18 running ...

  • Intel 05-2342-002 - page 36

    36 Voice API for Linux Demo Guide — June 2005 pansr.exe 21 prerequisites fo running the demo 11 prompt.h 22 PROMPT.VOX 23 S software requirements 9 Springware boards 7 stopping a demo 19 system requirements 9 T toolkit 7 d4xtools.c 7 ...

Manufacturer Intel Category Computer Accessories

Documents that we receive from a manufacturer of a Intel 05-2342-002 can be divided into several groups. They are, among others:
- Intel technical drawings
- 05-2342-002 manuals
- Intel product data sheets
- information booklets
- or energy labels Intel 05-2342-002
All of them are important, but the most important information from the point of view of use of the device are in the user manual Intel 05-2342-002.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals Intel 05-2342-002, service manual, brief instructions and user manuals Intel 05-2342-002. Depending on your needs, you should look for the document you need. In our website you can view the most popular manual of the product Intel 05-2342-002.

Similar manuals

A complete manual for the device Intel 05-2342-002, how should it look like?
A manual, also referred to as a user manual, or simply "instructions" is a technical document designed to assist in the use Intel 05-2342-002 by users. Manuals are usually written by a technical writer, but in a language understandable to all users of Intel 05-2342-002.

A complete Intel manual, should contain several basic components. Some of them are less important, such as: cover / title page or copyright page. However, the remaining part should provide us with information that is important from the point of view of the user.

1. Preface and tips on how to use the manual Intel 05-2342-002 - At the beginning of each manual we should find clues about how to use the guidelines. It should include information about the location of the Contents of the Intel 05-2342-002, FAQ or common problems, i.e. places that are most often searched by users in each manual
2. Contents - index of all tips concerning the Intel 05-2342-002, that we can find in the current document
3. Tips how to use the basic functions of the device Intel 05-2342-002 - which should help us in our first steps of using Intel 05-2342-002
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with Intel 05-2342-002
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of Intel 05-2342-002 in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning Intel 05-2342-002?

Use the form below

If you did not solve your problem by using a manual Intel 05-2342-002, ask a question using the form below. If a user had a similar problem with Intel 05-2342-002 it is likely that he will want to share the way to solve it.

Copy the text from the picture

Comments (0)