Asterisk transfer call

Hi all…

I’m thinking about the right way to deploy this scenario…

Call come into Asterisk -----> Google API Dialogflow tries to understand caller intent asking for name and company first, and after the destination required . This it’s ok…

But after that i would like to inform destination about caller informations ( Playback via Amazon Polly Text to speech with data comunicated before by caller )and let him decide to answer or redirect the call…

What’s is the right way to do the last thing ? Playback an audio file and ask for an input to the called extension to let him decide to answer or redirect ?

Thanks

Try the ‘p’ flag for Dial() It’ll have your callee confirm they want to receive the call.