Manuel d’utilisation Intel 05-2342-002

36 pages 0.25 mb
Télécharger

Aller à la page 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 ...

Fabricant Intel Catégorie Computer Accessories

Les documents que nous recevons du fabricant de l'appareilIntel 05-2342-002 peuvent être divisés en plusieurs groupes. Ceux-ci sont, entre autres:
- dessins techniques Intel
- manuels d’utilisations 05-2342-002
- fiches produit Intel
- dépliants
- ou étiquettes-énergie Intel 05-2342-002
Tous sont importants, mais les informations les plus importantes du point de vue de l'utilisation de l'appareil se trouvent dans le manuel d’utilisation Intel 05-2342-002.

Un groupe de documents appelé manuels d’utilisation est également divisé en types plus spécifiques, tels que: Manuels d’installation Intel 05-2342-002, manuels d’entretien, brefs manuels ou manuels de l’utilisateur Intel 05-2342-002. Selon vos besoins, vous devriez chercher le document dont vous avez besoin. Sur notre site, vous pouvez voir le manuel le plus populaire d’utilisation du produit Intel 05-2342-002.

Manuels d’utilsiation similaires

Manuel d’utilisation complet de l’appareil Intel 05-2342-002, quelle devrait-elle être?
Le manuel d’utilisation, également appelé le mode d’emploi, ou tout simplement le manuel, est un document technique destiné à aider à utiliser Intel 05-2342-002 par les utilisateurs. Des manuels sont généralement écrits par un rédacteur technique, mais dans un langage accessible à tous les utilisateurs Intel 05-2342-002.

Le manuel d’utilisation complet Intel, devrait inclure plusieurs éléments de base. Certains d'entre eux sont moins importants, tels que: la couverture / page de titre ou pages d'auteur. Cependant, la partie restante, devrait nous fournir des informations importantes du point de vue de l'utilisateur.

1. Introduction et des conseils sur la façon d'utiliser le manuel Intel 05-2342-002 - Au début de chaque manuel, nous devrions trouver des indices sur la façon d'utiliser le document. Il doit contenir des informations sur l'emplacement de la table des matières Intel 05-2342-002, FAQ ou des problèmes les plus fréquents - les points qui sont les plus souvent recherchés par les utilisateurs de chaque manuel
2. Table des matières - index de tous les conseils pour lIntel 05-2342-002 qui peuvent être trouvés dans le document courant
3. Conseils sur la façon d'utiliser les fonctions de base de l’appareil Intel 05-2342-002 - qui devraient nous aider dans les premières étapes lors de l'utilisation Intel 05-2342-002
4. Troubleshooting - séquence systématique des activités qui nous aideront à diagnostiquer et ensuite résoudre les principaux problèmes de Intel 05-2342-002
5. FAQ - questions fréquemment posées
6. Détails du contact Informations sur l'endroit où chercher le contact avec le fabricant / service Intel 05-2342-002 dans un pays donné, si le problème ne peut être résolu par nous-mêmes.

Avez-vous une question à propos de Intel 05-2342-002?

Utiliser le formulaire ci-dessous

Si vous n’avez pas résolu votre problème avec Intel 05-2342-002, avec l'aide du manuel que vous avez trouvé, posez une question en utilisant le formulaire ci-dessous. Si un utilisateur a eu un problème similaire avec Intel 05-2342-002 il est probable qu’il a envie de partager la façon de le résoudre.

Réécrire le texte de l'image

Commentaires (0)