Issue with Transfer to Phone Number - External Attribute and Lambda

0

Hello,

Trying to set up a scenario, where an external number is grabbed from a Lambda function and then transferred to a phone number.

In transfer to phone number Contact Flow block, I have it set as Use Attribute, Type External, then $.External.Address and I've logged it and it successfully is getting the number from Lambda, but when I check the log in CloudWatch there is a period (.) appended in front of it.

Ex: "ContactFlowModuleType": "Transfer",
"Timestamp": "2020-06-28T00:14:03.276Z",
"Parameters": {
"BlindTransfer": "false",
"PhoneNumber": ".+15555555555",
"TimeLimit": "30"
}

When it gets the attribute from the Lambda function it does not have the . in the ExternalResults.

Example from CloudWatch logs:
"ExternalResults": {
"Address": "+15555555555"
}

The Transfer is initiated but my test phone doesn't receive the call, and the phone I'm calling from disconnects.

Any ideas or suggestions on formatting would be great, been using this doc https://docs.aws.amazon.com/connect/latest/adminguide/connect-lambda-functions.html#process-function-response to guide me and the Lambda function is in Python.

질문됨 4년 전393회 조회
1개 답변
0

Amend ‘$.External.Address’
To : ‘Address’

DanBloy
답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