(Page 1 of 1 in this chapter)


A

A bit 28, 116
aborting record operation with DTMF 172, 283
access, callback routine 156, 170, 173
adapttime 288
addaemon 21
address, of caller 264
address, of incoming call 254
ADI 301
ADI__FMT_WORD 72
ADI_A_BIT 28, 165, 166
ADI_ANSW_xxx 245
ADI_B_BIT 28, 165, 166
ADI_C_BIT 28, 165, 166
ADI_CALL_STATUS 53, 260, 264
ADI_CALL_STATUScall control
call status 54
ADI_CALLCTL_PARMS 30, 147, 161, 285
ADI_CALLPROG_PARMS 99, 135, 224, 268, 278
ADI_CC_BLOCK_xxx 245
ADI_CC_ERR_xxx 245
ADI_CC_OOS_xxx 245
ADI_CC_STATE_ANSWERING 27
ADI_CC_STATE_BLOCKING 30
ADI_CC_STATE_CONNECTED 26
ADI_CC_STATE_CONNECTED2 132
ADI_CC_STATE_DISCONNECTED 26
ADI_CC_STATE_INCOMING 27
ADI_CC_STATE_PLACING_CALL2 132
ADI_CCDBG_xxx 245
ADI_CLEARDOWN_PARMS 163, 286
ADI_COLLECT_PARMS 35, 37, 270
ADI_COMPATLEVEL 86
ADI_CON_CED 100
ADI_CON_DIALTONE_DETECTED 101
ADI_CON_ON_ANSWER 26
ADI_CON_PROCEEDING 101
ADI_CON_RING_QUIT 101
ADI_CON_SIGNAL 101
ADI_CON_SIT_DETECTED 101
ADI_CON_TIMEOUT 101
ADI_CON_VOICE_BEGIN 101
ADI_CON_VOICE_END 101
ADI_CON_VOICE_EXTENDED 101
ADI_CON_VOICE_LONG 101
ADI_CON_VOICE_MEDIUM 101
ADI_CON_xxx 245
ADI_CONTEXT_INFO 57, 58
ADI_D_BIT 28, 165, 166
ADI_DIAL_PARMS 140, 162, 272, 286
ADI_DID_PARMS 159, 253, 292
ADI_DIGIT_ANY 271
ADI_DIGIT_x 37
ADI_DIGIT_xx 271
ADI_DIS_BUSY_DETECTED 102
ADI_DIS_CED 102
ADI_DIS_DIALTONE_DETECTED 102
ADI_DIS_NO_DIALTONE 102
ADI_DIS_NO_WINK 102
ADI_DIS_REMOTE_ABANDONED 26
ADI_DIS_REMOTE_NOANSWER 102
ADI_DIS_REORDER_DETECTED 102
ADI_DIS_RING_QUIT 102
ADI_DIS_SIT_DETECTED 102
ADI_DIS_TIMEOUT 102
ADI_DIS_xxx 245
ADI_DTMF_PARMS 144, 273
ADI_DTMFDET_PARMS 288
ADI_DTMFDETECT_PARMS 146, 162, 274
ADI_EAM_PARMS 159
ADI_ECHOCANCEL_PARMS 163, 288
ADI_EEPROM_DATA 62
ADI_ENCODE_G726 307
ADI_ENCODE_xxx 64
ADI_ENERGY_PARMS 148, 275
ADI_ERR_xxx 245
ADI_EVENT 238
ADI_EVENT_ID 41
ADI_FDI_PARMS 256, 294
ADI_FMT_DWORD 72
ADI_FMT_INT16 72
ADI_FMT_INT32 72
ADI_FMT_STRING 72
ADI_FSKRECEIVE_PARMS 167, 276
ADI_FSKSEND_PARMS 176, 277
ADI_FULL_DUPLEX 95
ADI_GST_PARMS 257, 296
ADI_LPS_PARMS 159, 260
ADI_LST_PARMS 299
ADI_MF_CCITT_BACKWARD 150
ADI_MF_CCITT_FORWARD 150
ADI_MF_US 150
ADI_MFC_PARMS 159
ADI_OGT_PARMS 159, 262, 301
ADI_PARM_INFO 71
ADI_PLACECALL_PARMS 106, 224, 278
ADI_PLAY_LAST_BUFFER 110, 156, 218, 219, 236
ADI_PLAY_PARMS 113, 153, 155, 281
ADI_PLAY_STATUS 78, 79
ADI_REASON_BAD_STOP_BIT 168
ADI_REASON_DROP_IN_DATA 168
ADI_REASON_xxx 246
ADI_RECORD_BUFFER_REQ 222
ADI_RECORD_PARMS 118, 123, 171, 282
ADI_RECORD_STATUS 81, 82
ADI_REJ_PLAY_BUSY 129
ADI_REJ_PLAY_REORDER 129
ADI_REJ_PLAY_RINGTONE 129
ADI_REJ_USER_AUDIO 129
ADI_REJ_xxx 245
ADI_REV_INFO 86
ADI_SIGNAL_DUPLEX 95
ADI_SIGNAL_INPUT 95
ADI_SIGNAL_OUTPUT 95
ADI_START_PARMS 159, 160, 285
ADI_TIMESLOT 51
ADI_TONE_PARMS 189, 191, 289
ADI_TONEDETECT_PARMS 185, 290
ADI_UNITS_COUNT 73
ADI_UNITS_DB 73
ADI_UNITS_DBM 73
ADI_UNITS_HZ 73
ADI_UNITS_IDU 73
ADI_UNITS_INTEGER 73
ADI_UNITS_INTERNAL 73
ADI_UNITS_MASK 73
ADI_UNITS_MS 73
ADI_UNITS_PERCENT 73
ADI_UNITS_STRING 73
ADI_VOICE_DUPLEX 95
ADI_VOICE_INPUT 95
ADI_VOICE_OUTPUT 95
ADI_WNK_PARMS 159, 264, 302
ADI_XFER_ALERTING 224
ADI_XFER_PROCEEDING 224
adiAnswerCall 13, 26
adiAssertSignal 20, 28, 166
adiBlockCalls 13, 30
adiCloseDriver 11, 32
adiClosePort 11, 33
adiCollectDigits 16, 35, 270
adiConfigParm 21, 39
ADIERR_ 21
ADIERR_CANNOT_CREATE_CHANNEL 95, 231, 236
ADIERR_INVALID_CALL_STATE 231, 236
ADIERR_INVALID_QUEUEID 231, 236
ADIERR_NO_DSP_PORT 231, 236
ADIERR_PLAYREC_ACCESS 173, 231, 236
ADIERR_TOO_MANY_BUFFERS 231, 236
ADIERR_UNKNOWN_BOARDTYPE 231, 236
ADIEVN_ANSWERING_CALL 240
ADIEVN_BOARD_ERROR 240
ADIEVN_BOARD_EVENT 240
ADIEVN_CALL_CONNECTED 240
ADIEVN_CALL_DISCONNECTED 26, 130, 240
ADIEVN_CALL_PROCEEDING 240
ADIEVN_CALL_RELEASED 240
ADIEVN_CALL2_CONNECTED 240
ADIEVN_CALL2_DISCONNECTED 240
ADIEVN_CALLS_BLOCKED 30, 240
ADIEVN_CALLS_UNBLOCKED 240
ADIEVN_CLOSEPORT_DONE 33, 240
ADIEVN_COLLECTION_DONE 36, 195, 240
ADIEVN_CP_BUSYTONE 136, 240
ADIEVN_CP_CED 136, 240
ADIEVN_CP_DIALTONE 136, 240
ADIEVN_CP_DONE 136, 193, 240
ADIEVN_CP_NOANSWER 136, 240
ADIEVN_CP_RINGQUIT 137, 240
ADIEVN_CP_RINGTONE 137, 240
ADIEVN_CP_RORDTONE 137, 240
ADIEVN_CP_SIT 240
ADIEVN_CP_VOICE 137, 240
ADIEVN_DIAL_DONE 141, 196, 240
ADIEVN_DIGIT_BEGIN 147, 240
ADIEVN_DIGIT_END 147, 240
ADIEVN_DTMF_DETECT_DONE 144, 147, 198, 240
ADIEVN_ENERGY_DETECT_DONE 148, 149, 200, 240
ADIEVN_ENERGY_DETECTED 240
ADIEVN_FSK_RECEIVE_DONE 167, 207, 240
ADIEVN_FSK_SEND_DONE 176, 209, 240
ADIEVN_IN_SERVICE 241
ADIEVN_INCOMING_CALL 27, 160, 241
ADIEVN_MF_DETECT_DONE 150, 202, 241
ADIEVN_MF_DIGIT_BEGIN 241
ADIEVN_MF_DIGIT_END 241
ADIEVN_MFDIGIT_BEGIN 151
ADIEVN_MFDIGIT_END 151
ADIEVN_OPENPORT_DONE 33, 96, 241
ADIEVN_OUT_OF_SERVICE 241
ADIEVN_PLACING_CALL 241
ADIEVN_PLACING_CALL2 241
ADIEVN_PLAY_BUFFER_REQ 110, 219, 241
ADIEVN_PLAY_DONE 110, 114, 154, 204, 219, 241
ADIEVN_PROTOCOL_ERROR 160, 241
ADIEVN_PROTOCOL_EVENT 160, 164, 241
ADIEVN_PULSE_DONE 165, 241
ADIEVN_QUERY_SIGNAL_DONE 116, 241
ADIEVN_RECORD_BUFFER_FULL 121, 222, 241
ADIEVN_RECORD_DONE 120, 173, 208, 222, 241
ADIEVN_RECORD_STARTED 241
ADIEVN_RECORDING_DONE 124, 171
ADIEVN_REJECTING_CALL 27, 241
ADIEVN_REMOTE_ALERTING 241
ADIEVN_REMOTE_ANSWERED 241
ADIEVN_SEIZURE_DETECTED 241
ADIEVN_SEQUENCE_ERROR 241
ADIEVN_SIGNAL_DETECT_DONE 180, 210, 241
ADIEVN_SIGNALBIT_CHANGED 180, 241
ADIEVN_SILENCE_DETECTED 241
ADIEVN_STARTPROTOCOL_DONE 160, 164, 241
ADIEVN_STOPPROTOCOL_DONE 205, 241
ADIEVN_TIMER_DONE 183, 212, 241
ADIEVN_TIMER_TICK 183, 241
ADIEVN_TONE_n_DETECT_DONE 186, 214
ADIEVN_TONE_xxx events 241
ADIEVN_TONES_DONE 144, 190, 216
adiFetchAndProcess 11, 41
adiFlushDigitQueue 16, 45
adiGetAGMessage 310, 311
adiGetBoardInfo 22, 47
adiGetBoardSlots 22, 50
adiGetCallStatus 13, 53, 254, 264
adiGetContextInfo 22, 57
adiGetDigit 16, 60
adiGetEEPromData 22, 62
adiGetEncodingInfo 15, 64
adiGetErrorText 21, 66
adiGetEventText 22, 68
adiGetParmByName 21, 69
adiGetParmInfo 21, 71
adiGetParms 21, 76
adiGetPlayStatus 15, 78
adiGetRecordStatus 15, 81
adiGetTimeStamp 22, 84
adiGetVersion 22, 86
adiLoopbackEvent 22, 88
adiModifyPlayGain 15, 89
adiModifyPlaySpeed 15, 92
adiOpenDriver 11, 93
adiOpenPort 11
adiPeekDigit 16, 98
adiPlaceCall 13, 99, 278
adiPlaceSecondCall 13, 106, 132, 278
adiPlayAsync 14, 109, 281
adiPlayFromMemory 14, 113, 281
adiQuerySignalState 20, 116
adiRecordAsync 14, 118, 282
adiRecordToMemory 14, 123, 282
adiRejectCall 13, 128
adiReleaseCall 13, 130
adiReleaseSecondCall 13, 132
adiRetractAGBuffer 310, 313
adiSendAGMessage 310, 314
adiSetErrorHandler 21, 133
adiStartCallProgress 18, 135, 268, 306
adiStartDial 20, 140, 272, 307
adiStartDTMF 16, 144, 273, 307
adiStartDTMFDetector 146, 274
adiStartEnergyDetector 18, 148, 275, 306
adiStartMFDetector 150, 307
adiStartPlaying 14, 153, 281
adiStartProtocol 11, 159, 251, 285, 307
adiStartPulse 20, 165
adiStartReceivingFSK 19, 167, 276, 306
adiStartRecording 14, 170, 282
adiStartSendingFSK 19, 176, 277, 306
adiStartSignalDetector 20, 179
adiStartTimer 20, 183
adiStartToneDetector 18, 185, 290, 306
adiStartTones 16, 189, 289, 307
adiStopCallProgress 18, 193
adiStopCollection 16, 195
adiStopDial 20, 196
adiStopDTMFDetector 198
adiStopEnergyDetector 18, 200
adiStopMFDetector 202
adiStopPlaying 14, 204
adiStopProtocol 11, 205
adiStopReceivingFSK 19, 207
adiStopRecording 14, 208
adiStopSendingFSK 19, 209
adiStopSignalDetector 20, 210
adiStopTimer 20, 212
adiStopToneDetector 18, 214
adiStopTones 16, 216
adiSubmitPlayBuffer 15, 110, 218
adiSubmitRecordBuffer 15, 121, 221
adiTransferCall 13, 224, 278
adiUnBlockCalls 227
adiUnblockCalls 13
administrative events 244
ADSI (Analog Display Services Interface) 19
adsir.dsp 299, 306
adsix.dsp 306
AG board 58
board error 231
eeprom data 62
error resetting 232
error sending to 232
events 244
get message directly 310
getting information about 22, 47
initialization 251
insufficient memory 233
invalid board 232
send message directly 310
timeslot configuration 50
unknown type 231
AG driver 11
closing 32
open failed 232
opening 93
ag.cfg 251, 306
AGC, parameters 282
AGCattacktime 282
AGCdecaytime 282
AGCenable 282
AGCsilenceampl 282
AGCtargetampl 282
agmon 11, 95, 251, 306
a-law 306, 307
ampl1 273, 289
ampl2 273, 289
ANI 254, 264
answering a call 13, 26, 240
application timer 20
argument, bad value 231
asychronous functions 230
asychronous play operation 109
asynchronous digit collection 195
asynchronous functions 232
asynchronous record operation 118
asynchronous transfer 14, 15
attenuation 155
autostop 149, 275

