API Commands
32
40-400-00025, Rev. D
Example
Example
Example
Example
Example
This example sets normal dial tone to be continuous for line 1:
TC_SETTIME_DIALTONE, TP_DIALTONE_NORMAL, TP_CONTINUOUS,TP_LINE1
This sets recall dial tone to be 100 ms on and off, repeated three times before going continu-
ous:
TC_SETTIME_DIALTONE, TP_DIALTONE_RECALL, TP_SIMPLE,100,100,3,TP_LINE1
This sets message waiting dial tone to be 100 ms on and off, then 200 ms on and off, with the
sequence continued forever:
TC_SETTIME_DIALTONE, TP_DIALTONE_ MESSAGEWAIT, TP_COMPLEX, 100, 100,
200, 200, TP_REPEATFOREVER,TP_LINE1
See Also
See Also
See Also
See Also
See Also
TC_SETTIME_DIALTONEDELAY, TC_SETTONE, TC_SENDTONE
TC_SETTIME_DIAL
TC_SETTIME_DIAL
TC_SETTIME_DIAL
TC_SETTIME_DIAL
TC_SETTIME_DIALT
T
T
T
TONEDELA
ONEDELA
ONEDELA
ONEDELA
ONEDELAY
Y
Y
Y
Y
Format
Format
Format
Format
Format
TC_SETTIME_DIALTONEDELAY,delay,linenum
Description
Description
Description
Description
Description
Sets the delay between off-hook detected and dial tone started.
P
P
P
P
Par
ar
ar
ar
arameters
ameters
ameters
ameters
ameters
Delay:
0-25000 ms in 5 ms steps
Linenum: line number
TP_LINE1
TP_LINE2
TP_LINE3
TP_LINE4
Example
Example
Example
Example
Example
This example sets the delay from off-hook detected until dial tone begins to 500 ms for line 1
(if dial tone started with one of the _ATOFFHOOK dialtone types, see TC_SENDTONE):
TC_SETTIME_DIALTONEDELAY,500, TP_LINE1
See Also
See Also
See Also
See Also
See Also
TC_SETTONE, TC_SENDTONE, TC_SETTIME_DIALTONE
TC_SETTIME_NUMBER
TC_SETTIME_NUMBER
TC_SETTIME_NUMBER
TC_SETTIME_NUMBER
TC_SETTIME_NUMBERUNOB
UNOB
UNOB
UNOB
UNOB
Format
Format
Format
Format
Format
TC_SETTIME_NUMBERUNOB,on,off,on,off,linenum
Description
Description
Description
Description
Description
Sets the cadence for Number Unobtainable tones.
P
P
P
P
Par
ar
ar
ar
arameters
ameters
ameters
ameters
ameters
On:
TP_CONTINUOUS
Valid only for the first ON time. If set for continuous, other
timings must be omitted.
0-10000 ms in 5 ms steps
Off:
0-10000 ms in 5 ms steps
Linenum: line number
TP_LINE1
TP_LINE2
TP_LINE3
TP_LINE4
Example
Example
Example
Example
Example
This example sets the Number Unobtainable cadence to 330 ms on/100 ms off, 330 ms on/ 5
seconds off for line 1:
TC_SETTIME_NUMBERUNOB,330,100,330,5000,TP_LINE1
This sets the Number Unobtainable cadence to continuous tone: