Initiating access to VTel
Using Assign to connect to VTel
After VTel starts, an application must establish a bi-directional connection so responses
can be returned for all requests. Refer to
directional communication. Once the connection is established, the application gains a
degree of control over VTel functions.
Note:
Note:
To establish a DDE connection, the DDE Link Topic is needed to identify the applications
that wish to communicate. This is indicated by the LinkTopic parameter of the
Assign() command. The LinkTopic parameter contains the description of the
application to respond to and the specific DDE topic, separated by the pipe or vertical bar
character (|). These may be adjustable, or preset and fixed, depending on the language
and application software that is used. In the following code example, the LinkTopic
parameter is represented by the literal "DDEApp|DDETopic":
[VTel.Assign("DDEApp|DDETopic")]
If the attempt is successful, VTel will send a DDE message to the specified application and
topic:
[VTel.Assign.response(,"DDEApp|DDETopic")]
To assign from VTelX to VTel, the following Assign() command and response would be
sent:
[VTel.Assign("VTelX|VTelX")]
[VTel.Assign.response(,"VTelX|VTelX")]
34 VTel Programmer Guide
Requests requiring access to Telephony resources will fail until after a login
has been performed.
Using DDE
on page 22 for a discussion of bi-