Setup & Configuration
HDE-VoIP Telephones
Page 28
Web Page Item
Description
Enable Event
Generation:
When this option is selected, the device will initialize the event generation engine. This mechanism
can be used to send xml formatted http POST packets to an external server in response to triggers
in the operation of the device.
Event Server
Server IP Address:
This is the address of the remote TCP server for receiving POST events. This field can accept
addresses in dotted decimal notation or canonical names of up to 64 characters in length.
Server Port:
The Remote Event Server Port is used to set the port number that the remote server is listening on.
Server URL:
POST requests have to be sent to a target script at the given IP address. This field defaults to
‘xml_engine' and can accept up to 127 characters.
Events
Examples
Enable Button
Events:
When this option is enabled, an event will be sent to the remote server every time a button is
pressed.
POST xmlparse_engine HTTP/1.1
Host: 10.0.3.79
User-Agent: CyberData/1.0.0
Content-Length: 196
Content-Type: application/x-www-form-urlencoded
<?xml version="1.0" encoding="lSO-8859-1"?>
<cyberdata NAME='GuardianVoIP Device' MAC='0020f70015b6'>
<event>BUTTON</event>
</cyberdata>
Enable Call Start
Events:
When this option is enabled, an event will be sent to the remote server when a call becomes active.
POST xmlparse_engine HTTP/1.1
Host: 10.0.3.79
User-Agent: CyberData/1.0.0
Content-Length: 201
Content-Type: application/x-www-form-urlencoded
<?xml version="1.0" encoding="lSO-8859-1"?>
<cyberdata NAME='Guardian VoIP Device' MAC='0020f70015b6'>
<event>CALL_ACTlVE</event>
</cyberdata>
Enable Call
Terminated Events:
When this option is enabled, an event will be sent to the remote server when a call is terminated.
POST xmlparse_engine HTTP/1.1
Host: 10.0.3.79
User-Agent: CyberData/1.0.0
Content-Length: 205
Content-Type: application/x-www-form-urlencoded
<?xml version="1.0" encoding="ISO-8859-1"?>
<cyberdata NAME='Guardian VoIP Device' MAC='0020f70015b6'>
<event>CALL_TERMINATED</event>
</cyberdata>
Enable Relay
Activated Events:
When this option is enabled, an event will be sent to the remote server when the relay is activated.
POST xmlparse_engine HTTP/1.1
Host: 10.0.3.79
User-Agent: CyberData/1.0.0
Content-Length: 234
Content-Type: application/x-www-form-urlencoded
<?xml version="1.0" encoding="ISO-8859-1"?>
<cyberdata NAME='Guardian VoIP Device' MAC='0020f70015b6'>
<event>RELAY_ACTIVATED</event>
</cyberdata>