transfer call ends call despite successful forward...
# support
e
I have created a transferCall tool via API to handle multiple numbers forwarding, everything should be working normall and I get a response of successful tool use, the log even say "Assistant forwarded call" but nothing happens and the call never goes through. Note: When I used the call forwarding through VAPI UI setup, everything worked normally and I received the call. tool id: 810bdece-2315-46df-a158-9325ab810e77 call id: a1206ec5-e911-4bba-a4e0-14c250689c16 https://cdn.discordapp.com/attachments/1275192711548506224/1275192711917469768/image.png?ex=66c4ff42&is=66c3adc2&hm=1cf3cbce2fe1aefa2c7a3d1d6542eaf1f0a2f8b106243cd6aa7c24935d9c910b&
v
message has been deleted
@Emad It sounds like you've encountered an issue with the transferCall tool where the API indicates a successful call transfer, but the call isn't actually being forwarded. Since the forwarding works through the VAPI UI, but not through the API, let's check a few things: 1. Ensure that the
forwardingPhoneNumber
attribute in your API call is correctly set. If you're encountering issues with this attribute, try omitting it or setting it to null or an empty string as per the context provided. 2. Check the logs for any error messages that might indicate what's going wrong. Specifically, look for issues related to SIP REFER messages if your system uses Vici. 3. Verify that the tool ID and call ID you provided are correct and that they correspond to the intended transferCall tool and call session. If after these checks the issue persists, please provide me with any error messages you find in the logs, or any additional details that could help diagnose the problem. If there are no error messages and the problem remains unresolved, it might be best to ask support for more info on this.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
s
@Emad write an emial to support@vapi.ai for refund of phone number and use your own twilio number instead because your vapi number is marked as spam by twilio .
e
@Shubham Bajaj thank you for replying, I will do that. But how come call forwarding came through when I used Vapi UI and not API?
s
Your number is marked spam by twilio nothing to do with UI or API.
e
Thanks!
@Shubham Bajaj I added a new twilio number and the same error happens. call id: ee0c33b0-d99f-4347-aedb-64a1c6a023e5 The call forwarded successfully on call logs but it does not go through! https://cdn.discordapp.com/attachments/1275192711548506224/1275476909911834644/image.png?ex=66c607f0&is=66c4b670&hm=509a9fecefeb5a68027b77e251edc81226713b02dfb1f9f3c23ceb6d93748530&
any updates here?
@Shubham Bajaj Is there any updates on this please? this delay is costing us much already
@Sahil
s
@Emad can you please share twilio logs for
CA24720986a16b51af919d683ee6d9c292
to check if sibiing node was created because call was transfered from our side, also do check
stir/Shaken Status
what is it?
if you see something like Stir/Shaken Status: C then, it means that his number is marked as spam. Do follow this article https://help.twilio.com/articles/1260803371030 .
e
@Shubham Bajaj STIR status A
where i check sibling node?
s
change your tool call destination type to number from phoneNumber it will work. @User
closing this ticket for now.
e
@Shubham Bajaj thanks, this worked!
2 Views