Newbie question

Newbie question SearchSearch
Author Message
grinberg
Posted on Friday, August 22, 2003 - 02:12 pm:   

Thankyou for having this software available for trial.
I am aiming to set up a service that clients can sms a code to my number and then recieve either a txt or mms response back to their handset.

Youre software sounds perfect for this , so I have downloaded to do a trial set up.

Here's my novice questions, under two way sms I can set a command, upon recieving preset codes,to run an exe . ok . what program can be used to, in simple terms, grab the mms or sms content from a file and then shoot it through your gateway to the customer mobile?

I am currently using a gprs phone as the modem and it sends out fine - but when you send a sms msge in the phone recieves the msge and not he software. What havent I got set up properly?

I can see you starting to cringe!(youre probably saying I hope this guy doesnt buy it!- he'll drive us mad!)

Perhaps you may also have some recommendations on where to get more knowledge on the fundamentals.

Kind regards.
Bryce Norwood - NowSMS Support
Posted on Friday, September 05, 2003 - 08:04 pm:   

Grinberg,

Usually instead of having the "2-way" command spawn an EXE, I recommend that they call an HTTP script instead. It's a lot more flexible, but it is a little more difficult to setup.

When you spawn an EXE, if the EXE wants to return a text response, it can simply write the text as output to the screen, and the gateway will capture it. But if the EXE wants to generate a more complex response, it needs to generate its own HTTP request back to the gateway.

I recommend that you use an HTTP command approach instead, because most HTTP scripting languages have more support for issuing your own HTTP commands, so that you can send commands back to the gateway.

For example, this document talks about how an HTTP command can return a redirect response to send a non-text (or it can still be a text response) back to the gateway.

Unfortunately, we don't have much specific information about how some of these things are handled in the different scripting languages (although if you search these forums on keywords like PHP and ASP, you'll find some useful links).

Basically, when you want to send a message through the gateway, you'll be generating an HTTP request back to the gateway (or a redirect response with an HTTP URL from a 2-way command). The different HTTP request formats are shown in our documentation, so you can do some experimenting with how to use those by issuing HTTP requests directly from your browser instead of going through the menu.

Hope that helps.

Regarding this question:


quote:

I am currently using a gprs phone as the modem and it sends out fine - but when you send a sms msge in the phone recieves the msge and not he software. What havent I got set up properly?




It sounds like the "2-way" page doesn't have things setup to receive messages. The receive option might not be checked.

Also, in the v5.0 release, under properties for the SMSC connection, there is a receive SMS on/off checkbox per phone, and that could be a problem if that is not enabled.

-bn