B

B bit 28, 116
bad size error 231
bandw1 286
bandw2 286
baudrate 276, 277
beepampl 282
beepfreq 282
beeptime 282
blocking calls 13, 30, 227, 240
blockmode 30, 285
breaktime 272, 286
buffer
bad size 231
last for play 219
low-level 310
management for asynchronous data transfer 15
request for play 219
request for record 222
submitting for play operation 218
submitting for record operation 221
too many 231
busy tone, detected 136
busycount 268, 278
busyofftime 292, 294, 302
busyontime 292, 302

C

C bit 28, 116
call connected
CED 100
dial tone 101
event 240
forced 101
ring quit 101
SIT 101
timeout 101
voice event 101
call control 13
answering a call 26, 240
blocking calls 30, 240
dialing without 140
disconnecting 102
events 245
low-level events 247
null protocol 251
parameters for TCP 285
placing 100, 102, 278
placing calls,second 106
placing second call 278
rejecting 128
rejecting a call 26
releasing 130, 132
transferring 224
transferring a call 278, 300
unblocking 227
with NOCC protocol 20
call disconnect
busy 102
CED 102
dial tone 102
event 240
no answer 102
no dial tone 102
reorder 102
ring quit 102
SIT tone 102
state 26
timeout 102
call proceeding, event 240
call progress analysis 18, 135
busy tone 136
CED tone 136
dial tone 136
done 136
events 240, 246
no answer 136
parameters 268, 278
reorder tone 137
ring tone 137
stopping 193
voice event 137
call released,event 240
call state, invalid 231, 233
call status 53
call, placing 99
callback routine
error 231
for data transfer 14
for play operation 153
for record operation 170, 173
calledaddr 264
caller ID 19, 53, 306
message formats 260
with DID 254
with loop-start 260
with wink-start 264
calling ID 254
callp.dsp 306
cancelling echoes 17
CED tone 100, 102
detected 136
changes, in signal bits 180
channel, creating 231
cidsupport 260, 296, 299
cleardown 286
cleardown detection, improving 17
cleardownflag 296, 299
closing a port 33
code example 4
codes
error 66
event 68
collecting digits 35, 45, 60, 195, 232
collecting digts 270
columnfour 274, 288
comma 103, 142, 145
compatibility, of library 86
configuring parameters 39
Connected state 26, 100, 279
connectmask 279
context
definition 2
getting information about 22
information about 57
context handle 2
context handle, invalid 232
CTA_REASON_DIGIT 154
CTA_REASON_NO_VOICE 172, 283
CTA_REASON_RECOGNITION 154
CTA_REASON_RELEASED 130
CTA_REASON_VOICE_END 172, 284
CTAERR_ 21
CTAERR_BAD_ARGUMENT 231, 234
CTAERR_BAD_SIZE 231, 234
CTAERR_BOARD_ERROR 231, 234
CTAERR_DRIVER_OPEN_FAILED 93, 232, 235
CTAERR_DRIVER_RECEIVE_FAILED 232, 235
CTAERR_DRIVER_SEND_FAILED 232, 235
CTAERR_DRIVER_VERSION 232, 235
CTAERR_FATAL 232, 234
CTAERR_FUNCTION_ACTIVE 232, 235
CTAERR_FUNCTION_NOT_ACTIVE 232, 235
CTAERR_FUNCTION_NOT_AVAIL 232, 235
CTAERR_INVALID_BOARD 96, 232, 235
CTAERR_INVALID_CTAHD 232, 234
CTAERR_INVALID_SEQUENCE 233, 235
CTAERR_INVALID_STATE 233, 234
CTAERR_LOCK_TIMEOUT 233, 236
CTAERR_NOT_FOUND 233, 234
CTAERR_NOT_IMPLEMENTED 233, 234
CTAERR_OUT_OF_MEMORY 93, 96, 233, 234
CTAERR_OUT_OF_RESOURCES 233, 234
CTAERR_OUTPUT_ACTIVE 233, 236
CTAERR_RESOURCE_CONFLICT 171
CTAERR_SHAREMEM_ACCESS 233, 235
ctahd 2, 11, 239
cut-through 17

