RTG
  • 19 Jul 2024
  • 1 Minute to read
  • Contributors
  • PDF

RTG

  • PDF

Article summary

Integration node for RTG Live Listen. Via receiving audio from the project, the audio can be listened to in real-time on Conversational Analytics RTG Dashboard.

Parameters:

name
description
default
AddressAddress of the CA Live Listen Servicewss://ca-external-api.sestek-ca/ext-api/v1/dataflow/ws
IgnoreSslErrorsIgnore any certificate errors if Conversational Analytics address contains wssfalse
CredentialIdId of the credential that will be used for Conversational Analytics http calls.None
ConnectionTimeoutMsecConnection timeout in milliseconds5000

Inputs

Audio:
One Channel Audio Input

Events:
none

Outputs

Audio:
none

Events:
none

Remarks :

Requirements :

Project Requirements
The project that the RTG node will be working in needs to have a working CA Realtime node. Since CA Realtime informs the CA of the call's state, the only way to know if a call has started is by having CA Realtime node in the project.
The RTG Node can be added by directly connecting the audio outputs of the Distributor node in the "ca-online" default project to make the input audio reach the RTG Node unmodified. In this case it is important to make sure the audio is connected from Channel switch to the Distributor.
image.png

"StartMessage" requirements

"StartMessage" should contain

  {
    "CallProperties": 
    {
      "ExternalId":"", // string 
      "UserProperties":
      {
        "AgentName":"",     // string
        "DeviceId":"",      //string
        "ExternalId":"",    //string
        "PbxAgentId":""     //string
      },
      "CustomerPhoneNumber": "",    // string 
      "Direction": 1,               // integer 
      "CallerNumber":"",            // string 
      "CalledNumber":"",            // string
      "CallStartTime":""            // ISO 8601 DateTime formatted string
    },
    "Settings":
    {
      "ChannelTags": 
      [
        "a_tag_for_channel_0",                          //string seperated by "," or ";"
        "a_tag_for_channel_1;another_tag_for_channel_1" //string separated by "," or ";"
      ]
    }    
  }

"StartMessage" example

  {
    "CallProperties": 
    {
     "ExternalId":"a_valid_call_id",
     "UserProperties":
      {
        "ExternalId":"a_valid_external_id"
      },
      "CallStartTime":"2022-10-31T09:00:00Z"
    },
    "Settings":
    {
      "ChannelTags": 
      [
        "agent",
        "customer"
      ]    
    }
  }

Detailed Workflow
After starting a call, One can press the "Play" button on RTG Dashboard to open the transcripts window and start listening right away.

image.png

The transcripts window also has a play button that can be used the same way.

image.png

Supported flow types: Stream, Batch


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.