Introductory Guideline for Using Twilio Programmable Messaging and Programmable Voice Services - Dr. Hidaia Mahmood Alassouli - E-Book

Introductory Guideline for Using Twilio Programmable Messaging and Programmable Voice Services E-Book

Dr. Hidaia Mahmood Alassouli

0,0

Beschreibung

Twilio.com is an American cloud communications platform. Twilio allows software developers to programmatically make and receive phone calls, send and receive text messages, and perform other communication functions using its web service APIs.Twilio uses Amazon Web Services to host telephony infrastructure and provide connectivity between HTTP and the public switched telephone network (PSTN) through its APIsTwilio has very complicated system to understand and use. Its services mainly provided for qualified software developers. But in this report, I will provide introductory guideline for using the Twilio Programmable Messages and Programmable Voices services for simple use without the need to have deep knowledge in Programming. The report consists from the following sections:1.Opening a Twilio Account and get a Twilio Trial Number2.Upgrading the Twilio account 3.Twilio guideline for sending and receiving SMS 4.TwiML for Programmable SMS 5.TwiML for Programmable Voice 6.Basic steps to build Programmable Voice7.Using TwiML Bins functions8.Xampp and Ngrok web server setup for Twilio development 9.Sending messages from the dashboard of the Twilio account 10.Auto Dialer for Twilio Platform11.Summary of testing Programmable Voice using different options12.Summary of testing Programmable Messaging through different options13.Creating free website to save the files on it14.Making voice call using Twilio in browser

Sie lesen das E-Book in den Legimi-Apps auf:

Android
iOS
von Legimi
zertifizierten E-Readern
Kindle™-E-Readern
(für ausgewählte Pakete)

Seitenzahl: 47

Das E-Book (TTS) können Sie hören im Abo „Legimi Premium” in Legimi-Apps auf:

Android
iOS
Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.


Ähnliche


Introductory Guideline for Using Twilio Programmable Messaging and Programmable Voice Services

By

Dr. Hidaia Mahmood Alassouli

[email protected]

While every precaution has been taken in the preparation of this book, the publisher assumes no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.

Introductory Guideline for Using Twilio Programmable Messaging and Programmable Voice Services

Copyright © 2021 Dr. Hidaia Mahmood Alassouli.

Written by Dr. Hidaia Mahmood Alassouli.

1. Introduction:

Twilio.com is an American cloud communications platform. Twilio allows software developers to programmatically make and receive phone calls, send and receive text messages, and perform other communication functions using its web service APIs.

Twilio uses Amazon Web Services to host telephony infrastructure and provide connectivity between HTTP and the public switched telephone network (PSTN) through its APIs.

Twilio has very complicated system to understand and use. Its services mainly provided for qualified software developers. But in this report, I will provide introductory guideline for using the Twilio Programmable Messages and Programmable Voices services for simple use without the need to have deep knowledge in Programming. The report consists from the following sections:

Opening a Twilio Account and get a Twilio Trial Number

Upgrading the Twilio account

Twilio guideline for sending and receiving SMS

TwiML™ for Programmable SMS

TwiML™ for Programmable Voice

Basic steps to build Programmable Voice

Using TwiML Bins functions

Xampp and Ngrok web server setup for Twilio development

Sending messages from the dashboard of the Twilio account

Auto Dialer for Twilio Platform

Summary of testing Programmable Voice using different options

Summary of testing Programmable Messaging through different options

Creating free website to save the files on it

Making voice call using Twilio in browser

2. Opening a Twilio Account and get a Twilio Trial Number

1. Signup for Twilio Free Trial Account from the link https://www.twilio.com/try-twilio. You need your phone number to verify the account. You will be given a trial balance 15.5 USD. The trial account has limitations and restricts as:

2. Trial projects can only use your project's Twilio number, or a verified caller-ID, as the caller-ID (From number) when making outgoing calls. You can send messages and make calls to verified numbers. Messages and calls include a note about this coming from a "Twilio trial account." All trial calls are limited to a maximum of 10 minutes - both outbound and inbound. Trial projects are limited to a maximum of 1 Elastic SIP Trunk. Trial projects are limited to a maximum of 1 Phone Number. Trial SIP trunks can only be used to place calls using your project's Twilio number, or a Verified Caller-ID, as the Caller-ID/From number for all calls. You can see all limitations of trial account from

https://www.twilio.com/docs/usage/tutorials/how-to-use-your-free-trial-account

3. There are three options of pricing can be seen from https://www.twilio.com/pricing: Pay-as-you-go, Volume-discounts, Committed-to-use-discounts.

4. Twilio has the following types of services you can pay for. You can find them at https://www.twilio.com/pricing. Programmable Voice, Programmable SMS, Twilio SendGrid Email API, Twilio API for WhatsAPP, Elastic SIP Trunking , Twilio Conversations, Programmable Video, Programmable Wireless. Twilio Flex, Twilio SendGrid Marketing Campaigns, Twilio for Salesforce , Twilio Studio , Autopilot, Task Router, Notify, Authy , Verify, Proxy

5. Get Yourself a Twilio Number. Find a suitable number then hit the ‘Buy’ box. You’ll have to confirm your purchase. My phone no was: 00447723356654

6. This is how my console shows up after buying the phone number.

3. Upgrading the Twilio account:

In order to remove the limitations on the account, you need to upgrade the account. To upgrade the account, choose the upgrade icon. You must enter your address and Credit/Debit card or PayPal payment details and charge your account by 20 USD.

4. Twilio guideline for sending and receiving SMS:

In my case I rent a UK phone number. I was able to send from that phone number to any international number. But I was not able to receive message to my Twilio UK phone number from non UK international numbers. I was able to receive only messages from only certain UK numbers. I asked the Twilio support and they gave me the following guideline and rules regarding sending and receiving SMS to Twilio phone numbers.

Sending messages to international destinations is supported by Twilio numbers. Please make sure you have done the below steps:

1. You have purchased SMS enabled Twilio number from the console https://www.twilio.com/console/phone-numbers/search.

2. You have turned on all the Geo permissions for the countries you wish to send to from here https://www.twilio.com/console/sms/settings/geo-permissions

3. You have read and applied the required rules by the country regulators in the guidelines pages of the country you want to send messages to it https://www.twilio.com/guidelines/us/sms

4. In case if sending messages to the US and Canada please make sure you only use a US or Canada numbers from Twilio as the US and Canadian networks accepts messages from only US or Canadian numbers, and if you try to send messages to any US/Canada number from an alphanumeric sender Id or a long code from other country that will not work.

The error explanation is here https://www.twilio.com/docs/api/errors/21612. The solution for this is to buy a US Twilio number from here https://www.twilio.com/console/phone-numbers/search and use this US number to send messages to the US or Canada.

5. Make sure you register an alphanumeric sender id if requested as mentioned in the country guidelines, and to register please fill this form here https://twiliodoer.secure.force.com/SenderId. This is required in Palestine. and without the registration messages won’t be delivered.

6. Please use this guide to get started and send your messages through Twilio API https://www.twilio.com/docs/sms.