프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ModifyXML | string |
메소드 | 설명 | |
---|---|---|
CreateXml ( ) : string |
Create valid TelApi XML response
|
|
Dial ( |
The Dial element starts an outgoing dial from the current call.
|
|
Gather ( |
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.
|
|
GetSpeech ( |
The GetSpeech element is used to translate a callers voice into text.
|
|
Hangup ( ) : |
The Hangup element will hangup the current call.
|
|
Hangup ( long schedule ) : |
The Hangup element will hangup the current call.
|
|
Pause ( ) : |
The Pause element will pause the call, holding for the number of seconds set by the length attribute.
|
|
Pause ( long length ) : |
The Pause element will pause the call, holding for the number of seconds set by the length attribute.
|
|
Play ( string resource ) : |
The Play element plays an mp3 file for the caller.
|
|
Play ( string resource, long loop ) : |
The Play element plays an mp3 file for the caller.
|
|
Record ( |
The Record element is used to record audio during a call.
|
|
Record ( string action ) : |
The Record element is used to record audio during a call.
|
|
Record ( string action, HttpMethod method, long timeout, string finishOnKey, long maxLength, bool transcribe, string transcribeCallback, bool playBeep, bool bothLegs, RecordingFileFormat fileFormat ) : |
The Record element is used to record audio during a call.
|
|
Redirect ( string url ) : |
The Redirect element directs the call to another InboundXML document.
|
|
Redirect ( string url, HttpMethod method ) : |
The Redirect element directs the call to another InboundXML document.
|
|
Reject ( ) : |
The Reject element will reject an incoming call.
|
|
Reject ( RejectReason reason ) : |
The Reject element will reject an incoming call.
|
|
Response ( ) : System | ||
Say ( string text ) : |
The Say element reads text to the caller using a text-to-speech engine.
|
|
Say ( string text, Voice voice, long loop ) : |
The Say element reads text to the caller using a text-to-speech engine.
|
|
Sms ( string text, string to, string from ) : |
The Sms element can be used to send SMS messages.
|
|
Sms ( string text, string to, string from, string action, HttpMethod method, string statusCallback ) : |
The Sms element can be used to send SMS messages.
|
메소드 | 설명 | |
---|---|---|
ModifyXML ( System.Xml.Linq.XDocument result ) : string |
Remove Yaxlib namespace and attributes from XML tree which were generated during XML serialization
|
public Dial ( |
||
dial | Dial element | |
리턴 |
public Gather ( |
||
gather | Gather object | |
리턴 |
public GetSpeech ( |
||
speech | GetSpeech object. | |
리턴 |
public Hangup ( long schedule ) : |
||
schedule | long | Specifies in seconds when a hangup should occur during a call. |
리턴 |
public Pause ( long length ) : |
||
length | long | The length in seconds the pause should be. |
리턴 |
public Play ( string resource ) : |
||
resource | string | Resource URL of audio file to play |
리턴 |
public Play ( string resource, long loop ) : |
||
resource | string | Resource URL of audio file to play |
loop | long | The amount of times the PlayW should be repeated. 0 indicates an infinite loop. |
리턴 |
public Record ( |
||
recordOptions | Record options | |
리턴 |
public Record ( string action ) : |
||
action | string | URL where some parameters specific to Record will be sent for further processing. |
리턴 |
public Record ( string action, HttpMethod method, long timeout, string finishOnKey, long maxLength, bool transcribe, string transcribeCallback, bool playBeep, bool bothLegs, RecordingFileFormat fileFormat ) : |
||
action | string | URL where some parameters specific to Record will be sent for further processing. |
method | HttpMethod | Specifies the method to use when requesting the action or transcribeCallback URL. |
timeout | long | The number of seconds Record should wait during silence before ending. |
finishOnKey | string | The key a caller can press to end the Record. |
maxLength | long | The maximum length in seconds a recording should be. |
transcribe | bool | Boolean value specifying if the recording should be transcribed. |
transcribeCallback | string | URL where the recording transcription will be sent. |
playBeep | bool | Boolean value specifying if a beep should be played when the recording begins. |
bothLegs | bool | Boolean value specifying if both call legs should be recorded. |
fileFormat | RecordingFileFormat | The recording file format. Can be mp3 or wav. Default is mp3 |
리턴 |
public Redirect ( string url ) : |
||
url | string | URL where redirection will occur |
리턴 |
public Redirect ( string url, HttpMethod method ) : |
||
url | string | URL where redirection will occur |
method | HttpMethod | Method used to request the InboundXML doucment the call is being redirected to. |
리턴 |
public Reject ( RejectReason reason ) : |
||
reason | RejectReason | The reason to list as why the call was rejected. |
리턴 |
public Say ( string text, Voice voice, long loop ) : |
||
text | string | Text to speech |
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. |
리턴 |
public Sms ( string text, string to, string from ) : |
||
text | string | Message text. Max 160 characters |
to | string | The phone number that will receive the SMS message. |
from | string | The number that will display as sending the SMS message. |
리턴 |
public Sms ( string text, string to, string from, string action, HttpMethod method, string statusCallback ) : |
||
text | string | Message text. Max 160 characters |
to | string | The phone number that will receive the SMS message. |
from | string | The number that will display as sending the SMS message. |
action | string | URL where paramaters specific to |
method | HttpMethod | Method used to request the action URL. |
statusCallback | string | URL where the status of the SMS can be sent. |
리턴 |