Voice Integrations

The Oracle® Intelligent Communications Orchestration Network cloud service supports integration with voice networks and services to enable high-quality, real-time calling experiences. Following voice integration is available from the Oracle® Intelligent Communications Orchestration Network cloud service.

  • Generic SIPREC

Generic Media Stream

The Oracle® Intelligent Communications Orchestration Network cloud service’s Media Stream capability for SIP trunk voice services enables real-time voice integrations by establishing an outbound secure WebSocket (wss://) connection to a customer-provided endpoint and streaming call audio directly to their application. Over the same WebSocket session, the Oracle® Intelligent Communications Orchestration Network cloud service delivers both stream state/control messages and media messages, supporting near real-time processing use cases. This capability is specifically focused on enabling a generic media stream integration on a SIP trunk.

Working of Generic Media Stream

  1. The Oracle® Intelligent Communications Orchestration Network cloud service initiates an outbound secure WebSocket (WSS) connection to the configured endpoint (your wss://... URL).
  2. Once the WebSocket connection is established, Oracle® Intelligent Communications Orchestration Network cloud service sends stream lifecycle and context messages—such as connect, start, and metadata—to indicate the stream state and provide call-related context.
  3. The Oracle® Intelligent Communications Orchestration Network cloud service then begins streaming audio as a sequence of WebSocket messages.
  4. Each media message includes:
    • A base64-encoded audio payload
    • Identifiers that indicate which channel/participant the audio is associated with (for example, to distinguish caller vs. callee, or multiple participants where applicable).
  5. When the interaction ends or the stream is stopped, the Oracle® Intelligent Communications Orchestration Network cloud service sends a close message to indicate stream termination.

WebSocket Message Types

Over the WebSocket connection, the Oracle® Intelligent Communications Orchestration Network cloud service sends a standard set of message types to manage the stream and deliver audio:

  • connect - indicates that the media stream session has successfully connected to the WebSocket endpoint specified by the WSS URL in the configuration profile.
  • start - indicates that the media stream session is ready and will begin streaming media to the WebSocket endpoint.
  • metadata - indicates that new metadata has become available during the call and must be relayed to the WebSocket endpoint.
  • dtmf - indicates that a DTMF tone was received from a call participant and must be relayed to the WebSocket endpoint.
  • media - relays audio from one of the call participants to the WebSocket endpoint, delivering Base64-encoded audio frames along with channel and participant indicators.
  • close - indicates that the media stream session has ended, provides the reason for ending, and signals that the WebSocket connection will be closed.

Add a Generic Media Stream Integration

Use the Oracle® Intelligent Communications Orchestration Network cloud service's generic media stream capability to enable real-time SIP trunk voice integrations by streaming call audio and related stream events to a customer application over an outbound secure WebSocket (wss://) connection.

Before You Begin

  • Purchase the Voice Integration SKU.
  • Configure a SIP trunk to the voice service you want to connect by way of Generic Media Stream.

Procedure

  1. Go to Services, and under SIP Trunk Services click the name of the service from which you want to send a media stream.
  2. On the Service Details page, click Add Integration.

    Oracle® Intelligent Communications Orchestration Network cloud service displays the Select Integration page.

  3. On the Select Integration Profile page, click Generic Media Stream, and click Continue.
  4. On the Integration Profile page, do the following:

    Table 7-1 Generic Media Stream Details

    Option Description
    Integration Name Enter a unique name to identify this integration. Maximum 64 characters.
    Websocket URL Enter a valid WSS URL. This must be either an IP address or an FQDN, prefixed with wss://.

    Terminate the WSS URL with a trailing “/”.

    You can enter up to 2048 characters in the WebSocket URL field.

    Note: Failover is supported only through a DNS cluster FQDN, and the Oracle® Intelligent Communications Orchestration Network cloud service requires a valid certificate signed by a trusted root CA.

    Media Mode Set to default value of "Multi stream". This option offers multiple streams which each contain a specific participant in the call.

    Note: Media mode is not editable.

    Service Region Select the region from which the generic media stream connection is served. This is normally the same region as that of the associated voice service.
    Metadata Mode Set to default value of "Standard mode".

    Standard Mode provides basic trunk level metadata, such as called and calling numbers

    Note: Metadata mode is not editable.

    Note:

  5. Click Add.

    The Oracle® Intelligent Communications Orchestration Network cloud service displays the generic media stream integration under the Integrations table and on the services map.

Generic SIPREC

You can add a generic SIPREC integration to a voice service to record calls. You can add the integration to an existing voice service or configure it in the workflow while connecting a newly selected voice service to the Oracle® Intelligent Communications Orchestration Network Cloud Service.

Note:

Generic SIPREC integration is not supported for Voice Gateways and Carrier service.

Add a Generic SIPREC Integration to a Voice Service

Session Initiation Protocol Recording (SIPREC) facilitates capturing and recording multimedia sessions, such as voice calls and video conferences, in real-time over IP networks. You can use Oracle® Intelligent Communications Orchestration Network cloud service to send your media to SIPREC-based service.

Before You Begin
  • Purchase the Voice Integration SKU.
  • Configure a SIP trunk to the voice service where you want to enable SIP recording.
Context

In the following procedure, configure a SIP trunk to the voice service that you want to connect by way of SIPREC. You have the option to add up to 5 custom x-headers to capture additional information for call control, feature signaling, or integration with external systems to extend capabilities beyond standard SIP headers.

Procedure
  1. Go to Services, and under SIP Trunk Services click the name of the Service you want to use SIPREC.
  2. On the Service Details page, click Add Integration.
    Oracle® Intelligent Communications Orchestration Network cloud service displays the Select Integration page.
  3. On the Select Integration Profile page, click Generic SIPREC, and click Continue.
  4. On the Integration Details page, do the following:
  5. Click Continue.
    The Oracle® Intelligent Communications Orchestration Network cloud service displays the optional Custom SIP Headers New Integration page. You can configure up to five unique custom x-header parameters, each with a corresponding value that may be either static text or a dynamic variable derived from the call. These headers allow you to pass additional information for call control, feature signaling, or integration with external systems to extend capabilities beyond standard SIP headers.
  6. (Optional) On the Add Custom SIP Headers page, click Add SIP Header, and do the following:
  7. Click Add.
    The Oracle® Intelligent Communications Orchestration Network cloud service displays the Generic SIP Service details page.
  8. (Optional) On the Generic SIP Service details page, repeat the preceding procedure from Step 2 onward to add each additional x-header. For Integration Name in Step 4, select the name of the integration you want to add an x-header to, use the same Recording Server address as before, and click Continue. For Step 6, enter the x-header name and value for the additional x-header, and click Add.

Add SIP X-headers to a SIPREC Integration

Use the following procedure to add optional, custom x-headers to a SIPREC integration with the Oracle® Intelligent Communications Orchestration Network cloud service. You can add up to 5 custom x-headers to capture additional information for call control, feature signaling, or integration with external systems to extend capabilities beyond standard SIP headers.

Procedure
  1. Go to Services, and under SIP Trunk Services, click the Service Name.
  2. On the Service Details page, under Integrations, click the Name of the Integration you want to affect.
    The Oracle® Intelligent Communications Orchestration Network cloud service opens the Integration Details drawer.
  3. (Optional) Edit any of the fields, except Metadata Mode, and click Continue.
    The Oracle® Intelligent Communications Orchestration Network cloud service opens the Custom SIP Headers drawer.
  4. Click Add SIP Header and do the following.
    • X-header—Enter a name for the header.
    • Value—Enter a value for the header.
    • Click the check-mark ( √ )icon.
  5. (Optional) Add another custom SIP header, if fewer than 5 exist, by clicking Add SIP Header. Otherwise, click Cancel to close the drawer.
  6. Click Update.
    The Oracle® Intelligent Communications Orchestration Network cloud service adds the custom header to the list in the Custom SIP Headers drawer.

Delete SIP X-Headers from a SIPREC Integration

You can delete a custom SIP X-header from an Oracle® Intelligent Communications Orchestration Network cloud service SIPREC integration from the Integration Details drawer.

Procedure
  1. Go to Services, and under SIP Trunk Services, click the Service Name.
  2. On the Service Details page, under Integrations, click the Name of the Integration you want to affect.
    The Oracle® Intelligent Communications Orchestration Network cloud service opens the Configuration drawer.
  3. In the Configuration drawer, click Continue. locate the x-header you want to delete and click the trash can icon in the Actions column.
    The Oracle® Intelligent Communications Orchestration Network cloud service opens the Custom SIP Headers drawer.
  4. In the Custom SIP Headers drawer, locate the header you want to delete, and click the trash can icon at the end of the row.
    The Oracle® Intelligent Communications Orchestration Network cloud service deletes the custom header.
  5. (Optional) Delete another custom header.
  6. Click Update.
    The Oracle® Intelligent Communications Orchestration Network cloud service closes the drawer.

Edit SIP X-Headers In a SIPREC Integration

You can edit a custom SIP X-header in the Oracle® Intelligent Communications Orchestration Network cloud service SIPREC integration from the Integration Details drawer.

Procedure
  1. Go to Services, and under SIP Trunk Services, click the Service Name.
  2. On the Service Details page, under Integrations, click the Name of the Integration you want to edit.
    The Oracle® Intelligent Communications Orchestration Network cloud service opens the Integration Details drawer.
  3. In the Integration Details drawer, click Continue.
    The Oracle® Intelligent Communications Orchestration Network cloud service opens the Custom SIP Headers drawer.
  4. In the Custom SIP Headers drawer, click the pencil icon and edit the following:
    • X-header
    • Value
  5. Click the Check Mark icon, and click Update .
    The Oracle® Intelligent Communications Orchestration Network cloud service closes the Custom SIP Headers drawer.