- Newest
- Most votes
- Most comments
Add Set Logging behavior block in your outbound contact flow which was created and then run the Lambda function. You can able to see the cloudwatch logs generated for the call.
Also, Check the response of the Lambda function where you will get the ContactId when the action is successful. With the contact ID, Kindly check in Contact Trace records where you can able to see the reason for disconnect.
[+] https://repost.aws/knowledge-center/connect-disconnected-caller-reason
Ensure the value of the contact flow Id and instance ID are correct. You can also try to run the following command from the AWS CLI to isolate any code issues:
$ aws connect start-outbound-voice-contact --region awsRegion --destination-phone-number phoneNumber --contact-flow-id contactFlowId --instance-id instanceId --source-phone-number instancePhoneNumber
[+] https://repost.aws/knowledge-center/connect-outbound-calls-api
1/ The blog you are referencing has been disabled, but I would like to understand what exactly are you trying to do? Have you tried running the API with the parameters in CLI? The failure will show there as soon as the call is attempted. 2/ What are you trying to do in the contact flow? Your call will make it there, but you are disconnecting it as soon as you set the recording behavior. The way an outbound call works when triggered via API is: Connect calls the destination number you specify in the "DestinationPhoneNumber" parameter passed to the API, it is only when the call is answered that the contact flow is invoked. So if the call never dials, you will never see the set logging behavior from the contact flow. Try this click to call blog, that shows you the use of the API, maybe this works better for you. https://aws.amazon.com/blogs/contact-center/click-to-call-in-amazon-connect/
Relevant content
- asked 3 months ago
- asked 5 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
Hi, have you figured out a way to solve this?