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).
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 4 years ago.
Improve this question
I'm trying to understand how web notification(HTML5) is works.
I found some solutions for call user for permissions:notify.js,
currently I am looking for any way to send notifications for subscribed users. I planing to create a backend script in PHP. What kind of data, should I save when user allows notifications receiving, for easy sending notifications?
There are two kinds of web notifications:
on-site push notifications: you can send them only when a user has a page of your website open. You can use the Web Notification API (or notify.js) to display the notification. You also need to fetch the notification from a server: you can use AJAX, long polling, websockets, etc.
off-site push notifications: you can reach a user even when he is not on your website. You need to use the Web Notification API together with the W3C Push API and service workers. In this case you need to collect an endpoint that represents the user device (browser), then store it on a server and then send notifications to it (for example using this PHP library). Otherwise you can use a service like Pushpad (I am the founder) which offers a PHP library.
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 3 days ago.
Improve this question
I would like to build a program in PHP to let both buyers and sellers communicate with each other via encrypted e-mail addresses. It is just like what Amazon does in its Buyer-Seller Messaging Service. Below is part of the description.
"By using the Buyer-Seller Messaging Service, both buyers and sellers communicate with each other via encrypted e-mail addresses. For example, if a buyer wants to contact a seller, the Buyer-Seller Messaging Service will assign an encrypted alias, such as "a222d34b3891234b#marketplace.amazon.com," instead of displaying the seller's real e-mail address. E-mails are routed to the seller via this encrypted alias."
Is it possible that the buyer replies emails to the encrypted email address of the seller, and the seller is able to receive these emails in the inbox of his real email address, vice versa?
Can anyone give me some suggestion on how to achieve it? Thanks a lot!
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 6 years ago.
Improve this question
So I have an app that includes peer to peer chat, which is only between two users at a time. What I am doing now is upon the user typing a new message, it calls a PHP script which inserts the message into a mysql table. then every 5 seconds the code calls a php script which downloads all the messages. So there is a maximum 10 second gap between messages. So my question is if there is a better way to do peer to peer chat.
You can use the server as a matchmaker - use it only to find the other phone. You provide the IP address so that one phone can contact the other phone and initiate a connection. One of the phones act as a chat server.
You can read about sockets programming with Cocoa for example here: http://cocoawithlove.com/2009/07/simple-extensible-http-server-in-cocoa.html
You can check out something like IP Messaging with Twilio.
In the iOS quickstart (https://www.twilio.com/docs/api/ip-messaging/guides/quickstart-ios) you can try it out in Objective-C or Swift.
The server side app there (in PHP) manages identity and access tokens for the application and the simple/example UI you end up with is this:
[Note: I work for Twilio]
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 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