aws-samples / amazon-lex-connect-workshop

This is a self paced workshop to get started on Amazon Connect and Amazon Lex to build a simple customer contact call center and chat bot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect reference to caller number from Lambda function

yongzq opened this issue · comments

const match = checkCaller(event.Details.Parameters.PhoneNumber);

I know this is quite the old repo but for anyone unable to get the 2nd part of the workshop working, you might want to change the binding to

const match = checkCaller(event.Details.ContactData.CustomerEndpoint.Address);

in order to get caller's phone number.