Method to dial or send dtmf input digits from the Boto3 Amazon Connect

0

I am making an outbound call using boto3 for Amazon Connect. Then I want to send digits or DTMF input during the call programmatically. I was unable to find any such method in the existing documentation. The equivalent is present in the Amazon Connect streams API - #https://github.com/amazon-connect/amazon-connect-streams/blob/master/Documentation.md#connectionsenddigits . Can we have this kind of method in Python SDK as well?

  • My use case is as follows: I am trying to create an IVR bot, in which I am automating the process using AWS Lamda and Python Boto3, where we will call an IVR number and then send the predefined digits to satisfy the IVR options. So, I want to place an Outbound call and then send some DTMF input/numbers/digits to the ongoing call. Please help.

3 Answers
0

Inband DTMF in an outbound call contact flow is not supported. The documentation you found is the Stream API which is for the Connect CCP (agent desktop). So during a call between the agents and the destination, through the CCP stream API, you can send digits (not the flow)

Depending on use case what happens after the call is establish, when creating a contact flow for outbound scenario, it is possible to transfer the call once established using the Transfer to Phone Number with DTMF digits as an option. But it will accumulate a second leg of a call and be billed with two outbound call leg concurrently until the first leg disconnect. So it really depends on your use case.

profile pictureAWS
answered a year ago
  • My use case is as follows: I am trying to create an IVR bot, in which I am automating the process using AWS Lamda and Python Boto3, where we will call an IVR number and then send the predefined digits to satisfy the IVR options. So, I want to place an Outbound call and then send some DTMF input/numbers/digits to the ongoing call. Please help.

0

Could we not play a uLaw 8k mono WAV file with a tone in it using a Play Prompt?

answered a year ago
  • playing a DTMF via wav as prompt is not supported

0

Did we ever figure out how to do this?

answered 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions