I have had several issues trying to transfer the call from an assitant to another numbers.
We are using a configuiration where the assistant number is a twilio number, after solving several problems we have seen that:
- if an inbound call is done the transfer call works if we use a configuration for the tool like:
"destinations": [
{
"type": "sip",
"sipUri": "sip:+34xxxxxxxx@xxxx.pstn.twilio.com",
"transferPlan": {
"mode": "blind-transfer",
"sipVerb": "refer"
}
}
- if an outbound call is done the transfer call works if we use a configuration for the tool like:
"destinations": [
{
"type": "number",
"number": "+34xxxxxxxx",
"numberE164CheckEnabled": true
}
The problem is that we can't archive a configuration that works in both directions.
- We tried to override the assitant tools using: "tools:append": [{"toolId": "15ac09cc-be38-419d-be38-4f3343a948d9"}], Nothing happened.
- We tried to configure both tools and explain in the proimpt which tool shouls we use, we ended with an error becaus we cant configure 2 transfer tools in the same assitant.
- We tried to configure 2 destinations and explain that one destination is for inbound calls and the other for ourbound calls. (It always chose the first destination).
I don't know what could be do more... how can we configure the transffer correcty? is there a correct way to add an asistant toosl using the property "assistant_overrides"? Is there a way to chose the transfer destination in an effective way?