Beginning with ICM version 7.5(4), the CTI Server supports sending a Not Ready reason code when in Not Ready state on Unified Contact Center Enterprise systems. This resolves CSCsh47197 cg.ctiserver CTISrvr doesn¿send NR agent state events with different reason codes.
Included in the CTIOS document library is a sample VB.NET application that shows updating the Not Ready reason code when in Not Ready state. The key to using this feature is to ignore the button enablement event for the Not Ready button and send the Not Ready with reason code request anyway.
The sample application can be found here
http://developer.cisco.com/c/document_library/get_file?p_l_id=23170&folderId=1123034&name=DLFE-16203.zipNot Ready reason sample VB.NET