D

D bit 28, 116
data encoding 64
data structure 4
data transfer modes 14
data type 4
debugmask 160, 285
decimal listing of events 242
defaulttone 292, 294, 302
deglitch 275
detecting
cleardown, parameters 286
DTMF 146, 274, 306
energy 18, 148, 247, 275, 306
MF 307
out-of-band signaling,stopping 210
precise tones 141, 185, 258, 261
ring 307
signal 116
silence 306
specific tones 18
tones 247, 290, 306
detectmode 292, 294, 302
Developer Support 6
dial tone 101, 102
detected 136
none 102
wait for 103
dialing
DSP files required 141
parameters 272, 286
required DSP file 307
special characters 103, 142
starting 140
stopping 196
switch to DTMF 145
switch to MF 142, 145
switch to pulse 142
switching to DTMF 142
without call control 141
dialtonemintime 258, 261, 296, 299
dialtonewait 272, 286
dialtonewaittime 296, 299
DID
caller ID 254
parameters 253
DID0 250, 253, 292
DID1 292
digits
collecting 16, 35, 45, 60, 195, 232, 270
for MF tones 151
mapping to MF tones 142
reading 98
digitstr 103, 142
direct inward dial, protocol 253
disconnect 130
busy 102
CED 102
dial tone 102
no answer 102
no dial tone 102
reorder 102
ring quit 102
SIT tone 102
timeout 102
disconnect, remote 26
Disconnected state 102, 280
disconnectmask 280
DNIS 264
DONE events 230, 239
ADIEVN_CLOSEPORT_DONE 33
ADIEVN_COLLECTION_DONE 36, 195
ADIEVN_CP_DONE 136, 193
ADIEVN_DIAL_DONE 141, 196
ADIEVN_DTMF_DETECT_DONE 144, 198
ADIEVN_ENERGY_DETECT_DONE 148, 200
ADIEVN_FSK_RECEIVE_DONE 167, 207
ADIEVN_FSK_SEND_DONE 176, 209
ADIEVN_MF_DETECT_DONE 150, 202
ADIEVN_OPENPORT_DONE 96
ADIEVN_PLAY_DONE 110, 114, 154, 204, 219
ADIEVN_PULSE_DONE 165
ADIEVN_QUERY_SIGNAL_DONE 116
ADIEVN_RECORD_DONE 120, 124, 171, 208, 222
ADIEVN_SIGNAL_DETECT_DONE 180, 210
ADIEVN_STARTPROTOCOL_DONE 160
ADIEVN_STOPPROTOCOL_DONE 205
ADIEVN_TIMER_DONE 183, 212
ADIEVN_TONE_n__DONE 214
ADIEVN_TONE_n_DETECT_DONE 186
ADIEVN_TONES_DONE 144, 190, 216
driver, AG
closing 32
ID, invalid 231
opening 93
droptime 276
DSP files
adsir.dsp 306
a-law 306
for call progress detection 306
for caller ID 299, 306
for caller ID with loop-start 260
for detecting DTMF 147
for detecting MF 150
for detecting tones 186
for dialing 141
for DTMF detection 306
for DTMF generation 144
for echo cancellation 306, 307
for energy detection 148
for FSK reception 168
for G726 encoding 307
for generating tones 190, 307
for MF 307
for MF generation 144
for NMS ADPCM encoding 307, 308
for OKI encoding 307
for out-of-band pulse 165
for out-of-band signal detection 180
for play operation 307
for pulse functions 307
for record operation 307
for ring detection 307
for sending FSK 177, 306
for signaling 307
for tone detection 306
for WAVE formats 308
mu-law 306
not loaded 232
required 307
required to play encodings 111, 114, 155
required to record encodings 120, 125, 172
dtmf.dsp 306
DTMFabort 155, 172, 281, 283
dtmfampl1 272, 286
dtmfampl2 272, 286
dtmfdet 288
dtmfe.dsp 306
dtmfofftime 272, 287
dtmfontime 272, 287
DTMFs 142
aborting play operation 281
collecting 16
detecting 146, 274
DSP file 306
during conversation state 141
events 246
generating 16, 141, 144
improving detection 17
parameters 273, 288
parameters for dialing 272
required DSP file 307
stopping detection 198
switch to dialing 103
to abort recording 283

