Свойство | Type | Description |
---|
Méthode | Description | |
---|---|---|
Create ( string action ) : |
The Gather element allows callers to input digits to the call using their keypads which are then sent via POST or GET to a URL for further processing.
|
|
Create ( string action, HttpMethod method, long timeout, string finishOnKey, long numDigits ) : |
The Gather element allows callers to input digits to the call using their keypads which are then sent via POST or GET to a URL for further processing.
|
|
Gather ( ) : System | ||
Pause ( ) : |
The Pause element will pause the call
|
|
Pause ( long length ) : |
The Pause element will pause the call, holding for the number of seconds set by the length attribute.
|
|
Play ( string resource, long loop ) : |
The Play element plays an mp3 file for the caller
|
|
Say ( string text, Voice voice, long loop ) : |
The Say element reads text to the caller using a text-to-speech engine.
|
public static Create ( string action ) : |
||
action | string | URL where data will be sent |
Résultat |
public static Create ( string action, HttpMethod method, long timeout, string finishOnKey, long numDigits ) : |
||
action | string | URL where the gathered digits will be sent for further processing. |
method | HttpMethod | Method used to request the action URL. |
timeout | long | The number of seconds Gather should wait for digits to be entered before requesting the action URL. Timeout resets with each new digit input. |
finishOnKey | string | The key a caller can press to end the Gather. |
numDigits | long | The maximum number of digits to Gather. |
Résultat |
public Pause ( long length ) : |
||
length | long | The length in seconds the pause should be. |
Résultat |
public Play ( string resource, long loop ) : |
||
resource | string | Url of the mp3 audio |
loop | long | The amount of times the Play should be repeated. 0 indicates an infinite loop. |
Résultat |
public Say ( string text, Voice voice, long loop ) : |
||
text | string | Text to say |
voice | Voice | The type of voice that will read the text to caller. |
loop | long | The amount of times the spoken text should be repeated. 0 indicates an infinite loop. |
Résultat |