C# Класс TelAPI.TelAPIRestClient

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddIncomingPhoneNumber ( string phoneNumber, string areaCode ) : IncomingPhoneNumber

Add new Incoming Phone Number to your TelAPI account

AddIncomingPhoneNumber ( string phoneNumber, string areaCode ) : Task

Add new Incoming Phone Number to your TelAPI account

AuthorizeDestination ( string countryCode ) : FraudResult

Used to authorize destinations for outbound calls and sms messages.

AuthorizeDestination ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : FraudResult

Used to authorize destinations for outbound calls and sms messages.

AuthorizeDestination ( string countryCode ) : Task

Used to authorize destinations for outbound calls and sms messages.

AuthorizeDestination ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : Task

Used to authorize destinations for outbound calls and sms messages.

BlockDestination ( string countryCode ) : FraudResult

TelAPI will restrict outbound calls and sms messages to blocked destinations.

BlockDestination ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : FraudResult

TelAPI will restrict outbound calls and sms messages to blocked destinations.

BlockDestination ( string countryCode ) : Task

TelAPI will restrict outbound calls and sms messages to blocked destinations.

BlockDestination ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : Task

TelAPI will restrict outbound calls and sms messages to blocked destinations.

BnaLookup ( string phoneNumber ) : BNALookupResult

TelAPI provides an endpoint for performing BNA (Billing Name Address) lookups on numbers. BNA lookups provide geolocation information for phone numbers. BNA lookups are currently only available for US numbers.

BnaLookup ( string phoneNumber ) : Task

TelAPI provides an endpoint for performing BNA (Billing Name Address) lookups on numbers. BNA lookups provide geolocation information for phone numbers. BNA lookups are currently only available for US numbers.

CNAMLookup ( string phoneNumber ) : CNAMDipResult

TelAPI provides a way to look up the CNAM caller ID (name and address) information of a phone number via the REST API.

CNAMLookup ( string phoneNumber ) : Task

TelAPI provides a way to look up the CNAM caller ID (name and address) information of a phone number via the REST API.

CarrierLookup ( string phoneNumber ) : CarrierLookupResult

TelAPI provides a way to look up the carrier of a phone number via the REST API.

CarrierLookup ( string phoneNumber ) : Task

TelAPI provides a way to look up the carrier of a phone number via the REST API.

CreateApplication ( Application application ) : Application

Create a new application for managing TelAPI phone numbers

CreateApplication ( Application application ) : Task

Create a new application for managing TelAPI phone numbers

DeafParticipant ( string conferenceSid, Participant participant, bool deaf ) : Participant

Deaf participant of conference call

DeafParticipant ( string conferenceSid, Participant participant, bool deaf ) : Task

Deaf participant of conference call

DeleteApplication ( string applicationSid ) : Application

Delete application from TelApi account

DeleteApplication ( string applicationSid ) : Task

Delete application from TelApi account

DeleteIncomingPhoneNumber ( string phoneNumberSid ) : IncomingPhoneNumber

Delete existing Incoming Phone number from account

DeleteIncomingPhoneNumber ( string phoneNumberSid ) : Task

Delete existing Incoming Phone number from account

ExtendDestinationAuth ( string countryCode ) : FraudResult

The extend method is provided to extend a destinations authorization expiration by 30 days.

ExtendDestinationAuth ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : FraudResult

The extend method is provided to extend a destinations authorization expiration by 30 days.

ExtendDestinationAuth ( string countryCode ) : Task

The extend method is provided to extend a destinations authorization expiration by 30 days.

ExtendDestinationAuth ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : Task

The extend method is provided to extend a destinations authorization expiration by 30 days.

GetAccount ( ) : Account

Retrive Account details for currently authenticated account. Makes a GET request

GetAccount ( ) : Task

Retrive Account details for currently authenticated account. Makes a GET request

GetAccountNotifications ( ) : NotificationResult

A lists of every notification associated with an account

GetAccountNotifications ( NotificationLog log, int page, int pageSize ) : NotificationResult

A lists of every notification associated with an account

GetAccountNotifications ( ) : Task

A lists of every notification associated with an account

GetAccountNotifications ( NotificationLog log, int page, int pageSize ) : Task

A lists of every notification associated with an account

GetAccountRecordings ( ) : RecordingResult

Get account recordings

GetAccountRecordings ( DateTime dateCreated ) : RecordingResult

Get account recordings

GetAccountRecordings ( DateTime dateCreated, ComparisonType dateCreatedComparasion, int page, int pageSize ) : RecordingResult

Get account recordings

GetAccountRecordings ( ) : Task

Get account recordings

GetAccountRecordings ( DateTime dateCreated ) : Task

Get account recordings

GetAccountRecordings ( DateTime dateCreated, ComparisonType dateCreatedComparasion, int page, int pageSize ) : Task

Get account recordings

GetAccountTranscriptions ( ) : Task

Return list of transcriptions

GetAccountTranscriptions ( int page, int pageSize ) : Task

Return list of transcriptions

GetAccountTranscriptions ( ) : TranscriptionResult

Return list of transcriptions

GetAccountTranscriptions ( int page, int pageSize ) : TranscriptionResult

Return list of transcriptions

GetApplication ( string applicationSid ) : Application

Return application details

GetApplication ( string applicationSid ) : Task

Return application details

GetApplications ( ) : ApplicationResult

Return applications list

GetApplications ( string friendlyName ) : ApplicationResult

Return applications list

GetApplications ( string friendlyName, int page, int pageSize ) : ApplicationResult

Return applications list

GetApplications ( ) : Task

Return applications list

GetApplications ( string friendlyName ) : Task

Return applications list

GetApplications ( string friendlyName, int page, int pageSize ) : Task

Return applications list

GetAvailablePhoneNumbers ( string isoCountryCode, AvaliablePhoneNumberType type ) : AvailablePhoneNumberResult

Request a list of available numbers

GetAvailablePhoneNumbers ( string isoCountryCode, string areaCode, AvaliablePhoneNumberType type ) : AvailablePhoneNumberResult

Request a list of available numbers

GetAvailablePhoneNumbers ( string isoCountryCode, string areaCode, string contains, AvaliablePhoneNumberType type ) : AvailablePhoneNumberResult

Request a list of available numbers

GetAvailablePhoneNumbers ( string isoCountryCode, string areaCode, string contains, string inRegion, string inPostalCode, AvaliablePhoneNumberType type ) : AvailablePhoneNumberResult

Request a list of available numbers

GetAvailablePhoneNumbers ( string isoCountryCode, AvaliablePhoneNumberType type ) : Task

Request a list of available numbers

GetAvailablePhoneNumbers ( string isoCountryCode, string areaCode, AvaliablePhoneNumberType type ) : Task

Request a list of available numbers

GetAvailablePhoneNumbers ( string isoCountryCode, string areaCode, string contains, AvaliablePhoneNumberType type ) : Task

Request a list of available numbers

GetAvailablePhoneNumbers ( string isoCountryCode, string areaCode, string contains, string inRegion, string inPostalCode, AvaliablePhoneNumberType type ) : Task

Request a list of available numbers

GetCall ( string callSid ) : Call

Retrive Call details. Make GET request

GetCall ( string callSid ) : Task

Retrive Call details. Make GET request

GetCallNotifications ( string callSid ) : NotificationResult

A list of only notifications associated with a given CallSid

GetCallNotifications ( string callSid, NotificationLog log, int page, int pageSize ) : NotificationResult

A list of only notifications associated with a given CallSid

GetCallNotifications ( string callSid ) : Task

A list of only notifications associated with a given CallSid

GetCallNotifications ( string callSid, NotificationLog log, int page, int pageSize ) : Task

A list of only notifications associated with a given CallSid

GetCallRecordings ( string callSid ) : RecordingResult

Get call recordings

GetCallRecordings ( string callSid, DateTime dateCreated ) : RecordingResult

Get call recordings

GetCallRecordings ( string callSid, DateTime dateCreated, ComparisonType dateCreatedComparasion, int page, int pageSize ) : RecordingResult

Get call recordings

GetCallRecordings ( string callSid ) : Task

Get call recordings

GetCallRecordings ( string callSid, DateTime dateCreated ) : Task

Get call recordings

GetCallRecordings ( string callSid, DateTime dateCreated, ComparisonType dateCreatedComparasion, int page, int pageSize ) : Task

Get call recordings

GetCalls ( ) : CallResult

Retrive all calls. Make GET request

GetCalls ( CallListOptions callOptions ) : CallResult

Retrive all calls which satisfy CallOptions criteria. Make GET request

GetCalls ( ) : Task

Retrive all calls. Make GET request

GetCalls ( CallListOptions callOptions ) : Task

Retrive all calls which satisfy CallOptions criteria. Make GET request

GetConference ( string conferenceSid ) : Conference

Return resource properties about conference call

GetConference ( string conferenceSid ) : Task

Return resource properties about conference call

GetConferenceParticipant ( string conferenceSid, string callSid ) : Participant

Participants of a conference are identified by the CallSid created when they dial into the conference.

GetConferenceParticipant ( string conferenceSid, string callSid ) : Task

Participants of a conference are identified by the CallSid created when they dial into the conference.

GetConferenceParticipants ( string conferenceSid ) : List