E

echo cancellation 17, 288, 306, 307
echo.dsp 307
echocancel 288
eeprom data 22, 62
Ellipses 4
encoding 64
for play operation 111, 114
for record operation 120, 125
NMS ADPCM 307, 308
energy detection 18, 247, 275
starting 148
stopping 200
error code 4
errors 21
about 230
handling 133
in alphabetical order 231
on AG board 231
ordered by hex value 234
text of 66
establishing calls
inbound 13
outbound 13, 99
second 106
eventmask 285
events
administrative 244
call control 245
call progress analysis 246
DONE 230, 239
DTMF 246
energy detection 247
fields 239
ID field 239
in numerical order 242
looping back 88
low-level call control 247
MF 246
none in driver queue 232
ordered alphabetically 240
play operation 245
pointer to buffer 239
pre-built 88
processing 41, 68
record operation 245
retrieval failed 232
size field 239
structure 238
timestamp 84
tone detection 247
user-specified ID 95
value field 239

F

failure, to open port 96
fax tone 100, 102
FDI, parameters 255
FDI0 250, 294
Feature Group D
parameters 255, 294
fields in event structure 239
file name 4
filterlength 288
firsttimeout 270
flash hook 103, 142
flashing 141
flashtime 272, 287
flushing digit queue 45, 232
frame, of data 64
freq1 286, 289
freq2 286, 289
freqdeglitchtime 296, 299
freqringhigh 296, 299
freqringlow 296, 299
freqringperiods 296, 299
freqtolerance 296, 299
frequencies, for MF tones 151
FSK
receiving 167, 276
sending 176, 277, 306
stop receiving 207
stop sending 209
function 3
function name 4
function not active 232

