Opening Communication
®
2N
NetSpeaker Server
By default, the
ports. External applications are connected to this port.
Communication between external applications and the
s starts with the BIND command. This command is sent by the server client.
The application cannot continue communicating until it receives the <bind
Status="OK"/> reply from the
connection and creation of a communication channel.
The following answers have been added for different situations:
NNB_XML_STATUS_OK ...external application can start sending other commands.
NNB_XML_STATUS_ALREADY_BOUND ... application ignores this error and can
send commands, bind is no longer needed.
NNB_XML_STATUS_NEIGHBOUR_IS_UNREADY ... application must repeat the
bind command after a time delay of 100 ms at least.
No new commands can be sent until the CTI interface responds to the bind
command.
If the application does not receive an answer in about 1 sec, it repeats the bind
command.
®
2N
TELEKOMUNIKACE a.s., www.2n.cz
- Starting Communication
®
2N
NetSpeaker Server
2N
Request
<bind ConnType="LOCAL" AppName="SpkCtiTest"/>
Response
<bind Status="OK"/>
Error message
<error Layer="XMLB">UNBOUND_STREAM</error>
listens on TCP port 6543 on all eth server
2N
®
NetSpeaker Server
®
NetSpeaker Server
. The server thus confirms the
alway
80