Intel Voice API 52377002 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Répondeurs Intel Voice API 52377002. Intel Voice API 52377002 User's Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 208
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - Voice API

Voice APIProgramming GuideJune 200505-2377-002

Page 2

10 Voice API Programming Guide – June 2005ContentsTables1 Voice Device Inputs for Event Management Functions . . . . . . . . . . . . . . . . . . . . .

Page 3 - Contents

100 Voice API Programming Guide — June 2005Recording and PlaybackThe pause and resume play feature is not supported on Springware boards.8.11.2 Pause

Page 4

Voice API Programming Guide — June 2005 101Recording and Playback• It does not make sense to use the same DTMF digit as a termination condition on a p

Page 5

102 Voice API Programming Guide — June 2005Recording and Playback8.12.2 Echo Cancellation Resource OperationThe echo canceller accepts two TDM bus inp

Page 6

Voice API Programming Guide — June 2005 103Recording and PlaybackFigure 16. Echo Canceller Operating over a TDM busOnce the ECR feature is enabled on

Page 7

104 Voice API Programming Guide — June 2005Recording and Playback8.12.3 Modes of OperationThe echo cancellation resource feature has two modes of oper

Page 8

Voice API Programming Guide — June 2005 105Recording and PlaybackECR mode is activated using the dx_listenecrex( ) function. For technical information

Page 9

106 Voice API Programming Guide — June 2005Recording and Playback2. Have both MSI/SC stations listen to the ECR transmit of the opposite voice channel

Page 10

