SMS alert not getting On DND Numbers when Web site is Down - google-docs-api

I am trying to find out the Uptime and Downtime of a website using article which monitors using Google Docs scripts. The script also sends a text message using SMS when a site is down.
I used 5 Mobile numbers for testing, out of which only one phone was able to get the notification. The other 4 phones have DND(Do Not Disturb) activated, which I presume is the reason why the SMS doesn't get delivered.
My Concern is that while associating with Google calender when I put that DND(Do Not Disturb) number they got verification code and after putting that Verification code they register. So for verification they are getting the SMS but they are not getting the alert when web site is down or up.

A service like downnotifier.com is also free (except the price for SMS messages) and made to do these kind of things.

Related

Service to receive SMS messages from short codes?

So I need to programmatically receive text messages from a shortcode. Twilio does not support this. Anybody know a service like Twilio but that is able to receive SMS messages from a short code sender?
Just to be clear. I need to receive a text message from a shortcode to a 10 digit number, not send from a shortcode.
Most services (Twilio, call fire) that let you send from a shortcode can not receive a text message from a shortcode
This can’t be done, shortcodes are unique to each carrier network, when a short code is available across multiple carriers it is implemented on each carrier separatly.
Also shortcodes are not international so 54321 could be used in both the UK and US by totally separate services.
SMS providers like Twilio and Vonage connect to the carriers in the same way as the shortcodes do, they are both an application connection. The carriers do not permit app to app messaging through their network so a shortcode app will only ever be able to send to a real subscriber with a SIM card.
You might find some providers that offer an SMS API by using banks of hosted SIM cards but this can be very flakey and you are usually sharing the number. The other option might be to look at hosting your own SIM card in a usb single or such and recieve the SMS that way.
Actually, Twillio does support this now, although with a big disclaimer that it "cannot guarantee that every short code globally will be able to reach Twilio numbers"
https://support.twilio.com/hc/en-us/articles/223181668-Can-Twilio-numbers-receive-SMS-from-a-short-code-?_ga=2.202438166.641482548.1608644940-210958917.1588771372
I think this article might be just what you're looking for https://help.nexmo.com/hc/en-us/articles/216487658-Inbound-SMS-on-dedicated-US-short-code
You should be able to receive SMS messages on a dedicated US Shortcode.

Is it possible to list Twilio WhatsApp Phone Numbers and Templates?

I am integrating with the Twilio API to send WhatsApp for Business messages. For the most part, so far everything has been straight forward. However, I foresee the need to be adding new WhatsApp phone numbers and templates in the future. While I have no problem using the Twilio UI to create these new resources, I was curious if there was a way to list the newly added phone numbers and templates in my app via their API. This would help ensure an update to the application wouldn't be needed each time that a new phone number or template is added.
I have found this other question from over a year ago which may indicate that listing phone WhatsApp phone numbers currently isn't possible. However, this question doesn't address listing templates and due to its age I also wanted to reask the community in case anything has changed. Identify Whatsapp phone number when listing Twilio phone number
Thanks!

Sending Group SMS iOS Swift - How to go beyond carrier's restriction of 9 - 20 messages per send attempt

I am designing an iOS app that receives multiple contact numbers from a server and sends messages to those numbers. I have made this service with an external API called Twilio, but Twilio costs(quite a lot actually if all my users are to send bulk messages). I want to make this App free for use and to make the user pay for the number of text messages they send, which will be charged by their carrier.
I found an app called 'Group SMS 4!' by Cedars and this app does exactly what I wanted. I'm sharing you the link for the app on the appstore
Group SMS 4!
I've used the app, and I know it doens't use an external SMS gateway but MFMessageComposeViewController. But I though sending programmatically through iPhone restricted the number of texts sent to be less than 9 ~ 20 (depending on the carrier).
So my conjecture on how this problem was solved was,
Divide the contacts in a group of 5~9 somehow and send them separately, and sequentially when send button is pressed
Was my guess correct? If not, What would be a way to achieve this? I just need the user to be able to send up to 100 people automatically and without hassle. Thank you in advance.

Send mass texts with iOS

Is there anyway to send the same text to multiple contacts not as a group text. I have been told that it would need a server to accomplish this. If that is the case I would like to be able to still send texts from my current number not a new number. I have checked out Twilio but have not gotten very far.
Twilio developer evangelist here.
You cannot send mass text messages using Twilio and your existing phone number.
One option you might have is, if you have a Mac you can control the SMS app programmatically to send lots of SMS messages. Here's a blog post with some example code to do that: https://www.twilio.com/blog/2017/06/drawing-pixel-art-text-messages-signal-video-wall.html
That might not be of much help, but while you can send lots of SMS messages with Twilio, you cannot do so using your existing number.
Yes you could send mass texts out to different numbers using twilio. No you could not use your current number.
You would have to purchase a new twilio number that has SMS messaging enabled.
Look at the Twilio documentation and their get started guide, figure out the language you want to create your server in and you will be sending texts in no time. https://www.twilio.com/docs/quickstart/node/programmable-sms You would run the webserver. Twilio does not offer a swift or ios based SMS solution.
https://www.twilio.com/docs/quickstart?filter-language=swift

Twilio Parallel Process Result Page Update

I'm wanting to update a div or some area on a page that allows the user to progress, after a Twilio text goes out and receives either a 1 (true) or 0 (false) from a remote user. I'd like to give the user 5 minutes to answer the text, and have the page display the conditional result based on that answer.
Anybody know of a way to poll a result in order to display the two options? The user sends back a 1 to Twilio, which somehow goes to my server with parameters. I'm still learning how that can be done.
So I am looking for two items:
How to receive parameters from remote SMS using Twilio, passed to my server page, basically text number, sessionID, and user choice (1 or 0)
same page display of updated response from above. I'd like to not rely on page refresh.
Twilio developer evangelist here.
When you receive an SMS message on a Twilio phone number, Twilio makes an HTTP request to your application, at a URL that you supply, with all the details about the message, including the number it was from and the body of the message.
I would recommend checking out the quick start guides that we have on the site that will get you up and running sending and receiving messages using Twilio.
Once you've got the receiving messages bit sorted you then need to connect that incoming message to the browser the user was using. I'd take a look at either Server Sent Events (which I wrote about in a different context here) or web sockets, both ways of connecting the server to the browser without needing to poll or refresh. You'll have to figure out how to create channels for your users so that they only receive their own update to the page.

Resources