2 way sms

2 way sms SearchSearch
Author Message
SMSavvy
Posted on Wednesday, May 20, 2009 - 02:03 pm:   

Hi,

Can someone enlighthen me on how to process received sms with sms command prefix (eg. check XX) and then return to sender a sms with the info they requested? and all the database is kept in a simple text or excel file.

Can i do it?

Can someone show me the link if had been asked before?

Thanks & rgds.
vishank kumar
New member
Username: Vishank_k

Post Number: 1
Registered: 05-2009
Posted on Wednesday, May 20, 2009 - 05:31 pm:   

hello
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 832
Registered: 08-2008
Posted on Thursday, May 21, 2009 - 10:27 pm:   

Unfortunately, I can't help you with the database part.

To figure out the database part, look at it like you were developing a simple web query form where someone fills out a form with a single field, indicating what information they want to check.

Basically, you receive that query from the web form the same way that you would receive it from a 2-way SMS.

So if you can do a simple web form that does this lookup, it's pretty easy to convert that script so that it instead works as a 2-way SMS command.

I realize I'm not explaining anything about the SMS part yet ... but are you following me so far?

--
Des
NowSMS Support
SMSavvy
New member
Username: Chhiew

Post Number: 2
Registered: 05-2004
Posted on Friday, May 22, 2009 - 02:37 am:   

Hi Des,
Thanks for your reply. Yes i can follow you, can you pls share with me how to handle the sms part?

Secondly, I can receive 2 way sms with the echo function with very short message (eg. echo 123), how can i input a longer reply message as i received this error: "The filename, directory name, or volume label syntax is incorrect."

Thanks & rgds.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 842
Registered: 08-2008
Posted on Friday, May 22, 2009 - 06:38 pm:   

How long was the message that you had a problem with?

Commmand line executables don't like the <>&| characters ... was one of those characters perhaps in the message? Line breaks might also trip it up.

NowSMS escapes special characters for URLs when using HTTP based 2-way commands.

It should probably do the same for executable commands.

However, as I think about it more, I understand why we do not. The <>&| characters are reserved for CMD.EXE (the Windows Command Shell Processor).

The ECHO command example uses CMD.EXE because ECHO is a batch file command.

However, a real world application would not use CMD.EXE, so these characters would not be a problem.

So, if you're having a problem with that ECHO example when a message contains one of the <>&| characters, then that is a limitation of the example.

If longer messages are a problem, then I'd like to hear more about it.

To get you started with 2-way commands, here's an old link that has pointers to some examples (one PHP, one ASP and one a command line VBscript) ...

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

If I can clarify anything let me know ... I just think that's a good place to get started.

--
Des
NowSMS Support
SMSavvy
New member
Username: Chhiew

Post Number: 3
Registered: 05-2004
Posted on Tuesday, May 26, 2009 - 07:14 am:   

Hi Des,
Thanks for your help, i will try it out and search for more info/link you provided.

Many thanks.

Best rgds.
bhuva
New member
Username: Bhuvan20

Post Number: 1
Registered: 06-2009
Posted on Wednesday, June 10, 2009 - 08:16 pm:   

i have a nokia 5200 phone ..i am able to send sms but not able to receive sms

plz help me out in this regard.

Regards
Bhuvan
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 933
Registered: 08-2008
Posted on Wednesday, June 10, 2009 - 09:49 pm:   

Hi Bhuvan,

Unfortunately, a few years ago Nokia stopped supporting the GSM modem interface for processing received messages. This effects all Series 60 (Symbian/S60) phones, and all Nokia phones released since mid-2006. (Series 40 phones prior to "3rd edition" supported both sending and receiving SMS over the GSM modem interface. Series 40 "3rd edition" dropped the receive support.)

Generally speaking, you're best off with a dedicated GSM modem device such as those from Wavecom, Multitech, Falcom, Option, iTegno.

If you have to use a phone, SonyEricsson phones tend to have the most complete GSM modem implementation (except for the "X" and "P" series).

--
Des
NowSMS Support