When writing scripts to route contacts, you must understand call types and contact data.
A call type is the first-level category of a contact and is determined by data associated with the contact. You associate a script with a call type. When a contact of a certain call type is received, the associated script runs on that contact.
You create call types through the Call Type tool in Unified CCE Administration. See the section on call types for more information.