Usage of DLRegisterType2CallDeltas

Last Updated : Aug 03, 2015 |

You can use the DLRegisterType2CallDeltas() routine to request Call Delta information.

Parameters

  • pbxh: A number used to identify the system. This user-supplied parameter is used to connect to DevLink in the call to DLOpen().

  • cb: The address of the callback function that receives real-time events. Only one callback can receive real-time events at a time. If this parameter is NULL, then real-time events will no longer be sent to the application.

Return value

This routine returns:

  • 0 = DEVLINK_SUCCESS.

  • 1 = DEVLINK_UNSPECIFIEDFAIL: In the event of an error.

  • 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;