Sending DTMF via WebRTC SDK

Hi

Is it possible to use the WebRTC SDK to send a DTMF tone?

Any guidance or suggestion appreciated.

Thanks

Ok I think I have figured out I can do this calling the conversations API.

I'm getting a bad request 400 though with the following code.

Could someone confirm if the digits object is supposed to be as simple as this?
let opts = {
'body': {"digits": "1"} // Object | Digits
};

With conversationsApi.postConversationParticipantDigits(conversationId, participantId, opts)

Yes, that's correct per the documentation. Can you provide the correlation id from the response?

Thanks Tim, from the response header.

inin-correlation-id: "fe6db017-f3d4-4410-b860-0232cb60543a"

I think the issue is to do with the participant ID. If I set what I think is my ID the post returns successfully (although I don't hear the dtmf) using the callers ID though seems to cause the 400 error.

Thanks in advance.

Please open a case with Genesys Cloud Care to investigate further. I can see an error in the backend service: "User id was not provided in the DTMF request". This sounds like a bug with the API since the request doesn't require, or even allow, a user id to be provided.

This topic was automatically closed after 30 days. New replies are no longer allowed.