Call Transfer is not working
I am trying to implement call forwarding using the Transfer Call tool, using a Twilio number. When I Talk to Assistent from the dashboard, Assistant says it's transferring the call, but ends the meeting and shows the error on the dashboard (image attached).
This is json of my Transfer Call tool
{
"id": "03f12193-c4e4-4357-a1c6-06fb77fccbb3",
"createdAt": "2025-05-06T11:14:42.038Z",
"updatedAt": "2025-05-06T11:46:40.153Z",
"type": "transferCall",
"function": {
"name": "transferCall",
"description": "Use this function to transfer the call. Only use it when following instructions that explicitly ask you to use the transferCall function. DO NOT call this function unless you are instructed to do so.",
"parameters": {
"type": "object",
"properties": {
"destination": {
"description": "The destination to transfer the call A.",
"type": "string",
"enum": [
"+923177506776"
]
}
},
"required": [
"destination"
]
}
},
"messages": [
{
"type": "request-start",
"content": "I am forwarding your call to Department A. Please stay on the line.",
"blocking": false,
"conditions": [
{
"param": "destination",
"value": "+923177506776",
"operator": "eq"
}
]
}
],
"orgId": "e935ad56-c00a-461f-8aaf-3bbcb30e37e2",
"destinations": [
{
"type": "number",
"number": "+923177506776",
"message": "I am forwarding your call to Department A. Please stay on the line.",
"transferPlan": {
"mode": "blind-transfer",
"sipVerb": "refer"
},
"numberE164CheckEnabled": true
}
]
}
This is json of my Transfer Call tool
{
"id": "03f12193-c4e4-4357-a1c6-06fb77fccbb3",
"createdAt": "2025-05-06T11:14:42.038Z",
"updatedAt": "2025-05-06T11:46:40.153Z",
"type": "transferCall",
"function": {
"name": "transferCall",
"description": "Use this function to transfer the call. Only use it when following instructions that explicitly ask you to use the transferCall function. DO NOT call this function unless you are instructed to do so.",
"parameters": {
"type": "object",
"properties": {
"destination": {
"description": "The destination to transfer the call A.",
"type": "string",
"enum": [
"+923177506776"
]
}
},
"required": [
"destination"
]
}
},
"messages": [
{
"type": "request-start",
"content": "I am forwarding your call to Department A. Please stay on the line.",
"blocking": false,
"conditions": [
{
"param": "destination",
"value": "+923177506776",
"operator": "eq"
}
]
}
],
"orgId": "e935ad56-c00a-461f-8aaf-3bbcb30e37e2",
"destinations": [
{
"type": "number",
"number": "+923177506776",
"message": "I am forwarding your call to Department A. Please stay on the line.",
"transferPlan": {
"mode": "blind-transfer",
"sipVerb": "refer"
},
"numberE164CheckEnabled": true
}
]
}
