Class TelephonyApiAsync

java.lang.Object
com.mypurecloud.sdk.v2.api.TelephonyApiAsync

public class TelephonyApiAsync extends Object
  • Constructor Details

    • TelephonyApiAsync

      public TelephonyApiAsync()
    • TelephonyApiAsync

      public TelephonyApiAsync(ApiClient apiClient)
  • Method Details

    • getTelephonyMediaregionsAsync

      public Future<MediaRegions> getTelephonyMediaregionsAsync(GetTelephonyMediaregionsRequest request, AsyncApiCallback<MediaRegions> callback)
      Retrieve the list of AWS regions media can stream through.
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getTelephonyMediaregionsAsync

      public Future<ApiResponse<MediaRegions>> getTelephonyMediaregionsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<MediaRegions>> callback)
      Retrieve the list of AWS regions media can stream through.
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getTelephonySipmessagesConversationAsync

      public Future<Callmessage> getTelephonySipmessagesConversationAsync(GetTelephonySipmessagesConversationRequest request, AsyncApiCallback<Callmessage> callback)
      Get a SIP message. Get the raw form of the SIP message
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getTelephonySipmessagesConversationAsync

      public Future<ApiResponse<Callmessage>> getTelephonySipmessagesConversationAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Callmessage>> callback)
      Get a SIP message. Get the raw form of the SIP message
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getTelephonySipmessagesConversationHeadersAsync

      public Future<Callheader> getTelephonySipmessagesConversationHeadersAsync(GetTelephonySipmessagesConversationHeadersRequest request, AsyncApiCallback<Callheader> callback)
      Get SIP headers. Get parsed SIP headers. Returns specific headers if key query parameters are added.
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getTelephonySipmessagesConversationHeadersAsync

      public Future<ApiResponse<Callheader>> getTelephonySipmessagesConversationHeadersAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Callheader>> callback)
      Get SIP headers. Get parsed SIP headers. Returns specific headers if key query parameters are added.
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getTelephonySiptracesAsync

      public Future<SipSearchResult> getTelephonySiptracesAsync(GetTelephonySiptracesRequest request, AsyncApiCallback<SipSearchResult> callback)
      Fetch SIP metadata Fetch SIP metadata that matches a given parameter. If exactMatch is passed as a parameter only sip records that have exactly that value will be returned. For example, some records contain conversationId but not all relevant records for that call may contain the conversationId so only a partial view of the call will be reflected
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getTelephonySiptracesAsync

      public Future<ApiResponse<SipSearchResult>> getTelephonySiptracesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<SipSearchResult>> callback)
      Fetch SIP metadata Fetch SIP metadata that matches a given parameter. If exactMatch is passed as a parameter only sip records that have exactly that value will be returned. For example, some records contain conversationId but not all relevant records for that call may contain the conversationId so only a partial view of the call will be reflected
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getTelephonySiptracesDownloadDownloadIdAsync

      public Future<SignedUrlResponse> getTelephonySiptracesDownloadDownloadIdAsync(GetTelephonySiptracesDownloadDownloadIdRequest request, AsyncApiCallback<SignedUrlResponse> callback)
      Get signed S3 URL for a pcap download
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • getTelephonySiptracesDownloadDownloadIdAsync

      public Future<ApiResponse<SignedUrlResponse>> getTelephonySiptracesDownloadDownloadIdAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<SignedUrlResponse>> callback)
      Get signed S3 URL for a pcap download
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • postTelephonySiptracesDownloadAsync

      public Future<SipDownloadResponse> postTelephonySiptracesDownloadAsync(PostTelephonySiptracesDownloadRequest request, AsyncApiCallback<SipDownloadResponse> callback)
      Request a download of a pcap file to S3
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed
    • postTelephonySiptracesDownloadAsync

      public Future<ApiResponse<SipDownloadResponse>> postTelephonySiptracesDownloadAsync(ApiRequest<SIPSearchPublicRequest> request, AsyncApiCallback<ApiResponse<SipDownloadResponse>> callback)
      Request a download of a pcap file to S3
      Parameters:
      request - the request object
      callback - the action to perform when the request is completed
      Returns:
      the future indication when the request has completed