Voice API Programming Guide — June 2005 107Recording and Playback /* Open voice board 1 channel 1 device */ if ((chdev1 = dx_open("dxxxB1C1&q

Page 11 - Revision History

108 Voice API Programming Guide — June 2005Recording and Playback scts = ms1txts; /* Have channel 1 listen to station 1's transmit */ if (d

Page 12

Voice API Programming Guide — June 2005 109Recording and Playback exit(1); } if (dx_close(chdev2) == -1) { printf("Error message =

Page 13 - About This Publication

Voice API Programming Guide — June 2005 11Revision HistoryThis revision history summarizes the changes made in each published version of this document

Page 14 - How to Use This Publication

110 Voice API Programming Guide — June 2005Recording and PlaybackFigure 18. An ECR Play Over the TDM bus Example#include <stdio.h> #include <

Page 15 - Related Information

Voice API Programming Guide — June 2005 111Recording and Playback /* Open MSI/SC board 1 station 2 device */ if ((msdev2 = ms_open("msiB1C2&q

Page 16

112 Voice API Programming Guide — June 2005Recording and Playback /* . . Continue . */ /* Then perform xx_unlisten() and dx_unlistenecr(),

Page 17 - Product Description

Voice API Programming Guide — June 2005 11399.Speed and Volume ControlThis chapter describes how to control the speed and volume of play on a channel.

Page 18 - 1.3 Call Progress Analysis

114 Voice API Programming Guide — June 2005Speed and Volume Controldx_addvoldig( ) adds a digit that will modify volume by a specified amountSee the V

Page 19 - 1.6 Play and Record Features

Voice API Programming Guide — June 2005 115Speed and Volume ControlA speed/volume adjustment stays in effect until the next adjustment on that channel

Page 20 - 1.6.5 Streaming to Board

116 Voice API Programming Guide — June 2005Speed and Volume ControlThe default speed modification table is shown in Table 11. Consider the following u

Page 21 - 1.9 R2/MF Signaling

Voice API Programming Guide — June 2005 117Speed and Volume ControlThe default volume modification table is shown in Table 12. Consider the following

Page 22 - 1.10 TDM Bus Routing

118 Voice API Programming Guide — June 2005Speed and Volume Control9.5 Play Adjustment DigitsThe voice software processes play adjustment digits diffe

Page 23 - Programming Models

Voice API Programming Guide — June 2005 119Speed and Volume ControlSee the Voice API Library Reference for more information about these functions and

Page 24

12 Voice API Programming Guide — June 2005Revision History

Page 25 - Device Handling

120 Voice API Programming Guide — June 2005Speed and Volume Control

Page 26

Voice API Programming Guide — June 2005 1211010.Send and Receive FSK DataThis chapter describes the Analog Display Services Interface (ADSI) protocol,

Page 27 - Event Handling

122 Voice API Programming Guide — June 2005Send and Receive FSK Dataacknowledge and the data transmission (and/or reception) will then be initiated. O

Page 28

Voice API Programming Guide — June 2005 123Send and Receive FSK Data10.3 ADSI OperationADSI data is encoded using a standard 1200 baud modem specifica

Page 29 - Error Handling

124 Voice API Programming Guide — June 2005Send and Receive FSK Data10.5 Two-Way ADSITwo-way ADSI includes several enhancements to one-way ADSI, inclu

Page 30

Voice API Programming Guide — June 2005 125Send and Receive FSK Datainformation about two-way FSK transmission, see Telcordia Technologies Special Rep

Page 31 - Guidelines

126 Voice API Programming Guide — June 2005Send and Receive FSK Data10.7.1 Library Support on DM3 BoardsDM3 boards support ADSI one-way, two-way FSK,

Page 32

Voice API Programming Guide — June 2005 127Send and Receive FSK Data10.7.2 Library Support on Springware BoardsSpringware boards support ADSI one-way,

Page 33

128 Voice API Programming Guide — June 2005Send and Receive FSK Data• Implementing Two-Way ADSI Using dx_TxRxIottData( )10.8.1 Technical Overview of O

Page 34

Voice API Programming Guide — June 2005 129Send and Receive FSK Data2. Issue dx_TxIottData( ). To generate an initial CAS to the CPE device, dwTxDataM

Page 35

Voice API Programming Guide — June 2005 13About This PublicationThe following topics provide information about this publication: • Purpose • Applicabi

Page 36 - (Independent Resources)

130 Voice API Programming Guide — June 2005Send and Receive FSK Data10.8.3 Technical Overview of Two-Way ADSI Data TransferIn two-way ADSI data transf

Page 37

Voice API Programming Guide — June 2005 131Send and Receive FSK Data10.8.4 Implementing Two-Way ADSI Using dx_TxIottData( ) The dx_TxIottData( ) funct

Page 38

132 Voice API Programming Guide — June 2005Send and Receive FSK Data10.8.5 Implementing Two-Way ADSI Using dx_TxRxIottData( )After the two-way ADSI tr

Page 39 - 6.4.3 DM3 Media Loads

Voice API Programming Guide — June 2005 133Send and Receive FSK Data8. Issue dx_RxIottData( ) to receive messages from the CPE. This function should b

Page 40

134 Voice API Programming Guide — June 2005Send and Receive FSK DataThe following sample code illustrates the use of the dx_TxIottData( ) function to

Page 41 - 6.5 Using Wink Signaling

Voice API Programming Guide — June 2005 1351111.Caller IDThis chapter provides information on caller ID:• Overview of Caller ID . . . . . . . . . . .

Page 42

136 Voice API Programming Guide — June 2005Caller IDACLIP (Analog Calling Line Identity Presentation)a standard used in Singapore published by the Tel

Page 43 - Call Progress Analysis

Voice API Programming Guide — June 2005 137Caller ID11.3 Accessing Caller ID InformationYou can process caller ID information in your application in t

Page 44

138 Voice API Programming Guide — June 2005Caller ID11.4 Enabling Channels to Use the Caller ID FeatureDuring Intel Dialogic System Service startup, b

Page 45

Voice API Programming Guide — June 2005 139Caller ID• Bellcore specification TR-NWT-000030 (see Telcordia Technologies contact info provided in CLASS)

Page 46

14 Voice API Programming Guide — June 2005About This Publication• Independent Software Vendors (ISVs)• Value Added Resellers (VARs)• Original Equipmen

Page 47

140 Voice API Programming Guide — June 2005Caller ID

Page 48

Voice API Programming Guide — June 2005 1411212.Cached Prompt ManagementThis chapter discusses the cached prompt management feature of the voice libra

Page 49

142 Voice API Programming Guide — June 2005Cached Prompt Management2. Call SRLGetPhysicalBoardName( ) to return the physical board name, which is in t

Page 50 - CR_FAXTONE

Voice API Programming Guide — June 2005 143Cached Prompt Management• If the combined length of data specified in the series of DX_IOTT data structures

Page 51 - 7.5.2 Types of Tones

144 Voice API Programming Guide — June 2005Cached Prompt Management12.3 Cached Prompt Management Example CodeThis example code illustrates one way to

Page 52 - 7.5.3 Ringback Detection

Voice API Programming Guide — June 2005 145Cached Prompt Managementdevh[i] = dx_open(&szBoardName[offset],0);}//Step 4 Download the prompts to a b

Page 53 - 7.5.6 SIT Frequency Detection

146 Voice API Programming Guide — June 2005Cached Prompt Managementtpt.tp_flags = TF_MAXDTMF;/* Open VOX file to play -- Linux only */ if ((fd = open(

Page 54

Voice API Programming Guide — June 2005 1471313.Global Tone Detection and Generation, and Cadenced Tone GenerationThis chapter discusses global tone d

Page 55

148 Voice API Programming Guide — June 2005Global Tone Detection and Generation, and Cadenced Tone GenerationDTMF set (0-9, a-d, *, and #), and the st

Page 56 - DM3 Boards

Voice API Programming Guide — June 2005 149Global Tone Detection and Generation, and Cadenced Tone Generation• cadence components Adding a tone templa

Page 57 - Definitions on DM3 Boards

Voice API Programming Guide — June 2005 15About This Publication• Chapter 15, “R2/MF Signaling” describes the R2/MF signaling protocol, the API functi

Page 58

150 Voice API Programming Guide — June 2005Global Tone Detection and Generation, and Cadenced Tone GenerationTips and Hints for Building Tone Template

Page 59

Voice API Programming Guide — June 2005 151Global Tone Detection and Generation, and Cadenced Tone Generationdx_deltones( ) Removes all tone templates

Page 60

152 Voice API Programming Guide — June 2005Global Tone Detection and Generation, and Cadenced Tone Generation13.1.7 Setting GTD Tones as Termination C

Page 61

Voice API Programming Guide — June 2005 153Global Tone Detection and Generation, and Cadenced Tone Generationdeviation of each of the two tones minus

Page 62

154 Voice API Programming Guide — June 2005Global Tone Detection and Generation, and Cadenced Tone Generationanalysis creates 8 GTD tones; this uses 1

Page 63

Voice API Programming Guide — June 2005 155Global Tone Detection and Generation, and Cadenced Tone Generation13.1.11 Global Tone Detection Application

Page 64 - CR_NOANS

156 Voice API Programming Guide — June 2005Global Tone Detection and Generation, and Cadenced Tone Generation• Duration of tone The functions and data

Page 65 - Springware Boards

Voice API Programming Guide — June 2005 157Global Tone Detection and Generation, and Cadenced Tone Generation13.3 Cadenced Tone GenerationThe followin

Page 66 - 7.11.2 Types of Tones

158 Voice API Programming Guide — June 2005Global Tone Detection and Generation, and Cadenced Tone Generationb. Use the dx_bldtngen( ) function to spe

Page 67 - 7.11.4 Ringback Detection

Voice API Programming Guide — June 2005 159Global Tone Detection and Generation, and Cadenced Tone GenerationFigure 19. Example of Custom Cadenced Ton

Page 68 - 7.11.7 Loop Current Detection

16 Voice API Programming Guide — June 2005About This Publication

Page 69

160 Voice API Programming Guide — June 2005Global Tone Detection and Generation, and Cadenced Tone Generation13.3.3 How To Generate a Non-Cadenced Ton

Page 70

Voice API Programming Guide — June 2005 161Global Tone Detection and Generation, and Cadenced Tone Generation13.3.6 Predefined Set of Standard PBX Cal

Page 71

162 Voice API Programming Guide — June 2005Global Tone Detection and Generation, and Cadenced Tone GenerationTable 19. Standard PBX Call Progress Sign

Page 72

Voice API Programming Guide — June 2005 163Global Tone Detection and Generation, and Cadenced Tone GenerationFigure 20. Standard PBX Call Progress Sig

Page 73 - 7.15.1 Tri-Tone SIT Sequences

164 Voice API Programming Guide — June 2005Global Tone Detection and Generation, and Cadenced Tone GenerationFigure 21. Standard PBX Call Progress Sig

Page 74 - Second Tone

Voice API Programming Guide — June 2005 165Global Tone Detection and Generation, and Cadenced Tone GenerationTable 20. TN_GENCAD Definitions for Stand

Page 75 - Third Tone

166 Voice API Programming Guide — June 2005Global Tone Detection and Generation, and Cadenced Tone Generation13.3.7 Important Considerations for Using

Page 76

Voice API Programming Guide — June 2005 167Global Tone Detection and Generation, and Cadenced Tone Generation• To generate a continuous, non-cadenced

Page 77

168 Voice API Programming Guide — June 2005Global Tone Detection and Generation, and Cadenced Tone Generation

Page 78 - (Springware Only)

Voice API Programming Guide — June 2005 1691414.Global Dial Pulse DetectionGlobal dial pulse detection (global DPD) is a signaling component of the vo

Page 79 - 7.16.3 Elements of a Cadence

Voice API Programming Guide — June 2005 1711.Product DescriptionThis chapter provides information on key voice library features and capability. The fo

Page 80

170 Voice API Programming Guide — June 2005Global Dial Pulse Detection• The application can enable global DPD and volume control. (Previously, there w

Page 81 - • No Answer

Voice API Programming Guide — June 2005 171Global Dial Pulse DetectionGlobal DPD must be implemented on a call-by-call basis. Global DPD uses the dx_s

Page 82

172 Voice API Programming Guide — June 2005Global Dial Pulse Detection14.6 Retrieving Digits as EventsTo get the digits as events, use the following a

Page 83

Voice API Programming Guide — June 2005 173Global Dial Pulse Detection14.9 Global DPD Programming ProcedureUse the following procedure to implement gl

Page 84

174 Voice API Programming Guide — June 2005Global Dial Pulse Detection /* enable DPD and DTMF digits */ dx_setdigtyp(dev, D_DPDZ|D_DTMF); /*

Page 85

Voice API Programming Guide — June 2005 1751515.R2/MF SignalingThis chapter provides a description of R2/MF signaling protocol. The following topics a

Page 86

176 Voice API Programming Guide — June 2005R2/MF SignalingR2/MF signals that are used for supervisory signaling on the network are called line signals

Page 87

Voice API Programming Guide — June 2005 177R2/MF Signaling15.4 R2/MF Signal MeaningsThere are two groups of meanings associated with each set of signa

Page 88 - 8.3 Play and Record Functions

178 Voice API Programming Guide — June 2005R2/MF SignalingFigure 23. Multiple Meanings for R2/MF Signals In general, Group I forward signals and Group

Page 89 - 8.5 Voice Encoding Methods

Voice API Programming Guide — June 2005 179R2/MF SignalingThe incoming register backward signals can request:• Transmission of address – Send next dig

Page 90

18 Voice API Programming Guide — June 2005Product DescriptionIn addition to original Springware products (also known as earlier-generation products),

Page 91 - 8.6 G.726 Voice Coder

180 Voice API Programming Guide — June 2005R2/MF SignalingTable 24. Meanings for R2/MF Group I Forward SignalsTone NumberIntel Define (A) Primary Mean

Page 92 - 8.7 Transaction Record

Voice API Programming Guide — June 2005 181R2/MF SignalingTable 25. Meanings for R2/MF Group II Forward SignalsTone NumberIntel Define Meaning1 SIGII_

Page 93 - 8.8 Silence Compressed Record

182 Voice API Programming Guide — June 2005R2/MF SignalingTable 26. Meanings for R2/MF Group A Backward Signals Tone NumberIntel Define Meaning1 SIGA_

Page 94

Voice API Programming Guide — June 2005 183R2/MF Signaling15.5 R2/MF Compelled SignalingR2/MF interregister signaling uses forward and backward compel

Page 95 - 8.9.1 Overview

184 Voice API Programming Guide — June 2005R2/MF Signaling• As soon as the CO recognizes the CPE acknowledging signal, it stops sending the forward si

Page 96 - 8.9.2 Enabling

Voice API Programming Guide — June 2005 185R2/MF SignalingFigure 25. Example of R2/MF Signals for 4-digit DDI Application15.6 R2/MF Voice Library Func

Page 97 - 8.10 Streaming to Board

186 Voice API Programming Guide — June 2005R2/MF SignalingFour sets of defines are provided to specify the 15 Group I and 15 Group II forward signals,

Page 98

Voice API Programming Guide 1871616.Syntellect License Automated AttendantThis chapter discusses Intel® hardware and software that include a license f

Page 99 - 8.11 Pause and Resume Play

188 Voice API Programming GuideSyntellect License Automated Attendant– receives digit input and transfers the call to the proper extension• the source

Page 100

Voice API Programming Guide — June 2005 1891717.Building ApplicationsThis chapter provides information on building applications using the voice librar

Page 101

Voice API Programming Guide — June 2005 19Product DescriptionSee Chapter 13, “Global Tone Detection and Generation, and Cadenced Tone Generation” for

Page 102

190 Voice API Programming Guide — June 2005Building Applications17.2 Compiling and LinkingThe following topics discuss compiling and linking requireme

Page 103

Voice API Programming Guide — June 2005 191Building Applicationslibsrl.so Standard Runtime Library file. Specify -lsrl in makefile. If you use curses,

Page 104 - 8.12.3 Modes of Operation

192 Voice API Programming Guide — June 2005Building Applications

Page 105

Voice API Programming Guide — June 2005 571GlossaryA-law: Pulse Code Modulation (PCM) algorithm used in digitizing telephone audio signals in E1 areas

Page 106

572 Voice API Programming Guide — June 2005board locator technology (BLT): Operates in conjunction with a rotary switch to determine and set non-confl

Page 107 - Recording and Playback

Voice API Programming Guide — June 2005 573network. Computer telephony technology supports applications such as: automatic call processing; automatic

Page 108

574 Voice API Programming Guide — June 2005download: The process where board level program instructions and routines are loaded during board initializ

Page 109

Voice API Programming Guide — June 2005 575G.726: An international standard for encoding 8 kHz sampled audio signals for transmission over 16, 24, 32

Page 110

576 Voice API Programming Guide — June 2005on-hook: Condition or state of a telephone line when a handset on the line is returned to its cradle (or an

Page 111

Voice API Programming Guide — June 2005 577silence threshold: The level that sets whether incoming data to the voice board is recognized as silence or

Page 112

Voice API Programming Guide – June 2005INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL® PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY

Page 113 - Speed and Volume Control

20 Voice API Programming Guide — June 2005Product Description1.6.1 Play and Record FunctionsThe voice library includes several functions and data stru

Page 114

578 Voice API Programming Guide — June 2005TDM bus: Time division multiplexing bus. A resource sharing bus such as the SCbus or CT Bus that allows inf

Page 115

Voice API Programming Guide — June 2005 201IndexAAdaptive Differential Pulse Code Modulation (ADPCM) 91address signals, R2/MF signaling 175ADPCM, G.72

Page 116

202 Voice API Programming Guide — June 2005call status transitionevent handlingasynchronous 151synchronous 151call waiting tone 162caller IDaccessing

Page 117

Voice API Programming Guide — June 2005 203dx_blddtcad( ) 149dx_bldst( ) 149dx_bldstcad( ) 149dx_bldtngen( ) 156DX_CAP data structure 48, 61, 70clear

Page 118 - 9.5 Play Adjustment Digits

204 Voice API Programming Guide — June 2005ETSI-FSK channel parameters 126ETSI-FSK specification 125event handling 27event management functions 27exe

Page 119

Voice API Programming Guide — June 2005 205libsrl.so 190libsrlmt.lib 191line signals, R2/MF signaling 176linear PCM 90, 91linkinglibrary files 190, 1

Page 120

206 Voice API Programming Guide — June 2005routing configuration (fixed/flexible)overview 35run-time linking 191Sshort message service (SMS) 121, 125

Page 121 - Send and Receive FSK Data

Voice API Programming Guide — June 2005 207TID_SIT_ANY 52TID_SIT_IC 52TID_SIT_INEFFECTIVE_OTHER 52TID_SIT_IO 52TID_SIT_NC 52TID_SIT_NC_INTERLATA 52TI

Page 122 - 10.2 ADSI Protocol

208 Voice API Programming Guide — June 2005

Page 123 - 10.3 ADSI Operation

Voice API Programming Guide — June 2005 21Product Description1.6.6 Echo Cancellation ResourceThe echo cancellation resource (ECR) feature enables a vo

Page 124 - 10.5 Two-Way ADSI

22 Voice API Programming Guide — June 2005Product Description1.10 TDM Bus RoutingA time division multiplexing (TDM) bus is a technique for transmittin

Page 125

Voice API Programming Guide — June 2005 2322.Programming ModelsThis chapter briefly discusses the Standard Runtime Library and supported programming m

Page 126

24 Voice API Programming Guide — June 2005Programming ModelsSynchronous programming models allow you to scale an application by simply instantiating m

Page 127

Voice API Programming Guide — June 2005 2533.Device HandlingThis chapter describes the concept of a voice device and how voice devices are named and u

Page 128

26 Voice API Programming Guide — June 2005Device HandlingFor example, a D/240JCT-T1 board employs 24 voice channels; the software therefore divides th

Page 129

Voice API Programming Guide — June 2005 2744.Event HandlingThis chapter provides information on functions used to retrieve and handle events. Topics i

Page 130

28 Voice API Programming Guide — June 2005Event HandlingEach of the event management functions applicable to the voice boards are listed in the follow

Page 131

Voice API Programming Guide — June 2005 2955.Error HandlingThis chapter discusses how to handle errors that can occur when running an application. All

Page 132 - • Set wType to DT_ADSI

Voice API Programming Guide – June 2005 3ContentsRevision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 133

30 Voice API Programming Guide — June 2005Error Handling

Page 134

Voice API Programming Guide — June 2005 3166.Application Development GuidelinesThis chapter provides programming guidelines and techniques for develop

Page 135 - Caller ID

32 Voice API Programming Guide — June 2005Application Development Guidelines6.1.2 Setting Termination Conditions for I/O FunctionsWhen an I/O function

Page 136 - ** Multiple Data Message

Voice API Programming Guide — June 2005 33Application Development Guidelinesspecified in the tp_flags field of the DV_TPT. When this termination condi

Page 137

34 Voice API Programming Guide — June 2005Application Development Guidelinesspecific digit received (DX_DIGMASK)Digits received during an I/O function

Page 138 - 11.5 Error Handling

Voice API Programming Guide — June 2005 35Application Development GuidelinesTo specify an additional timeout if subsequent digits are not received, us

Page 139

36 Voice API Programming Guide — June 2005Application Development Guidelinesdevices is predefined and static. The resource device also does not have a

Page 140

Voice API Programming Guide — June 2005 37Application Development Guidelines6.3 Fixed Routing Configuration RestrictionsFlexible routing configuration

Page 141 - Cached Prompt Management

38 Voice API Programming Guide — June 2005Application Development Guidelines• Device Initialization Hint• TDM Bus Time Slot Considerations• Tone Detec

Page 142 - 12.2.4 Recovering from Errors

Voice API Programming Guide — June 2005 39Application Development Guidelines6.4.3 DM3 Media LoadsDifferent configurations for DM3 products are support

Page 143

4 Voice API Programming Guide – June 2005Contents6.1 General Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 144 - brdstrlen;

40 Voice API Programming Guide — June 2005Application Development GuidelinesWith some applications, this may cause slow device-initialization performa

Page 145

Voice API Programming Guide — June 2005 41Application Development Guidelineshttp://resource.intel.com/telecom/support/tnotes/gentnote/dl_soft/tn253.ht

Page 146

42 Voice API Programming Guide — June 2005Application Development Guidelinesduration = the value entered x 10 msecThe syntax of the function is:int du

Page 147 - Generation

Voice API Programming Guide — June 2005 4377.Call Progress AnalysisThis chapter provides detailed information about the call progress analysis feature

Page 148

44 Voice API Programming Guide — June 2005Call Progress AnalysisThere are two forms of call progress analysis: PerfectCall call progress analysis Als

Page 149 - API Library Functions

Voice API Programming Guide — June 2005 45Call Progress Analysis• positive answering machine detection (post-connect part of call progress analysis)•

Page 150

46 Voice API Programming Guide — June 2005Call Progress AnalysisFigure 3. PerfectCall Call Progress Analysis Components 7.4 Using Call Progress Analys

Page 151 - 13.1.6 Retrieving Tone Events

Voice API Programming Guide — June 2005 47Call Progress AnalysisTable 4 provides information on call progress analysis scenarios supported with the dx

Page 152 - 13.1.9 Estimating Memory

48 Voice API Programming Guide — June 2005Call Progress Analysis7.4.3 Setting Up Call Progress Analysis Parameters in DX_CAPThe call progress analysis

Page 153

Voice API Programming Guide — June 2005 49Call Progress AnalysisNotes: 1. On DM3 boards, dx_dial( ) cannot be used to start an outbound call; instead

Page 154

Voice API Programming Guide – June 2005 5Contents7.10 Using Call Progress Analysis on Springware Boards . . . . . . . . . . . . . . . . . . . . . . .

Page 155 - 13.2.1 Using GTG

50 Voice API Programming Guide — June 2005Call Progress AnalysisFigure 4. Call Outcomes for Call Progress Analysis (DM3)7.4.6 Obtaining Additional Cal

Page 156 - 13.2.2 GTG Functions

Voice API Programming Guide — June 2005 51Call Progress Analysis7.5 Call Progress Analysis Tone Detection on DM3 BoardsThe following topics discuss to

Page 157 - 13.3 Cadenced Tone Generation

52 Voice API Programming Guide — June 2005Call Progress AnalysisTID_RNGBK2 Ringback (detected as dual tone)TID_SIT_ANY Catch all (returned for a Speci

Page 158

Voice API Programming Guide — June 2005 53Call Progress AnalysisTo enable ringback detection, turn on SIT frequency detection in the DX_CAP ca_intflg

Page 159

54 Voice API Programming Guide — June 2005Call Progress AnalysisTable 5 shows default tone definitions for SIT sequences used on DM3 boards. The value

Page 160

Voice API Programming Guide — June 2005 55Call Progress Analysis7.6 Media Tone Detection on DM3 BoardsMedia tone detection in call progress analysis i

Page 161

56 Voice API Programming Guide — June 2005Call Progress Analysisdetects live voice as accurately as PAMD_FULL but is more accurate than PAMD_FULL (alt

Page 162

Voice API Programming Guide — June 2005 57Call Progress Analysis7.8 Modifying Default Call Progress Analysis Tone Definitions on DM3 BoardsOn DM3 boar

Page 163

58 Voice API Programming Guide — June 2005Call Progress Analysisdx_deletetone( ) deletes a specific call progress tone dx_createtone( ) creates a new

Page 164

Voice API Programming Guide — June 2005 59Call Progress AnalysisTONE_DATA.numofseg Specifies the number of segments for a multi-segment tone. 7.8.3 Ru

Page 165

6 Voice API Programming Guide – June 2005Contents8.9.2 Enabling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 166

60 Voice API Programming Guide — June 2005Call Progress AnalysisConsider the following guidelines when creating a single tone proxy:• It is recommende

Page 167

Voice API Programming Guide — June 2005 61Call Progress Analysis• Determining the Outcome of a Call• Obtaining Additional Call Outcome Information7.10

Page 168

62 Voice API Programming Guide — June 2005Call Progress Analysis• DX_PAMDENABLE. Enables PAMD, PVD, and fax tone detection.• DX_PAMDOPTEN. Enables PAM

Page 169 - Global Dial Pulse Detection

Voice API Programming Guide — June 2005 63Call Progress Analysis7.10.5 Determining the Outcome of a CallIn asynchronous mode, once dx_dial( ) with cal

Page 170 - 14.3 Enabling Global DPD

64 Voice API Programming Guide — June 2005Call Progress AnalysisFigure 5. Call Outcomes for Call Progress Analysis (Springware)7.10.6 Obtaining Additi

Page 171

Voice API Programming Guide — June 2005 65Call Progress AnalysisATDX_FRQDUR3( ) Returns duration of third frequency detected. ATDX_FRQHZ( ) Returns fr

Page 172

66 Voice API Programming Guide — June 2005Call Progress Analysis7.11.1 Tone Detection OverviewPerfectCall call progress analysis uses a combination of

Page 173 - 14.10 Global DPD Example Code

Voice API Programming Guide — June 2005 67Call Progress Analysis7.11.3 Dial Tone DetectionWherever call progress analysis is in effect, a dial string

Page 174

68 Voice API Programming Guide — June 2005Call Progress AnalysisThe following DX_CAP fields govern ringback behavior: ca_stdely Start Delay: the dela

Page 175 - R2/MF Signaling

Voice API Programming Guide — June 2005 69Call Progress AnalysisSome telephone systems return a momentary drop in loop current when a connection has b

Page 176

Voice API Programming Guide – June 2005 7Contents11.4 Enabling Channels to Use the Caller ID Feature. . . . . . . . . . . . . . . . . . . . . . . . .

Page 177 - 15.4 R2/MF Signal Meanings

70 Voice API Programming Guide — June 2005Call Progress Analysis7.12.1 Positive Voice Detection (PVD)Positive voice detection (PVD) can detect when a

Page 178

Voice API Programming Guide — June 2005 71Call Progress Analysisca_pamd_qtemp PAMD Qualification Template: the algorithm to use in PAMD. At present t

Page 179

72 Voice API Programming Guide — June 2005Call Progress AnalysisThe voice driver contains default definitions for each of these tones. The default def

Page 180

Voice API Programming Guide — June 2005 73Call Progress Analysis7.15.1 Tri-Tone SIT SequencesSIT frequency detection operates simultaneously with all

Page 181

74 Voice API Programming Guide — June 2005Call Progress Analysis3. After a SIT sequence is detected, ATDX_CPTERM( ) will return CR_CEPT to indicate an

Page 182

Voice API Programming Guide — June 2005 75Call Progress Analysisca_lower2frq Lower bound for second tone in Hz. Default: 0. ca_upper2frq Upper bound f

Page 183

76 Voice API Programming Guide — June 2005Call Progress AnalysisATDX_FRQDUR2( ) Duration of the tone detected in the tone detection range specified by

Page 184

Voice API Programming Guide — June 2005 77Call Progress Analysis7.15.6 Setting Single Tone Frequency Detection ParametersThe information in this secti

Page 185

78 Voice API Programming Guide — June 2005Call Progress Analysis7.16 Cadence Detection in Basic Call Progress Analysis (Springware Only)Cadence detect

Page 186 - Requirements

Voice API Programming Guide — June 2005 79Call Progress AnalysisFigure 6. A Standard Busy SignalFigure 7. A Standard Single RingFigure 8. A Type of Do

Page 187 - Attendant

8 Voice API Programming Guide – June 2005Contents15 R2/MF Signaling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 188

80 Voice API Programming Guide — June 2005Call Progress AnalysisFigure 9. Cadence DetectionOnce the cadence is established, the cadence values can be

Page 189 - Building Applications

Voice API Programming Guide — June 2005 81Call Progress Analysis7.16.4 Outcomes of Cadence DetectionCadence detection can identify the following condi

Page 190 - 17.2 Compiling and Linking

82 Voice API Programming Guide — June 2005Call Progress Analysis7.16.5 Setting Selected Cadence Detection ParametersOnly the most commonly adjusted ca

Page 191 - 17.2.3 Run-time Linking

Voice API Programming Guide — June 2005 83Call Progress AnalysisFigure 11. No Ringback Due to Continuous No Signal If the length of any period of nons

Page 192

84 Voice API Programming Guide — June 2005Call Progress Analysisca_nsbusyNonsilence Busy: the number of nonsilence periods in addition to ca_nbrdna to

Page 193 - Glossary

Voice API Programming Guide — June 2005 85Call Progress AnalysisCadence detection will measure the length of the salutation when the ca_hedge (hello e

Page 194

86 Voice API Programming Guide — June 2005Call Progress AnalysisAfter call progress analysis is complete, call ATDX_ANSRSIZ( ). If the return value is

Page 195

Voice API Programming Guide — June 2005 8788.Recording and PlaybackThis chapter discusses playback and recording features supported by the voice libra

Page 196

88 Voice API Programming Guide — June 2005Recording and Playback8.2 Digital Recording and PlaybackIn digital speech recording, the voice board convert

Page 197

Voice API Programming Guide — June 2005 89Recording and Playbackentry for that file. Using dx_playf( ) is more convenient for a single file playback b

Page 198

Voice API Programming Guide – June 2005 9ContentsFigures1 Cluster Configurations for Fixed and Flexible Routing . . . . . . . . . . . . . . . . . . .

Page 199

90 Voice API Programming Guide — June 2005Recording and PlaybackNote: On DM3 boards, not all voice coders are available on all boards. The availabilit

Page 200

Voice API Programming Guide — June 2005 91Recording and PlaybackNote: On Springware boards, voice coders listed here are not available in all situatio

Page 201

92 Voice API Programming Guide — June 2005Recording and Playback• Subsequent pairs of the code words are packed in the same way into successive octets

Page 202

Voice API Programming Guide — June 2005 93Recording and PlaybackOn Springware boards on Linux, use the following functions for transaction record: dx_

Page 203

94 Voice API Programming Guide — June 2005Recording and Playbackwith SCR. For more information on modifying SCR parameters, see the Configuration Guid

Page 204

Voice API Programming Guide — June 2005 95Recording and Playback• G.711 PCM, 6 kHz with 8-bit samples (48 kbps) and 8 kHz with 8-bit samples (64 kbps)

Page 205

96 Voice API Programming Guide — June 2005Recording and Playback8.9.2 EnablingThe modes related to the voice activity detector are specified in the mo

Page 206

Voice API Programming Guide — June 2005 97Recording and Playback• G.726 bit-exact voice coder at 8 kHz with 2-, 3-, 4-, or 5-bit samples (16, 24, 32,

Page 207

98 Voice API Programming Guide — June 2005Recording and Playback8.10.3 Implementing Streaming to BoardPerform the following steps to implement streami

Page 208

Voice API Programming Guide — June 2005 99Recording and Playback• Recommendation for the high water mark: it should be based on the following:(size of

Commentaires sur ces manuels

Pas de commentaire