Interaction with Notification Recipient

Each notification is associated with a event domain. Each event domain can use an interaction script to specify how a notification is presented to a User on the phone. This script is defined within each event domain and called from within the callout and callin scripts.

Script Inputs

The inputs into an interaction script are:

Script Package Structure

Business Script packages can contain multiple interaction scripts used to present notifications to users over the phone.

Example

Example: Executing Interaction Script

The following example executes the interaction script within event domain associated to the notification:

1   main:

2   @phone::play("phrase", $content.message)

3   @session::respondToNotification($notId, "Acknowledged")

4   return

Annotation:

2. Plays the message to the user.

3. Sends a response for this notification.

 

Next topic: Inbound Voice Scripting