IP Office connectivity with DevLink

Last Updated : May 01, 2020 |

DevLink supports connections to multiple IP Office systems at the same time. To connect to an IP Office system, the DLOpen() function must be called with the following command line:

LONG DLOpen( LONG pbxh, TEXT *pbx_address, TEXT *pbx_password, TEXT *reserved1, TEXT *reserved2, CommsEvent cb);

Considerations

  • The application-supplied pbxh handle is used internally by DevLink 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. This must be explicitly set to the IP Address of the IP Office.

  • · 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.

  • · The pbx_password parameter is the password configured for a new service user DevlinkDLL. The service user is created in IP Office security settings .

  • · The reserved1 and reserved2 parameters are for future expansion, and should be set to NULL (nil in Delphi).

  • · The username/password is authenticated using SHA1 and the Microsoft DSS Cryptographic Provider is required on the Windows PC running the application.