This app serves as a proxy to have a virtual phone and redirect calls and SMS
To deploy this app to heroku you need to setup the following env variables:
- SMS_NUMBER : Phone number to which you want SMS and calls to be forwarded (+52 format for mx)
- PHONE_NUMBER : Phone number to which you want SMS and calls to be forwarded (+52 format for mx)
- PROXY_NUMBER : Phone number from which the numbers and SMS calls are forwarded (+1 format for us)
After you have the app deployed, you need to buy a twilio phone number and then setup webhooks to you app endpoints '/call' and '/sms' accordingly
- When you get a call to your virtual twilio number it is forwarded to PHONE_NUMBER
- When an SMS is received by your virtual twilio number it gets forwarded to SMS_NUMBER
- You can also send an SMS from you virtual twilio number by sendind an SMS from SMS_NUMBER and adding the receiver phone as the first word ("To:+523333505090 Hi")
- Open an issue for questions, bugs and stuff