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 個答案
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
已回答 1 年前
  • 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?

已回答 1 年前
  • playing a DTMF via wav as prompt is not supported

0

Did we ever figure out how to do this?

已回答 4 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南