(Page 1 of 1 in this chapter) Version


Index

A

A 142
abort mask 64, 67, 76
accepting a call 12, 17, 54
ADI service
and the Voice Message service 58
opening 6
ADI_AG_DRIVER_ONLY 127
ADI_CALL_STATUS 24, 53
ADI_CALLCTL_PARMS 46
ADI_CALLPROG_PARMS 37, 51, 86-89
ADI_COLLECT_PARMS 106
ADI_CON_ON_XXX 29
ADI_CP_VOICE_XXX 88
ADI_DIS_ON_XXX 31
ADI_DTMF_PARMS 98
ADI_DTMFDETECT_PARMS 108
ADI_ENCODE_XXX 60
ADI_ENERGY_PARMS 119-120
ADI_FSKRECEIVE_PARMS 123
ADI_FSKSEND_PARMS 121-122
ADI_PLACECALL_PARMS 25, 28, 31, 33, 51
ADI_PLAY_PARMS 66
ADI_REASON_BAD_STOP_BIT 123
ADI_REASON_DROP_IN_DATA 123
ADI_RECORD_BUFFER_REQ 80-81
ADI_RECORD_PARMS 74, 78
ADI_START_PARMS 109, 111, 113-114
ADI_TONE_PARMS 98
ADI_TONEDETECT_PARMS 94
ADI_XFER_XXX 49
adiAcceptCall 12, 17, 21, 54
adiAcceptIncomingAddress 20
adiAnswerCall 12, 17, 21, 136
adiAssertSignal 124
adiBlockCalls 12, 46
adiCollectDigits 102-104, 106
adidef.h 65
ADIERR_TOO_MANY_BUFFERS 71, 81
ADIEVN_ACCEPTING_CALL 15, 21
ADIEVN_ANSWERING_CALL 15, 21
ADIEVN_CALL_CONNECTED 16, 21, 25-26, 41
ADIEVN_CALL_DISCONNECTED 16, 22, 25-26, 31, 41, 50, 52
ADIEVN_CALL_PROCEEDING 14, 42
ADIEVN_CALL_RELEASED 16, 22, 42
ADIEVN_CALL2_CONNECTED 16, 52
ADIEVN_CALL2_DISCONNECTED 16, 50, 52
ADIEVN_CALLS_BLOCKED 16, 46
ADIEVN_CALLS_UNBLOCKED 16, 46
ADIEVN_COLLECTION_DONE 107
ADIEVN_CP_BUSYTONE 88
ADIEVN_CP_CED 87-88
ADIEVN_CP_DIALTONE 87-88
ADIEVN_CP_DONE 89
ADIEVN_CP_NOANSWER 88
ADIEVN_CP_REORDERTONE 87-88
ADIEVN_CP_RINGQUIT 87, 89
ADIEVN_CP_RINGTONE 87, 89
ADIEVN_CP_SIT 87-88
ADIEVN_CP_VOICE 88-89
ADIEVN_CP_VOICE_BEGIN 89
ADIEVN_CP_VOICE_END 89
ADIEVN_CP_VOICE_EXTENDED 89
ADIEVN_CP_VOICE_LONG 89
ADIEVN_CP_VOICE_MEDIUM 89
ADIEVN_DIGIT_BEGIN 102-103, 106
ADIEVN_DIGIT_END 102, 106
ADIEVN_DTMFDETECT_DONE 109
ADIEVN_ENERGY_DETECT_DONE 118
ADIEVN_ENERGY_DETECTED 118, 120
ADIEVN_ENERGYDETECT_DONE 120
ADIEVN_FSK_RECEIVE_DONE 123
ADIEVN_IN_SERVICE 16, 47
ADIEVN_INCOMING_CALL 15, 21
ADIEVN_INCOMING_DIGIT 14, 20
ADIEVN_OUT_OF_SERVICE 16, 47
ADIEVN_PLACING_CALL 15, 26, 41-42
ADIEVN_PLACING_CALL2 16, 50, 52
ADIEVN_PLAY_BUFFER_REQ 69, 71
ADIEVN_PLAY_DONE 65, 67-69, 71
ADIEVN_RECORD_BUFFER_FULL 79, 81
ADIEVN_RECORD_DONE 76, 80
ADIEVN_RECORD_STARTED 79, 81
ADIEVN_REJECTING_CALL 15, 22
ADIEVN_REMOTE_ALERTING 14, 42
ADIEVN_REMOTE_ANSWERED 14, 42
ADIEVN_SEIZURE_DETECTED 14-15, 20
ADIEVN_SILENCE_DETECTED 118, 120
ADIEVN_STATUSINFO_UPDATE 15
ADIEVN_TIMER_DONE 126
ADIEVN_TIMER_TICK 126
ADIEVN_TONE_n_BEGIN 92
ADIEVN_TONE_n_END 92
ADIEVN_TONES_DONE 99
adiFlushDigitQueue 102, 104-105
adiGetBoardInfo 127
adiGetBoardSlots 127
adiGetCallStatus 12, 21, 24
adiGetDigit 102, 104-105
adiGetEEPromData 127
adiGetEncodingInfo 61, 134
adiGetPlayStatus 62, 66
adiGetRecordStatus 62, 73
adiGetTimeStamp 127
adiModifyPlayGain 66, 71
adiModifyPlaySpeed 66, 72
adiPeekDigit 102, 104
adiPlaceCall 12, 25-26, 28, 33, 42, 52, 54
adiPlaceSecondCall 12, 47-48, 51-52, 54, 138
adiPlayAsync 62-63, 66-67, 69-70, 134
adiPlayFromMemory 62, 66-67
adiQuerySignalState 124
adiRecordAsync 62-63, 73, 75, 79, 81, 134
adiRecordToMemory 62, 73, 75
adiRejectCall 13, 17, 21-22, 46, 54
adiReleaseCall 13, 15, 22, 42-44, 52, 54, 136
adiReleaseSecondCall 13, 48, 52, 54, 138
adiStartCallProgress 86-87
adiStartDial 124
adiStartDTMF 98
adiStartDTMFDetector 102
adiStartEnergyDetector 118-119
adiStartMFDetector 102
adiStartPlaying 62, 66-68, 134, 136
adiStartProtocol 13, 17, 25, 108, 110
adiStartPulse 124
adiStartReceivingFSK 122-123
adiStartRecording 62, 73, 75, 78, 134
adiStartSendingFSK 121-122
adiStartSignalDetector 124
adiStartTimer 125
adiStartToneDetector 92-94
adiStartTones 98
adiStopCallProgress 86
adiStopCollection 102, 106-107
adiStopDial 124
adiStopDTMFDetector 102
adiStopEnergyDetector 118, 120
adiStopMFDetector 102
adiStopPlaying 66-67, 71
adiStopReceivingFSK 123
adiStopRecording 73, 76, 81
adiStopSendingFSK 122
adiStopSignalDetector 124
adiStopTimer 125-126
adiStopToneDetector 92, 95
adiStopTones 98-99
adiSubmitPlayBuffer 63, 66, 69, 71, 134
adiSubmitRecordBuffer 63, 73, 79, 81, 134
adiTransferCall 13, 47, 49, 51, 54
adiUnBlockCalls 13, 46
ADPCM 60, 72
ADSI (Analog Display Services Interface) 121
adsir.dsp 24
AG board 61
AG board functions 127
AG driver 127
ag.cfg 24
AGC (Automatic Gain Control) 74, 82
agmon 6, 139
A-law 60
Analog Display Services Interface (ADSI) 121
answering a call 12, 17, 136
ASCII 102, 104
asynchronous functions 2
asynchronous mode 134
asynchronous programming 2
asynchronous transfer 63, 69, 79
Automatic Gain Control (AGC) 74, 82
autostop, for energy detection 119

B

beep 78, 83, 99, 135
Bellcore 121
Bellcore specifications 24
blind transfer 49-50
blocking incoming calls 12, 46
blockmode 46
broadband tone detection 34-37
busy 33-34, 88

C

cadence 34, 36
call blocking 46
call control
accepting a call 12, 17
answering a call 12, 17, 136
call blocking 46
call transfer 47-52
connectmask 29-31, 37
digit collection 102
disconnectmask 31-32, 37
functions 12
inbound calls 17-19
low-level 124
mask parameters 28
outbound calls 25-26, 28-31, 33-40
placing a call 12, 28
placing a second call 12, 47-48, 52, 54, 138
protocol independence 13
rejecting a call 13, 17, 46, 54
releasing 13, 15, 22, 42-43, 48, 52, 54, 136, 138
service interruption 47
state diagrams 54-56
transferring 13, 47, 49, 54
call placement timeout 39
call progress
events 25
overview 86
starting 62, 66-68, 86-87
stopping 86
system restrictions 90
termination events 88-89
tone events 87
voice events 88
call progress analysis
starting 134, 136
call status 12
call transfer
blind transfer 49-50
events 52
overview 47
parameters 51
supervised transfer 48
xferpbx demo 138
callback 134-135
callback transfer 64, 68
caller ID data 25
calls
blocking and unblocking 46
inbound 17-19
outbound 25-26, 28-31, 33-40
releasing 43, 45
CAS (Channel Associated Signaling) 124
CED 34
Centrex 47
Channel Associated Signaling (CAS) 124
CID message format 24
cleardown 92, 109
collecting digits (DTMFs)
asynchronous 104-105
background 103
browsing first digit 102, 104
flushing the queue 102, 104-105
reading one digit 102, 104
starting 102-104, 106
stopping 102, 106-107
synchronous 104
compression (speech) 58
connectmask parameter 29-31, 37, 41
CT Access 2-5
CTA context 3
CTA context handle 6
CTA_REASON_DIGIT 67, 76
CTA_REASON_FINISHED 67, 99
CTA_REASON_NO_VOICE 74, 76
CTA_REASON_RECOGNITION 67
CTA_REASON_RELEASED 67, 76
CTA_REASON_STOPPED 67, 76, 99
CTA_REASON_TIMEOUT 76
CTA_REASON_VOICE_END 74, 76
ctaCreateContext 6
ctaCreateQueue 6
CTAERR_INVALID_SEQUENCE 71, 81
ctaInitialize 5
ctaOpenServices 6
ctaWaitEvent 8
cut-through 109

