Hi guys, just spoted a BIG BUG with call transfer...
# general-english
к
Hi guys, just spoted a BIG BUG with call transfers in your UI. Multiple destinations dont work at all and first destination is selected. Because the properties of argument object of the tool are empty even when destinations are created. So, no phone number gets passed into the function. When I updated the tool by cURL to add the property, it started to transfer properly. So this is definitely a BIG BUG. Can you fix this?
Copy code
-d '{
    "function": {
      "name": "transfer_call_tool",
      "description": "Use this function to transfer the call. Only use it when following instructions that explicitly ask you to use the transfer_call_tool. DO NOT call this function unless you are instructed to do so. If it is new client use +YYYYYYYY else (for existing customers) use +XXXXXXXXX",
      "parameters": {
        "type": "object",
        "properties": {
          "destination": {
            "type": "string",
            "enum": ["+YYYYYYYYYY", "+XXXXXXXXXXX"],
            "description": "The destination to transfer the call to."
          }
        },
        "required": ["destination"]
      }
    }
3 Views