G

g726p.dsp 307
g726r.dsp 307
gain 155, 172, 281, 283, 288
modifying during play operation 89
valid range 89
generating tones 189, 273, 289, 307
generating tones, stopping 216
getting call status 13
ground-start protocol 257
parameters 296
release guard 258
GST8 250, 257, 296
GST9 250, 257, 296

H

handling errors 133
hex listing of events 242

I

ID
in event structure 95, 239
invalid 231
specified by user for events 95
incoming call 13, 26, 27, 128
information, about context 57
initializing AG board 251
initializing port, failure 96
initiating dialing 140
insufficient memory 233
internal digit queue 45, 60, 98
interpulse 272, 287
interringmaxtime 296, 299
intertimeout 270
invalid argument 231
invalid board 232
invalid call state 231, 233
invalid context handle 232
invalid sequence 233
iterations 289

K

KP 142, 152, 292, 294, 301, 302
KP2 142, 152

L

leakagetime 138, 268, 278
level 277
library versioin 86
loading TCP 251
longpause 272, 273, 287
loop-start protocol 259
caller ID 260
parameters 299
release guard 261
low-level call control 20
LPS0 250, 259, 299
LPS8 250, 259, 299
LPS9 250, 259, 299

M

maketime 272, 287
marktime 277
maxbusy 278
maxdigits 35
maxofftime 286
maxontime 286
maxreorder 268, 278
maxring 268, 278
maxringperiod 268, 278
maxspeed 92, 155, 281
maxwinktime 294, 301, 302
mediamask 285
memory
failed to access shared 233
insufficient 233
method, for rejecting calls 129
method, for signaling 272, 287
MF 294
digits mapping to 142
DSP file 307
events 246
generating 141, 144
mapping to US names 152
starting detection 150
stopping detection 202
switch to dialing 103, 142
table of frequencies and digits 151
mf.dsp 307
mfflags 292, 294, 301, 302
mfkpstampl 294, 301, 302
mfkpstofftime 294, 301, 302
mfkpstontime 294, 301, 302
minlevel 276
minmark 276
minofftime 286
minontime 286
minwinktime 294, 301, 302
MMDF 260
mode 51, 58, 95, 288
modem tone 100, 102
modifying gain 89
modifying parameters 39
monitoring call progress analysis 135
monitoring outbound calls 18
mu-law 306, 307
muxhandle 93
MVIP timeslots 50

