I want to transfer a call to a SIP from an assistant (this works fine), but I want to include information collected during the call (Structured Data) in the headers.
Is this possible? If so, Curl won't let me add it.
{
"type": "transferCall",
"destinations": [
{
"type": "sip",
"sipUri": "sip:entrada@domain",
"sipHeaders": {
"X-Cp-Data": "{{structuredData.postal_code}}",
"X-Call-Reason": "{{structuredData.call_reason}}"
},
"description": "Transferencia a SIP externo con datos estructurados"
}
]
}