Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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.

http://manpages.ubuntu.com/manpages/natty/man8/gsmsmsd.8.html http://www.developershome.com/sms/howToSendSMSFromPC.asp

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:

http://gnokii.org/faq.shtml#own

You can use it with PHP, Ruby and Perl.

Have Fun!

share|improve this answer

Your Answer

 
discard

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.