DevLink Programmer’s Guide
Page 7
IP Office CTI Link
40DHB0002UKAD Issue 11a (14th June 2005)
Connecting to an IP Office using DevLink
Connecting
Dev
Link
supports connection to multiple IP Office systems at the same time. To connect to an IP Office
system, the
DLOpen()
function must be called:
LONG DLOpen(
LONG pbxh,
TEXT *pbx_address,
TEXT *pbx_password,
TEXT *reserved1,
TEXT *reserved2,
COMMSEVENT cb);
The application-supplied pbxh handle is used internally by Dev
Link
to track the connected IP Office
System. Each connected system must have a different pbxh handle, supplied by the application.
The pbx_address field is the IP address of the IP Office system unit. A value of "255.255.255.255" can
be used, in which case DevLink will broadcast to locate an IP Office system unit.
Notes:
1. If Dev
Link
is being used to control more than one IP Office system at the same time, then the
specific IP address of the IP Office
must
be used.
2. The cb parameter (Communications Status Callback) is required, and must not be set to NULL.
The return result from DLOpen () does not necessarily indicate whether or not the connection to
the system unit was successful. If the connection attempt succeeds, then a COMMSEVENT
callback will be generated, indicating that connection to the system has succeeded.
3. The pbx_password parameter should be the monitor password of the switch, not the system
password.
4. The reserved1 and reserved2 parameters are for future expansion, and should be set to NULL
(nil in Delphi).
Summary of Contents for IP Office CTI Link
Page 1: ...IP Office CTI Link DevLink Programmer s Guide 40DHB0002UKAD Issue 11a 14th June 2005 ...
Page 2: ......
Page 4: ......
Page 22: ......
Page 27: ......