Class TelephonyApi

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

public class TelephonyApi extends Object
  • Constructor Details

    • TelephonyApi

      public TelephonyApi()
    • TelephonyApi

      public TelephonyApi(ApiClient apiClient)
  • Method Details

    • getTelephonyMediaregions

      public MediaRegions getTelephonyMediaregions() throws IOException, ApiException
      Retrieve the list of AWS regions media can stream through.
      Returns:
      MediaRegions
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyMediaregionsWithHttpInfo

      public ApiResponse<MediaRegions> getTelephonyMediaregionsWithHttpInfo() throws IOException
      Retrieve the list of AWS regions media can stream through.
      Returns:
      MediaRegions
      Throws:
      IOException - if the request fails to be processed
    • getTelephonyMediaregions

      public MediaRegions getTelephonyMediaregions(GetTelephonyMediaregionsRequest request) throws IOException, ApiException
      Retrieve the list of AWS regions media can stream through.
      Parameters:
      request - The request object
      Returns:
      MediaRegions
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyMediaregions

      public ApiResponse<MediaRegions> getTelephonyMediaregions(ApiRequest<Void> request) throws IOException
      Retrieve the list of AWS regions media can stream through.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversation

      public Callmessage getTelephonySipmessagesConversation(String conversationId) throws IOException, ApiException
      Get a SIP message. Get the raw form of the SIP message
      Parameters:
      conversationId - Conversation id (required)
      Returns:
      Callmessage
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversationWithHttpInfo

      public ApiResponse<Callmessage> getTelephonySipmessagesConversationWithHttpInfo(String conversationId) throws IOException
      Get a SIP message. Get the raw form of the SIP message
      Parameters:
      conversationId - Conversation id (required)
      Returns:
      Callmessage
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversation

      public Callmessage getTelephonySipmessagesConversation(GetTelephonySipmessagesConversationRequest request) throws IOException, ApiException
      Get a SIP message. Get the raw form of the SIP message
      Parameters:
      request - The request object
      Returns:
      Callmessage
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversation

      public ApiResponse<Callmessage> getTelephonySipmessagesConversation(ApiRequest<Void> request) throws IOException
      Get a SIP message. Get the raw form of the SIP message
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversationHeaders

      public Callheader getTelephonySipmessagesConversationHeaders(String conversationId, List<String> keys) throws IOException, ApiException
      Get SIP headers. Get parsed SIP headers. Returns specific headers if key query parameters are added.
      Parameters:
      conversationId - Conversation id (required)
      keys - comma-separated list of header identifiers to query. e.g. ruri,to,from (optional)
      Returns:
      Callheader
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversationHeadersWithHttpInfo

      public ApiResponse<Callheader> getTelephonySipmessagesConversationHeadersWithHttpInfo(String conversationId, List<String> keys) throws IOException
      Get SIP headers. Get parsed SIP headers. Returns specific headers if key query parameters are added.
      Parameters:
      conversationId - Conversation id (required)
      keys - comma-separated list of header identifiers to query. e.g. ruri,to,from (optional)
      Returns:
      Callheader
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversationHeaders

      public Callheader getTelephonySipmessagesConversationHeaders(GetTelephonySipmessagesConversationHeadersRequest request) throws IOException, ApiException
      Get SIP headers. Get parsed SIP headers. Returns specific headers if key query parameters are added.
      Parameters:
      request - The request object
      Returns:
      Callheader
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversationHeaders

      public ApiResponse<Callheader> getTelephonySipmessagesConversationHeaders(ApiRequest<Void> request) throws IOException
      Get SIP headers. Get parsed SIP headers. Returns specific headers if key query parameters are added.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySiptraces

      public SipSearchResult getTelephonySiptraces(Date dateStart, Date dateEnd, String callId, String toUser, String fromUser, String conversationId) throws IOException, ApiException
      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:
      dateStart - Start date of the search. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z (required)
      dateEnd - End date of the search. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z (required)
      callId - unique identification of the placed call (optional)
      toUser - User to who the call was placed (optional)
      fromUser - user who placed the call (optional)
      conversationId - Unique identification of the conversation (optional)
      Returns:
      SipSearchResult
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySiptracesWithHttpInfo

      public ApiResponse<SipSearchResult> getTelephonySiptracesWithHttpInfo(Date dateStart, Date dateEnd, String callId, String toUser, String fromUser, String conversationId) throws IOException
      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:
      dateStart - Start date of the search. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z (required)
      dateEnd - End date of the search. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z (required)
      callId - unique identification of the placed call (optional)
      toUser - User to who the call was placed (optional)
      fromUser - user who placed the call (optional)
      conversationId - Unique identification of the conversation (optional)
      Returns:
      SipSearchResult
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySiptraces

      public SipSearchResult getTelephonySiptraces(GetTelephonySiptracesRequest request) throws IOException, ApiException
      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
      Returns:
      SipSearchResult
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySiptraces

      public ApiResponse<SipSearchResult> getTelephonySiptraces(ApiRequest<Void> request) throws IOException
      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
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySiptracesDownloadDownloadId

      public SignedUrlResponse getTelephonySiptracesDownloadDownloadId(String downloadId) throws IOException, ApiException
      Get signed S3 URL for a pcap download
      Parameters:
      downloadId - unique id for the downloaded file in S3 (required)
      Returns:
      SignedUrlResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySiptracesDownloadDownloadIdWithHttpInfo

      public ApiResponse<SignedUrlResponse> getTelephonySiptracesDownloadDownloadIdWithHttpInfo(String downloadId) throws IOException
      Get signed S3 URL for a pcap download
      Parameters:
      downloadId - unique id for the downloaded file in S3 (required)
      Returns:
      SignedUrlResponse
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySiptracesDownloadDownloadId

      public SignedUrlResponse getTelephonySiptracesDownloadDownloadId(GetTelephonySiptracesDownloadDownloadIdRequest request) throws IOException, ApiException
      Get signed S3 URL for a pcap download
      Parameters:
      request - The request object
      Returns:
      SignedUrlResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySiptracesDownloadDownloadId

      public ApiResponse<SignedUrlResponse> getTelephonySiptracesDownloadDownloadId(ApiRequest<Void> request) throws IOException
      Get signed S3 URL for a pcap download
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postTelephonySiptracesDownload

      public SipDownloadResponse postTelephonySiptracesDownload(SIPSearchPublicRequest sIPSearchPublicRequest) throws IOException, ApiException
      Request a download of a pcap file to S3
      Parameters:
      sIPSearchPublicRequest - (required)
      Returns:
      SipDownloadResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postTelephonySiptracesDownloadWithHttpInfo

      public ApiResponse<SipDownloadResponse> postTelephonySiptracesDownloadWithHttpInfo(SIPSearchPublicRequest sIPSearchPublicRequest) throws IOException
      Request a download of a pcap file to S3
      Parameters:
      sIPSearchPublicRequest - (required)
      Returns:
      SipDownloadResponse
      Throws:
      IOException - if the request fails to be processed
    • postTelephonySiptracesDownload

      public SipDownloadResponse postTelephonySiptracesDownload(PostTelephonySiptracesDownloadRequest request) throws IOException, ApiException
      Request a download of a pcap file to S3
      Parameters:
      request - The request object
      Returns:
      SipDownloadResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postTelephonySiptracesDownload

      public ApiResponse<SipDownloadResponse> postTelephonySiptracesDownload(ApiRequest<SIPSearchPublicRequest> request) throws IOException
      Request a download of a pcap file to S3
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed