API Commands
40-400-00025, Rev. D
13
TC_PLA
TC_PLA
TC_PLA
TC_PLA
TC_PLAYMESSA
YMESSA
YMESSA
YMESSA
YMESSAGE
GE
GE
GE
GE
F
F
F
F
For
or
or
or
ormat
mat
mat
mat
mat
TC_PLAYMESSAGE,message,linenum
Descr
Descr
Descr
Descr
Description
iption
iption
iption
iption
Plays a pre-programmed voice message. The message will stop automatically when com-
pleted. TP_OFF allows the user to stop playback before the end of the message. This
command will return an INVALID response if the line is not in the off-hook state.
P
P
P
P
Par
ar
ar
ar
arameter
ameter
ameter
ameter
ameter
Message: message number
TP_OFF
TP_MESSAGE1
TP_MESSAGE2
TP_MESSAGE3
TP_MESSAGE4
Linenum: line number
TP_LINE1
TP_LINE2
TP_LINE3
TP_LINE4
Examples
Examples
Examples
Examples
Examples
This example begins playback of message 1 on line 3:
TC_PLAYMESSAGE,TP_MESSAGE1,TP_LINE3
This stops playback on line 3:
TC_PLAYMESSAGE,TP_OFF,TP_LINE3
TC_REQLEVEL
TC_REQLEVEL
TC_REQLEVEL
TC_REQLEVEL
TC_REQLEVEL
Format
Format
Format
Format
Format
TC_REQLEVEL,linenum
Description
Description
Description
Description
Description
Requests a signal level measurement from the specified line. The returned value must be
processed through the TfSigLevel function.
P
P
P
P
Par
ar
ar
ar
arameter
ameter
ameter
ameter
ameter
Linenum: line number
TP_LINE1
TP_LINE2
TP_LINE3
TP_LINE4
Returns
Returns
Returns
Returns
Returns
TM_SIGLEVEL message, including a value from 0-4294967295 that must then be processed
through the TfSigLevel function to yield either a voltage or dB value.
Example
Example
Example
Example
Example
This example requests a signal level measurement from line 4:
TC_REQLEVEL,TP_LINE4
See Also
See Also
See Also
See Also
See Also
TM_SIGLEVEL, TfSigLevel