1.2.5 Deactivate Session

Enter this command to disable a session. A session is defined by the CmdPar1 = SessionId parameter. If you enter a wrong SessionId, the server processes the command and sends OK, but no session will be deactivated. CmdPar2 = sources activation/deactivation (-1 = let it be, 0 = activate all, 1 = deactivate all). Default value, if CmdPar2 is not present, is 1 due to technicall reasons.

Request

<msg Id="CTI_NSPK_CMD_REQ">
<CTI_NSPK_IE_SES_CMD Cmd="DEACTIVATE_SESSION" CmdPar1="0x4" CmdPar2="-1"/>
<CTI_IE_REFERENCE Ref="0x420"/>
</msg>

Response

<msg Id="CTI_NSPK_CMD_CONF">
<CTI_IE_REFERENCE Ref="0x420"/>
<CTI_IE_RESULT Result="OK"/>
</msg>