VOIP-500
Series Phone
Configuration and Operation Manual
Page
35
of
90
Copyright 2012 Talk-A-Phone Co.
• 7530 North Natchez Avenue • Niles, Illinois 60714 • Phone 773.539.1100 • [email protected] • www.talkaphone.com.
All prices and specifications are subject to change without notice. Talk-A-Phone, Scream Alert, WEBS and WEBS Contact are registered trademarks of Talk-A-Phone Co. All rights reserved.
4.7. Digital Outputs
4.7.1. Digital Output Scripts
The VOIP-500 supports ASCII digital outputs to third-party devices. The Digital Outputs
–
Scripts page allows
for creation of scripts that will run when activated on the Digital Outputs
–
Events page.
Login → D
igital Outputs
→
Scripts
Figure 18 Digital Outputs - Scripts
To create Digital Output Scripts:
1.
Use the drop-down menu to select the
Digital Output Script slot
, and assign a
label
.
2.
Enter a script that should be executed when activated.
Valid commands for scripts are ‘echo’ and ‘nc’. The ‘+’ sign can be used for separating mul
tiple
commands.
The
echo
command contains the body of the message. Proper usage is:
echo “
Body_of_the_message
”
Example:
echo
“activate cam_1”
The
nc
(netcat) command establishes the communications link. Proper usage is:
nc
<IP_ADDRESS> <PORT>
Example:
nc
192.168.1.100 23
Commands are often combined to create a relationship between a message and its destination. This can
be achieved through use of the ‘|’ (pipe).
The
|
(pipe) is used to pass one command into another. For example, I can pipe a message into its
destination.
Example:
echo
“activate cam_1” |
nc
192.168.1.100 23
3.
Click
Apply
to save settings.
1
3
4
2