The class represents the voice call. More...
Public Member Functions | |
override string | ToString () |
Returns string representation of the object. More... | |
CallParty | party (string partyId) |
Returns the CallParty object for specified party ID. More... | |
void | drop () |
Disconnect a call. More... | |
void | answer () |
Answer inbound ringing call. More... | |
void | hold () |
Place call on hold. More... | |
void | resume () |
Resume held call. More... | |
void | mute () |
Deactivate user's phone microphone. More... | |
void | unmute () |
Reactivate user's phone microphone. More... | |
ResultCode | sstepTransfer (string dest) |
Initiate single step (blind) transfer of the call to specified destination. More... | |
ResultCode | sstepConference (string dest) |
Initiate single step (blind) conference with specified destination. More... | |
ResultCode | consultTransfer (Call consultCall) |
Complete the consult transfer of current call with specified consult call. The current call will be completed then. More... | |
ResultCode | mergeConference (List< Call > consultCalls) |
Merge specified consult calls with current call into conference. All consult calls will be completed once they are joined current call. The consult calls will become parties of the current call. More... | |
ResultCode | startRecording () |
Start or continue recording of the call on the server. More... | |
ResultCode | stopRecording () |
Stop recording of the call on the server. More... | |
ResultCode | muteRecording () |
Mute recording of the call on the server. More... | |
ResultCode | unmuteRecording () |
Resume (unmute) recording of the call on the server. More... | |
void | removeParty (CallParty party) |
Remove party from conference. Only parties which were added by this client can be removed. More... | |
void | endConference () |
End conference call. This will destroy the conference completely. Use Call.drop() to leave the conference without destroying the entire call. More... | |
void | sendDtmf (string dtmf) |
Send the DTMF digit to all other parties in the call. More... | |
Properties | |
string | id [get] |
Unique call ID. More... | |
DateTime | startTime [get] |
Call start time More... | |
string | itemId [get] |
ID of the Item associated with the call. More... | |
Item? | item [get] |
Reference to the Item associated with the call. More... | |
Direction | direction [get] |
Call direction. More... | |
string | localNumber [get] |
Local phone number. More... | |
string | remoteNumber [get] |
Remote phone number. More... | |
string | remoteName [get, set] |
Remote party display name. More... | |
CallState | state [get] |
Call state. More... | |
bool | isMuted [get] |
Specifies if call is muted (the user's microphone is turned off). More... | |
bool | remoteHeld [get] |
Specifies if the call is placed on hold by remote party. More... | |
bool? | isRecording [get] |
Specifies if call is being recorded on the server. More... | |
bool? | isRecordingMuted [get] |
Specifies if call is being recorded but the actual sound is replaced with silence. More... | |
string? | recordingPlaybackUrl [get] |
Specifies the URL postfix which can be used to download the recording. The full URL should be composed by joining the web server address with this postfix. More... | |
SortedDictionary< string, CallParty > | parties [get] |
Collection of call parties. More... | |
bool | isConference [get] |
Specifies if call is the conference (has more than two phone parties). More... | |
The class represents the voice call.
void ADAPI.Call.answer | ( | ) |
Answer inbound ringing call.
ResultCode ADAPI.Call.consultTransfer | ( | Call | consultCall | ) |
Complete the consult transfer of current call with specified consult call. The current call will be completed then.
consultCall | Reference to the consult call object. |
void ADAPI.Call.drop | ( | ) |
Disconnect a call.
void ADAPI.Call.endConference | ( | ) |
End conference call. This will destroy the conference completely. Use Call.drop() to leave the conference without destroying the entire call.
void ADAPI.Call.hold | ( | ) |
Place call on hold.
ResultCode ADAPI.Call.mergeConference | ( | List< Call > | consultCalls | ) |
Merge specified consult calls with current call into conference. All consult calls will be completed once they are joined current call. The consult calls will become parties of the current call.
consultCalls | List of consult calls to be joined. |
void ADAPI.Call.mute | ( | ) |
Deactivate user's phone microphone.
ResultCode ADAPI.Call.muteRecording | ( | ) |
Mute recording of the call on the server.
CallParty ADAPI.Call.party | ( | string | partyId | ) |
void ADAPI.Call.removeParty | ( | CallParty | party | ) |
Remove party from conference. Only parties which were added by this client can be removed.
party | Reference to the CallParty object representing the party to be removed |
void ADAPI.Call.resume | ( | ) |
Resume held call.
void ADAPI.Call.sendDtmf | ( | string | dtmf | ) |
Send the DTMF digit to all other parties in the call.
dtmf | The DTMF digit to be sent |
ResultCode ADAPI.Call.sstepConference | ( | string | dest | ) |
Initiate single step (blind) conference with specified destination.
dest | The phone number of the new party being invited to the conference |
ResultCode ADAPI.Call.sstepTransfer | ( | string | dest | ) |
Initiate single step (blind) transfer of the call to specified destination.
dest | Destination phone number |
ResultCode ADAPI.Call.startRecording | ( | ) |
Start or continue recording of the call on the server.
ResultCode ADAPI.Call.stopRecording | ( | ) |
Stop recording of the call on the server.
override string ADAPI.Call.ToString | ( | ) |
Returns string representation of the object.
void ADAPI.Call.unmute | ( | ) |
Reactivate user's phone microphone.
ResultCode ADAPI.Call.unmuteRecording | ( | ) |
Resume (unmute) recording of the call on the server.
|
get |
Unique call ID.
|
get |
Specifies if call is the conference (has more than two phone parties).
|
get |
Specifies if call is muted (the user's microphone is turned off).
|
get |
Specifies if call is being recorded on the server.
|
get |
Specifies if call is being recorded but the actual sound is replaced with silence.
|
get |
ID of the Item associated with the call.
|
get |
Local phone number.
|
get |
Collection of call parties.
|
get |
Specifies the URL postfix which can be used to download the recording. The full URL should be composed by joining the web server address with this postfix.
|
get |
Specifies if the call is placed on hold by remote party.
|
getset |
Remote party display name.
|
get |
Remote phone number.
|
get |
Call start time