Consult transfer call is getting recorded automatically

Hello,

A quick question about the consult transfer. While transferring the call to consult I noticed that the call is start to record automatically. Im using the postConversationsCallParticipantConsult API to add consult to the call, as mentioned below.

// Create request body
let body: Models.ConsultTransfer = {
  speakTo: 'destination',
  destination: {
    address: this.getConsultWorkPhone(consult.addresses),
    userId: consult?.id,
    name: consult?.name,
  },
};
// Invoke API
this.pureCloudConversationsApi
  .postConversationsCallParticipantConsult(callId, participant?.id, body)
  .then(() => {})
  .catch(err => console.error(err));

If I change the speakTo to "BOTH" , I noticed that the call is not getting recorded and working as expected. But if we use it is as "DESTINATION" it again start to record the call.

From the incoming Genesys Cloud notification from WebSocket recording state is Active. (as you can see in the screenshot of console.log)

So when the call is connected or forwarded to voice mailbox, it is starting to record the call automatically. Any thoughts on this why is it happening?

Thanks
Krishna

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.