N

Natural MicroSystems (NMS), contacting 6
network disconnect 130
NMS ADPCM encoding 307, 308
no call control protocol 2, 251
NOCC 2, 18, 250, 251, 252
dialing with 141
nodialtoneaction 296, 300
noiselevel 138, 268, 278
noseizureflag 277
novoicetime 173, 283
NULL pointer 231
null protocol 251
numdigits 254, 264, 292, 294, 302
numerical order of events 242
numrings 297, 300

O

offqualampl 274, 288
offqualtime 274, 288
offthreshold 274, 288
offtime 273, 289
OGT protocol 262, 301
OGT0 250, 262, 301
OGT1 250
OKI ADPCM speech encoding 307
okiply.dsp okirec.dsp 307
on-board timer
starting 183
stopping 212
onqualampl 274, 288
onqualtime 274, 288
onthreshold 274, 288
ontime 273, 289
opening
AG driver 93
ports 95
ports, failure 96, 233
operation 3
optional command 4
out of memory 233
out of resources 233
outbound call 99
outbound calls 13
monitoring 18
outgoing trunk protocol 262, 301
out-of-band signal bits 180
out-of-band signaling 116, 179, 210, 307
out-of-band signaling pattern 28, 165

P

packet name 4
parameter management 21
parameter, not found 233
parameters
for adiCollectDigits 270
for adiPlaceCall 278
for adiPlaceSecondCall 278
for adiPlayAsync 281
for adiPlayFromMemory 281
for adiStartCallProgress 268
for adiStartDial 272
for adiStartDTMF 273
for adiStartDTMFDetector 274
for adiStartEnergyDetector 275
for adiStartPlaying 281
for adiStartProtocol 285
for adiStartReceivingFSK 276
for adiStartSendingFSK 277
for adiStartToneDetector 290
for adiStartTones 289
for adiTransferCall 278
for call progress analysis 278
for cleardown detection 286
for dialing 286
for DID protocol 292
for DTMF detection 288
for echo cancellation 288
for FDI protocol 255, 294
for ground-start protocol 257, 296
for loop-start protocol 259, 299
for outgoing trunk protocol 262, 301
for protocols 159
for record operation 282
for wink-start protocol 263, 302
in AG Access 266
information structure 72
modifying 39
retreiving definition 71
retrieving all values for a structure 76
retrieving one 69
supported formats 72
supported units 73
units of 73
using default values 267
parmid 76
pending command 55
period 103, 142, 145
placeholder 4
placing calls 13, 99, 100, 102, 278
second calls 13, 106
play operation
aborting with DTMF 281
buffer management 15
buffer request 219
DSP file for 307
encoding and DSP files 111, 114
events 245
for WAVE files 308
getting status 15
initiating 109, 113, 153
last buffer 219
modify play gain 15
modify play speed 15
modifying gain 89
modifying speed 92
NMS ADPCM, DSP file 307, 308
parameters 281
starting 14
status of 78
stopping 14, 204
submitting buffer 218
playing voice 14
ports
closing 33
definition 2, 11
events 244
opening 95
preanswertime 294
precise tones
detecting 141, 185
stopping detection 214
precmask 268, 278
precqualtime 268, 278
predelay 288
predialtime 294, 301, 302
prewinktime 292, 294, 302
processing events 41
Product Support 6
protocol
definition 2
DID 253
DID, parameters 292
events 244
executing 251
FDI 255
FDI, parameters 294
GST 257, 296
list of 250
LST 299
NOCC 252
OGT 301
outgoing trunk (OGT) 262
parameters for starting 285
paramter structures 159
required DSP files 307
stopping 205
wink-start 263
WNK 302
protocol, starting 159
pulse 165, 307
pulse dialing 141
switch to 103, 142
pulse digits, generating 141

