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