Here is what im trying to do...
Google assistant ==> Dialogflow ==>SIP endpoint
https://cloud.google.com/dialogflow/es/docs/reference/rpc/google.cloud.dialogflow.v2beta1TelephonyTransferCallphone_number string Transfer the call to a phone number in E.164 format.
sip_uri string Transfer the call to a SIP endpoint.
{
"fulfillmentMessages": [
{
"text": {
"text": [
"connecting the call"
]
}
},
{ "platform": "TELEPHONY",
"telephonySynthesizeSpeech": { text: 'you are being transfered to $CALLDEST } },
{
"platform": "TELEPHONY",
//"telephonyTransferCall": {"phoneNumber": "+17771112222"}
}
]
}