Re-directing a call on twilio to vapi

I have a twilio flow... user calls a 800 number ivr twilio says press 1 for sales press 2 for support... I know that i can do a connect_call to the local vapi number but then vapi doesn't know the original number dialed.. i need the 800 number and when i do the re-direct im suspecting vapi does know the 800 number thats coming inbound to map it to a server url but i kinda thought it would go to the server org url level and i can make the assistant and it would pass the 800 number that was dialed... i know the disconnected box connect_call_1 will work with the vapi number... but then i dont know the original number which is what i thought redirect_to_vapi would do
we have tons and tons of numbers very important i know what number they called so i can get a specialized assistant
Screenshot_2024-07-01_at_3.41.32_PM.png
Was this page helpful?