RejectIncomingCalls (Communications Workflow Sample)
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
This sample speech workflow application demonstrates how to reject an incoming call based on some criteria. The application checks the call against a list of forbidden numbers specified in an XML file, ForbiddenNumbers.xml. This check occurs before the workflow starts. If a match is found, the call is declined and the workflow is canceled.
See the prerequisites list in Walkthrough: Debugging a Communications Workflow Application.
To build and debug the sample application
Create a debugging environment. For information about creating a debugging environment, see Establish Accounts on Office Communications Server.
In the UCMA v2.0 SDK\Samples\Workflow directory, open RejectIncomingCalls.
Debug the RejectIncomingCalls speech workflow application. For information about debugging this application, see Walkthrough: Debugging a Communications Workflow Application.