Return list of all conference participants

GetConferenceParticipants ( string conferenceSid, bool muted, bool deafed, int page, int pageSize ) : List

Return list of all conference participants

GetConferenceParticipants ( string conferenceSid ) : Task>

Return list of all conference participants

GetConferenceParticipants ( string conferenceSid, bool muted, bool deafed, int page, int pageSize ) : Task>

Return list of all conference participants

GetConferences ( ) : ConferenceResult

Return list of all conference resources associated with a given account

GetConferences ( ConferenceStatus status, DateTime dateCreated, ComparisonType dateCreatedComaparasion ) : ConferenceResult

Return list of all conference resources associated with a given account

GetConferences ( string friendlyName ) : ConferenceResult

Return list of all conference resources associated with a given account

GetConferences ( string friendlyName, ConferenceStatus status, DateTime dateCreated, ComparisonType dateCreatedComparasion, DateTime dateUpdated, ComparisonType dateUpdatedComparasion, int page, int pageSize ) : ConferenceResult

Return list of all conference resources associated with a given account

GetConferences ( ) : Task

Return list of all conference resources associated with a given account

GetConferences ( ConferenceStatus status, DateTime dateCreated, ComparisonType dateCreatedComaparasion ) : Task

Return list of all conference resources associated with a given account

GetConferences ( string friendlyName ) : Task

Return list of all conference resources associated with a given account

GetConferences ( string friendlyName, ConferenceStatus status, DateTime dateCreated, ComparisonType dateCreatedComparasion, DateTime dateUpdated, ComparisonType dateUpdatedComparasion, int page, int pageSize ) : Task

Return list of all conference resources associated with a given account

GetFraudControlResources ( ) : FraudResult

Return a list of all fraud control resources associated with a given account

GetFraudControlResources ( int page, int pageSize ) : FraudResult

Return a list of all fraud control resources associated with a given account

GetFraudControlResources ( ) : Task

Return a list of all fraud control resources associated with a given account

GetFraudControlResources ( int page, int pageSize ) : Task

Return a list of all fraud control resources associated with a given account

GetIncomingPhoneNumber ( string phoneNumberSid ) : IncomingPhoneNumber

Gets TelAPI phone number associated with an account

GetIncomingPhoneNumber ( string phoneNumberSid ) : Task

Gets TelAPI phone number associated with an account

GetIncomingPhoneNumbers ( ) : IncomingPhoneNumberResult

Gets TelAPI phone numbers associated with an account

GetIncomingPhoneNumbers ( string phoneNumber, string friendlyName ) : IncomingPhoneNumberResult

Gets TelAPI phone numbers associated with an account

GetIncomingPhoneNumbers ( string phoneNumber, string friendlyName, int page, int pageSize ) : IncomingPhoneNumberResult

Gets TelAPI phone numbers associated with an account

GetIncomingPhoneNumbers ( ) : Task

Gets TelAPI phone numbers associated with an account

GetIncomingPhoneNumbers ( string phoneNumber, string friendlyName ) : Task

Gets TelAPI phone numbers associated with an account

GetIncomingPhoneNumbers ( string phoneNumber, string friendlyName, int page, int pageSize ) : Task

Gets TelAPI phone numbers associated with an account

GetInomingPhoneNumbers ( string phoneNumber ) : IncomingPhoneNumberResult

Gets TelAPI phone numbers associated with an account

GetInomingPhoneNumbers ( string phoneNumber ) : Task

Gets TelAPI phone numbers associated with an account

GetNotification ( string notificationSid ) : Notification

GetNotification ( string notificationSid ) : Task

GetRecording ( string recordingSid ) : Recording

Get a single recording resource

GetRecording ( string recordingSid ) : Task

Get a single recording resource

GetRecordingTranscriptions ( string recordingSid ) : Task

Return list of recording transcriptions

GetRecordingTranscriptions ( string recordingSid, int page, int pageSize ) : Task

Return list of recording transcriptions

GetRecordingTranscriptions ( string recordingSid ) : TranscriptionResult

Return list of recording transcriptions

GetRecordingTranscriptions ( string recordingSid, int page, int pageSize ) : TranscriptionResult

Return list of recording transcriptions

GetSmsMessage ( string smsMessageSid ) : SmsMessage

Receive SMS message. Make GET request

GetSmsMessage ( string smsMessageSid ) : Task

Receive SMS message. Make GET request

GetSmsMessages ( ) : SmsMessageResult

Receive all SMS messages for current account. Make GET request

GetSmsMessages ( SmsMessageListOptions smsMessageOptions ) : SmsMessageResult

Receive SMS messages wich satisfiy criteria. Make GET request

GetSmsMessages ( ) : Task

Receive all SMS messages for current account. Make GET request

GetSmsMessages ( SmsMessageListOptions smsMessageOptions ) : Task

Receive SMS messages wich satisfiy criteria. Make GET request

GetTranscription ( string transcriptionSid ) : Task

Return transcription

GetTranscription ( string transcriptionSid ) : Transcription

Return transcription

GetTranscriptionText ( string transcriptionSid ) : string

Return transcription content in textual format

GetUsage ( string sid ) : Task

Individual usage resources are assigned a Sid which can be used to access them. In addition to the name and price of the feature used, usage resources also provide the date the usage occurred.

GetUsage ( string sid ) : Usage

Individual usage resources are assigned a Sid which can be used to access them. In addition to the name and price of the feature used, usage resources also provide the date the usage occurred.

GetUsages ( ) : Task

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.

GetUsages ( DateTime date ) : Task

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.

GetUsages ( Products product ) : Task

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.

GetUsages ( int page, int pageSize ) : Task

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.

GetUsages ( int day, int month, int year, int page, int pageSize, Products product ) : Task

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.

GetUsages ( ) : UsageResult

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.

GetUsages ( DateTime date ) : UsageResult

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.

GetUsages ( Products product ) : UsageResult

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.

GetUsages ( int page, int pageSize ) : UsageResult

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.

GetUsages ( int day, int month, int year, int page, int pageSize, Products product ) : UsageResult

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.

HangupCall ( string callSid ) : Call

Hangup up current active call. Make POST request

HangupCall ( string callSid ) : Task

Hangup up current active call. Make POST request

HangupParticipant ( string conferenceSid, Participant participant ) : Participant

Hangup participant of conference call

HangupParticipant ( string conferenceSid, Participant participant ) : Task

Hangup participant of conference call

InterruptLiveCall ( string callSid, string url, HttpMethod httpMethod, HangupCallStatus status ) : Call

To change the behavior of live calls, TelAPI provides the ability to interrupt calls in real time and end or redirect them to InboundXML for execution.

InterruptLiveCall ( string callSid, string url, HttpMethod httpMethod, HangupCallStatus status ) : Task

To change the behavior of live calls, TelAPI provides the ability to interrupt calls in real time and end or redirect them to InboundXML for execution.

MakeCall ( CallOptions callOptions ) : Call

Initiate outbound call with options. Make POST request

MakeCall ( string from, string to, string url ) : Call

Initiate outbound call. Make POST request

MakeCall ( CallOptions callOptions ) : Task

Initiate outbound call with options. Make POST request

MakeCall ( string from, string to, string url ) : Task

Initiate outbound call. Make POST request

MuteParticipant ( string conferenceSid, Participant participant, bool mute ) : Participant

Mute participant of conference call

MuteParticipant ( string conferenceSid, Participant participant, bool mute ) : Task

Mute participant of conference call

PlayAudio ( string callSid, PlayAudioOptions audioOptions ) : Call

TelAPI allows you to play an audio file during a call. This is useful for playing hold music, providing IVR prompts, etc.

PlayAudio ( string callSid, string audioUrl ) : Call
PlayAudio ( string callSid, PlayAudioOptions audioOptions ) : Task

TelAPI allows you to play an audio file during a call. This is useful for playing hold music, providing IVR prompts, etc.

PlayAudio ( string callSid, string audioUrl ) : Task
PlayAudioToParticipant ( string conferenceSid, Participant participant, string url ) : Participant

Play audio to participant of conference call

PlayAudioToParticipant ( string conferenceSid, Participant participant, string url ) : Task

Play audio to participant of conference call

RecordCall ( string callSid, bool isRecording ) : RecordingResult

TelAPI offers a way to both initiate or end a call recording

RecordCall ( string callSid, bool isRecording, int timeLimit, string callbackUrl ) : RecordingResult

TelAPI offers a way to both initiate or end a call recording

RecordCall ( string callSid, bool isRecording ) : Task

TelAPI offers a way to both initiate or end a call recording

RecordCall ( string callSid, bool isRecording, int timeLimit, string callbackUrl ) : Task

TelAPI offers a way to both initiate or end a call recording

SendDigits ( string callSid, string playDtmf, PlayDtmfLeg dtmfLeg ) : Call

DTMFs, aka touch tone signals, can be sent to a call

SendDigits ( string callSid, string playDtmf, PlayDtmfLeg dtmfLeg ) : Task

DTMFs, aka touch tone signals, can be sent to a call

SendSmsMessage ( string from, string to, string body ) : SmsMessage

Send SMS message

SendSmsMessage ( string from, string to, string body, string statusCallback ) : SmsMessage

Send SMS message

SendSmsMessage ( string from, string to, string body ) : Task

