SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Fri Mar 29, 2024 04:44
SMSTools3 Community » Help and support Bottom

[answered] SMS to HTTP URL

  This topic is locked

Page:  1

Author Post
Member
Registered:
Aug 2010
Location: Greece
Operating system name and version: Ubuntu 10.04
Version of smsd: 3.1.11
Smsd installed from: sources / package repository / from elsewhere...
Name and model of a modem / phone:
Interface: serial / USB / some adapter...


Hi all!
I want to configure server when receives an sms, create a url with a get command in order to send some data to another server.
Example:
Receives sms....
Create url (with get command like this "GET /test/test.php?filed1=10&filed2=20 HTTP/1.1
Host: www.testserver.com

This way when I receive an sms with this text:field1=10 field2=20 the server should send the data to another server.

Is this possible?
Thank you in advance! :)

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Everything is possible with an eventhandler.

Eventhandler can be a shell script, or a program written using any programming language. When an SMS is received, eventhandler is called. The script can extract required data from the SMS, and create a command which calls the another server.

See also this topic, as an example. It contains a checkhandler which calls another server. Checkhandler is executed before outgoing SMS is spooled, and with this script another server is used for sending.

Member
Registered:
Aug 2010
Location: Greece
Topic owner
Thank you for your prompt answer!

I will read the examples and give it a try!

Regards

Member
Registered:
Aug 2010
Location: Port-au-prince, Haiti
Hello,
I am new also in this technology.I want to know if I need to write an eventhandler for receiving the incoming sms in my Inbox.Please advice quickly!

masterxunil

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
masterxunil wrote
Hello,
I am new also in this technology.I want to know if I need to write an eventhandler for receiving the incoming sms in my Inbox.Please advice quickly!

masterxunil

I think that your playSMS implementation should show all incoming messages without any eventhandler required.

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.