79
2N TELEKOMUNIKACE a.s., www.2n.cz
Basic Information
XML Interface for Network Services
Local Connections
By default, the
listens on TCP port 6543 on all eth server
2N NetSpeaker Server
®
ports. External applications are connected to this port.
Communication between external applications and the
alway
2N NetSpeaker Server
®
s starts with the BIND command. This command is sent by the client server.
Applications cannot continue communicating until they receive the <bind
Status="OK"/> reply from the
. The server thus confirms the
2N NetSpeaker Server
®
connection and creation of a communication channel.
Clients can choose to implement a full XMPP client or to simply run a streaming XML
parser, such as the libxml2 Simple API for XML (SAX) parser.
XML Interface
After communication initialisation is completed, the
sends
2N
NetSpeaker Server
®
<bind Status="OK"/>. There are two types of XML messages for communication:
The request and response messages define the request-message content using the
"<msg Id=" ID information element command, the "<CTI_IE_REFERENCE Ref" tag and
IE </msg> termination at the end of message. This type of XML message is used for
communication commands and replies from the
. This type of
2N NetSpeaker Server
®
communication is also used for event registration and unregistration of events.
Event messages use the "<CTI_IE_REFERENCE Ref" tag. This type of IE is used for
recognition of responses sent asynchronously on events in the
2N NetSpeaker
®
.
Server
Message Request and Response
The
XML interface has two different formats:
2N NetSpeaker Server
®
Request
<msg Id="command identify">
<CTI_IE_REFERENCE Ref="0x421"/>
<CTI_REQUEST >
</msg>
Response
<msg Id="command identify">
<CTI_IE_REFERENCE Ref="0x421"/>
<CTI_IE_RESULT Result=""/>
</msg>
This document also contains XML schemes which prove details on the incoming and
outgoing combinations using the XML request and response.
Содержание NetSpeaker
Страница 1: ...www 2n cz Version 2N NetSpeaker IP Audio System Manual 1 1 ...
Страница 47: ...47 2N TELEKOMUNIKACE a s www 2n cz Figure XML Script for Password Saving ...
Страница 51: ...51 2N TELEKOMUNIKACE a s www 2n cz Figure Local Sources ...
Страница 56: ...56 2N TELEKOMUNIKACE a s www 2n cz Login Windows opens Enter the password 2n and click on Connect ...
Страница 63: ...63 2N TELEKOMUNIKACE a s www 2n cz ...
Страница 82: ...82 2N TELEKOMUNIKACE a s www 2n cz command ...