Send SMS message

SendSmsMessage ( string from, string to, string body, string statusCallback ) : Task

Send SMS message

TranscribeAudio ( string audioUrl ) : Task

Start transcribe of external audio

TranscribeAudio ( string audioUrl, TranscriptionType quality ) : Task

Start transcribe of external audio

TranscribeAudio ( string audioUrl, TranscriptionType quality, string transcribeCallback, string callbackMethod ) : Task

Start transcribe of external audio

TranscribeAudio ( string audioUrl ) : Transcription

Start transcribe of external audio

TranscribeAudio ( string audioUrl, TranscriptionType quality ) : Transcription

Start transcribe of external audio

TranscribeAudio ( string audioUrl, TranscriptionType quality, string transcribeCallback, string callbackMethod ) : Transcription

Start transcribe of external audio

TranscribeRecording ( string recordingSid ) : Task

Start transcribe of recording

TranscribeRecording ( string recordingSid, TranscriptionType quality ) : Task

Start transcribe of recording

TranscribeRecording ( string recordingSid, TranscriptionType quality, string transcribeCallback, string callbackMethod ) : Task

Start transcribe of recording

TranscribeRecording ( string recordingSid ) : Transcription

Start transcribe of recording

TranscribeRecording ( string recordingSid, TranscriptionType quality ) : Transcription

Start transcribe of recording

TranscribeRecording ( string recordingSid, TranscriptionType quality, string transcribeCallback, string callbackMethod ) : Transcription

Start transcribe of recording

UpdateApplication ( Application application ) : Application

Update application data

UpdateApplication ( Application application ) : Task

Update application data

UpdateIncomingPhoneNumber ( IncomingPhoneNumber phoneNumber ) : IncomingPhoneNumber

Update existing Incoming Phone number

UpdateIncomingPhoneNumber ( IncomingPhoneNumber phoneNumber ) : Task

Update existing Incoming Phone number

VoiceEffects ( string callSid, VoiceEffectOptions effectOptions ) : Call

With TelAPI you can modify the way a callers voice sounds by changing things such as speed and pitch of the audio.

VoiceEffects ( string callSid, VoiceEffectOptions effectOptions ) : Task

With TelAPI you can modify the way a callers voice sounds by changing things such as speed and pitch of the audio.

WhitelistDestination ( string countryCode ) : FraudResult

Whitelisting is provided for destinations you wish to permanently authorize.

WhitelistDestination ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : FraudResult

Whitelisting is provided for destinations you wish to permanently authorize.

WhitelistDestination ( string countryCode ) : Task

Whitelisting is provided for destinations you wish to permanently authorize.

WhitelistDestination ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : Task

Whitelisting is provided for destinations you wish to permanently authorize.

Приватные методы

Метод Описание
CreateApplicationParams ( Application application, SimpleRtRest.RestClient.RestRequest request ) : void

Populate Rest request with application params

CreateCallListOptions ( CallListOptions callListOptions, SimpleRtRest.RestClient.RestRequest request ) : void

Helper method to populate Rest params

CreateCallOptions ( CallOptions callOptions, SimpleRtRest.RestClient.RestRequest request ) : void

Helper method to populate Rest params

CreateIncomingPhoneNumberParams ( IncomingPhoneNumber phoneNumber, SimpleRtRest.RestClient.RestRequest request ) : void
CreatePlayAudioOptions ( PlayAudioOptions audioOptions, SimpleRtRest.RestClient.RestRequest request ) : void

Helper method to populate Rest params

CreateSmsMessageListOptions ( SmsMessageListOptions smsMessageOptions, SimpleRtRest.RestClient.RestRequest request ) : void

Helper Method to populate RestRequest params

CreateVoiceEffectsOptions ( VoiceEffectOptions voiceOptions, SimpleRtRest.RestClient.RestRequest request ) : void

Helper method to populate Rest params

Описание методов

AddIncomingPhoneNumber() публичный Метод

Add new Incoming Phone Number to your TelAPI account
public AddIncomingPhoneNumber ( string phoneNumber, string areaCode ) : IncomingPhoneNumber
phoneNumber string Desired phone number to add to the account (E.164 format).
areaCode string Desired area code of phone number to add to the account.
Результат IncomingPhoneNumber

AddIncomingPhoneNumber() публичный Метод

Add new Incoming Phone Number to your TelAPI account
public AddIncomingPhoneNumber ( string phoneNumber, string areaCode ) : Task
phoneNumber string Desired phone number to add to the account (E.164 format).
areaCode string Desired area code of phone number to add to the account.
Результат Task

AuthorizeDestination() публичный Метод

Used to authorize destinations for outbound calls and sms messages.
public AuthorizeDestination ( string countryCode ) : FraudResult
countryCode string Two letter country code being whitelisted, authorized or blocked.
Результат FraudResult

AuthorizeDestination() публичный Метод

Used to authorize destinations for outbound calls and sms messages.
public AuthorizeDestination ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : FraudResult
countryCode string Two letter country code being whitelisted, authorized or blocked.
mobileBreakout bool Mobile breakout status for the destination.
landlinebreakout bool
smsEnabled bool SMS status for the destination.
Результат FraudResult

AuthorizeDestination() публичный Метод

Used to authorize destinations for outbound calls and sms messages.
public AuthorizeDestination ( string countryCode ) : Task
countryCode string Two letter country code being whitelisted, authorized or blocked.
Результат Task

AuthorizeDestination() публичный Метод

Used to authorize destinations for outbound calls and sms messages.
public AuthorizeDestination ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : Task
countryCode string Two letter country code being whitelisted, authorized or blocked.
mobileBreakout bool Mobile breakout status for the destination.
landlinebreakout bool
smsEnabled bool SMS status for the destination.
Результат Task

BlockDestination() публичный Метод

TelAPI will restrict outbound calls and sms messages to blocked destinations.
public BlockDestination ( string countryCode ) : FraudResult
countryCode string Two letter country code being whitelisted, authorized or blocked.
Результат FraudResult

BlockDestination() публичный Метод

TelAPI will restrict outbound calls and sms messages to blocked destinations.
public BlockDestination ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : FraudResult
countryCode string Two letter country code being whitelisted, authorized or blocked.
mobileBreakout bool Mobile breakout status for the destination.
landlinebreakout bool
smsEnabled bool SMS status for the destination.
Результат FraudResult

BlockDestination() публичный Метод

TelAPI will restrict outbound calls and sms messages to blocked destinations.
public BlockDestination ( string countryCode ) : Task
countryCode string Two letter country code being whitelisted, authorized or blocked.
Результат Task

BlockDestination() публичный Метод

TelAPI will restrict outbound calls and sms messages to blocked destinations.
public BlockDestination ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : Task
countryCode string Two letter country code being whitelisted, authorized or blocked.
mobileBreakout bool Mobile breakout status for the destination.
landlinebreakout bool
smsEnabled bool SMS status for the destination.
Результат Task

BnaLookup() публичный Метод

TelAPI provides an endpoint for performing BNA (Billing Name Address) lookups on numbers. BNA lookups provide geolocation information for phone numbers. BNA lookups are currently only available for US numbers.
public BnaLookup ( string phoneNumber ) : BNALookupResult
phoneNumber string The number of the phone you are attempting to perform the BNA lookup on.
Результат BNALookupResult

BnaLookup() публичный Метод

TelAPI provides an endpoint for performing BNA (Billing Name Address) lookups on numbers. BNA lookups provide geolocation information for phone numbers. BNA lookups are currently only available for US numbers.
public BnaLookup ( string phoneNumber ) : Task
phoneNumber string The number of the phone you are attempting to perform the BNA lookup on.
Результат Task

CNAMLookup() публичный Метод

TelAPI provides a way to look up the CNAM caller ID (name and address) information of a phone number via the REST API.
public CNAMLookup ( string phoneNumber ) : CNAMDipResult
phoneNumber string The number of the phone you are attempting to perform the CNAM look up on.
Результат CNAMDipResult

CNAMLookup() публичный Метод

TelAPI provides a way to look up the CNAM caller ID (name and address) information of a phone number via the REST API.
public CNAMLookup ( string phoneNumber ) : Task
phoneNumber string The number of the phone you are attempting to perform the CNAM look up on.
Результат Task

CarrierLookup() публичный Метод

TelAPI provides a way to look up the carrier of a phone number via the REST API.
public CarrierLookup ( string phoneNumber ) : CarrierLookupResult
phoneNumber string The number of the phone you are attempting to perform the carrier look up on.
Результат CarrierLookupResult

CarrierLookup() публичный Метод

TelAPI provides a way to look up the carrier of a phone number via the REST API.
public CarrierLookup ( string phoneNumber ) : Task
phoneNumber string The number of the phone you are attempting to perform the carrier look up on.
Результат Task

CreateApplication() публичный Метод

Create a new application for managing TelAPI phone numbers
public CreateApplication ( Application application ) : Application
application Application Application object
Результат Application

CreateApplication() публичный Метод

Create a new application for managing TelAPI phone numbers
public CreateApplication ( Application application ) : Task
application Application Application object
Результат Task

DeafParticipant() публичный Метод

Deaf participant of conference call
public DeafParticipant ( string conferenceSid, Participant participant, bool deaf ) : Participant
conferenceSid string Conference sid
participant Participant Specifies the participant to deaf.
deaf bool Deaf participant?
Результат Participant

DeafParticipant() публичный Метод

Deaf participant of conference call
public DeafParticipant ( string conferenceSid, Participant participant, bool deaf ) : Task
conferenceSid string Conference sid
participant Participant Specifies the participant to deaf.
deaf bool Deaf participant?
Результат Task

DeleteApplication() публичный Метод

Delete application from TelApi account
public DeleteApplication ( string applicationSid ) : Application
applicationSid string An alphanumeric string used for identification of the application.
Результат Application

DeleteApplication() публичный Метод

Delete application from TelApi account
public DeleteApplication ( string applicationSid ) : Task
applicationSid string An alphanumeric string used for identification of the application.
Результат Task

DeleteIncomingPhoneNumber() публичный Метод

Delete existing Incoming Phone number from account
public DeleteIncomingPhoneNumber ( string phoneNumberSid ) : IncomingPhoneNumber
phoneNumberSid string
Результат IncomingPhoneNumber

DeleteIncomingPhoneNumber() публичный Метод

Delete existing Incoming Phone number from account
public DeleteIncomingPhoneNumber ( string phoneNumberSid ) : Task
phoneNumberSid string
Результат Task

ExtendDestinationAuth() публичный Метод

The extend method is provided to extend a destinations authorization expiration by 30 days.
public ExtendDestinationAuth ( string countryCode ) : FraudResult
countryCode string Two letter country code being whitelisted, authorized or blocked.
Результат FraudResult

ExtendDestinationAuth() публичный Метод

The extend method is provided to extend a destinations authorization expiration by 30 days.
public ExtendDestinationAuth ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : FraudResult
countryCode string Two letter country code being whitelisted, authorized or blocked.
mobileBreakout bool Mobile breakout status for the destination.
landlinebreakout bool
smsEnabled bool SMS status for the destination.
Результат FraudResult

ExtendDestinationAuth() публичный Метод

The extend method is provided to extend a destinations authorization expiration by 30 days.
public ExtendDestinationAuth ( string countryCode ) : Task
countryCode string Two letter country code being whitelisted, authorized or blocked.
Результат Task

ExtendDestinationAuth() публичный Метод

The extend method is provided to extend a destinations authorization expiration by 30 days.
public ExtendDestinationAuth ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : Task
countryCode string Two letter country code being whitelisted, authorized or blocked.
mobileBreakout bool Mobile breakout status for the destination.
landlinebreakout bool
smsEnabled bool SMS status for the destination.
Результат Task

GetAccount() публичный Метод

Retrive Account details for currently authenticated account. Makes a GET request
public GetAccount ( ) : Account
Результат Account

GetAccount() публичный Метод

Retrive Account details for currently authenticated account. Makes a GET request
public GetAccount ( ) : Task
Результат Task

GetAccountNotifications() публичный Метод

A lists of every notification associated with an account
public GetAccountNotifications ( ) : NotificationResult
Результат NotificationResult

GetAccountNotifications() публичный Метод

A lists of every notification associated with an account
public GetAccountNotifications ( NotificationLog log, int page, int pageSize ) : NotificationResult
log NotificationLog Specifies that only notifications with the given log level value should be listed.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат NotificationResult

GetAccountNotifications() публичный Метод

A lists of every notification associated with an account
public GetAccountNotifications ( ) : Task
Результат Task

GetAccountNotifications() публичный Метод

A lists of every notification associated with an account
public GetAccountNotifications ( NotificationLog log, int page, int pageSize ) : Task
log NotificationLog Specifies that only notifications with the given log level value should be listed.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат Task

GetAccountRecordings() публичный Метод

Get account recordings
public GetAccountRecordings ( ) : RecordingResult
Результат RecordingResult

GetAccountRecordings() публичный Метод

Get account recordings
public GetAccountRecordings ( DateTime dateCreated ) : RecordingResult
dateCreated DateTime Lists all recordings created on or after a certain date.
Результат RecordingResult

GetAccountRecordings() публичный Метод

Get account recordings
public GetAccountRecordings ( DateTime dateCreated, ComparisonType dateCreatedComparasion, int page, int pageSize ) : RecordingResult
dateCreated DateTime Lists all recordings created on or after a certain date.
dateCreatedComparasion ComparisonType Date created comparasion
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат RecordingResult

GetAccountRecordings() публичный Метод

Get account recordings
public GetAccountRecordings ( ) : Task
Результат Task

GetAccountRecordings() публичный Метод

Get account recordings
public GetAccountRecordings ( DateTime dateCreated ) : Task
dateCreated DateTime Lists all recordings created on or after a certain date.
Результат Task

GetAccountRecordings() публичный Метод

Get account recordings
public GetAccountRecordings ( DateTime dateCreated, ComparisonType dateCreatedComparasion, int page, int pageSize ) : Task
dateCreated DateTime Lists all recordings created on or after a certain date.
dateCreatedComparasion ComparisonType Date created comparasion
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат Task

GetAccountTranscriptions() публичный Метод

Return list of transcriptions
public GetAccountTranscriptions ( ) : Task
Результат Task

GetAccountTranscriptions() публичный Метод

Return list of transcriptions
public GetAccountTranscriptions ( int page, int pageSize ) : Task
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат Task

GetAccountTranscriptions() публичный Метод

Return list of transcriptions
public GetAccountTranscriptions ( ) : TranscriptionResult
Результат TranscriptionResult

GetAccountTranscriptions() публичный Метод

Return list of transcriptions
public GetAccountTranscriptions ( int page, int pageSize ) : TranscriptionResult
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат TranscriptionResult

GetApplication() публичный Метод

Return application details
public GetApplication ( string applicationSid ) : Application
applicationSid string An alphanumeric string used for identification of the application.
Результат Application

GetApplication() публичный Метод

Return application details
public GetApplication ( string applicationSid ) : Task
applicationSid string An alphanumeric string used for identification of the application.
Результат Task

GetApplications() публичный Метод

Return applications list
public GetApplications ( ) : ApplicationResult
Результат ApplicationResult

GetApplications() публичный Метод

Return applications list
public GetApplications ( string friendlyName ) : ApplicationResult
friendlyName string Specifies that only application resources matching the input FreindlyName should be returned in the list request.
Результат ApplicationResult

GetApplications() публичный Метод

Return applications list
public GetApplications ( string friendlyName, int page, int pageSize ) : ApplicationResult
friendlyName string Specifies that only application resources matching the input FreindlyName should be returned in the list request.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат ApplicationResult

GetApplications() публичный Метод

Return applications list
public GetApplications ( ) : Task
Результат Task

GetApplications() публичный Метод

Return applications list
public GetApplications ( string friendlyName ) : Task
friendlyName string Specifies that only application resources matching the input FreindlyName should be returned in the list request.
Результат Task

GetApplications() публичный Метод

Return applications list
public GetApplications ( string friendlyName, int page, int pageSize ) : Task
friendlyName string Specifies that only application resources matching the input FreindlyName should be returned in the list request.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат Task

GetAvailablePhoneNumbers() публичный Метод

Request a list of available numbers
public GetAvailablePhoneNumbers ( string isoCountryCode, AvaliablePhoneNumberType type ) : AvailablePhoneNumberResult
isoCountryCode string Two letter country code of the available phone number.
type AvaliablePhoneNumberType Search for local (default) or toll free nubmers.
Результат AvailablePhoneNumberResult

GetAvailablePhoneNumbers() публичный Метод

Request a list of available numbers
public GetAvailablePhoneNumbers ( string isoCountryCode, string areaCode, AvaliablePhoneNumberType type ) : AvailablePhoneNumberResult
isoCountryCode string Two letter country code of the available phone number.
areaCode string Code used to identify the phone numbers geographic origin. Found at the beginning of the number.
type AvaliablePhoneNumberType Search for local (default) or toll free nubmers.
Результат AvailablePhoneNumberResult

GetAvailablePhoneNumbers() публичный Метод

Request a list of available numbers
public GetAvailablePhoneNumbers ( string isoCountryCode, string areaCode, string contains, AvaliablePhoneNumberType type ) : AvailablePhoneNumberResult
isoCountryCode string Two letter country code of the available phone number.
areaCode string Code used to identify the phone numbers geographic origin. Found at the beginning of the number.
contains string Specifies the desired characters contained within the available numbers to list.
type AvaliablePhoneNumberType Search for local (default) or toll free nubmers.
Результат AvailablePhoneNumberResult

GetAvailablePhoneNumbers() публичный Метод

Request a list of available numbers
public GetAvailablePhoneNumbers ( string isoCountryCode, string areaCode, string contains, string inRegion, string inPostalCode, AvaliablePhoneNumberType type ) : AvailablePhoneNumberResult
isoCountryCode string Two letter country code of the available phone number.
areaCode string Code used to identify the phone numbers geographic origin. Found at the beginning of the number.
contains string Specifies the desired characters contained within the available numbers to list.
inRegion string Specifies the desired region of the available numbers to be listed.
inPostalCode string Specifies the desired postal code of the available numbers to be listed.
type AvaliablePhoneNumberType Search for local (default) or toll free nubmers.
Результат AvailablePhoneNumberResult

