Interface CallService
-
- All Implemented Interfaces:
public interface CallService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceCallService.WithRawResponseA view of CallService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract CallService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract CallServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. Unitaccept(String callId, CallAcceptParams params)Accept an incoming SIP call and configure the realtime session that will handle it. Unitaccept(String callId, CallAcceptParams params, RequestOptions requestOptions)Unitaccept(CallAcceptParams params)abstract Unitaccept(CallAcceptParams params, RequestOptions requestOptions)Unithangup(String callId)End an active Realtime API call, whether it was initiated over SIP or WebRTC. Unithangup(String callId, CallHangupParams params, RequestOptions requestOptions)Unithangup(String callId, CallHangupParams params)abstract Unithangup(CallHangupParams params, RequestOptions requestOptions)Unithangup(CallHangupParams params)Unithangup(String callId, RequestOptions requestOptions)Unitrefer(String callId, CallReferParams params)Transfer an active SIP call to a new destination using the SIP REFER verb. Unitrefer(String callId, CallReferParams params, RequestOptions requestOptions)Unitrefer(CallReferParams params)abstract Unitrefer(CallReferParams params, RequestOptions requestOptions)Unitreject(String callId)Decline an incoming SIP call by returning a SIP status code to the caller. Unitreject(String callId, CallRejectParams params, RequestOptions requestOptions)Unitreject(String callId, CallRejectParams params)abstract Unitreject(CallRejectParams params, RequestOptions requestOptions)Unitreject(CallRejectParams params)Unitreject(String callId, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract CallService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract CallService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
accept
Unit accept(String callId, CallAcceptParams params)
Accept an incoming SIP call and configure the realtime session that will handle it.
-
accept
Unit accept(String callId, CallAcceptParams params, RequestOptions requestOptions)
-
accept
Unit accept(CallAcceptParams params)
-
accept
abstract Unit accept(CallAcceptParams params, RequestOptions requestOptions)
-
hangup
Unit hangup(String callId)
End an active Realtime API call, whether it was initiated over SIP or WebRTC.
-
hangup
Unit hangup(String callId, CallHangupParams params, RequestOptions requestOptions)
-
hangup
Unit hangup(String callId, CallHangupParams params)
-
hangup
abstract Unit hangup(CallHangupParams params, RequestOptions requestOptions)
-
hangup
Unit hangup(CallHangupParams params)
-
hangup
Unit hangup(String callId, RequestOptions requestOptions)
-
refer
Unit refer(String callId, CallReferParams params)
Transfer an active SIP call to a new destination using the SIP REFER verb.
-
refer
Unit refer(String callId, CallReferParams params, RequestOptions requestOptions)
-
refer
Unit refer(CallReferParams params)
-
refer
abstract Unit refer(CallReferParams params, RequestOptions requestOptions)
-
reject
Unit reject(String callId)
Decline an incoming SIP call by returning a SIP status code to the caller.
-
reject
Unit reject(String callId, CallRejectParams params, RequestOptions requestOptions)
-
reject
Unit reject(String callId, CallRejectParams params)
-
reject
abstract Unit reject(CallRejectParams params, RequestOptions requestOptions)
-
reject
Unit reject(CallRejectParams params)
-
reject
Unit reject(String callId, RequestOptions requestOptions)
-
-
-
-