D

data rate of speech 134
data transfer methods
asynchronous transfer 63, 79
callback transfer 64, 68, 78
single memory transaction 63
deglitch, for energy detection 119
demolib 131
demonstration programs
call transfer 138
demolib 131
hostp2p 132-133
incta 17, 43
library 131
outcta 26
play and record 134
playrec 134
summary of 130
xferpbx 138
detecting DTMFs 107-109
developer support ix
dial tone 87
dialing
with NOCC 124
with protocol-independent call control 12, 25-26, 28, 33, 42, 54
DID 135
digit collection
asynchronous 104
background 103
browsing first digit 102, 104
flushing the queue 102, 104-105
maximum number of digits 106
reading one digit 102, 104-105
starting 102-104, 106
stopping 102, 106-107
synchronous 104
digit queue 103
disconnectmask parameter 31-32, 37, 41
DLL 13
DSP file
dtmf.dsp 115
dtmfe.dsp 115
echo.dsp 113, 115
DSP resources
reserving for echo cancellation 109
DTMF cut-through 109
dtmf.dsp 115
dtmfe.dsp 115
DTMFs
collecting 102-104, 106
detecting 107-109
generating 98-99
terminating play or record when detected 64
Dynamic Link Library 13

E

echo cancellation
capabilities 109-110
enabling 113-114
parameters 111-112
reserving DSP resources 109
special DSP file 113, 115
echo.dsp 113, 115
encodings 134
ADI service 58-61
energy detection
events 118
parameters 119-120
starting 118-119
stopping 118, 120
energyqual, for energy detection 119
event queue 4
events
call progress 25
call transfer 52
inbound calls 20-21
informational 14
outbound calls 41-42
recieving 6
returning 2
transitional 15

F

fast busy 33-34
fax/modem answer tone 87
flushing the digit collection queue 102, 104-105
frame 59
frequency 92-93
Frequency Shift Key (FSK) data
parameters for receiving 123
parameters for sending 122
receiving 122-123
sending 121
terminating data receive 123
terminating send data 122

G

gain 71, 74
generating DTMFs 98-99
glare 42
glare resolution 15

H

hanging up the line 13, 15, 22, 42-43, 52, 54, 136
hostp2p demonstration program 132-133

I

inbound calls
blocking 12, 46
events 20-21
responding to 17-19
incta demonstration program 17, 43
informational events 14
in-service 47
inter-pulse delay 33

L

library of sample functions 131
loop-start 42, 137

M

making a call 12, 25-26, 28, 33, 42, 54
maxbusy 35
maxdigits 106
maximum buffer size for speech 134
maxreorder 35
maxring 35
method of transfer 138
MMDF 24
mu-law 60
Multiple Message Data Format (MMDF) 24
MVIP
ADI service restriction 83
and the demonstration programs 130
timeslot 6

N

no answer 88
NOCC 7, 86, 90, 107, 124

