Free SMS Verification Burner Numbers using Twilio

canweoffshoreit

Junior Member
Joined
Oct 26, 2014
Messages
134
Reaction score
43
Found a way to forward text messages for free from virtually any country using Twilio. By setting up a free trial you can create a number and have messages forwarded by email or a local sim number. You can also pay to create or port a number for long term use.

Starting out on my Digital Nomad journey I was trying desperately to find way to port and forward my old number across the globe using VOIP or local numbers (cheapest plan I found was starting at $25/m). Changing the 2 factor verification number for all my banks every few months is a total pain. Now I use this and Banks are much more accepting of a local number.

I would love to post links but I'm still a Newbie (typical forum stalker)

Just try the following steps:
1. Set up a Twilio trial account.
2. Verify using existing mobile number (haven't tried verifying with a Twilio number yet).
3. Create Phone number (choose country and with SMS ability)
4. Go to Manage Numbers, click on your new number and add go to Messaging:


VhSg651

i. Configure with: Webhooks, or TwiML Bins or Functions
ii. A Message comes in: "TwinML" and hit the + button:

scB69WS


Code:
<Response>
<Message to="+12065551212">{{From}}: {{Body}}</Message>
</Response>
With your where you are trying to forward to (country code and number) where '+12065551212' is.
Click "Create you create you Bin.

Hit save on the next screen and you are done.

Twilio is seriously powerful application if you know how to code (and I don't). You can the host the code on your server or simply using the TwiML Bins.

If anyone figure out the email script for a TwiML bin I would be most apprecative:)
 
Have you tried using it with instagram accounts?
 
No but I'm sure it would work for any site and country as long as the number hasn't been recycled for that particular site.
 
This is some great info regarding Twilio, this definitely will come useful for me, thanks.
 
If anyone figure out the email script for a TwiML bin I would be most apprecative:)

PHP:
<?php
/**
* This section ensures that Twilio gets a response.
*/
header('Content-type: text/xml');
echo '<?xml version="1.0" encoding="UTF-8"?>';
echo '<Response></Response>'; //Place the desired response (if any) here

/**
* This section actually sends the email.
*/

/* Your email address */
$to = "[email protected]";
$subject = "Message from {$_REQUEST['From']} at {$_REQUEST['To']}";
$message = "You have received a message from {$_REQUEST['From']}. Body: {$_REQUEST['Body']}";
$headers = "From: [email protected]"; // Who should it come from?

mail($to, $subject, $message, $headers);

Modify the "From" and "To" files in the above file. Upload it to your web server where it is publicly accessible. Such as http://site.com/twilio/api.php

Now goto the above page and in the section where it says "A message comes in" and select "Webhook" and then paste the full link to the PHP file.

Now every incoming message will be sent as an email. :)
 
PHP:
<?php
/**
* This section ensures that Twilio gets a response.
*/
header('Content-type: text/xml');
echo '<?xml version="1.0" encoding="UTF-8"?>';
echo '<Response></Response>'; //Place the desired response (if any) here

/**
* This section actually sends the email.
*/

/* Your email address */
$to = "[email protected]";
$subject = "Message from {$_REQUEST['From']} at {$_REQUEST['To']}";
$message = "You have received a message from {$_REQUEST['From']}. Body: {$_REQUEST['Body']}";
$headers = "From: [email protected]"; // Who should it come from?

mail($to, $subject, $message, $headers);

Modify the "From" and "To" files in the above file. Upload it to your web server where it is publicly accessible. Such as http://site.com/twilio/api.php

Now goto the above page and in the section where it says "A message comes in" and select "Webhook" and then paste the full link to the PHP file.

Now every incoming message will be sent as an email. :)
You are my hero.
Update: Apparently the six digit sms format is not supported for incoming messages
 
Back
Top