943,916 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Marked Solved
  • Views: 4288
  • PHP RSS
You are currently viewing page 1 of this multi-page discussion thread
Sep 9th, 2009
1

Free SMS with Sockets - No provider?

Expand Post »
Does anybody know how I would use sockets to tap into the SMS protocol for sending+receiving SMS messages. Basically, all I want to be able to do is setup a php script that will be able to act as the SMS server and send+receive the SMS's directly through the SMS network. But I don't want to send it to an sms provider as I'm trying to make my script the sms provider. Does anybody know how to do this because I don't even know how the sms protocol works.
Similar Threads
Sponsor
Featured Poster
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
cwarn23 is offline Offline
3,004 posts
since Sep 2007
Sep 9th, 2009
0

Re: Free SMS with Sockets - No provider?

cwarn23,

I doubt you'll find a free SMS service. The usual approach is to find a gateway provider or broker that has the kind of service your after.
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,527 posts
since Oct 2008
Sep 9th, 2009
0

Re: Free SMS with Sockets - No provider?

Well now that you mention gateway provider, I guess you would say that this script I'm after acts as a gateway provider and has no external dependencies. I just need to know how.
Sponsor
Featured Poster
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
cwarn23 is offline Offline
3,004 posts
since Sep 2007
Sep 9th, 2009
0

Re: Free SMS with Sockets - No provider?

Couldn't you send emails using the wireless provider's gateway?
usernumber@wirelessprovider.tld?
Reputation Points: 18
Solved Threads: 21
Junior Poster
codejoust is offline Offline
180 posts
since Jul 2009
Sep 9th, 2009
0

Re: Free SMS with Sockets - No provider?

Click to Expand / Collapse  Quote originally posted by codejoust ...
Couldn't you send emails using the wireless provider's gateway?
usernumber@wirelessprovider.tld?
Well the thing is that theoretically it should be possible for php to send the SMS without any external dependencies including email and curl. I know that sockets would be involved. But the question is how to make a custum function library the sends+receives SMS's just like how the mail() function sends emails without another company involved. And I know that I should be able to do this intirerly in php as sockets is designed for this sort of stuff.

So in basic I'm looking for a php script that sends and receives SMS messages where php directly communicates with the SMS protocol (not an api) and no external server, no external companies and no email involved.
Sponsor
Featured Poster
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
cwarn23 is offline Offline
3,004 posts
since Sep 2007
Sep 9th, 2009
-1

Re: Free SMS with Sockets - No provider?

I haven't heard of such a script and I was searching hard for one a couple of years ago when setting up a school contact subsite. Everything I've seen boils down to gateway providers. I'd be v.v. interested in a script. I think everybody would be. No need for a Blackberry!
Sponsor
Featured Poster
Reputation Points: 1048
Solved Threads: 948
Sarcastic Poster
ardav is offline Offline
6,698 posts
since Oct 2006
Sep 9th, 2009
1

Re: Free SMS with Sockets - No provider?

For More information:
Wikipedia SMS Gateway
Reputation Points: 18
Solved Threads: 21
Junior Poster
codejoust is offline Offline
180 posts
since Jul 2009
Sep 9th, 2009
0

Re: Free SMS with Sockets - No provider?

Here is something simple, but still would cost money. This type of service will never be free.

http://invalid.name/wiki/index.php/S...an_SMS_Gateway
Reputation Points: 235
Solved Threads: 193
Nearly a Posting Virtuoso
kkeith29 is offline Offline
1,315 posts
since Jun 2007
Sep 10th, 2009
0

Re: Free SMS with Sockets - No provider?

OMG I CAN'T BELIEVE THIS!!!
I followed the wikipedia link codejoust posted and found another wikipedia link in that page SMPP Protocol which lead me to the official open source protocol for SMS. It is written in Java but I shall be the first to convert it to php. So it is totally possible to send free SMS and will republish code when finnished as the licence says I'm allowed to redistribute it as long as it has their copywrite notice. This is so exciting.
Sponsor
Featured Poster
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
cwarn23 is offline Offline
3,004 posts
since Sep 2007
Sep 10th, 2009
1

Re: Free SMS with Sockets - No provider?

You really think cellphone companies are going to let you send free messages through their equipment. Not going to happen.

SMS providers buy a bulk of messages from those companies at a discounted rate. Then they resell them, adding some to the price so they can make some money. It won't be possible for you to do this for free.
Last edited by kkeith29; Sep 10th, 2009 at 7:01 am.
Reputation Points: 235
Solved Threads: 193
Nearly a Posting Virtuoso
kkeith29 is offline Offline
1,315 posts
since Jun 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Embed live Tv to my website (free of cost)
Next Thread in PHP Forum Timeline: How do I create checkbox forms with sql_query





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC