Page 1 of 1
SMS Messages
Posted: Thu Jun 01, 2006 8:45 pm
by jameswilson
I would like to be able to send text messages on alarm. I understand i need a modem and a message centre but i have both lol. I know i can do it with a smtp to sms gateway but wondered if it could be done with an analouge modem, MMS would be cool too. Plus id pay per message on the line as opposed to bundles up front with a gateway, so anyone any clues?
Posted: Fri Jun 02, 2006 7:08 pm
by tech_fixer
James,
To send SMS messages produced by ZM you'd need to achieve 2 things:
- First you neet to get ZM to execute a program/script on an alarm event, and feed this program with an informative message to be sent. This is Phil's area.
Second, you need the program/script to take the message produced by ZM and actually send it to an SMS network.
On the SMS modem front, try these two:
http://www.meinemullemaus.de/software/s ... index.html
http:://
www.kannel.org
Another way is to use http requests to simulate a user sending an SMS message through your provider's website. That's what I did for my OS notification messages and it works like a charm.
Hope this helps,
Jose.
Posted: Fri Jun 02, 2006 7:17 pm
by jameswilson
Another way is to use http requests to simulate a user sending an SMS message through your provider's website. That's what I did for my OS notification messages and it works like a charm.
This i like. I will look into this, but i also like the meinemullemaus idea. I will have a play.
Many Thanks
Posted: Fri Jun 02, 2006 7:37 pm
by tech_fixer
If you want, I can send you the script I use. It is crude but it does work and illustrates the basics of using HTTP requests.
Basically I looked at the source of the providers web page, then used ethereal to sniff the http requests going back and forth. Then I wrote a script that uses curl to simulate and inserts a message in these requests.
Jose.
Posted: Fri Jun 02, 2006 7:41 pm
by tech_fixer
Oh, forgot to say that if you do a search for SMS on fremshmeat.net you'll get a nice list of programs and scripts that deal with this.
There are quite a few for sending SMS over http to gateways and provider websites.
Jose.
Posted: Fri Jun 02, 2006 7:51 pm
by jameswilson
ok thankyou very much!