GetAvailablePhoneNumbers() публичный Метод

Request a list of available numbers
public GetAvailablePhoneNumbers ( string isoCountryCode, AvaliablePhoneNumberType type ) : Task
isoCountryCode string Two letter country code of the available phone number.
type AvaliablePhoneNumberType Search for local (default) or toll free nubmers.
Результат Task

GetAvailablePhoneNumbers() публичный Метод

Request a list of available numbers
public GetAvailablePhoneNumbers ( string isoCountryCode, string areaCode, AvaliablePhoneNumberType type ) : Task
isoCountryCode string Two letter country code of the available phone number.
areaCode string Code used to identify the phone numbers geographic origin. Found at the beginning of the number.
type AvaliablePhoneNumberType Search for local (default) or toll free nubmers.
Результат Task

GetAvailablePhoneNumbers() публичный Метод

Request a list of available numbers
public GetAvailablePhoneNumbers ( string isoCountryCode, string areaCode, string contains, AvaliablePhoneNumberType type ) : Task
isoCountryCode string Two letter country code of the available phone number.
areaCode string Code used to identify the phone numbers geographic origin. Found at the beginning of the number.
contains string Specifies the desired characters contained within the available numbers to list.
type AvaliablePhoneNumberType Search for local (default) or toll free nubmers.
Результат Task

GetAvailablePhoneNumbers() публичный Метод

Request a list of available numbers
public GetAvailablePhoneNumbers ( string isoCountryCode, string areaCode, string contains, string inRegion, string inPostalCode, AvaliablePhoneNumberType type ) : Task
isoCountryCode string Two letter country code of the available phone number.
areaCode string Code used to identify the phone numbers geographic origin. Found at the beginning of the number.
contains string Specifies the desired characters contained within the available numbers to list.
inRegion string Specifies the desired region of the available numbers to be listed.
inPostalCode string Specifies the desired postal code of the available numbers to be listed.
type AvaliablePhoneNumberType Search for local (default) or toll free nubmers.
Результат Task

GetCall() публичный Метод

Retrive Call details. Make GET request
public GetCall ( string callSid ) : Call
callSid string
Результат Call

GetCall() публичный Метод

Retrive Call details. Make GET request
public GetCall ( string callSid ) : Task
callSid string
Результат Task

GetCallNotifications() публичный Метод

A list of only notifications associated with a given CallSid
public GetCallNotifications ( string callSid ) : NotificationResult
callSid string An alphanumeric string used for identification of calls.
Результат NotificationResult

GetCallNotifications() публичный Метод

A list of only notifications associated with a given CallSid
public GetCallNotifications ( string callSid, NotificationLog log, int page, int pageSize ) : NotificationResult
callSid string An alphanumeric string used for identification of calls.
log NotificationLog Specifies that only notifications with the given log level value should be listed.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат NotificationResult

GetCallNotifications() публичный Метод

A list of only notifications associated with a given CallSid
public GetCallNotifications ( string callSid ) : Task
callSid string An alphanumeric string used for identification of calls.
Результат Task

GetCallNotifications() публичный Метод

A list of only notifications associated with a given CallSid
public GetCallNotifications ( string callSid, NotificationLog log, int page, int pageSize ) : Task
callSid string An alphanumeric string used for identification of calls.
log NotificationLog Specifies that only notifications with the given log level value should be listed.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат Task

GetCallRecordings() публичный Метод

Get call recordings
public GetCallRecordings ( string callSid ) : RecordingResult
callSid string An alphanumeric string used to identify each call.
Результат RecordingResult

GetCallRecordings() публичный Метод

Get call recordings
public GetCallRecordings ( string callSid, DateTime dateCreated ) : RecordingResult
callSid string An alphanumeric string used to identify each call.
dateCreated DateTime Lists all recordings created on or after a certain date
Результат RecordingResult

GetCallRecordings() публичный Метод

Get call recordings
public GetCallRecordings ( string callSid, DateTime dateCreated, ComparisonType dateCreatedComparasion, int page, int pageSize ) : RecordingResult
callSid string An alphanumeric string used to identify each call
dateCreated DateTime Lists all recordings created on or after a certain date
dateCreatedComparasion ComparisonType Date created comparasion
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат RecordingResult

GetCallRecordings() публичный Метод

Get call recordings
public GetCallRecordings ( string callSid ) : Task
callSid string An alphanumeric string used to identify each call.
Результат Task

GetCallRecordings() публичный Метод

Get call recordings
public GetCallRecordings ( string callSid, DateTime dateCreated ) : Task
callSid string An alphanumeric string used to identify each call.
dateCreated DateTime Lists all recordings created on or after a certain date
Результат Task

GetCallRecordings() публичный Метод

Get call recordings
public GetCallRecordings ( string callSid, DateTime dateCreated, ComparisonType dateCreatedComparasion, int page, int pageSize ) : Task
callSid string An alphanumeric string used to identify each call
dateCreated DateTime Lists all recordings created on or after a certain date
dateCreatedComparasion ComparisonType Date created comparasion
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат Task

GetCalls() публичный Метод

Retrive all calls. Make GET request
public GetCalls ( ) : CallResult
Результат CallResult

GetCalls() публичный Метод

Retrive all calls which satisfy CallOptions criteria. Make GET request
public GetCalls ( CallListOptions callOptions ) : CallResult
callOptions CallListOptions Call options to narrow search of calls
Результат CallResult

GetCalls() публичный Метод

Retrive all calls. Make GET request
public GetCalls ( ) : Task
Результат Task

GetCalls() публичный Метод

Retrive all calls which satisfy CallOptions criteria. Make GET request
public GetCalls ( CallListOptions callOptions ) : Task
callOptions CallListOptions Call options to narrow search of calls
Результат Task

GetConference() публичный Метод

Return resource properties about conference call
public GetConference ( string conferenceSid ) : Conference
conferenceSid string Conference sid
Результат Conference

GetConference() публичный Метод

Return resource properties about conference call
public GetConference ( string conferenceSid ) : Task
conferenceSid string Conference sid
Результат Task

GetConferenceParticipant() публичный Метод

Participants of a conference are identified by the CallSid created when they dial into the conference.
public GetConferenceParticipant ( string conferenceSid, string callSid ) : Participant
conferenceSid string
callSid string The CallSid identifying this participant.
Результат Participant

GetConferenceParticipant() публичный Метод

Participants of a conference are identified by the CallSid created when they dial into the conference.
public GetConferenceParticipant ( string conferenceSid, string callSid ) : Task
conferenceSid string
callSid string The CallSid identifying this participant.
Результат Task

GetConferenceParticipants() публичный Метод

Return list of all conference participants
public GetConferenceParticipants ( string conferenceSid ) : List
conferenceSid string Conference sid
Результат List

GetConferenceParticipants() публичный Метод

Return list of all conference participants
public GetConferenceParticipants ( string conferenceSid, bool muted, bool deafed, int page, int pageSize ) : List
conferenceSid string Conference sid
muted bool Only list participants that are muted.
deafed bool Only list participants that are deaf.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат List

GetConferenceParticipants() публичный Метод

Return list of all conference participants
public GetConferenceParticipants ( string conferenceSid ) : Task>
conferenceSid string Conference sid
Результат Task>

GetConferenceParticipants() публичный Метод

Return list of all conference participants
public GetConferenceParticipants ( string conferenceSid, bool muted, bool deafed, int page, int pageSize ) : Task>
conferenceSid string Conference sid
muted bool Only list participants that are muted.
deafed bool Only list participants that are deaf.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат Task>

GetConferences() публичный Метод

Return list of all conference resources associated with a given account
public GetConferences ( ) : ConferenceResult
Результат ConferenceResult

GetConferences() публичный Метод

Return list of all conference resources associated with a given account
public GetConferences ( ConferenceStatus status, DateTime dateCreated, ComparisonType dateCreatedComaparasion ) : ConferenceResult
status ConferenceStatus List conferences with the given status.
dateCreated DateTime List conferences created on, after, or before a given date.
dateCreatedComaparasion ComparisonType Date range can be specified using inequalities
Результат ConferenceResult

GetConferences() публичный Метод

Return list of all conference resources associated with a given account
public GetConferences ( string friendlyName ) : ConferenceResult
friendlyName string List conferences with the given FriendlyName.
Результат ConferenceResult

GetConferences() публичный Метод

Return list of all conference resources associated with a given account
public GetConferences ( string friendlyName, ConferenceStatus status, DateTime dateCreated, ComparisonType dateCreatedComparasion, DateTime dateUpdated, ComparisonType dateUpdatedComparasion, int page, int pageSize ) : ConferenceResult
friendlyName string List conferences with the given FriendlyName.
status ConferenceStatus List conferences with the given status.
dateCreated DateTime List conferences created on, after, or before a given date.
dateCreatedComparasion ComparisonType Date range can be specified using inequalities.
dateUpdated DateTime List conferences updated on, after, or before a given date.
dateUpdatedComparasion ComparisonType Date range can be specified using inequalities.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат ConferenceResult

GetConferences() публичный Метод

Return list of all conference resources associated with a given account
public GetConferences ( ) : Task
Результат Task

GetConferences() публичный Метод

