![background image](http://html1.mh-extra.com/html/acti/a1d-220-v3-14-19-ac/a1d-220-v3-14-19-ac_user-manual_2842786056.webp)
56
*Pre-requisites:
HTTP CGI server setup.
*Pre-requisites:
SMTP server / HTTP CGI server setup.
Send URL commands
URL commands can be sent to HTTP CGI servers upon event. This
provides the possibility of highly intelligient response upon event. IP devices
and many other devices also have embedded CGI servers that may be
controlled.
When Event Handler sends an URL command, it will send one set of
command when the event is trigged, and another as the event becomes
inactive. Depending on the CGi design, the URL commands may be able to
be stringed together, and multiple commands may be issued in a single line.
An example would be when the access control device at the entrance
detects an entry, this device provides a DI signal to the PTZ camera, and
triggers an event. This event then sends a loopback command to the PTZ
Camera itself (by setting its own IP as the HTTP CGI server). The PTZ
Camera then moves to a preset location, stays until the event is over, then
move back to another location. At the same time it moves to the preset