Connect GSM cell to Linux to recieve SMS
I want to connect a GSM Cellular phone to my linux server so that anytime I recieve an SMS a script on my server will be launched with the phone number as the first parameter and the SMS as the second. I don't want any delays. Having a script in crontab that fetchs the SMSs is too long.
I have no idea how to accomplish this.
If anyone can suggest where to start looking, that would be greatly appreciated.
Now for the why: I have a VoIP service and my provider is going to allow us to make custom apps to control options on the service. Such as Call forwarding and so on and so forth.
So the app I will make will allow for the user to send messages to my cellphone and my cellphone and my server will make the change. For example if an SMS is recieved with the message CF 401-229-1234, my server would than connect to VoIP and turn on call forwarding etc...
So if anyone knows how I could interface a cellular phone to achieve this, I would greatly appreciate it.