background image

Script Examples

50

40-400-00025,  Rev. D

Example of a Dual Scr

Example of a Dual Scr

Example of a Dual Scr

Example of a Dual Scr

Example of a Dual Script:

ipt:

ipt:

ipt:

ipt:

Note that in a dual script the first script can only access lines 1 & 2 and the second script can only access
lines 3 & 4.

;send a dual script

:0,TS_SCRIPTMODE,TP_SCRIPT_DUAL

;start of script number 1

:0,TS_STARTDEF,1

;use configuration 1 for line 1

:0,TS_EXECUTE,TC_SELECTCONFIG,1,TP_LINE1

;wait until line 2 is on-hook

:0,TS_WAITONHOOK,TP_LINE2

;wait until line 1 is off-hook

:0,TS_WAITOFFHOOK,TP_LINE1

;send dialtone to line 1

:0,TS_EXECUTE,TC_SENDTONE,TP_DIALTONE,TP_LINE1

;enable dtmf detection on line 1

:0,TS_EXECUTE,TC_DIALDETECT,TP_LINE1,TP_ENABLE

Note 1

Note 1

Note 1

Note 1

Note 1

;set 5 sec delay

:0,TS_DELAY,5000

;if dtmf is detected on line 1 jump to the start of the script

:0,TS_RESTARTCONDITION,TP_DIALDETECTED,TP_LINE1

Note 2

Note 2

Note 2

Note 2

Note 2

;ring line 2 using group 1 cadence and
;send caller ID using name and number from line 1

:0,TS_EXECUTE,TC_RING,TP_RING_GROUP1,TP_LINE2,TP_LINE1

;wait until line 2 goes off-hook

:0,TS_WAITOFFHOOK,TP_LINE2

;wait until line 1 goes on-hook

:0,TS_WAITONHOOK,TP_LINE1

;wait until line 2 goes on-hook

:0,TS_WAITONHOOK,TP_LINE2

;end script 1

:0,TS_ENDDEF

;start of script number 2

:0,TS_STARTDEF,2

;use configuration 1 for line 3

:0,TS_EXECUTE,TC_SELECTCONFIG,1,TP_LINE3

;wait for on-hook on line 4

:0,TS_WAITONHOOK,TP_LINE4

;wait for off-hook on line 3

:0,TS_WAITOFFHOOK,TP_LINE3

;send dialtone to line 3

:0,TS_EXECUTE,TC_SENDTONE,TP_DIALTONE,TP_LINE3

;enable dtmf detection on line 3

:0,TS_EXECUTE,TC_DIALDETECT,TP_LINE3,TP_ENABLE

Note 1

Note 1

Note 1

Note 1

Note 1

;wait for detection of dial string 5551212

:0,TS_WAITDIAL,5551212,TP_LINE3

Note 3

Note 3

Note 3

Note 3

Note 3

;wait 5 seconds

:0,TS_DELAY,5000

;ring line 4 using group 1 cadence and
;send caller ID using name and number from line 3

:0,TS_EXECUTE,TC_RING,TP_RING_GROUP1,TP_LINE4,TP_LINE3

;wait for off-hook on line 4

Summary of Contents for TLE-A-01

Page 1: ...Telephone Line Emulator TLE TEST User s Manual 40 400 00025 Rev D ...

Page 2: ...ltone is a registered trademark of Teltone Corporation Windows is a registered trademark of Microsoft Corporation Other company and product names may be trademarks or registered trademarks of their respective owners Teltone Corporation Bothell Washington 98021 USA Customer Service 425 951 3388 Technical Support 425 951 3390 Fax 425 487 2288 Email info teltone com Website www teltone com ...

Page 3: ...TATE 14 TC_REQVERSION 14 TC_RING 15 TC_SELECTCONFIG 15 TC_SENDADSI 16 TC_SENDCALLERID 16 TC_SENDCALLWAITING 17 TC_SENDDTMF 17 TC_SENDTONE 18 TC_SENDVMW 19 TC_SETAUDIOATTENUATION 20 TC_SETCALLERID_EVERYRING 20 TC_SETCALLERID_MODE 21 TC_SETCALLERID_NAME 21 TC_SETCALLERID_SEQUENCE 22 TC_SETCALLERID_TIME 23 TC_SETDTMFCADENCE 23 TC_SETDTMFTONES 24 TC_SETECHO 24 TC_SETFLASHDETECTTIME 25 TC_SETFORCEDDISC...

Page 4: ...Function TfMeterConfig 41 Function TfRingConfig 42 Function TfSigLevel 42 Function TfLoopImpedance 42 Script Details 43 TS_DELAY 43 TS_ENDDEF 43 TS_EXECUTE 43 TS_RESTARTCONDITION 44 TS_SCRIPTMODE 44 TS_SCRIPTRUN 44 TS_STARTDEF 45 TS_WAITDIAL 46 TS_WAITFLASH 46 TS_WAITOFFHOOK 46 TS_WAITONHOOK 47 Script Examples 48 Example of a Single Script For All Lines 48 Example of a Dual Script 50 Example of a ...

Page 5: ...at line When off hook is seen on line 2 start ringing on line 1 When off hook is seen on line 1 stop ringing When on hook is seen on line 2 restart script The Automated Test features of the TLE allow the user to control the operation of the TLE through the serial interface To facilitate writing programs to control the TLE an Application Programming Interface API is provided which consists of defin...

Page 6: ...tion The DTMF Generation feature allows for the setting of the frequency signal level and On Off timing for the Row and Column tones generated by a DTMF keypad These tone pairs include 1 9 0 A B C and D The TLE Test module allows for the user to send a DTMF string to a Line by using command TC_SENDDTMF dtmfstring linenum Sw Sw Sw Sw Sweep eep eep eep eep T T T T Tone one one one one The Sweep Tone...

Page 7: ...for information about the full contents of this directory DATA tfloopc 000 Data file used by TfLoopCurrent function tfloopi 00 Data file used by TfLoopImpedance function tfloopi 01 Data file used by TfLoopImpedance function tfloopi 02 Data file used by TfLoopImpedance function tfloopi 03 Data file used by TfLoopImpedance function tfloopi 04 Data file used by TfLoopImpedance function tfmeter 000 Da...

Page 8: ...e entered into a script within the TLE Command String Format Command String Format Command String Format Command String Format Command String Format All commands sent to the TLE consist of numeric values preceeded by a colon followed by the appropriate unit number Programs should wait for a response to a command before sending the next command to the TLE Each programming and operational command st...

Page 9: ...e messages to readable text The TLE will send messages to the user through the serial port Messages are sent as numbers which the user can convert to text strings using the TfMessage function System Messages System Messages System Messages System Messages System Messages System messages provide information about the operation of the TLE and follow the following format unitnumber messagetype Y P cr...

Page 10: ...o scripts that each accesses two lines and a quad script mode where there is a separate script for each line These scripts are saved in the TLE non volatile memory If TS_SCRIPTRUN has been enabled the scripts will automatically start when power is applied to the TLE When a running script reaches its end it will automatically restart Before entering any scripts into the TLE a TS_SCRIPTMODE command ...

Page 11: ...h Call Waiting is sent a DTMF receiver is automatically assigned to the line and is then released when completed If an ADSI script is sent a DTMF receiver is automatically assigned to the line and is then released when completed If no receiver is available the TLE will respond with an INVALID command response See the TC_DIALDETECT command for the format of the assign command Reset Button Reset But...

Page 12: ...LINE2 TP_OFF Note Note Note Note Note Establishing a connection from an off hook line to multiple on hook lines may result in exces sive feedback noise being heard at the off hook line The PC control program should monitor the line hook states and disconnect lines which have gone on hook Alternately if the line to line attenuation is increased this condition will not occur TC_CONNECT TC_CONNECT TC...

Page 13: ... except TP_FORCEDDISCONNECT For TP_FORCEDDISCONNECT the confirmation is sent at the completion of the forced disconnect pulse See Also See Also See Also See Also See Also TC_SETFORCEDDISCONNECT TC_DIALDETECT TC_DIALDETECT TC_DIALDETECT TC_DIALDETECT TC_DIALDETECT Format Format Format Format Format TC_DIALDETECT linenum enable Description Description Description Description Description Assigns DTMF...

Page 14: ...main in the display until updated and a User generated System Message a 40 character set that is displayed for 1 second The TLE remembers what message type status vs user was in the Display when a TP_SYSTEM message is displayed for 1 second and returns that message after the TP_SYSTEM message is complete However if a user generated message e g TP_LINE1 was in the TLE Display when a TP_SYSTEM messa...

Page 15: ...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 mu...

Page 16: ...ample Example Example This example requests the current state of line 1 TC_REQLINESTATE TP_LINE1 See Also See Also See Also See Also See Also TC_SETHOOKTIMING TC_SETLOOPCURRENT TC_DCSIGNAL TM_OFFHOOK TM_ONHK TC_REQVERSION TC_REQVERSION TC_REQVERSION TC_REQVERSION TC_REQVERSION Format Format Format Format Format TC_REQVERSION Description Description Description Description Description Requests the ...

Page 17: ... TC_RING TP_RING_GROUP2 TP_LINE3 TP_LINE4 This stops ringing on line 3 TC_RING TP_OFF TP_LINE3 TP_LINE4 See Also See Also See Also See Also See Also TC_SETTIME_RING TC_SETRING TC_SETTONE TC_SENDTONE TC_SETCALLERID_EVERYRING TC_SELECTCONFIG TC_SELECTCONFIG TC_SELECTCONFIG TC_SELECTCONFIG TC_SELECTCONFIG Format Format Format Format Format TC_SELECTCONFIG config linenum Description Description Descri...

Page 18: ...he ADSI script has been sent to the line TC_SENDCALLERID TC_SENDCALLERID TC_SENDCALLERID TC_SENDCALLERID TC_SENDCALLERID Format Format Format Format Format TC_SENDCALLERID linenum fromline Description Description Description Description Description Sends a pre programmed Caller ID sequence P P P P Par ar ar ar arameter ameter ameter ameter ameter Linenum line number TP_LINE1 TP_LINE2 TP_LINE3 TP_L...

Page 19: ...ote Note Note Note The confirmation for this command is sent after the Call Waiting sequence has been sent to the line See Also See Also See Also See Also See Also TC_SETTONE TC_SETTIME_CALLWAIT TC_SENDDTMF TC_SENDDTMF TC_SENDDTMF TC_SENDDTMF TC_SENDDTMF Format Format Format Format Format TC_SENDDTMF dtmfstring linenum Description Description Description Description Description Sends a string of D...

Page 20: ...s ameters ameters ameters Tonename tone to send TP_OFF TP_DIALTONE TP_DIALTONE_NORMAL TP_DIALTONE_RECALL TP_DIALTONE_MESSAGEWAIT TP_DIALTONE_CONFIRM TP_DIALTONE_ATOFFHOOK TP_DIALTONE_NORMAL_ATOFFHOOK TP_DIALTONE_RECALL_ATOFFHOOK TP_DIALTONE_MESSAGEWAIT_ATOFFHOOK TP_DIALTONE_CONFIRM_ATOFFHOOK TP_NUMBERUNOB TP_RINGBACK Note requires fromline parameter TP_RINGBACK_GROUP1 Note requires fromline parame...

Page 21: ...IME_SIT TC_SETTIME_NUMBERUNOB TC_SETTONE_SIT TC_SETTONE_NUMBERUNOB TC_SEND TC_SEND TC_SEND TC_SEND TC_SENDVMW VMW VMW VMW VMW Format Format Format Format Format TC_SENDVMW linenum enable Description Description Description Description Description Sends Visual Message Waiting This command will only be accepted if the line is in the on hook state P P P P Par ar ar ar arameters ameters ameters ameter...

Page 22: ... playback attenuation to 30 dB on line 4 TC_SETAUDIOATTENUATION 30 TP_LINE4 See Also See Also See Also See Also See Also TC_PLAYMESSAGE TC_SETCALLERID_EVER TC_SETCALLERID_EVER TC_SETCALLERID_EVER TC_SETCALLERID_EVER TC_SETCALLERID_EVERYRING YRING YRING YRING YRING Format Format Format Format Format TC_SETCALLERID_EVERYRING enable Description Description Description Description Description Enables ...

