Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Ubuntu server and i have a SIM card (sorry for bad English) which has monthly 10,000 SMS .

Now i need to send SMSes on my project. Is it possible to use my mobile phone (Nokia 5800 and USB cable) and my SIM card for sending SMSes on my project ?

I'm developing it with PHP . And i have my own server so i can install everything.

share|improve this question

Some mobiles can present themselves as a serial port (ttyUSB or ttyACM). You can then use variants on the AT command set (as if it were a modem) to send and recieve SMS messages. You could do this by hand, or you could hook into utilities like gsmsmsd to simplify the process.

share|improve this answer
Can i manage gsmsmsd with PHP? – Eray Sep 10 '11 at 0:28
I don't know of a direct API for it, but system()/exec()/backtick calls should work fine, at least for sending. – techieb0y Sep 10 '11 at 3:31

Probably best option for you is gnokii:

You can use it with PHP, Ruby and Perl.

Have Fun!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.