Ya I’m curious too. How would you switch to Twilio without doing the coding yourself?
Alternatively you can use TokTiv a free (limited number of users) PBX from an Indian company that relies on Twilio numbers: https://www.toktiv.com/
I’ve been using it for a year. It’s been buggy at times but improving.