Using Google Voice to Forward to Twilio/Vapi
# support
j
I've got a Twilio number set up through Vapi and I've gotten A2P permissions for that number. I'm trying to now add the twilio number as something to be forwarded by Google Voice. When I enter in the number, google sends a OTP code to twilio, which they seem to be blocking. Has anyone set this up recently and can tell me what to do next? I'm fine with using another provider for a phone number if necessary, I just need to have it compatible with google voice as the client doesn't want to change from that platform. I'm getting this failure from Twilio https://www.twilio.com/docs/api/errors/30038
v
I don't have any information available to answer your questions about forwarding Google Voice to Twilio/Vapi, handling OTP code issues, or the specifics of Twilio error 30038. If you have any other details or questions, feel free to share them!
I don't have any information available to answer your questions about forwarding Google Voice to Twilio/Vapi, handling OTP code issues, or the specifics of Twilio error 30038. If you have any other details or questions, feel free to share them!
v
I would suggest looking up other phone providers that allow OTPs to be sent through them, preferably an SIP that you can later import to VAPI
j
Do you have some suggestions?
v
OnSip, Vonage, Plivo
j
For further people searching this, it's possible to forward a google voice number to twilio, you have to ask their support very nicely, encourage them to not have to port your number, gently ask that they let you receive OTP for like 1 time so you're not doing anything weird. They'll ask you for a ton of information about you, etc. It took me over 2 weeks back and forth to get this done. And then, pro tip, turn off call screening on google voice, then make a TwiML bin with the following code
Copy code
<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <Pause length="6"/>
  <Redirect method="POST">https://api.vapi.ai/twilio/inbound_call</Redirect>
</Response>
That pauses the pickup/handoff to VAPI which picks up automatically and google doesn't like that, so they make you press 1 to confirm you're human. This way, it bypasses that check because it picks up after 6 seconds which is 2 rings or so.
I'm not sure how to change this to solved, but it's solved.
v
Glad the issue was resolved. Please reach out to us if you have any other questions regarding this issue