Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to do mobile phone based verification for users. I understand the code generation process and i understand maintaining cell phone carrier database. But to send the text, do I need a phone number or is it possible to use an internet address to send a verification code?
You're going to want to use a service such as http://www.twilio.com/ to send SMS.
They have an API for sending SMS here: https://github.com/twilio/twilio-php
There's a few good services out there for this. I've used Tropo and Twilio in the past, and both worked great. Tropo has pretty cheap international support and Twilio has better logs/analytics.
I suggest you to look at Tropo, twilio if you are staying in their supported countries. else you can talk to local telecom operator to get the SMS gateway access then you can push your sms through the HTTP interface. if you choose to do all at your own then I suggest you to get a GSM modem and program it to push your messages.
You can text their phone by sending an email. Each carrier has their own email structure to message users - so what I would do (on a small scale project) is collect their phone carrier/phone number (user submitted). And in a DB store the addressing scheme for the different companies.
For example:
Verizon: phonenumber#vtext.com
ATT: phonenumber#txt.att.net
there is one more project on phone verifications http://mOTP.in
mobile OTP without need of sms....good to give a try
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
in short: building a website form so the user can enter his information including his phone number, and i need a way to verify his phone number. Am using PHP. any simple code/widget that i could add to the page without any installation or SDKs?
been looking for a server who can help me add a widget/code to my live website so the user verifies his phone number before signing in up.
I have found a lot of servers, some can't understand their docs; they required installing SDKs, and I can't finger out how to do that on the host server! if that what it means!
others add other options with the SMS, like call or email and I don't want that.
the last one I found firebase way, but I also couldn't understand how!
OK, my question is: is there a server or a way that is only to send SMS with code and check the code? i mean even if just send SMS and i could add the code to it and verify it with the function I could write.
i think it is so easy to do, but been looking for couple days and i don't why i couldn't find what i need!
If you want to autheticate the user with a phone number you can take a look on firebase
here is the documentation:
https://firebase.google.com/docs/web/setup
Also you can watch firebase tutorials series on youtube
This question too specific and there is no exac answer.
Mostly SMS depends to local providers (for simple cases). If you get SMS plan your provider and if supporting REST API or SOAP you can use simply. This info should be in docs.
In the worst case scenario, if there is not any info you can check SDK source code and extract SMS parts then create your function or class. After all if, else, basic CRUD operations.
When you need all services (SMS, Call etc.) SDK best way doing this. Yes SDK may has a lot of dependencies and complex but you can trust.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a potential customer who's web app needs functionality for multiple (possibly thousands) of users to be able to call in to a phone number and leave a voicemail. They'd need to use some kind of "pin" number that was associated with their account. After calling in and verifying their account with their pin number, they would leave a voicemail that would then get saved in a folder with a reference to their account id and file in the database.
Then they'd log into their account and see a list of MP3's that they have recorded by calling in.
I'm not sure how to get this done. I have taken a look at the Twilio api and i'm thinking maybe its a good solution, but the docs are so intensive i'm not really able to get a good footing to provide a quote.
Any suggestions on how to get this done would be awesome. And if you're an experienced Twilio API user, I'd love to hear if anyone's done anything like this.
Thanks!
Twilio evangelist here.
There are a couple of resources I'd recommend that might help get you up and running with Twilio enough to be able to provide a quote.
So keep in mind that Twilio will help facilitate the telephony part of your app (receiving inbound phone calls, sending voice prompts the caller, letting you know when the user presses buttons on their keypad), but the rest of the app logic should be just creating a standard web app.
To get started I'd recommend walking through the inbound voice quickstart. This should only take you 15 or so minutes and will get you familiar with the basic concepts of how Twilio works (webhooks and TwiML).
Once you've worked through the quickstart, we actually have a more full feature How To that demonstrated building a simple voicemail system. You can read through that, download the code and even use it as the basis for your own system.
Hope that helps.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to create a solution like twilio/nexmo which will be capable of sending and receiving messages. With twilio like sms gateway out there in the web we can send and receive messages with custom numbers. Hence I assume they were capable of sending sms messages without the use of a gsm modem( Since, if they are using gsm medems, it's not gonna work because there may be more than 1000 users using different numbers to send and receive messages ).
Hence what I want to develop is a platform which is capable of sending and receiving sms messages to/from any no. of phone numbers without using gsm modems.
I have browsed through a lot of articles on the internet and lot of them are suggesting to host an sms gateway like Kannel and use it with GSM modems.
Can anybody give me some idea on the technology used in the paid sms gateways out there?
Thanks in advance.
The paid SMS services have peering agreements with all the carriers and send SMS messages via SMPP directly through each carrier's SMSC (Short Message Service Center).
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to send SMS messages to multiple numbers in my database based on an event happening. I was wondering if there is a way of doing this in PHP or Javascript? Maybe there is a function like php's mail function?
If not does anyone know of any good and easy to implement systems paid or free?
I'd like to have a go at developing something like this myself, but have a feeling that it might take me a long time.
Any other information or tips on the subject would be greatly appreciated.
Thanks for the time.
Oh, also I'm using Ubuntu server if that helps.
There is no function in PHP or javascript that can send sms directly. SMS are basically based on Short Message Peer-to-Peer (SMPP) protocol so there is no way you can directly send sms programmatically. Yes you could use smsgateway or an existing api where you can make a http request from php. There are lot of sms service providers like VAS providers and there are lot of free and open source smsgateway like kannel which you can use to send/recieve sms or if you could configure your own gateway as well.
You typically use an SMS gateway to do this. There are many out there, google. Those offer an API of some sort (REST, SOAP, whatever) that you can make a request to. The gateway service will then send out the SMS message over the phone network. These services are typically paid for.
For very limited scenarios that only need to support certain carriers, you can often get away with sending a regular email to a special address, like [phonenumber]#carrier.com. Not all carriers support this though.
You can use a SMS gateway provider or setup your own gateway.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Need to send/receive text messages between user and system. Any solutions available online?
Is there any PHP API of Google voice?
Why not use the email address provided by the phone company?
(small sample list)
ATT [10-digit phone number]#txt.att.net
Sprint [10-digit phone number]#messaging.sprintpcs.com
T-Mobile [10-digit phone number]#tmomail.net
US Cellular [10-digit phone number]#email.uscc.net
Verizon [10-digit phone number]#vtext.com
Unless you are sending a text message to a number that you do not know the carrier. Also, if you do use this method, the 1XX limit (I think it varies by carrier) still applies. You message might be truncated or send it multiple parts (again depends on the carrier). As far as I know this is the only free way to send a text message.
You pay for a propper SMS gateway subscription, thats why there is ads attached to free ones, to cover the cost of the service.