Jump to content
xisto Community
Sign in to follow this  
iGuest

Send SMS using php using phone modem at commands not using web gateways Can We Send Sms From Our Server Using Php

Recommended Posts

Send SMS using php using phone modem at commands not using web gatewaysCan We Send Sms From Our Server Using Php

hi.. I need to send SMS using mobile phone modem using php not using SMS Gatway.. Pls help me in this.. There are at commands to acceess modem can it is possible with php reply fast

thankx 

-question by gopal

Share this post


Link to post
Share on other sites

If I understand your question, you want to send SMS directly to a phone without going through SMS Gateway? That is not possible. Because, you need the gateway to relay the message. You cannot create your own gateway because you are not a cellular phone service provider. If you are, then it's no problem. It's like you want to send an email to an address, someone {at} gmail {d0t} com without sending to Google's mail server. And send directly to the recipient. No email will be delivered.

 

But, if you meant how to send SMS to someone without going through other sites that can SMS for you (as in you bypass their server and send directly from yours to someone's cellphone) then the formula is very simple.

 

In United States, the SMS works just like email so that:

 

1112223333@sms gateway . ext

 

For example, you want to send SMS to phone number 111-555-1212, you simply send email with your SMS text to

 

1115551212@{sms gateway}

 

And the list of SMS Gateway can be found in Wiki. For an example, Verizon is vtext.com. So that the final address to be used is:

 

1115551212@vtext.com

 

Send your email to the SMS address in plain text with maximum characters up to 160. The recipient will receive SMS on their phone and the sender will show your email header's "from"

 

For the complete list of SMS Transits

 

http://forums.xisto.com/no_longer_exists/

 

And if you know your modem commands to send email form a command line, just mail to the above format and see your SMS go through.

Share this post


Link to post
Share on other sites

Hi!@iGuest (Gopal)It is possible for you to send SMSes using a cellular network modem. However, you would need to get a PHP module that will enable you to do this to perform this function natively from PHP. You can, alternatively, push your messages into a message queue and use a different language which is better suited for interfacing with cellular network modems - this is how most enterprise applications are developed, because the delay from sending the messages using a modem will keep the user's browser in a waiting state and creates the idea that the website is 'slow'.@BuffaloHelpYou do not need to be a cellular phone service provider to be able to send SMSes. Using an SMS gateway service is the easiest and most reliable way, but certainly not the only way to send out SMSes.The idea of sending email to a cellular phone number is a rather good idea because it is cheaper to send out email compared to sending out text messages from a cellular phone plan, especially for international cellular phones. However, not all cellular phone service providers enable the email addresses for the cellular phone numbers in an attempt to increase their revenue.

Share this post


Link to post
Share on other sites

k_nitin_r,

 

The misconception you have is that you're sending an email to a phone. No. The concept is that SMS works just like email service. When you send a SMS form phone to phone, the gateway is already filled in by your service carrier. For example, when a phone A sends SMS to phone B, the carrier of phone A translates handle, phone A's phone number and looks for carrier of B.

 

So, you never notice the difference because you are simply sending SMS to a phone number. But the whole magic happens in the background.

 

This SMS gateway information were not made public before because too many people can exploit the privacy issue. I can write a script starting with 1112223333@sms gateway, generate loop and send massive SMS spam starting with 1112224444@sms, 1112225555@sms etc. But this information is not a secrete either. So SMS gateway lists were published.

 

So the term SMS Gateway is misused, it seems. Here is a quick illustration

 

Posted Image

 

The image above labeled "centralized SMSC" is SMS Gateway--not the websites which offers the ability to send SMS form web to a phone. And the way centralized deciphers incoming SMS and relaying SMS to the destination is the same as how email servers operate. They look at the user name (your phone number) and authenticates as the sender. Looks for the destination with user name (recipient's phone number) at which domain (or the destination carrier).

 

The way to identify the carrier is by searching the database with prefix registration. All numbers follow the simple format: country code, area code, prefix and suffix. The "prefix" identifies the range owned by a certain carriers. for example, in US, in area code of 716, prefix 510 is owned by Verizon. And so naturally, if I send SMS or email to 7165105555 will have vtext.com as its gateway.

 

7165105555@vtext.com

 

And when you send SMS from phone to phone, "@vtext.com" is omitted because the service provider fills in automatically (background magic).

 

To suggest that you can send SMS without this gateway, as in direct P2P like connection, requires knowing ESSN hex number, dial and capture it's encrypted key and display a message. This as been carefully protected by all cellular phone service providers. Because, knowing how to do this you can clone the phone and use it without paying for the service.

 

However, not all cellular phone service providers enable the email addresses for the cellular phone numbers in an attempt to increase their revenue.

This is also false. They may not publish it publicly but I read it somewhere that ALL SMS systems are designed the same way. It's the foundation how SMS works. Therefore, you cannot eliminate the gateway and still deliver SMS. Because that's how all SMS providing carriers were built.

 

How MMS sends and deliveres are a different story.

Share this post


Link to post
Share on other sites

BuffaloHelp is correct.

A couple of other things worth noting are that an e-mail interface is not an inherent part of an SMS gateway (with the exception of SMSC gateways). I cannot think of a single example where an e-mail interface has not been provided, however, whether because of its inclusion within the mainstream software powering SMS gateways or due simply to convention.

In the case of an e-mailed message, the SMS gateway is functioning essentially the same, with the sole difference that its interpretation of the input is adjusted to parse the appropriate information from a mail message (again, with a couple of exceptions). The output remains unchanged.

On another note, there are middleware providers of SMS solutions. These are still SMS gateways, but they allow you to utilize their gateway to add SMS/MMS functionality to your programs via APIs. I can't think of any that are completely free, though. (Well, I can recall one, but its daily limits were incredibly low. I can try to snoop out the address if you'd like.)

k_nitin_r,
The misconception you have is that you're sending an email to a phone. No. The concept is that SMS works just like email service. When you send a SMS form phone to phone, the gateway is already filled in by your service carrier. For example, when a phone A sends SMS to phone B, the carrier of phone A translates handle, phone A's phone number and looks for carrier of B.

So, you never notice the difference because you are simply sending SMS to a phone number. But the whole magic happens in the background.


Share this post


Link to post
Share on other sites
Great but how do or where do you put the textSend SMS using php using phone modem at commands not using web gateways

If possible could you give an example written in PHP that shows how one specifies the message text and subject.

-reply by Ken Keywords:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.