Benutzeranleitung / Produktwartung 05-2342-002 des Produzenten Intel
Zur Seite of 36
V oice API f or Linu x Demo Guide June 2005 05-2342-00 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 .
Voice API for Linux Demo Guide – June 2005 3 Contents Revision H istory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 About This Publication . . . . . . . . . . . . . . .
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 .
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.
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.
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 .
8 Voice API for Linux Demo Guide — June 2005 Demo Descriptions.
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10 Voice API for Linux Demo Guide — June 2005 System Requireme nts.
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.
12 Voice API for Linux Demo Guide — June 2005 Preparing to Run the Demos.
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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.
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.
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: .
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.
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.
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.
20 Voice API for Linux Demo Guide — June 2005 Running the Demos.
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 . . . . . . . . . . . . .
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 .
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.
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.
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.
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).
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.
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.
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.
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_ er.
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.
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.
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.
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.
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.
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.
Ein wichtiger Punkt beim Kauf des Geräts Intel 05-2342-002 (oder sogar vor seinem Kauf) ist das durchlesen seiner Bedienungsanleitung. Dies sollten wir wegen ein paar einfacher Gründe machen:
Wenn Sie Intel 05-2342-002 noch nicht gekauft haben, ist jetzt ein guter Moment, um sich mit den grundliegenden Daten des Produkts bekannt zu machen. Schauen Sie zuerst die ersten Seiten der Anleitung durch, die Sie oben finden. Dort finden Sie die wichtigsten technischen Daten für Intel 05-2342-002 - auf diese Weise prüfen Sie, ob das Gerät Ihren Wünschen entspricht. Wenn Sie tiefer in die Benutzeranleitung von Intel 05-2342-002 reinschauen, lernen Sie alle zugänglichen Produktfunktionen kennen, sowie erhalten Informationen über die Nutzung. Die Informationen, die Sie über Intel 05-2342-002 erhalten, werden Ihnen bestimmt bei der Kaufentscheidung helfen.
Wenn Sie aber schon Intel 05-2342-002 besitzen, und noch keine Gelegenheit dazu hatten, die Bedienungsanleitung zu lesen, sollten Sie es aufgrund der oben beschriebenen Gründe machen. Sie erfahren dann, ob Sie die zugänglichen Funktionen richtig genutzt haben, aber auch, ob Sie keine Fehler begangen haben, die den Nutzungszeitraum von Intel 05-2342-002 verkürzen könnten.
Jedoch ist die eine der wichtigsten Rollen, die eine Bedienungsanleitung für den Nutzer spielt, die Hilfe bei der Lösung von Problemen mit Intel 05-2342-002. Sie finden dort fast immer Troubleshooting, also die am häufigsten auftauchenden Störungen und Mängel bei Intel 05-2342-002 gemeinsam mit Hinweisen bezüglich der Arten ihrer Lösung. Sogar wenn es Ihnen nicht gelingen sollte das Problem alleine zu bewältigen, die Anleitung zeigt Ihnen die weitere Vorgehensweise – den Kontakt zur Kundenberatung oder dem naheliegenden Service.