Q

qualaddroff 292, 294, 301, 302
qualaddron 292, 294, 301, 302
qualampl 286, 290
qualdisconnect 292, 294, 301, 302
qualloopoff 297, 300
qualpermsignal 292, 294, 301, 303
qualringoff 297, 300
qualringon 297, 300
qualtime 286, 290
qualtonetime1 138, 268, 278
qualtonetime2 138, 268, 278
qualvoicetime1 138, 268, 278
qualvoicetime2 138, 268, 278
queue ID, invalid 231
queue, digit 45, 60, 98
queueid 58

R

reading
digit queue 98
record operation
abort with DTMF 172
buffer management 15
DSP file for 307
encoding and DSP files 120, 125
events 245
for WAVE files 308
getting status 15
initiating 123, 170
initiating asynchronous 118
NMS ADPCM, DSP file 307, 308
parameters 282
request for buffer 222
restrictions 125
silence during 173
starting 14
status of 81
stopping 14, 208
submitting buffers 221
reflevel 290
rejecting a call 13, 26, 128
release guard 258, 261
releaseguardtime 294, 297, 301, 303
releasing a call 13, 130, 240
releasing a context handle 33
releasing a second call 13
remote disconnect 26
reorder tone 137
reorderofftime 292, 294, 303
reorderontime 292, 294, 303
resources, insufficient 233
return codes 4
reversalmode 297
reverse-make-busy 30
ring quit 101, 137
ring tone 137
ringcount 26, 268, 278
ringdetectmode 297, 300
ringofftime 292, 294, 303
ringontime 292, 303
ringsigmaxtime 297, 300
ringsigmintime 297, 300
rvoice.dsp 307

