Warm Transfer with Message Not working
# support
a
Call ID: ba4e6d53-ba58-4eed-a13b-44bb9e257eed I set this up and the logs say the call was transferred but it never transfers. Any ideas? Thanks @Shubham Bajaj
Call id: 9c470097-9351-4b19-90fc-6c0b29321055
seems to just hang never transfers
v
looking into it.
a
can you remove any identifying numbers etc from the post please ๐Ÿ™‚
@Shubham Bajaj post
Copy code
StatusCallbackMethod    "POST"
Twiml    "<Response><Dial><Number url=\"https://api.vapi.ai/twilio/twiml?verb=say&text=John+Smith+urgent+call.+You+are+now+connected+with+John.\">+1REDACTED</Number></Dial></Response>"
Method    "POST"
FallbackMethod    "POST"
Twilio 404 response
Copy code
{
  "message": "Failed to transfer call with call sid: CAaebd5f1f527d8a3bece0ba9ae92ffd13",
  "code": 21220,
  "user_error": true,
  "params": {},
  "httpStatusCode": -1
}
another error call id: 042491c2-9053-40a9-84f6-2ff0f7a9bac7 post:
Copy code
StatusCallbackMethod    "POST"
Twiml    "<Response><Dial><Number url=\"https://api.vapi.ai/twilio/twiml?verb=say&text=Call+from+Jen+Johnson+for+John+Smith.+You+are+now+connected+with+Jen.\">+1REDACTED</Number></Dial></Response>"
Method    "POST"
FallbackMethod    "POST"
Twilio 404 response```{ "message": "Failed to transfer call with call sid: CA2313b8ad53325b48ecbbbc0b5641ab3f", "code": 21220, "user_error": true, "params": {}, "httpStatusCode": -1 }```
thanks @Shubham Bajaj
s
@AiTitus :) did you check the routing status of your number and see if call forwarding is enabled? Something likely blocks call transfers for this number. Ping me when you're online.
a
Yes I have call transfers working for that number seems to be related specifically to warm transfer @Shubham Bajaj
works fine without warm transfer, on normal transfer
v
looking into it.
I can see that the transfer function attempts to validate the call status before proceeding with the transfer. When this validation fails, it logs the error "Call is not in progress" which suggests the call might have already ended or was in an invalid state.
Hey Titus, could you write up an email to Twilio support team and put me in CC? Let's see what's going wrong here because we are sending the transfer at the right time, but they are saying according to logs the call has already been terminated. So it's either the user or Twilio who has terminated the call, but we have to find out the root cause of this. It's better to get in touch with them.
a
I was the one making the call so itโ€™s prob twilio @Shubham Bajaj
v
In case it happens again, I'll suggest like writing them and putting me in cc so we can get it resolved for you.