Return list of all conference resources associated with a given account
public GetConferences ( ConferenceStatus status, DateTime dateCreated, ComparisonType dateCreatedComaparasion ) : Task
status ConferenceStatus List conferences with the given status.
dateCreated DateTime List conferences created on, after, or before a given date.
dateCreatedComaparasion ComparisonType Date range can be specified using inequalities
Результат Task

GetConferences() публичный Метод

Return list of all conference resources associated with a given account
public GetConferences ( string friendlyName ) : Task
friendlyName string List conferences with the given FriendlyName.
Результат Task

GetConferences() публичный Метод

Return list of all conference resources associated with a given account
public GetConferences ( string friendlyName, ConferenceStatus status, DateTime dateCreated, ComparisonType dateCreatedComparasion, DateTime dateUpdated, ComparisonType dateUpdatedComparasion, int page, int pageSize ) : Task
friendlyName string List conferences with the given FriendlyName.
status ConferenceStatus List conferences with the given status.
dateCreated DateTime List conferences created on, after, or before a given date.
dateCreatedComparasion ComparisonType Date range can be specified using inequalities.
dateUpdated DateTime List conferences updated on, after, or before a given date.
dateUpdatedComparasion ComparisonType Date range can be specified using inequalities.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат Task

GetFraudControlResources() публичный Метод

Return a list of all fraud control resources associated with a given account
public GetFraudControlResources ( ) : FraudResult
Результат FraudResult

GetFraudControlResources() публичный Метод

Return a list of all fraud control resources associated with a given account
public GetFraudControlResources ( int page, int pageSize ) : FraudResult
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат FraudResult

GetFraudControlResources() публичный Метод

Return a list of all fraud control resources associated with a given account
public GetFraudControlResources ( ) : Task
Результат Task

GetFraudControlResources() публичный Метод

Return a list of all fraud control resources associated with a given account
public GetFraudControlResources ( int page, int pageSize ) : Task
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат Task

GetIncomingPhoneNumber() публичный Метод

Gets TelAPI phone number associated with an account
public GetIncomingPhoneNumber ( string phoneNumberSid ) : IncomingPhoneNumber
phoneNumberSid string An alphanumeric string used for identification of incoming phone numbers.
Результат IncomingPhoneNumber

GetIncomingPhoneNumber() публичный Метод

Gets TelAPI phone number associated with an account
public GetIncomingPhoneNumber ( string phoneNumberSid ) : Task
phoneNumberSid string An alphanumeric string used for identification of incoming phone numbers.
Результат Task

GetIncomingPhoneNumbers() публичный Метод

Gets TelAPI phone numbers associated with an account
public GetIncomingPhoneNumbers ( ) : IncomingPhoneNumberResult
Результат IncomingPhoneNumberResult

GetIncomingPhoneNumbers() публичный Метод

Gets TelAPI phone numbers associated with an account
public GetIncomingPhoneNumbers ( string phoneNumber, string friendlyName ) : IncomingPhoneNumberResult
phoneNumber string Specifies what IncomingPhoneNumber resources should be returned in the list request.
friendlyName string Specifies that only IncomingPhoneNumber resources matching the input FreindlyName should be returned in the list request.
Результат IncomingPhoneNumberResult

GetIncomingPhoneNumbers() публичный Метод

Gets TelAPI phone numbers associated with an account
public GetIncomingPhoneNumbers ( string phoneNumber, string friendlyName, int page, int pageSize ) : IncomingPhoneNumberResult
phoneNumber string Specifies what IncomingPhoneNumber resources should be returned in the list request.
friendlyName string Specifies that only IncomingPhoneNumber resources matching the input FreindlyName should be returned in the list request.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат IncomingPhoneNumberResult

GetIncomingPhoneNumbers() публичный Метод

Gets TelAPI phone numbers associated with an account
public GetIncomingPhoneNumbers ( ) : Task
Результат Task

GetIncomingPhoneNumbers() публичный Метод

Gets TelAPI phone numbers associated with an account
public GetIncomingPhoneNumbers ( string phoneNumber, string friendlyName ) : Task
phoneNumber string Specifies what IncomingPhoneNumber resources should be returned in the list request.
friendlyName string Specifies that only IncomingPhoneNumber resources matching the input FreindlyName should be returned in the list request.
Результат Task

GetIncomingPhoneNumbers() публичный Метод

Gets TelAPI phone numbers associated with an account
public GetIncomingPhoneNumbers ( string phoneNumber, string friendlyName, int page, int pageSize ) : Task
phoneNumber string Specifies what IncomingPhoneNumber resources should be returned in the list request.
friendlyName string Specifies that only IncomingPhoneNumber resources matching the input FreindlyName should be returned in the list request.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат Task

GetInomingPhoneNumbers() публичный Метод

Gets TelAPI phone numbers associated with an account
public GetInomingPhoneNumbers ( string phoneNumber ) : IncomingPhoneNumberResult
phoneNumber string Specifies what IncomingPhoneNumber resources should be returned in the list request.
Результат IncomingPhoneNumberResult

GetInomingPhoneNumbers() публичный Метод

Gets TelAPI phone numbers associated with an account
public GetInomingPhoneNumbers ( string phoneNumber ) : Task
phoneNumber string Specifies what IncomingPhoneNumber resources should be returned in the list request.
Результат Task

GetNotification() публичный Метод

public GetNotification ( string notificationSid ) : Notification
notificationSid string
Результат Notification

GetNotification() публичный Метод

public GetNotification ( string notificationSid ) : Task
notificationSid string
Результат Task

GetRecording() публичный Метод

Get a single recording resource
public GetRecording ( string recordingSid ) : Recording
recordingSid string An alphanumeric string used to identify each recording.
Результат Recording

GetRecording() публичный Метод

Get a single recording resource
public GetRecording ( string recordingSid ) : Task
recordingSid string An alphanumeric string used to identify each recording.
Результат Task

GetRecordingTranscriptions() публичный Метод

Return list of recording transcriptions
public GetRecordingTranscriptions ( string recordingSid ) : Task
recordingSid string An alphanumeric string used for identification of recording.
Результат Task

GetRecordingTranscriptions() публичный Метод

Return list of recording transcriptions
public GetRecordingTranscriptions ( string recordingSid, int page, int pageSize ) : Task
recordingSid string An alphanumeric string used for identification of recording.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат Task

GetRecordingTranscriptions() публичный Метод

Return list of recording transcriptions
public GetRecordingTranscriptions ( string recordingSid ) : TranscriptionResult
recordingSid string An alphanumeric string used for identification of recording.
Результат TranscriptionResult

GetRecordingTranscriptions() публичный Метод

Return list of recording transcriptions
public GetRecordingTranscriptions ( string recordingSid, int page, int pageSize ) : TranscriptionResult
recordingSid string An alphanumeric string used for identification of recording.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат TranscriptionResult

GetSmsMessage() публичный Метод

Receive SMS message. Make GET request
public GetSmsMessage ( string smsMessageSid ) : SmsMessage
smsMessageSid string An alphanumeric string used for identification of sms messages.
Результат SmsMessage

GetSmsMessage() публичный Метод

Receive SMS message. Make GET request
public GetSmsMessage ( string smsMessageSid ) : Task
smsMessageSid string An alphanumeric string used for identification of sms messages.
Результат Task

GetSmsMessages() публичный Метод

Receive all SMS messages for current account. Make GET request
public GetSmsMessages ( ) : SmsMessageResult
Результат SmsMessageResult

GetSmsMessages() публичный Метод

Receive SMS messages wich satisfiy criteria. Make GET request
public GetSmsMessages ( SmsMessageListOptions smsMessageOptions ) : SmsMessageResult
smsMessageOptions SmsMessageListOptions Sms message options for narrowing search
Результат SmsMessageResult

GetSmsMessages() публичный Метод

Receive all SMS messages for current account. Make GET request
public GetSmsMessages ( ) : Task
Результат Task

GetSmsMessages() публичный Метод

Receive SMS messages wich satisfiy criteria. Make GET request
public GetSmsMessages ( SmsMessageListOptions smsMessageOptions ) : Task
smsMessageOptions SmsMessageListOptions Sms message options for narrowing search
Результат Task

GetTranscription() публичный Метод

Return transcription
public GetTranscription ( string transcriptionSid ) : Task
transcriptionSid string An alphanumeric string used for identification of transcriptions.
Результат Task

GetTranscription() публичный Метод

Return transcription
public GetTranscription ( string transcriptionSid ) : Transcription
transcriptionSid string An alphanumeric string used for identification of transcriptions.
Результат Transcription

GetTranscriptionText() публичный Метод

Return transcription content in textual format
public GetTranscriptionText ( string transcriptionSid ) : string
transcriptionSid string An alphanumeric string used for identification of transcriptions.
Результат string

GetUsage() публичный Метод

Individual usage resources are assigned a Sid which can be used to access them. In addition to the name and price of the feature used, usage resources also provide the date the usage occurred.
public GetUsage ( string sid ) : Task
sid string Usage sid
Результат Task

GetUsage() публичный Метод

Individual usage resources are assigned a Sid which can be used to access them. In addition to the name and price of the feature used, usage resources also provide the date the usage occurred.
public GetUsage ( string sid ) : Usage
sid string Usage sid
Результат Usage

