Creat a command for 2-way SMS | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through April 16, 2015 ⬆ |
◄ ► |
Author | Message | |||
Fee Prinz New member Username: Sonnenblume88 Post Number: 1 Registered: 08-2014 |
Hello NowSMS-Team, I've a question about the 2-Way SMS programm. I use my Android Phone as a Modem and checked your Gateway Programm. But now, I'm not sure, how to create a fitting Command for my idea. So below this, is the process,I want to use. Can you help me to form a command, so I can use it for 2-Way in NowSMS? thanks a lot! 0. she send me a SMS with a code an then I start with the first question (I already got, how this works. the steps 1+2 are important) 1. I send a question to a random (not really random, but a lot of different numbers, so the phone number is not always the same) like "can you work on saturday?" 2. The Person is answering Yes = they geht the next question a.e. "Can you start working at 12 p.m.?" No = they get the next question a.e. "So antoher Day? Monday?" The person answers just yes or no (no other information in the SMS)an the NowSMS programm processed the answer and sending the predefined reply. is it possible to program this schematic? I'm deeply grateful for your help. thanks a lot | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 4997 Registered: 08-2008 |
Hi, You would want to create a 2-way command to implement your required logic. Each time NowSMS receives a message, it can pass the details of the received message to a local app that can run from the command line, or to a script running on a web server (PHP, Perl, Java, .NET, .etc,) Your app needs maintain its own database to allow it to track the last communication with a particular sender. General info on 2-way SMS commands: http://www.nowsms.com/2-way-commands-for-sms-and-mms-processing-new-2014-feature s More useful links here: http://www.nowsms.com/faq/api -- Des NowSMS Support |