S

second call 106, 132
seizuretime 277
semicolon 103, 142
sending FSK 176
shared memory
failed to access 233
shortpause 272, 273, 287
signal bits, changes in 180
signal detection 179
signal state, querying 116
signal, for starting pulse 165
signal.dsp 116, 307
silence transitions 148
silence, during record operation 173
silenceampl 173, 283
silencedeglitch 173, 284
silencelevel 268, 278
silencetime 173, 268, 278, 284
single memory transaction 14
SIT 101, 102
size
error 231
field in event structure 239
SMDF 260
special characters, for dialing 103
speed 155, 281
speed up, for NMS ADPCM encoding 308
speed, modifying during play 92
ST 142, 152, 292, 294, 301, 302
ST2P 142, 152
ST3P 142, 152
starting call progress analysis 135
starting MF detection 150
starting play operation
asynchronously 109
from memory 113
with callback 153
starting protocol 159
starting pulse 165
starting record operation
asynchronously 118
to memory 123
with callback 170
starting, to dial 140
status
of a call 13
of call 53
of encoding format 15
of library version 86
of play operation 15, 78
of record operation 15, 81
stopmask 269, 279
stopping
call progress analysis 193
collecting digits 195
dialing 196
DTMF detection 198
energy detection 200
MF detection 202
on-board timer 212
play operation 14, 204
receiving FSK 207
record operation 14, 208
sending FSK 209
signal detector 210
telephony protocol 205
STP 142, 152
stream 51, 58, 95
switching to dialing 142

T

TCP 160
definition 2
DID parameters 292
events 244
executing 251
FDI 255
FDI parameters 294
ground-start 296
GST 257
list of 250
loop-start 259, 299
loop-start, caller ID 260
NOCC 252
not loaded 232
outgoing trunk 301
outgoing trunk (OGT) 262
parameters for starting 285
release guard 258, 261
required DSP files 307
starting 159
stopping 205
wink-start 263, 302
TCPDID 253
tcpname 58
teardown 130
Technical Support 6
telephony protocol
definition 2
DID 253
executing 251
FDI 255
GST 257
list of 250
loop-start 259
NOCC 252
outgoing trunk (OGT) 262
starting 159
wink-start 263
terminators 37, 270
text
of error code 66
of event code 68
thread lock timeout 233
thresholdampl 148, 275
timeout 101, 269, 279
thread lock 233
timer
on-board 20
starting 183
stopping 212
timeslots 50, 58, 95
timestamp 22, 84, 239
tone
busy 136
CED 100, 102, 136
dial 101, 102, 136
reorder 137
SIT 101
tone.dsp 307
tonebandw1 272, 287
tonebandw2 272, 287
tonecount 286
tonefreq1 272, 287
tonefreq2 272, 287
toneid 185, 186
tonequalampl 272, 287
tonequaltime 272, 287
tonereflevel 272, 287
tones
detecting 18, 247
detecting DTMF 146
detecting DTMFs 274
detecting MF 150
detecting precise 141, 185, 258, 261
detecting, parameters 290
DSP files for detection 306
generating 16, 289, 307
generating DTMF 144
generating MF 144, 145
generating one or more 189
MF 246, 307
MF table 151
MF, mapping to digits 142
parameters for DTMF generation 273
ring 137
stopping generating 216
stopping precise detector 214
transferring a call 13, 224, 278
transitions, energy and silence 148

U

unblocking calls 13, 227, 240
units, for parameters 73
user input 4
userid 58, 95
utility 4

V

validDTMFs 37, 271
value field, definition 239
version, retrieving 86
Voice Begin 101
voice encoding 64
Voice End 101
voice event 137
Voice Extended 101
Voice Long 101
Voice Medium 101
voice.dsp 307
voicelong 269, 279
voicemedium 269, 279
voicetoneratio 138, 269, 279
voicextended 269, 279
voxp.dsp 308
voxr.dsp 308

W

wait1stdigittime 293, 294, 303
waitendtone 271
waitfordigitstime 293, 295, 303
waitforPCtime 293, 295, 303
WAVE files 308
wavply.dsp 308
wavrec.dsp 308
wink, none 102
wink-start protocol
calling party address 264
parameters 302
winktime 293, 295, 303
winkwaittime 295, 301, 303
WNK0 250, 263
WNK1 250, 263

X

xfersupport 298, 300
xferwhen 224


(Page 1 of 1 in this chapter)


Tech_Support@nmss.com
Copyright © 1996, Natural MicroSystems, Inc. All rights reserved.