Twilio VOIP Guide


If you have been following the steps in Extreme Privacy, you might desire VOIP telephone service through Twilio or Telnyx. In 2021, Twilio changed their customer portal and moved many features out of sight of the user. The following infomation is an update to Extreme Privacy, which should replace the tutorials in the original print publication. After establishing a Twilio account as instructed in the book at https://www.twilio.com/referral/9FGpxr, conduct the following to establish voice service appropriate for Linphone or any other SIP phone.

• Within the Twilio Dashboard, click "Get a Trial Number". Either accept the generated number or use the search feature to find a number within your desired area code. This will deduct $1 from your trial balance. My demo number is "2025551212". If this is option is not present, click the "Develop" link in the upper left menu, then "Phone Numbers", then "manage", then "Active Numbers", then "Buy a Number". Enter your desired area code and "Search" for a suitable number. Click "Buy" next to the desired number.
• Click the "Voice" link in the left menu.
• Choose the "Manage" menu option.
• Click the "SIP Domains" option and click the "+" to create a new domain.
• Enter the assigned telephone number as the "Friendly Name", such as "2025551212".
• Enter the assigned telephone number as the "SIP URI", such as "2025551212".
• Under "Voice Authentication", click the "+" next to "Credential List".
• Enter a "Friendly" name of your number, such as "2025551212".
• Enter a "Username" of your number, such as "2025551212".
• Enter a secure password and click "Create".
• Under "SIP Registration", click the "Disabled" button to enable it.
• In the "Credentials List" drop-down, choose your telephone number and click "Save".
• Navigate to https://www.twilio.com/console/runtime/twiml-bins
• In the left menu click the three dots next to "TwiML Bins".
• Click "Pin to Sidebar".
• Click the "+" to create a new TwiML Bin.
• Provide a "Friendly" name of "incomingvoice".
• Place the following text in the TwiML box. Replace "2025551212" with your number.

<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Dial answerOnBridge="true">
<Sip>2025551212@2025551212.sip.us1.twilio.com</Sip></Dial>
</Response>

• Click "Create" and "Save".
• Click "Phone Numbers" > "Manage" > "Active Numbers" in the left menu.
• Click your telephone number.
• Under "Voice & Fax", then "A Call Comes In", choose "TwiML Bin".
• Select "incomingvoice" in the drop-down menu and click "Save".
• Click "My TwiML Bins" in the left menu.
• Click the plus sign to create a new bin.
• Provide a "Friendly" name of "outgoingvoice".
• Place the following text in the TwiML box, copied from my site.

<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Dial answerOnBridge="true" callerId= "{{#e164}}{{From}}{{/e164}}">{{#e164}}{{To}}{{/e164}}</Dial> </Response>

• Click "Create" and "Save".
• Click the "Voice" link in the left menu.
• Choose the "Manage" menu option.
• Click the "SIP Domains".
• Select your domain.
• Under "Call Control Configuration" then "A Call Comes In", change "Webhook" to "TwiML Bin" and select "outgoingvoice" in the drop-down menu.
• Click "Save".

You can now proceed with the Linphone configuration steps.

Privacy Guide


My latest book on Extreme Privacy is now available. Click HERE for details.


Weekly Podcast


The weekly podcast presents ideas to help you become digitally invisible, stay secure from cyber threats, and make you a better online investigator. All book updates will be presented on the show. Click HERE to listen or subscribe.