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.zip
Not Ready reason sample VB.NET
http://developer.cisco.com/group/control_panel/manage?p_p_id=31&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&doAsGroupId=23139&refererPlid=23142&_31_struts_action=%2Fimage_gallery%2Fview&_31_folderId=1551348