IM Treatments
The following treatment types can be applied for IM calls (MediaType=5) on a Routing Point:
- TreatmentCollectDigits (6)
- TreatmentPlayAnnouncement (7)
- TreatmentPlayAnnouncementAndDigits (7)
AttributeTreatmentParams for treatments with types TreatmentPlayAnnouncement and TreatmentPlayAnnouncementAndDigits must contain the following values:
'PROMPT' (list) = '1' (list) = 'TEXT'(string) = 'Here is treatment text'(string) ... 'NN' (list) = 'TEXT'(string) = 'Here is treatment text'(string)
AttributeTreatmentParams for treatments with types TreatmentCollectDigits and TreatmentPlayAnnouncementAndDigits could contain the following value:
'TOTAL_TIMEOUT'(string) = timeout (integer)
If the TOTAL_TIMEOUT parameter is set to 15, T-Server waits for a customer's input for 15 secs, and then a treatment will be finished with EventTreatmentEnd.
If TOTAL_TIMEOUT is not included, T-Server waits for a customer's input indefinitely.
For example, a treatment with AttributeTreatmentType = TreatmentPlayAnnouncementAndDigits(7) and following AttributeTreatmentParams:
'PROMPT' (list) = '1' (list) = 'TEXT' = 'What kind of help do you need?' '2' (list) = 'TEXT' = 'We could show your account information or connect to Operator' '3' (list) = 'TEXT' = 'What do you prefer?' 'TOTAL_TIMEOUT' = 15
will result in these messages in a customer's IM window:
- What kind of help do you need?
- We could show your account information or connect to Operator
- What do you prefer?
T-Server waits 15 secs for the customer's response.