The requestInstruction method is issued for calls arriving at the VRU that are already under ICM script control. The successful running of this function causes data received to run a VRU based script.
The requestInstruction method should be issued only once during a call. If it is issued, then the newCall should not be issued.
If this request is successful, the ICM provides instructions in a reasonable amount of time. If the Instructions are not provided, a dialogueFailureEventSend is sent with a status code of E_TIMEOUT.
If the ICM cannot provide instructions because a script is not active for the given call type, the Java application is signaled to issue a dialogueFailureEventRecv and the returned status code E_NO_SCRIPT.
In all other fatal error conditions the Java application is signaled to issue a dialogueFailureEventRecv and the returned status code E_UNSPECIFIED_FAILURE.
CTICiscoReturn requestInstruction(Integer ServiceID, String CorrelationID, String ANI, String UserToUserInfo, String CalledNumber, String DNIS);