Table Of Contents CTI DevLink ..........................5 Overview..............................5 IP Office CTI Link Lite..........................5 IP Office CTI Link Pro..........................5 DevLink............................... 6 Using the DevLink DLL..........................6 Using DevLink with Microsoft Visual C++ ....................6 Using DevLink with Borland Delphi......................6 Connecting to an IP Office using DevLink................
CTI DevLink Overview IP Office DevLink is part of the IP Office CTI Link Software Development Kit. The IP Office CTI Link is available in Lite and Pro versions, which provide run-time interfaces for applications to use. The Software Development Kit (SDK) provides documentation on both Lite and Pro interfaces for software developers.
DevLink enables third-party applications, such as call recorders to use information provided by the telephone system. Please refer to the IP Office CTI Link Installation Manual for installation instructions. When the DevLink component is installed, a Windows Dynamic Link Library, DEVLINK.DLL is installed, by default, into "Program Files/Avaya/IP Office/DEV Link"...
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). DevLink Programmer’s Guide Page 7 IP Office CTI Link 40DHB0002UKAD Issue 11a (14th June 2005)
To disconnect from IP Office, use the DLClose() routine, passing the same application-supplied handle that was used to open the connection: LONG PASCAL DLClose( LONG pbxh ); DevLink Programmer’s Guide Page 10 IP Office CTI Link 40DHB0002UKAD Issue 11a (14th June 2005)
The second parameter is a string, containing the call record. The call record is a comma-separated string, with variable width fields. The string will always be less than 1500 bytes in length inclusive of a terminating NULL character. DevLink Programmer’s Guide Page 11 IP Office CTI Link 40DHB0002UKAD Issue 11a (14th June 2005)
This field contains two numbers: 1) an indicator of how the called presentation & party details should be presented, and 2) the type of data to be DevLink Programmer’s Guide Page 12 IP Office CTI Link 40DHB0002UKAD Issue 11a (14th June 2005)
Page 13
Non-zero indicates that the call is being transferred. Service active Number Non-zero if the service is active. Service quota Number Non-zero if the service quota is used. DevLink Programmer’s Guide Page 13 IP Office CTI Link 40DHB0002UKAD Issue 11a (14th June 2005)
Page 14
Service quota time Number The service quota time. Account code String The account code of the call, if any CallID Number Unique call id DevLink Programmer’s Guide Page 14 IP Office CTI Link 40DHB0002UKAD Issue 11a (14th June 2005)
The call is no longer the primary call, i.e. it is now a waiting call CMCauseLineAppearanceCall CMCauseUnheldCall CMCauseReplaceCurrentCall CMCauseGlare CMCauseR21CompatConfMove The call has been placed into a conference DevLink Programmer’s Guide Page 15 IP Office CTI Link 40DHB0002UKAD Issue 11a (14th June 2005)
Call id for the A end of the call B call id String Call id for the B end of the call CallID Number Unique call id DevLink Programmer’s Guide Page 16 IP Office CTI Link 40DHB0002UKAD Issue 11a (14th June 2005)
This routine may return 0 (DEVLINK_SUCCESS) or 1 (DEVLINK_UNSPECIFIEDFAIL) in the event of an error. C / C++ LONG PASCAL DLClose( LONG pbxh ); Delphi function DLClose(pbxh: LongInt): LongInt; stdcall; DevLink Programmer’s Guide Page 18 IP Office CTI Link 40DHB0002UKAD Issue 11a (14th June 2005)
2 = DEVLINK_LICENCENOTFOUND - If no CTI licence is activated on the IP Office system. C / C++ LONG PASCAL DLRegisterType2CallDeltas( LONG pbxh, CALLLOGEVENT cb ); Delphi function DLRegisterType2CallDeltas(pbxh: LongInt; cb: TCallLogEvent): LongInt; stdcall; DevLink Programmer’s Guide Page 19 IP Office CTI Link 40DHB0002UKAD Issue 11a (14th June 2005)
C / C++ typedef void (CALLBACK * CALLLOGEVENT)( Long pbxh, TEXT * info Delphi type TCallLogEvent = procedure( pbxh : LongInt; info : PChar ); DevLink Programmer’s Guide Page 21 IP Office CTI Link 40DHB0002UKAD Issue 11a (14th June 2005)
This appendix contains a copy of the DEVLINK.PAS file, used for Borland Delphi programs. unit DEVLINK; {**************************************************************************} { Delphi unit for DevLink (c) 2001 Avaya Global SME Solutions { Contents:- } { IP Office DevLink DLL provides an interface for managing }...
This appendix contains a copy of the DEVLINK.H header file, used for C and C++ programs. /********************************************************************/ /* */ /* C/C++ Header File (c) 2001 Avaya Global SME Solutions */ /* */ /* Contents:- */ /* IP Office Dev link DLL provides an interface for managing /* the IP Office product ranges from a Windows PC.
Performance figures and data quoted in this document are typical, and must be specifically confirmed in writing by Avaya before they become applicable to any particular order or contract. The company reserves the right to make alterations or amendments to the detailed specifications at its discretion.
Need help?
Do you have a question about the IP Office CTI Link and is the answer not in the manual?
Questions and answers