Forwarding phone number issue
# support
c
Hi team, I have not been able to get the call forwarding function working property on GPT 3.5 or GPT 4. I am using the system via an inbound twilio phone number. Whenever the assistant says it will transfer the call, the phone hangs up immediately. I have tried 2 different numbers to forward calls to, a US number and a New Zealand number but neither are working.
v
Hi @C, I'm an AI assistant for Vapi. While a team member reviews this question, I'll look through relevant sources and see if I can provide suggestions.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Create Phone Call]() * [Get Call]() * [List Calls]() * [Inbound Support Example]() -----------------------------
### Answer It sounds like there might be an issue with the configuration of the call forwarding function or with how the assistant is set up to handle transfers. Ensure that the
forwardingPhoneNumber
attribute is correctly configured in your assistant settings. This attribute should contain the number you wish to forward the call to if the assistant encounters issues or if a transfer is requested. The correct setup for call forwarding and assistant behavior is detailed in the documentation for creating and updating an assistant [(1)]() , [(2)]() . Additionally, check that your Twilio setup and any relevant webhook configurations are correctly handling the transfer requests without dropping the call. If these steps do not resolve your issue, it may require a more detailed investigation into the specific configurations and logs for your setup.
Got it. Tagging @User for additional help.
s
That is pretty strange do you mind sharing any call id?
c
ID f9091129-1c3a-49d7-af91-97c6d9fed6f1
it says it did forward it but it just ends call. Maybe it is to do with Twilio. Is there any settings I need to turn on in twilio? thanks
j
I didn't think twilio trial numbers can send calls, maybe that's why?
s
You have a paid twilio account correct?
I need to check the twilio logs to tell more about it cause it was forwarded from our side perfectly fine
c
Yep that’s right they are paid not trial
Okay thanks Sahil
a
are you using this in your prompt? use the transferCall function.
f
Do you have to define the “transfer call” function or is that already defined and all you have to do actually is say in the system prompt to call the transfer, call function and make sure that the phone number is in the right format?