Reference Tables
40-400-00025, Rev. D
57
Reference Tables
API Command Summar
API Command Summar
API Command Summar
API Command Summar
API Command Summary
y
y
y
y
Command
Command
Command
Command
Command
Numer
Numer
Numer
Numer
Numeric
ic
ic
ic
ic
V
V
V
V
Value
alue
alue
alue
alue
Description
Description
Description
Description
Description
TC_CONNECT,linenum,tolinenum
0
Connects the audio path between line, linenum, and line
tolinenum.
TC_CONNECTAUDIOPORT,linenum
16
Connects a line to the audio output port.
TC_DCSIGNAL,signaltype,linenum
1
Sets the DC loop state.
TC_DIALDETECT,linenum,enable
52
Enables DTMF and rotary dial detection on the specified line.
TC_DISPLAY,type,message
2
Displays a message on the TLE front-panel display.
TC_PLAYMESSAGE,message,linenum
3
Plays a pre-programmed voice message.
TC_REQLEVEL,linenum
4
Requests a signal level measurement from the specified line.
TC_REQLINESTATE,linenum
5
Requests the current on/off-hook state of the line.
TC_REQVERSION
6
Requests the firmware version number string from the TLE.
TC_RING ringtype,linenum,fromline
7
Sends ringing to line with pre-programmed voltage, frequency,
and cadence.
TC_SELECTCONFIG,config,linenum
8
Selects pre-programmed configuration to use for default values.
TC_SENDADSI,linenum
9
Sends ADSI script to selected line.
TC_SENDCALLERID,linenum,fromline
10
Sends pre-programmed Caller ID sequence.
TC_SENDCALLWAITING,callwaittype,
11
Sends Call Waiting sequence.
linenum,fromline
TC_SENDDTMF,dtmfstring,linenum
12
Sends a string of DTMF digits.
TC_SENDTONE,tonename,linenum[,fromline]
13
Sends specified tones to the line.
TC_SENDVMW,linenum,enable
14
Sends Visual Message Waiting.
TC_SETAUDIOATTENUATION,attenuation,
15
Sets the attenuation level for playback of voice linenum messages.
linenum
TC_SETCALLERID_EVERYRING,enable
17
Enables sending of Caller ID after every ring cycle.
TC_SETCALLERID_MODE,mode,linenum
18
Enables and sets the message format for caller ID.
TC_SETCALLERID_NAME,name,linenum
19
Sets the caller ID name for group 1 Caller ID.
TC_SETCALLERID_SEQUENCE,sequencetype,
20
Sets the Caller ID sequence.
first,second,third,errorenable
TC_SETCALLERID_TIME,month,day,hour,minute
21
Sets the clock for caller ID.
TC_SETDTMFCADENCE,ontime,offtime
22
Sets the cadence for DTMF tone transmit.
TC_SETDTMFTONES,row1,row2,row3,row4,
23
Sets the tones for DTMF tone transmit.
col1,col2,col3,col4,rowlevel1,collevel2
TC_SETECHO,delay,level,linenum
24
Sets echo impairment.
TC_SETFLASHDETECTTIME,minimum,maximum 25
Sets the minimum and maximum timing parameters for detection of
hook-flash.
TC_SETFORCEDDISCONNECT,length
26
Sets the length of a forced disconnect (COD) pulse.
TC_SETHOOKTIMING,onhook_callcomplete,
27
Defines the timing required to validate an on-hook or off-hook
onhook_nocallcomplete,offhook
condition.
TC_SETIMPEDANCE,impedance,linenum
28
Sets the line impedance.
TC_SETLOOPCURRENT,loopcurrent,linenum
29
Sets the maximum loop current for the line.
TC_SETMETERCADENCE,ontime,offtime,type,
30
Sets the timings for metering tones.
linenum