2

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.

2 Answers 2

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

2
  • Can i manage gsmsmsd with PHP?
    – Eray
    Sep 10, 2011 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, 2011 at 3:31
2

Probably best option for you is gnokii:

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

You can use it with PHP, Ruby and Perl.

Have Fun!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .