Script samples are provided to assist you in setting
up your test sessions. Please contact us if you have suggestions
for additional scripts. You are also invited to send your
sample scripts to us for inclusion on this list.
Click on a zip file to download.
Switch Emulation/Dialed Applications |
|
ATSsmpl1.zip |
POTS dial from T1; T1 LS FXS dial to POTS |
Two scripts for configuring analog (POTS)
lines and T1 lines in a "User Script-Dialed" control
set. An incoming call on the T1 line dials a POTS channel;
when the POTS channel is answered the audio path is cut through
to the T1 channel. The script for the T1 line expects the
line template to be for a Loop Start FXS line. |
ATSsmpl3.zip |
POTS switch emulation |
Switch emulation for POTS channels. Channels must be assigned in pairs (Control Set Type = User Script - Fixed Pairs) in the control set. Go off-hook on one phone and the other rings. When that phone is answered a talk path is established. |
Call Originate Applications |
|
ATSsmpl2.zip |
POTS originate; receive DTMF; send wave |
Originate a call on a POTS line, i.e. ring
the phone. If phone is answered, wait one second and generate
a DTMF 1. Enable the DTMF detector and wait four seconds for
"12#" to be dialed. If the correct number is dialed
play the wave file "hello.wav". If it is not dialed,
or it is invalid, play the wave file "invalid.wav".
Wait for user to hangup and then repeat after 10 seconds. |
| ATSsmpl4.zip |
PRI originate
CPE |
Originate a call
as a PRI CPE and play "invalid.wav" when the far
end answers. Terminate the call when either the far end hangs-up
or the call duration timer expires. Use the Edit/find menu
and search on invalid.wav to find the commands for playing
the wave file. |
ATSsmpl5.zip |
PRI originate network; play wave |
Originate a call as a PRI Network and play a wave file when the far end answers. Use the Edit/find capability and search on "Play the wave" to find the point where the connection has been made and the wave playback begins. |
ATSsmpl8.zip |
T1 GS FXS originate; play wave |
Originate a call as a Ground Start Office (FXS). When the call is answered play the wave file "invalid.wav". |
ATSsmpl9.zip |
T1 LS FXO originate; voice detect |
The channel acts as a Station (FXO) and is connected to an Office. This script dials into the office, waits for a voice detect, plays a wave file, waits for the Call Duration timer to expire and disconnects. |
ATSsmpl11.zip |
T1 LS FXS originate |
The channel acts as an Office (FXS) and is connected to a Station. This script originates a call and plays a wave file after the connection is established. The call is terminated if the Call Duration timer expires or the far end disconnects. |
ATSsmpl12.zip |
T1 wink originate; send DTMF |
Originate a call on a wink start T1 channel, wait 2 seconds after answer, and send digits 123# when the other end answers. |
ATSsmpl13.zip |
T1 wink originate; play wave |
Originate a call on a wink start T1 channel and play wave file "invalid.wav" when the other end answers. |
ATSsmpl16.zip |
T1PRI originate play DTMF |
Originate a call on T1 PRI as network, when answered send DTMF digit, look for DTMF digit back from T1 PRI CPE far end to confirm audio path. Can be used with ATSsmpl17.zip. |
Call Terminate Applications |
| ATSsmpl6.zip |
PRI terminate
as CPE; detect voice |
Originate a call
as a PRI CPE and play "invalid.wav" when the far
end answers. Terminate the call when either the far end hangs-up
or the call duration timer expires. Use the Edit/find menu
and search on invalid.wav to find the commands for playing
the wave file. |
|
ATSsmpl7.zip |
PRI terminate
as network; detect voice |
Terminate as
a PRI Network, with voice detect. If voice is seen within
2 seconds of answer, play the wave file "invalid.wav",
else send DTMF string 12#. Wait 2 seconds and repeat until
caller has terminated call. Use the Edit/find command with
a search for "voice detector available" to find
the commands for setting up voice detect. |
| ATSsmpl10.zip |
T1 LS FXO terminate;
play wave |
Terminate a call
on a loop start T1 FXO channel. Upon answer, send "Invalid.wav"
and wait for call duration to end before hanging up. |
| ATSsmpl14.zip |
T1 wink terminate;
play wave; DTMF receive |
Terminate (Answer
incoming) call on a wink start T1 channel. Upon answer, send
"Invalid.wav" and wait for "1#" to be
dialed. If seen, play "Hello.wav", else terminate
call and cycle back to start. |
| ATSsmpl15.zip |
T1 wink terminate;
play wave |
Terminate a call
on a wink start T1 channel and, when the other end answers,
play the wave file "invalid.wav". |
ATSsmpl17.zip |
T1PRI terminate play wave |
Terminate T1 PRI as CPE, answer call, look for DTMF digit. After receiving DTMF send DTMF digit to network to confirm audio path. Can be used with ATSsmpl16.zip. |