Page 23: ...mat TC_SETCALLERID_MODE TP_SINGLEMESSAGE TP_LINE1 This turns off Caller ID on line 1 TC_SETCALLERID_MODE TP_OFF TP_LINE1 See Also See Also See Also See Also See Also TC_SENDCALLERID TC_RING TC_SETCALLERID_EVERYRING TC_SETCALLERID_NAME TC_SETCALLERID_SEQUENCE TC_SETCALLERID_TIME TC_SETCALLERID_NAME TC_SETCALLERID_NAME TC_SETCALLERID_NAME TC_SETCALLERID_NAME TC_SETCALLERID_NAME Format Format Format ...

Page 24: ...OFAREA TP_CID_NONUMBER _OUTOFAREA TP_CID_P TP_CID_O TP_CID_BLANK Note Following valid only with TLE ICID option TP_LONGDISTANCE TP_CALLEDLINE TP_DIALDIRECTORY TP_REASON_CALLFORWARD TP_COMPLEMENTARY TP_CALLTYPE_VOICE TP_ CALLTYPE_RB TP_ CALLTYPE_NAME TP_ CALLTYPE_MWAIT TP_CALLFORWARD TP_NETWORK_NONE TP_NETWORK_ONE TP_NETWORK_USER TP_FORWARD_UNAVAILABLE TP_FORWARD_BUSY TP_FORWARD_NOREPLY TP_FORWARD_...

Page 25: ...LERID_TIME month day hour minute Description Description Description Description Description Sets the clock for Caller ID P P P P Par ar ar ar arameters ameters ameters ameters ameters Month 1 12 Day 1 31 Hour 0 23 Minute 0 59 Example Example Example Example Example This example sets the Caller ID time to January 10 at 1 24 PM TC_SETCALLERID_TIME 1 10 13 24 See Also See Also See Also See Also See ...

Page 26: ...77 1633 10 13 See Also See Also See Also See Also See Also TC_SENDDTMF TC_SETDTMFCADENCE TC_SETECHO TC_SETECHO TC_SETECHO TC_SETECHO TC_SETECHO Format Format Format Format Format TC_SETECHO delay level linenum Description Description Description Description Description Sets an echo impairment Echo happens automatically when an off hook line is connected to another line P P P P Par ar ar ar aramete...

Page 27: ...ar ar arameter ameter ameter ameter ameter Length 0 2000 ms in 5 ms steps Example Example Example Example Example This example sets the forced disconnect COD pulse to 800 ms TC_SETFORCEDDISCONNECT 800 See Also See Also See Also See Also See Also TC_DCSIGNAL TC_SETHOOKTIMING TC_SETHOOKTIMING TC_SETHOOKTIMING TC_SETHOOKTIMING TC_SETHOOKTIMING Format Format Format Format Format TC_SETHOOKTIMING onhoo...

Page 28: ...e Example This example sets line 4 to 600 Ω impedance TC_SETIMPEDANCE TfLoopImpedance TP_IMPEDANCE600 TP_LINE4 TC_SETLOOPCURRENT TC_SETLOOPCURRENT TC_SETLOOPCURRENT TC_SETLOOPCURRENT TC_SETLOOPCURRENT Format Format Format Format Format TC_SETLOOPCURRENT loopcurrent linenum Description Description Description Description Description Sets the maximum loop current for the line P P P P Par ar ar ar ar...

Page 29: ...e Note When switching between TP_METER_OFFHOOK and TP_METER_ALWAYS the user must first set TP_OFF See Also See Also See Also See Also See Also TC_SETMETERTONES TC_SETMETER TC_SETMETER TC_SETMETER TC_SETMETER TC_SETMETERT T T T TONES ONES ONES ONES ONES Format Format Format Format Format TC_SETMETERTONES volt_freq linenum Description Description Description Description Description Sets the voltage ...

Page 30: ...age and frequency composite The desired ring voltage and frequency must be passed to the TfRingConfig function to be converted into the string to be sent to the TLE Voltage 20 80 volts in 5 volt steps Frequency 17 70 Hz in 1 Hz steps Linenum line number TP_LINE1 TP_LINE2 TP_LINE3 TP_LINE4 Example Example Example Example Example This example sets line 1 ringing to 60 volts at 30 Hz TC_SETRING TfRin...

Page 31: ...ATELLITEDELAY TP_OFF See Also See Also See Also See Also See Also TC_CONNECT TC_SETSWEEP TC_SETSWEEP TC_SETSWEEP TC_SETSWEEP TC_SETSWEEP Format Format Format Format Format TC_SETSWEEP startfreq range level time linenum Description Description Description Description Description Sets the parameters for the sweep tone P P P P Par ar ar ar arameters ameters ameters ameters ameters Startfreq starting ...

Page 32: ...ETTIME_CALL TC_SETTIME_CALL TC_SETTIME_CALL TC_SETTIME_CALL TC_SETTIME_CALLW W W W WAIT AIT AIT AIT AIT Format Format Format Format Format TC_SETTIME_CALLWAIT callwaittype lblank tblank on off on linenum Description Description Description Description Description Sets the timing for Call Waiting P P P P Par ar ar ar arameters ameters ameters ameters ameters Callwaittype Call Waiting type TP_CALLWA...

Page 33: ... with a wait for an acknowledge of 200 ms on line 1 TC_SETTIME_CAS 70 200 TP_LINE1 See Also See Also See Also See Also See Also TC_SENDCALLWAITING TC_SETTIME_DIAL TC_SETTIME_DIAL TC_SETTIME_DIAL TC_SETTIME_DIAL TC_SETTIME_DIALT T T T TONE ONE ONE ONE ONE Format Format Format Format Format TC_SETTIME_DIALTONE dialtone cadencetype linenum Description Description Description Description Description S...

Page 34: ...meters 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_SETTON...

Page 35: ...s ameters ameters ameters On 0 1000 ms in 5 ms steps Off 0 1000 ms in 5 ms steps Linenum line number TP_LINE1 TP_LINE2 TP_LINE3 TP_LINE4 Example Example Example Example Example This example sets standard Reorder call progress cadence for line 1 TC_SETTIME_ REORDER 250 250 0 0 TP_LINE1 This sets standard Reorder call progress cadence TC_SETTIME_ REORDER 250 250 250 250 TP_LINE1 This sets reorder ca...

Page 36: ...rs ameters On 0 1000 ms in 5 ms steps Off 0 1000 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 SIT tone timing to 330 ms on for all tones and 5 ms off for all tones on line 2 TC_SETTIME_SIT 330 5 330 5 330 5 TP_LINE2 Note Note Note Note Note SIT and Number Unobtainable operations are mutually exclusive within ...

Page 37: ...TC_SENDTONE TC_SETTIME_BUSY TC_SETTIME_CAS TC_SETTIME_DIALTONE TC_SETTIME_DIALTONEDELAY TC_SETTIME_REORDER TC_SETTIME_RING TC_SETTIME_CALLWAIT TC_SENDCALLWAITING TC_SENDADSI TC_SETT TC_SETT TC_SETT TC_SETT TC_SETTONE_FSK ONE_FSK ONE_FSK ONE_FSK ONE_FSK Format Format Format Format Format TC_SETTONE_FSK tone1_freq tone1_level tone2_freq tone2_level linenum Description Description Description Descrip...

Page 38: ...0 60 0 to 60 dBm If mode is other than TP_SINGLE levels should be limited to 6 dbm per tone Linenum line number TP_LINE1 TP_LINE2 TP_LINE3 TP_LINE4 Example Example Example Example Example This example sets number unobtainable tone to 500 Hz and 200 Hz with both set at 10 dBm on line 2 TC_SETTONE_NUMBERUNOB TP_TONE1_PLUS_TONE2 500 10 200 10 TP_LINE2 Note Note Note Note Note SIT and Number Unobtaina...

Page 39: ...nd both of the appropriate TC_SETTONE_ and TC_SETTIME_ commands See Also See Also See Also See Also See Also TC_SENDTONE TC_SETTIME_SIT TC_SETTYPEWHITENOISE TC_SETTYPEWHITENOISE TC_SETTYPEWHITENOISE TC_SETTYPEWHITENOISE TC_SETTYPEWHITENOISE F F F F For or or or ormat mat mat mat mat TC_SETTYPEWHITENOISE type Descr Descr Descr Descr Description iption iption iption iption From a power up state the ...

Page 40: ...W TC_SETVMW TC_SETVMW TC_SETVMWAITTYPE AITTYPE AITTYPE AITTYPE AITTYPE F F F F For or or or ormat mat mat mat mat TC_SETVMWAITTYPE vmwaittype linenum Descr Descr Descr Descr Description iption iption iption iption Sets the message format for Visual Message Waiting P P P P Par ar ar ar arameters ameters ameters ameters ameters Vmwaittype message format TP_SINGLEMESSAGE TP_MULTIPLEMESSAGE Note Follo...

Page 41: ... the white noise level P P P P Par ar ar ar arameters ameters ameters ameters ameters Level White noise level is dBrn Note dBrn dBm 90 TP_OFF 20 85 dbrn Linenum line number TP_LINE1 TP_LINE2 TP_LINE3 TP_LINE4 Example Example Example Example Example This example sets white noise on line 3 to 30 dBrn TC_SETWHITENOISE 30 TP_LINE3 This turns off white noise on line 4 TC_SETWHITENOISE TP_OFF TP_LINE4 S...

Page 42: ...teger as string the TLE C void TfMeterConfig char returnstring double metervolt int meterfreq VB TfRingConfig byval ringvolt as double byval ringfreq Converts metervolt and meterfreq to the data string required by as double as string the TLE C void TfRingConfig char returnstring double ringvolt int ringfreq VB TfLoopImpedance byval impedance as integer as string Converts impedance to the data stri...

Page 43: ...Descr Descr Descr Description iption iption iption iption Converts System and Line message strings returned from TLE into text strings Does not convert Command Response messages P P P P Par ar ar ar arameter ameter ameter ameter ameter Returnstring string in which the function returns the requested data C only Messagestring Framed message from TLE Returns Returns Returns Returns Returns Readable m...

Page 44: ...int impedance char siglevel int mode Description Description Description Description Description Converts the signal level returned as part of TM_SIGLEVEL message into either a voltage or dBm value Impedance Impedance of the line being measured TP_IMPEDANCE600 TP_IMPEDANCE900 TP_IMPEDANCE_GERMANY TP_IMPEDANCE_UK TP_IMPEDANCE_AUSTRALIA Siglevel Value returned as part of TM_SIGLEVEL message 0 429496...

Page 45: ...rmat Format TS_ENDIF Description Description Description Description Description Ends entry of a script Example Example Example Example Example See TS_STARTDEF Note Note Note Note Note This command will return an error if a TS_STARTDEF has not been previously sent See Also See Also See Also See Also See Also TS_STARTDEF TS_SCRIPTMODE TS_SCRIPTRUN TS_EXECUTE TS_EXECUTE TS_EXECUTE TS_EXECUTE TS_EXEC...

Page 46: ...ines 3 and 4 TP_SCRIPT_QUAD Four scripts Script 1 accesses line 1 script 2 accesses line 2 etc Example Example Example Example Example See TS_STARTDEF Note Note Note Note Note This command must be sent to the TLE before defining any scripts and will return an error if sent between a TS_STARTDEF and TS_ENDDEF Setting scriptmode will clear all existing scripts from the TLE See Also See Also See Also...

Page 47: ...CONFIG 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 gr...

Page 48: ...See Also See Also See Also See Also See Also TC_DIALDETECT TS_W TS_W TS_W TS_W TS_WAITFLASH AITFLASH AITFLASH AITFLASH AITFLASH Format Format Format Format Format TS_WAITFLASH linenum Description Description Description Description Description Waits until a hook flash is detected Linenum line number TP_LINE1 TP_LINE2 TP_LINE3 TP_LINE4 Note Note Note Note Note If a line is on hook or goes on hook w...

Page 49: ...OK ONHOOK ONHOOK ONHOOK F F F F For or or or ormat mat mat mat mat TS_WAITONHOOK linenum Descr Descr Descr Descr Description iption iption iption iption Waits until line is on hook Linenum line number TP_LINE1 TP_LINE2 TP_LINE3 TP_LINE4 Example Example Example Example Example See TS_STARTDEF ...

Page 50: ...TLE allocates a maximum of 8K bytes for all scripts In single script mode the entire 8K is allocated to the script in dual mode 4K is allocated to each script and in quad mode 2K is allocated to each script If these limits are exceeded the TLE will return an error during the download process The TLE will not accept a new download if an existing script is running In this case the command to stop sc...

Page 51: ...AY TP_SYSTEM 2 WAY CONFERENCE wait for line 1 to go on hook 0 TS_WAITONHOOK TP_LINE1 disconnect line 1 from line 2 Note 3 Note 3 Note 3 Note 3 Note 3 0 TS_EXECUTE TC_CONNECT TP_LINE1 TP_OFF wait for line 2 to go on hook 0 TS_WAITONHOOK TP_LINE2 mark end of the script 0 TS_ENDDEF flag the script to run after it is downloaded 0 TS_SCRIPTRUN TP_ENABLE Note 4 Note 4 Note 4 Note 4 Note 4 When the scrip...

Page 52: ...1 Note 2 Note 2 Note 2 Note 2 Note 2 ring line 2 using group 1 cadence and send caller ID using name and number from line 1 0 TS_EXECUTE TC_RING TP_RING_GROUP1 TP_LINE2 TP_LINE1 wait until line 2 goes off hook 0 TS_WAITOFFHOOK TP_LINE2 wait until line 1 goes on hook 0 TS_WAITONHOOK TP_LINE1 wait until line 2 goes on hook 0 TS_WAITONHOOK TP_LINE2 end script 1 0 TS_ENDDEF start of script number 2 0 ...

Page 53: ... obtain a match e g for this number the sequence 55412125551212 would be accepted Example of a Quad Script Example of a Quad Script Example of a Quad Script Example of a Quad Script Example of a Quad Script Note that in a quad script the 1st script can only access line 1 the 2nd line 2 etc send a quad script 0 TS_SCRIPTMODE TP_SCRIPT_QUAD start of script number 1 0 TS_STARTDEF 1 use configuration ...

Page 54: ...E3 end of script 0 TS_ENDDEF start script 4 0 TS_STARTDEF 4 wait for off hook on line 4 0 TS_WAITOFFHOOK TP_LINE4 play audio message 3 on line 4 0 TS_EXECUTE TC_PLAYMESSAGE 3 TP_LINE4 wait for on hook on line 4 0 TS_WAITONHOOK TP_LINE4 end of script 0 TS_ENDDEF start the 4 scripts 0 TS_SCRIPTRUN TP_ENABLE Note that in dual or quad script modes all scripts are enabled or disabled together that is a...

Page 55: ...k low tone frequency 440 Hz Ringback low tone amplitude 19 dBm Ringback high tone frequency 480 Hz Ringback high tone amplitude 19 dBm Busy low tone frequency 480 Hz Busy low tone amplitude 24 dBm Busy high tone frequency 620 Hz Busy high tone amplitude 24 dBm Busy cadence 5 on off Reorder low tone frequency 480 Hz Reorder low tone amplitude 24 dBm Reorder high tone frequency 620 Hz Reorder high t...

Page 56: ...Special test amplitude 2 off FSK frequency low tone frequency 1200 Hz high tone frequency 2200 Hz FSK amplitude 15 dBm per tone Ring generator frequency 20 Hz Ring generator amplitude 80 V RMS Line impedance all lines 900Ω On hook timer lines connected 1 115 sec On hook timer lines not connected 34 sec Off hook timer 1 sec Hook flash timer minimum 300 sec maximum 1 1 sec Monitor Port Access disabl...