GetUsages() публичный Метод

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.
public GetUsages ( ) : Task
Результат Task

GetUsages() публичный Метод

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.
public GetUsages ( DateTime date ) : Task
date DateTime Returns a list of usage for a given date
Результат Task

GetUsages() публичный Метод

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.
public GetUsages ( Products product ) : Task
product Products Returns a list of all usage for a specific "product" or feature of TelAPI.
Результат Task

GetUsages() публичный Метод

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.
public GetUsages ( int page, int pageSize ) : Task
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат Task

GetUsages() публичный Метод

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.
public GetUsages ( int day, int month, int year, int page, int pageSize, Products product ) : Task
day int Returns a list of usage for a given day within a month.
month int Returns a list of usage for a given month. For January: Month=1, for February: Month=2, etc.
year int Returns a list of usage for a given year.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
product Products Returns a list of all usage for a specific "product" or feature of TelAPI.
Результат Task

GetUsages() публичный Метод

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.
public GetUsages ( ) : UsageResult
Результат UsageResult

GetUsages() публичный Метод

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.
public GetUsages ( DateTime date ) : UsageResult
date DateTime Returns a list of usage for a given date
Результат UsageResult

GetUsages() публичный Метод

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.
public GetUsages ( Products product ) : UsageResult
product Products Returns a list of all usage for a specific "product" or feature of TelAPI.
Результат UsageResult

GetUsages() публичный Метод

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.
public GetUsages ( int page, int pageSize ) : UsageResult
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
Результат UsageResult

GetUsages() публичный Метод

A complete list of usage that has occured through an account can be requested via the REST API. This list includes every feature of TelAPI an account may use, from inbound/outbound call and SMS messages all the way to Carrier/CNAM lookups.
public GetUsages ( int day, int month, int year, int page, int pageSize, Products product ) : UsageResult
day int Returns a list of usage for a given day within a month.
month int Returns a list of usage for a given month. For January: Month=1, for February: Month=2, etc.
year int Returns a list of usage for a given year.
page int Used to return a particular page withing the list.
pageSize int Used to specify the amount of list items to return per page.
product Products Returns a list of all usage for a specific "product" or feature of TelAPI.
Результат UsageResult

HangupCall() публичный Метод

Hangup up current active call. Make POST request
public HangupCall ( string callSid ) : Call
callSid string An alphanumeric string used for identification of calls.
Результат Call

HangupCall() публичный Метод

Hangup up current active call. Make POST request
public HangupCall ( string callSid ) : Task
callSid string An alphanumeric string used for identification of calls.
Результат Task

HangupParticipant() публичный Метод

Hangup participant of conference call
public HangupParticipant ( string conferenceSid, Participant participant ) : Participant
conferenceSid string Conference sid
participant Participant Specifies the participant to hangup.
Результат Participant

HangupParticipant() публичный Метод

Hangup participant of conference call
public HangupParticipant ( string conferenceSid, Participant participant ) : Task
conferenceSid string Conference sid
participant Participant Specifies the participant to hangup.
Результат Task

InterruptLiveCall() публичный Метод

To change the behavior of live calls, TelAPI provides the ability to interrupt calls in real time and end or redirect them to InboundXML for execution.
public InterruptLiveCall ( string callSid, string url, HttpMethod httpMethod, HangupCallStatus status ) : Call
callSid string An alphanumeric string used for identification of calls
url string The URL in-progress calls can be forwarded to.
httpMethod HttpMethod Specifies the HTTP method used to request forwarding URL. Allowed Value: POST or GET. Default Value: POST
status HangupCallStatus The status used to end the call. canceled only ends queued/ringing calls while completed ends in-progress calls as well as queued/ringing calls. Allowed Value: canceled or completed
Результат Call

InterruptLiveCall() публичный Метод

To change the behavior of live calls, TelAPI provides the ability to interrupt calls in real time and end or redirect them to InboundXML for execution.
public InterruptLiveCall ( string callSid, string url, HttpMethod httpMethod, HangupCallStatus status ) : Task
callSid string An alphanumeric string used for identification of calls
url string The URL in-progress calls can be forwarded to.
httpMethod HttpMethod Specifies the HTTP method used to request forwarding URL. Allowed Value: POST or GET. Default Value: POST
status HangupCallStatus The status used to end the call. canceled only ends queued/ringing calls while completed ends in-progress calls as well as queued/ringing calls. Allowed Value: canceled or completed
Результат Task

MakeCall() публичный Метод

Initiate outbound call with options. Make POST request
public MakeCall ( CallOptions callOptions ) : Call
callOptions CallOptions Call options
Результат Call

MakeCall() публичный Метод

Initiate outbound call. Make POST request
public MakeCall ( string from, string to, string url ) : Call
from string The number to call.
to string The number to display as calling.
url string The URL requested once the call connects.
Результат Call

MakeCall() публичный Метод

Initiate outbound call with options. Make POST request
public MakeCall ( CallOptions callOptions ) : Task
callOptions CallOptions Call options
Результат Task

MakeCall() публичный Метод

Initiate outbound call. Make POST request
public MakeCall ( string from, string to, string url ) : Task
from string The number to call.
to string The number to display as calling.
url string The URL requested once the call connects.
Результат Task

MuteParticipant() публичный Метод

Mute participant of conference call
public MuteParticipant ( string conferenceSid, Participant participant, bool mute ) : Participant
conferenceSid string Conference sid
participant Participant Specifies the participant to mute.
mute bool Mute participant?
Результат Participant

MuteParticipant() публичный Метод

Mute participant of conference call
public MuteParticipant ( string conferenceSid, Participant participant, bool mute ) : Task
conferenceSid string Conference sid
participant Participant Specifies the participant to mute.
mute bool Mute participant?
Результат Task

PlayAudio() публичный Метод

TelAPI allows you to play an audio file during a call. This is useful for playing hold music, providing IVR prompts, etc.
public PlayAudio ( string callSid, PlayAudioOptions audioOptions ) : Call
callSid string An alphanumeric string used for identification of calls
audioOptions PlayAudioOptions Audio options
Результат Call

PlayAudio() публичный Метод

public PlayAudio ( string callSid, string audioUrl ) : Call
callSid string
audioUrl string
Результат Call

PlayAudio() публичный Метод

TelAPI allows you to play an audio file during a call. This is useful for playing hold music, providing IVR prompts, etc.
public PlayAudio ( string callSid, PlayAudioOptions audioOptions ) : Task
callSid string An alphanumeric string used for identification of calls
audioOptions PlayAudioOptions Audio options
Результат Task

PlayAudio() публичный Метод

public PlayAudio ( string callSid, string audioUrl ) : Task
callSid string
audioUrl string
Результат Task

PlayAudioToParticipant() публичный Метод

Play audio to participant of conference call
public PlayAudioToParticipant ( string conferenceSid, Participant participant, string url ) : Participant
conferenceSid string Conference sid
participant Participant Specifies the participant to play audio.
url string Url where audio is located
Результат Participant

PlayAudioToParticipant() публичный Метод

Play audio to participant of conference call
public PlayAudioToParticipant ( string conferenceSid, Participant participant, string url ) : Task
conferenceSid string Conference sid
participant Participant Specifies the participant to play audio.
url string Url where audio is located
Результат Task

RecordCall() публичный Метод

TelAPI offers a way to both initiate or end a call recording
public RecordCall ( string callSid, bool isRecording ) : RecordingResult
callSid string An alphanumeric string used for identification of calls
isRecording bool Specifies if call recording should beging or end. To start recording a call, value must be true. To stop recording a call, value must be false.
Результат RecordingResult

RecordCall() публичный Метод

TelAPI offers a way to both initiate or end a call recording
public RecordCall ( string callSid, bool isRecording, int timeLimit, string callbackUrl ) : RecordingResult
callSid string An alphanumeric string used for identification of calls
isRecording bool Specifies if call recording should beging or end. To start recording a call, value must be true. To stop recording a call, value must be false.
timeLimit int The time in seconds the duration a call recording should not exceed. If no value specified, recordings are 60 seconds by default.
callbackUrl string URL where recording information will be relayed to after it has completed.
Результат RecordingResult

RecordCall() публичный Метод

TelAPI offers a way to both initiate or end a call recording
public RecordCall ( string callSid, bool isRecording ) : Task
callSid string An alphanumeric string used for identification of calls
isRecording bool Specifies if call recording should beging or end. To start recording a call, value must be true. To stop recording a call, value must be false.
Результат Task

RecordCall() публичный Метод

TelAPI offers a way to both initiate or end a call recording
public RecordCall ( string callSid, bool isRecording, int timeLimit, string callbackUrl ) : Task
callSid string An alphanumeric string used for identification of calls
isRecording bool Specifies if call recording should beging or end. To start recording a call, value must be true. To stop recording a call, value must be false.
timeLimit int The time in seconds the duration a call recording should not exceed. If no value specified, recordings are 60 seconds by default.
callbackUrl string URL where recording information will be relayed to after it has completed.
Результат Task

SendDigits() публичный Метод

