"No Device" error message on client start

Recently I wanted to avoid that the infolog pops-up with several

‘No Device’

error messages when opening the AX client with ConfigKey Telephony Integration enabled.

This error message is caused by the ActiveX component for the phone integration on form smmPhone which returns an error for each phone device which is offline.

I did the following code changes to prevent the error message:

\Forms\smmPhone\Designs\Design\ActiveX:axPhone\Methods\onEvent_TapiError
void onEvent_TapiError(int errorCode)
{;
    if(errorCode != -2147483582) // Avoid 'No Device' Error
        error(this.errorMsg(errorCode));
}

We're always looking for feedback and would like to hear from you. Please head to the Dynamics 365 Community to start a discussion, ask questions, and tell us what you think!