O

opening a service 6
outbound calls
call placement timeout 39
establishing 25-26, 28-31, 33-40
events 41-42
parameters 40
outcta demonstration program 26
out-of-band signaling
asserting a pattern 124
detection change 124
generating a pulse 124
read incoming pattern 124
out-of-service 47

P

parameter management 4
parameters
call control mask 28
connectmask 25, 29-31, 37
disconnectmask 25, 31-32, 37, 41
network tone 33
precqualtime 34
voice 37
PBX 130
PBX transfer 13, 47, 49, 54
placing a call 12, 25-26, 28, 33, 42, 54
placing a second call with a PBX 12, 47-48, 52, 54, 138
play
demonstration program 132-133
playing speech
adjusting the speed 66
adjusting the volume 66, 71
asynchronous interface 62-63, 66-67, 69-70
buffer sizes 61
callback transfer 68
data transfer methods 61-62
demonstration program 134
encoding formats 58-60
from process memory 62, 66-67
function status 66
functions 65, 134
gain 71
initiating 67
procedure 65
speed control 72
stopping 66-67, 71
submitting buffers for asynchronous play 63, 66, 69, 71, 134
system restrictions 83
terminating 67
terminating with DTMF key 64
underruns 61
playrec demonstration 134
precise tone detection 34, 93-94
Private Branch Exchange (PBX) 47
processing context 3
protocol independence 13
protocols 7, 13, 25, 108, 110
pulse generation 124
pulse width 33, 35-36

Q

QX 2000 board 66, 127

R

reading a digit (DTMF) 102, 104-105
record
demonstration program 132-133
recording speech
ADI service requests another buffer 80-81
asynchronous interface 62-63, 73, 79, 81, 134
Automatic Gain Control (AGC) 82
callback transfer 78
data transfer methods 61-62
demonstration programs 134
encoding formats 58-60
function status 62, 73
functions 73
initiating recording 75
procedure 79
submitting buffers for asynchronous record 63, 73, 79, 81, 134
system restrictions 83
terminating recording 73, 76, 81
terminating with DTMF key 64
timeout parameters 78
to process memory 62, 73
underruns 61
with callbacks 62, 73, 78, 134
rejecting an incoming call 13, 17, 46, 54
releasing a call 13, 15, 22, 42-44, 52, 54, 136
releasing a second call 13, 48, 54, 138
reorder tones 33-34, 87-88
reserving DSP resources
for echo cancellation 109
reverse-make-busy 46
ring quit 87
ring tone 33, 37, 87, 89

S

service
ADI service 6
defined 3
interruption 47
opening 6
service manager 6
signal detection 124
signals 33
silencequal, for energy detection 119
silencetime, for voice detection 38
simultaneous play and record 132-133
single memory transaction 63
Single Message Data Format (SMDF) 24
SIT (Special Information Tone) 22, 33-34, 87-88
SMDF 24
speech encodings 58-61, 134
speech frame size 134
speech frames 61
speed of speech playback 66, 71-72
starting a protocol 13, 25, 108, 110
state diagrams
call control 53-56
state information
playing speech 62
stopmask 89
stream
input 109
MVIP 83
submitting play buffers 63, 66, 69, 71, 134
submitting record buffers 63, 73, 79, 81, 134
supervised transfer 48
synchronous functions 2
system restrictions 83, 90, 99

T

talk-off
improving 109
TCP (Trunk Control Program) 13, 25, 108, 110
telephone network signals 33
telephone network tones 33
thresholdampl, for energy detection 119
timer 125
timer events 126
timeslot 6
tone cycle 33
tone detection 33-36, 89, 93-94
tone generation
parameters 98
starting 98
stopping 99
system restrictions 99
tones, telephone network 33
transferring a call 13, 47, 49, 54, 138
transitional events 15
Trunk Control Program (TCP) 13, 25, 108, 110
trunk programs 108, 110

U

unblocking incoming calls 13, 46
underruns 61

V

value field 88
voice detection 37-39
voice encoding formats 58-60
voice event
voice begin 88-89
voice end 88-89
voice extended 88-89
voice long 89
voice medium 89
Voice Message service and the ADI service 58
voice parameters 37
voicelong, for voice detection 38
voicemedium, for voice detection 38
voicextended, for voice detection 38
volume 71
volume of speech playback 66

W

Wave 60
wink-start 42

X

xferpbx demo 138


(Page 1 of 1 in this chapter) Version


tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.