Page 57: ...IFER line 3 SMITH SHARON line 4 MACDONALD MIKE Dialtone delay 1 sec Line to Line Attenuation 46 dB all lines Hook flash detect enabled all lines Loop current 35 ma all lines Metering Tones Disabled for all lines if enabled frequency 16 kHz voltage 3 V RMS timing 5 sec on off Echo delay 0 ms attenuation 60 dB Satellite Delay delay 0 ms Whitenoise off Def Def Def Def Default ault ault ault ault V V ...

Page 58: ...0 00025 Rev D DTMF Transmit Row 1 freq 697 Hz Row 2 freq 770 Hz Row 3 freq 852 Hz Row 4 freq 941 Hz Col 1 freq 1209 Hz Col 2 freq 1336 Hz Col 3 freq 1447 Hz Col 4 freq 1633 Hz On time 50 ms Off time 50 ms Amplitude 10 dBm both tones ...

Page 59: ...1 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 s...

Page 60: ...ingback linenum TC_SETTIME_SIT on off on off on off linenum 45 Sets the cadence for Special Information Tones TC_SETTONE tonename mode tone1_freq 46 Sets the frequencies and levels for various tone pairs tone1_level tone2_freq tone2_level linenum TC_SETTONE_FSK tone1_freq tone1_level 47 Sets the frequencies and levels for the FSK tones tone2_freq tone2_level linenum TC_SETTONE_NUMBERUNOB mode tone...

Page 61: ...ds nationall Caller IDmessage fields TP_CALLEDLINE 11 TP_CALLFORWARD 19 TP_ CALLTYPE_MWAIT 18 TP_ CALLTYPE_NAME 17 Inter Inter Inter Inter Internationall Caller IDmessage fields nationall Caller IDmessage fields nationall Caller IDmessage fields nationall Caller IDmessage fields nationall Caller IDmessage fields TP_ CALLTYPE_RB 16 TP_CALLTYPE_VOICE 15 TP_CALLUSER_DATA 36 TP_CALLUSER_MOBILE 32 TP_C...

Page 62: ... Sw Sw Sw Sw Sweep times eep times eep times eep times eep times TP_SWEEP_5 0 TP_SWEEP1 1 TP_SWEEP2 2 TP_SWEEP5 3 TP_SWEEP10 4 TP_SWEEP15 5 TP_SWEEP30 6 Tone Types TP_BUSY 16 TP_CALLWAIT 23 TP_CALLWAITDISTINCT 24 TP_CAS 21 TP_DIALTONE 1 TP_DIALTONE_ATOFFHOOK 6 TP_DIALTONE_CONFIRM 5 TP_DIALTONE_CONFIRM_ATOFFHOOK 10 TP_DIALTONE_MESSAGEWAIT 4 TP_DIALTONE_MESSAGEWAIT_ATOFFHOOK 9 TP_DIALTONE_NORMAL 2 T...

Page 63: ...ST 43 Factory Test Mode TM_INIT_CFG 38 Initializing Configuration TM_INIT_DSP 40 Initializing DSP System TM_LFAIL 27 Line Circuit Fail TM_NDPROG 45 No DSP Code Found Download Program TM_NPROG 44 No Program Found Download Program TM_RESETSW 48 Reset Switch Pressed TM_TELTONE 37 Teltone TLE TM_TEST_LINE 35 Testing Line Circuits TM_TEST_PCM 42 Testing PCM Controller TM_TEST_PROG 33 Testing Program TM...

Page 64: ...up message type Index Index Index Index Index code code code code code item item item item item 9 Blank Field No items transmitted 1 01H Date Time 2 02H Calling Line Identity up to 64 digits 11 03H Called Line Identity ETSI only up to 64 digits 12 03H Dialable Directory number Australia or Bellcore only up to 64 digits 6 04H Reason for absence of Calling Line Identity ETSI and Bellcore only O unav...

Page 65: ...e Redirecting Line group assign 40 E0H Extension for network operator use 41 User defined item 1 42 User defined item 2 43 User defined item 3 8 02H Out of Area O in the number field Bellcore only 7 02H Private P in the number field Bellcore only These parameters are for multiple message format FSK transmissions Set Caller ID Mode Command P Set Caller ID Mode Command P Set Caller ID Mode Command P...

Reviews: