![Teltone TLE-A-01 Скачать руководство пользователя страница 47](http://html.mh-extra.com/html/teltone/tle-a-01/tle-a-01_user-manual_1084654047.webp)
Script Details
40-400-00025, Rev. D
45
TS_ST
TS_ST
TS_ST
TS_ST
TS_STAR
AR
AR
AR
ARTDEF
TDEF
TDEF
TDEF
TDEF
F
F
F
F
For
or
or
or
ormat
mat
mat
mat
mat
TS_STARTDEF,scriptnum
Descr
Descr
Descr
Descr
Description
iption
iption
iption
iption
Begins entry of a script. Clears out any previous script defined with the same script number.
Scriptnum: script number
1-4
Example
Example
Example
Example
Example
This example configures the TLE for a single script:
TS_SCRIPTMODE,TP_SCRIPT_SINGLE
This starts the script:
TS_STARTDEF,1
This executes select configuration command:
TS_EXECUTE,TC_SELECTCONFIG,1,TP_LINE1
Restarts if DTMF is detected at any point:
TS_RESTARTCONDITION, TP_DIALDETECTED
Wait for line on-hook:
TS_WAITONHOOK,TP_LINE1
Start ringing, group 1 cadence:
TS_EXECUTE,TC_RING,TP_RING_GROUP1,TP_LINE1,TP_LINE2
Wait for off-hook:
TS_WAITOFFHOOK,TP_LINE1
‘
Changes ringing parameters:
TS_EXECUTE,TC_SETRING,TfRingConfig(40,20),TP_LINE1
Waits for on-hook:
TS_WAITONHOOK,TP_LINE1
Starts ringing, group 2 cadence:
TS_EXECUTE,TC_RING,TP_RING_GROUP2,TP_LINE1,TP_LINE2
Waits for off-hook:
TS_WAITOFFHOOK,TP_LINE1
End script:
TS_ENDDEF
Starts script execution:
TS_SCRIPTRUN,TP_ENABLE
Note
Note
Note
Note
Note
This command will return an error if a TS_ENDDEF has not been sent after a previous
TS_STARTDEF.
See Also
See Also
See Also
See Also
See Also
TS_ENDDEF, TS_SCRIPTMODE, TS_SCRIPTRUN