Avaya VTCPD Features (Software Release 2.1 on MPS 2.1) Bedienungsanleitung Seite 36

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 114
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 35
VTCPD Features User Manual
Page 36 P0602483 Ver: 03.41
VTCPD Features User Manual
Application-Host Options
This document only provides an overview of application programming requirements
for Avaya VTCPD communications. For a detailed discussion on developing
applications for Avaya VTCPD functions, see the
Avaya Media Processing Server Series
Application Programming Reference Guide
.
Typically, PeriProducer applications are programmed to perform the following steps
in the indicated order using the functions of the Resource block:
Acquire the Avaya VTCPD resource (GET)
Send a message to the host (SEND)
Receive a reply from the host (RECEIVE)
Free the Avaya VTCPD resource (FREE)
To perform these functions Avaya VTCPD must be able to:
reserve an available host connection (the slot)
send data to the host (associating the Message ID field with the phone line)
receive data from the host based on the specified Message ID
release the slot.
When Avaya VTCPD acquires a slot, the it sends the gotres condition to the
application. Data associated with the gotres condition contains the connection number,
slot number, and Avaya VTCPD port number in the format XXX:YYY:ZZZ.
If a reply from the host arrives before the application issues the RECEIVE command,
the reply is held by Avaya VTCPD daemon (by default). If the application terminates,
the slot is released automatically.
The SEND request includes only the data portion of the message, because the delimiter
(-f d) or length header (-f l) is provided by Avaya VTCPD (by default).
After the initial SEND request, SEND and RECEIVE requests can be mixed in any
order. The Message ID of the last SEND is in effect (until the slot is freed) and is used
to identify consecutive RECEIVEs.
For example, in the following scenario, the application receives two messages with the
specified Message ID-field:
Acquire the Avaya VTCPD resource
Send a message to the host
Receive a reply from the host
Receive a second reply from the host
Free the Avaya VTCPD resource
Seitenansicht 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 113 114

Kommentare zu diesen Handbüchern

Keine Kommentare