<say>
Role: <say> Read the text convert to audio and play it back to the caller. This is a powerful tool specially when you want to play a dynamic content to the caller. Assume there are some limitation on converting text to audio, So we strongly suggest to test the text phrases before final deployment.
Use:
- Helps you create a dynamic content. For example greet the caller by the Name from the address table. Or Playing the current temperature to the caller.
Attributes
Attribute |
Value |
Default |
action | Callback URL | none |
Method | POST/GET | POST |
voice | man/woman | woman |
loop | Integer value | 1 |
Language | en,es | en |
Here is an example of how <say> is used within code.
1 2 3 4 |
<?xml version="1.0" encoding="UTF-8"?> <Response> <Say>Please enter the Extension number you want to dial.</Say> </Response> |
1 2 3 4 |
<?xml version="1.0" encoding="UTF-8"?> <Response> <Say voice="women" loop=10>Please enter the Extension number you want to dial.</Say> </Response> |
At this time we only support English language. We will be adding more languages soon.