UCCE & CVP: Send To VRU Problem in ICM scripts

Yesterday I faced a fairly common problem that occurs when ICM scripts are created. This problem is very common in deployments where ICM integrates with CVP. When a call comes an ICM script and the script comes to Send To VRU node, it gets to an unsuccessful terminal of Send To VRU, i.e. in fact this node does not process correctly, and the caller hears either busy tone, or the system error message.
This problem is easy to track with the monitor mode of the script:

On the screenshot you can see that 3 calls were made, and all 3 went into an unsuccessful terminal of the Send To VRU node. Then the script returned the label 92929292 to CVP, which says Voice XML gateway to play a system error message.

There are too many reasons that can cause this behavior of the script. Mainly they appear due to ICM configuration errors. Despite the seeming simplicity of the script, the processing of the Send To VRU node is quite complicated, and it is fully described here:

http://www.cisco.com/c/en/us/support/docs/customer-collaboration/unified-customer-voice-portal-901/116178-technote-cvp-00.html

As you can see, it’s not as easy as it seems. Therefore, to find out the reason of such behavior, you need to carefully check all the settings that can affect the processing of the call when it passes the Send To VRU node. In my case the student forgot to set up the field Customer for Dialed Number settings. His configuration was something like this in his ICM:

The field Customer determines, which VRU (IVR) will be used during the call (you can have not only one VRU in the system). If Customer is not specified, the system does not simply know, which VRU to use, and the call is not processed and sent to an unsuccessful terminal accordingly.

Correct configuration is here:

After configuration changes script began to work properly:

Good luck and wish you all a nice day.