Multimple commands

Multimple commands SearchSearch
Author Message
Kev Williams
New member
Username: Celticjedi

Post Number: 4
Registered: 12-2004
Posted on Monday, December 12, 2005 - 03:50 pm:   

Hi, is it possible for the gateway to perform multiple commands when an sms message arrives? I want to set up an autoresponder so that when a message comes in with a command prefix the sender gets a message sent back and NowSMS also writes the data to an Excel file or Access table.
Any ideas?
phamminhthanh
New member
Username: Thanhpm

Post Number: 3
Registered: 12-2005
Posted on Wednesday, December 14, 2005 - 06:47 am:   

hi, i need the same solution.when NowSMS send or received new sms, it will be save to Access database to support manage,NowSMS only save to txt file
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5383
Registered: 10-2002
Posted on Tuesday, December 20, 2005 - 06:48 pm:   

Hi,

When an SMS message is received, NowSMS can be configured to pass the details of the received message to a 2-way command.

When interfacing with other applications, it is best to use HTTP commands in the 2-way facility.

When NowSMS receives an SMS message, it then triggers an HTTP request to a script that is running on another web server, passing details about the received message.

This script can be written in whatever web environment that you are most familiar with ... for example, it might be PHP, ASP, Perl. And the process of interfacing the received SMS into your database is very similar to what you would do to process a posting from a web form.

There are some examples here:

http://support.nowsms.com/discus/messages/1/4520.html

None of these examples include any examples of database interfacing, as everyone's database is different. But basically if you can process input from a web page into your database, this is very similar to how you would process a received SMS.

-bn
Kev Williams
New member
Username: Celticjedi

Post Number: 6
Registered: 12-2004
Posted on Wednesday, December 21, 2005 - 09:35 am:   

Thanks Bryce, I'll give it a go