DTMFs, aka touch tone signals, can be sent to a call
public SendDigits ( string callSid, string playDtmf, PlayDtmfLeg dtmfLeg ) : Call
callSid string An alphanumeric string used for identification of calls
playDtmf string Specifies which touch tone signals to send to a call. W or w can be used to include half second pauses within the digit transmission. For example: wwww1234 waits two seconds before sending the digits and 12wwww34 waits two seconds in between the sending of 12 and 34. Allowed Value: the digits 0-9, W, or w
dtmfLeg PlayDtmfLeg Specifies which leg of the call digits will be sent to. 'aleg' leg is the originator of the call, 'bleg' is the recipient of the call.
Результат Call

SendDigits() публичный Метод

DTMFs, aka touch tone signals, can be sent to a call
public SendDigits ( string callSid, string playDtmf, PlayDtmfLeg dtmfLeg ) : Task
callSid string An alphanumeric string used for identification of calls
playDtmf string Specifies which touch tone signals to send to a call. W or w can be used to include half second pauses within the digit transmission. For example: wwww1234 waits two seconds before sending the digits and 12wwww34 waits two seconds in between the sending of 12 and 34. Allowed Value: the digits 0-9, W, or w
dtmfLeg PlayDtmfLeg Specifies which leg of the call digits will be sent to. 'aleg' leg is the originator of the call, 'bleg' is the recipient of the call.
Результат Task

SendSmsMessage() публичный Метод

Send SMS message
public SendSmsMessage ( string from, string to, string body ) : SmsMessage
from string The number you want to display as sending the SMS. A surcharge will apply when sending via a custom From number.
to string The number you want to send the SMS to.
body string Text of the SMS message to be sent.
Результат SmsMessage

SendSmsMessage() публичный Метод

Send SMS message
public SendSmsMessage ( string from, string to, string body, string statusCallback ) : SmsMessage
from string The number you want to display as sending the SMS. A surcharge will apply when sending via a custom From number.
to string The number you want to send the SMS to.
body string Text of the SMS message to be sent.
statusCallback string URL that a set of default parameters will be forwarded to once the SMS is complete.
Результат SmsMessage

SendSmsMessage() публичный Метод

Send SMS message
public SendSmsMessage ( string from, string to, string body ) : Task
from string The number you want to display as sending the SMS. A surcharge will apply when sending via a custom From number.
to string The number you want to send the SMS to.
body string Text of the SMS message to be sent.
Результат Task

SendSmsMessage() публичный Метод

Send SMS message
public SendSmsMessage ( string from, string to, string body, string statusCallback ) : Task
from string The number you want to display as sending the SMS. A surcharge will apply when sending via a custom From number.
to string The number you want to send the SMS to.
body string Text of the SMS message to be sent.
statusCallback string URL that a set of default parameters will be forwarded to once the SMS is complete.
Результат Task

TranscribeAudio() публичный Метод

Start transcribe of external audio
public TranscribeAudio ( string audioUrl ) : Task
audioUrl string URL where the audio to be transcribed is located.
Результат Task

TranscribeAudio() публичный Метод

Start transcribe of external audio
public TranscribeAudio ( string audioUrl, TranscriptionType quality ) : Task
audioUrl string URL where the audio to be transcribed is located.
quality TranscriptionType Specifies the transcription quality.
Результат Task

TranscribeAudio() публичный Метод

Start transcribe of external audio
public TranscribeAudio ( string audioUrl, TranscriptionType quality, string transcribeCallback, string callbackMethod ) : Task
audioUrl string URL where the audio to be transcribed is located.
quality TranscriptionType Specifies the transcription quality.
transcribeCallback string URL that will be requested when the transcription has finished processing.
callbackMethod string Specifies the HTTP method to use when requesting the TranscribeCallback URL.
Результат Task

TranscribeAudio() публичный Метод

Start transcribe of external audio
public TranscribeAudio ( string audioUrl ) : Transcription
audioUrl string URL where the audio to be transcribed is located.
Результат Transcription

TranscribeAudio() публичный Метод

Start transcribe of external audio
public TranscribeAudio ( string audioUrl, TranscriptionType quality ) : Transcription
audioUrl string URL where the audio to be transcribed is located.
quality TranscriptionType Specifies the transcription quality.
Результат Transcription

TranscribeAudio() публичный Метод

Start transcribe of external audio
public TranscribeAudio ( string audioUrl, TranscriptionType quality, string transcribeCallback, string callbackMethod ) : Transcription
audioUrl string URL where the audio to be transcribed is located.
quality TranscriptionType Specifies the transcription quality.
transcribeCallback string URL that will be requested when the transcription has finished processing.
callbackMethod string Specifies the HTTP method to use when requesting the TranscribeCallback URL.
Результат Transcription

TranscribeRecording() публичный Метод

Start transcribe of recording
public TranscribeRecording ( string recordingSid ) : Task
recordingSid string An alphanumeric string used for identification of recording.
Результат Task

TranscribeRecording() публичный Метод

Start transcribe of recording
public TranscribeRecording ( string recordingSid, TranscriptionType quality ) : Task
recordingSid string An alphanumeric string used for identification of recording.
quality TranscriptionType Specifies the transcription quality.
Результат Task

TranscribeRecording() публичный Метод

Start transcribe of recording
public TranscribeRecording ( string recordingSid, TranscriptionType quality, string transcribeCallback, string callbackMethod ) : Task
recordingSid string An alphanumeric string used for identification of recording.
quality TranscriptionType Specifies the transcription quality.
transcribeCallback string URL that will be requested when the transcription has finished processing.
callbackMethod string Specifies the HTTP method to use when requesting the TranscribeCallback URL.
Результат Task

TranscribeRecording() публичный Метод

Start transcribe of recording
public TranscribeRecording ( string recordingSid ) : Transcription
recordingSid string An alphanumeric string used for identification of recording.
Результат Transcription

TranscribeRecording() публичный Метод

Start transcribe of recording
public TranscribeRecording ( string recordingSid, TranscriptionType quality ) : Transcription
recordingSid string An alphanumeric string used for identification of recording.
quality TranscriptionType Specifies the transcription quality.
Результат Transcription

TranscribeRecording() публичный Метод

Start transcribe of recording
public TranscribeRecording ( string recordingSid, TranscriptionType quality, string transcribeCallback, string callbackMethod ) : Transcription
recordingSid string An alphanumeric string used for identification of recording.
quality TranscriptionType Specifies the transcription quality.
transcribeCallback string URL that will be requested when the transcription has finished processing.
callbackMethod string Specifies the HTTP method to use when requesting the TranscribeCallback URL.
Результат Transcription

UpdateApplication() публичный Метод

Update application data
public UpdateApplication ( Application application ) : Application
application Application Application object
Результат Application

UpdateApplication() публичный Метод

Update application data
public UpdateApplication ( Application application ) : Task
application Application Application object
Результат Task

UpdateIncomingPhoneNumber() публичный Метод

Update existing Incoming Phone number
public UpdateIncomingPhoneNumber ( IncomingPhoneNumber phoneNumber ) : IncomingPhoneNumber
phoneNumber IncomingPhoneNumber Desired Incoming phone number to update
Результат IncomingPhoneNumber

UpdateIncomingPhoneNumber() публичный Метод

Update existing Incoming Phone number
public UpdateIncomingPhoneNumber ( IncomingPhoneNumber phoneNumber ) : Task
phoneNumber IncomingPhoneNumber Desired Incoming phone number to update
Результат Task

VoiceEffects() публичный Метод

With TelAPI you can modify the way a callers voice sounds by changing things such as speed and pitch of the audio.
public VoiceEffects ( string callSid, VoiceEffectOptions effectOptions ) : Call
callSid string An alphanumeric string used for identification of calls
effectOptions VoiceEffectOptions Voice effect options
Результат Call

VoiceEffects() публичный Метод

With TelAPI you can modify the way a callers voice sounds by changing things such as speed and pitch of the audio.
public VoiceEffects ( string callSid, VoiceEffectOptions effectOptions ) : Task
callSid string An alphanumeric string used for identification of calls
effectOptions VoiceEffectOptions Voice effect options
Результат Task

WhitelistDestination() публичный Метод

Whitelisting is provided for destinations you wish to permanently authorize.
public WhitelistDestination ( string countryCode ) : FraudResult
countryCode string Two letter country code being whitelisted, authorized or blocked.
Результат FraudResult

WhitelistDestination() публичный Метод

Whitelisting is provided for destinations you wish to permanently authorize.
public WhitelistDestination ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : FraudResult
countryCode string Two letter country code being whitelisted, authorized or blocked.
mobileBreakout bool Mobile breakout status for the destination.
landlinebreakout bool
smsEnabled bool SMS status for the destination.
Результат FraudResult

WhitelistDestination() публичный Метод

Whitelisting is provided for destinations you wish to permanently authorize.
public WhitelistDestination ( string countryCode ) : Task
countryCode string Two letter country code being whitelisted, authorized or blocked.
Результат Task

WhitelistDestination() публичный Метод

Whitelisting is provided for destinations you wish to permanently authorize.
public WhitelistDestination ( string countryCode, bool mobileBreakout, bool landlinebreakout, bool smsEnabled ) : Task
countryCode string Two letter country code being whitelisted, authorized or blocked.
mobileBreakout bool Mobile breakout status for the destination.
landlinebreakout bool
smsEnabled bool SMS status for the destination.
Результат Task