Jump to: navigation, search

IM Treatments

The following treatment types can be applied for IM calls on a Routing Point:

  • TreatmentCollectDigits
  • TreatmentPlayAnnouncement
  • TreatmentPlayAnnouncementAndDigits

Treatment Parameters for treatments with types TreatmentPlayAnnouncement and TreatmentPlayAnnouncementAndDigits must contain a list of one or more prompts with text values. These values will be sent as instant messages to the caller.

Treatment Parameters for treatments with types TreatmentCollectDigits and TreatmentPlayAnnouncementAndDigits could contain an integer TOTAL_TIMEOUT value. T-Server waits for the specified number of seconds for digits to be entered, and then the treatment is finished with EventTreatmentEnd.

If the TOTAL_TIMEOUT parameter is not supplied, T-Server waits for a customer's input indefinitely.

For example, a treatment with AttributeTreatmentType = TreatmentPlayAnnouncementAndDigits(7) and the following AttributeTreatmentParams:

'PROMPT' (list) =
        '1' (list) =
		'TEXT' = 'Hi!'
        '2' (list) =
		'TEXT' = 'Please enter 1 for account history or 2 to be connected to an operator.'
	'3' (list) =
		'TEXT' = 'Thank you!'
'TOTAL_TIMEOUT' = 15

will result in these messages in a customer's IM window:

  • Hi!
  • Please enter 1 for account history or 2 to be connected to an operator.
  • Thank you!

T-Server waits 15 secs for the customer's response.

This page was last edited on February 13, 2019, at 20:50.
Comments or questions about this documentation? Contact us for support!