When a User initiates contact into the xMatters system through a phone, the Phone Device Engine executes a script to process the call. This process is scriptable.
Once the conversation has been established with a User, a domain-specific script is called for each notification to present it to the User. The following figure illustrates this event flow:
The callin script inputs are:
All Phone Device Engines reference the Callin script package. Each xMatters deployment can contain only one Callin script package. The Callin script package can contain multiple callin scripts. From the web user interface, an Administrator can assign a callin script to a phone line. Any inbound calls on that line will be processed with the assigned callin script.
Example: User Calls In
The following example processes a User call in and plays all of the User’s pending notifications:
2-4. Establishes the caller’s identity
6-7. Retrieves context around the User
8. Configures phone to User’s locale
9. Presents notifications to User
11-13. Disconnects User
2-7. Iterates through each notification, retrieving the notification content and presenting the notification to the User.
1. Subroutine label.
2. Runs the interaction script that has been enhanced for the notification. This script will present the notification to the user.
Next topic: Authenticate Script