Self retry mechanism on Failed SMS on twilio - twilio

I am developing the application while my notification system is based on twilio platform.
I would want to know if there is the provision of SELF RETRYING on temporarily unreachable numbers (eg. 30003, 30005, 30008) while trying to send SMS.

If you are using c#, the Polly library allows this type of self-retrying. I am using it to catch Twilio ApiExceptions and retry as appropriate.

It turned out that there is no self retrying policy on twilio. Raised the ticket to the official discussion center and here is the feedback.
Hi Prabin,
Thank you for contacting Twilio Support. I will be happy
to help you with this request.
I understand your question is asking
if Twilio will retry messages on temporarily unreachable numbers.
Twilio will not retry messages in any circumstance after the initial
send.
If you want to re-attempt messages that are undelivered, you
will need to create the message request. If I have misunderstood
your question, please let me know.
Regards
Mike | Twilio Support

Related

Twilio Outgoing Message Error with Free Trial

I am trying to use Twilio free trial to accept a message from one number and send it to another. The issue is that I cannot send a message from my bot to another number, only my own. Is this inaccessible by the free trial or am I doing something wrong? I am using the flow chart method to create my application.
When in trial mode you can only send messages to numbers that you have verified.
You have two options:
Verify the number you are trying to send to
Upgrade your account

How can we track the message status ( like queued,sent,delivered etc ) using twilio studio workflow

I was using Twilio's sms api to send sms and i was able to track the delivery status using status call back url.But currently am planning to switch my implementation to twilio studio workflow but i didn't find a status call back functionality in it.
please help?
Twilio developer evangelist here.
The Twilio Studio send message widget has two transitions, one for if the message was sent successfully and one if the message failed to send. It's not quite as nuanced as the statuses you can get callbacks for, but that is what is available. The send and wait for reply widget also has a transition for delivery failed.
Are these enough for your application?

How to limit the amount of messages I can send using Twilio

I'm setting up a chatbot for Whatsapp using Twilio. My question is how can I set a limit on number of messages I can send in a day? It's for my protection, so that if some bug would send over a million messages then Twilio would make me bankrupt.
Heyoooo. 👋 Twilio Developer Evangelist here.
To my knowledge, it's not possible to limit the sent messages on the Twilio side. To set a hard limit you'd have to count and keep track of the sent messages on your end.
There are a few things that you can do that may help already.
Disable auto-recharge
If you're worried about going bankrupt disable auto-recharge for your project. This way you can't just send millions of messages in case your application goes wild.
Set up usage warnings
Additionally, you can set up usage triggers that will send a webhook to a URL you define if your app hits a certain threshold value. This URL could act like kill-switch to really shut everything down after x sent messages.
FYI, Twilio protects you of loops already
To protect your project, messages cannot be sent more than 15 times in a 30 second window between your Twilio phone number and another number. Doing so may trigger a 14107 warning that your message rate has been exceeded.
In case something goes wild Twilio will stop you from sending messages.
I hope that helps. Let me know it goes. :)

Twilio - Digium: Sending FAX using T.38

I do not know if this is the appropriate forum for asking help for my issue, in case it is not i would like to apologies for any inconvenience.
So, the story goes somehow like that, i have purchased a number from Twilio in order to use it for sending/receiving faxes. Our Telephony System is a Digium switchvox and i have also configured a Cisco CUBE to the edge of my network.
When we try to send a fax, we can see that the packet reaches Twilio, but there is an error:
Error - 32102
SIP: Bad SDP
Please let me know if you had the chance to make it work.
Kind Regards,
Twilio don't support t.38
You can't archive that through twilio as a provider

What can we do with Twilio api in iOS?

I want to integrate Twilio in my iOS app. I read Twilio documentation but I am getting confused on some points. I have few questions:
Q 1) Can Twilio number receive messages from Mobile numbers (non twilio numbers)? Is it possible on trial Twilio number?
I am trying to send SMS from Twilio verified Indian number(e.g.+919435XXXXXX) to my trial Twilio number. My message was not delivered to trial Twilio number. While I am able to send SMS form trial Twilio no. to my mobile number. Is reason is trial account or anything else?
Q 2) Can we get two trial Twilio numbers for single account?
Q 3) How can send message using “Application url: https://hardw.herokuapp.com/"?
This url got when we created app using following way https://www.twilio.com/docs/quickstart/php/ios-client/setup
I have trial account. I am able to call using this app url with the help of BasicPhone app. Now I want to send SMS using app url.
Currently I am sending sms as described here Case 1: This is my native objective-c working code..
Please help me.Thanks...
Twilio Developer Evangelist here.
I'll try to answer your questions below:
Yes, a Twilio number is a number like any other, so you can send and receive SMS messages from any other number as well as making telephone calls. However, because you mentioned you're in India, it's worth reading about the limitations in India.
No, you can only have one number under a trial account, so in order to get more numbers you will need to upgrade your account, and put at least enough money to allow you to purchase a second number.
If all you want is to send SMS messages, all you need to have is a backend application that you can invoke via an HTTP request. That application will then make an API request to Twilio and send the SMS message. An example of how to send an SMS message can be found here.
Let me know if you have any other questions.

Resources