VOIP-600
Series Phone
Configuration / Operation Manual
Page
37
of
94
Rev. 9/17/2014
Copyright 2014 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.
Example:
echo “activate cam_1” | nc 192.168.1.100 23 +
echo “activate cam_2” | nc 192.168.1.100 23
3.
Click
Apply
to save settings.
Note:
The digital output scripts can be utilized to perform HTTP GET and POST requests in addition to basic ASCII output. As static
message content is declared with the echo command, only HTTP Basic Authentication is supported.
HTTP requests require line breaks requiring the echo command to interpret backslash escapes. The
–
e options enables this
functionality.
Also note that all HTTP headers will need to be manually specified.
The full HTTP specification is outside the scope of this document, however an example GET and POST script are shown
below for illustration.
Example GET:
echo -e "GET /axis-cgi/com/ptz.cgi?gotoserverpresetname=POSITION1 HTTP/1.1\nHost: 192.168.1.100\nAuthorization:
Basic YWRtaW46YWRtaW4=\n" | nc 192.168.1.100 80
Example POST:
echo -e "POST /api/static-device/alert/ HTTP/1.1\nHost: 192.168.1.100\nAuthorization: Basic
YWRtaW46YWRtaW4=\ntype=VOIP-600&description=Activate_1\n" | nc 192.168.1.100 80