2 Way SMS

2 Way SMS SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through February 02, 2006 » 2 Way SMS « Previous || Next »
Author Message
Ali Shahbour
New member
Username: Shahbour

Post Number: 1
Registered: 10-2005
Posted on Friday, October 21, 2005 - 05:44 am:   

I tried the 2 Way SMS when i check process received sms message and nothing in the command i got the messages in SMSIN folder xxxxx.sms. when i add a command i got it like xxxxx.in but the command was not executed.So what does this xxx.in file mean what is my problem
Ali Shahbour
New member
Username: Shahbour

Post Number: 2
Registered: 10-2005
Posted on Tuesday, October 25, 2005 - 05:04 am:   

Hello, it is working with me now. Thanks for the wonderfull service. But i still need how to save the messages sent through the SMPP Server
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5172
Registered: 10-2002
Posted on Tuesday, October 25, 2005 - 07:45 am:   


quote:

But i still need how to save the messages sent through the SMPP Server




I'm sorry, but I don't understand what your question is. Can you please clarify your question.
Ali Shahbour
New member
Username: Shahbour

Post Number: 3
Registered: 10-2005
Posted on Tuesday, October 25, 2005 - 08:01 am:   

My point is that. i started NowSMS as an SMPPServer. And i created an account for users (x & y) and gave them credits and every thing is Ok. My problem is that i want to save the messages when users (x & y) send one to a MSSQL Datebase
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5176
Registered: 10-2002
Posted on Tuesday, October 25, 2005 - 01:31 pm:   

Hi Ali,

Ok. I understand.

You would need to parse this information from the SMS-yyyymmdd.LOG file user USERS\x and USERS\y.

Alternatively, rather than parsing this information real time, you could get it via HTTP callbacks. This is a recent change, and you can find information about this in the following thread: http://support.nowsms.com/discus/messages/1/11716.html

-bn
Anonymous
 
Posted on Monday, November 21, 2005 - 07:43 am:   

Hi,
I am evaluating NowSMS for a an application we intend to launch. We have developed a loyalty system in VB using GSM modem. The application works ok. We are now intending to migrate the application to SMPP client connected to the service providers SMPP server. The envisioned design is as follows
1. User sents an sms to a short code say "2020"
2. The GSM operator forwards this message via their SMPP gateway to out SMPP client(NowSMS).
3. An application running on the background (Alread developed) picks the imconing messages, process the message as per the loyalty scheme rules.
4. The application sends back the response to the nowsms server to submit to the operators gateway for onwards submision to the user/subscriber.

From my simulation using GSM modem, I am able to receive the sms but how do i submit the responses back to sender automatically? I believ Nowsms can do this.
Note this the initial phase. we intended to start providing MMS messages to the users.

Hope you can help.
Patrick
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5314
Registered: 10-2002
Posted on Friday, December 02, 2005 - 06:41 pm:   

Hi Patrick,

The simplest way to have a 2-way command return a response text is to check "Command returns response text". Then if the command is a local executable, have the command write the text reponse to the screen (NowSMS intercepts this). If the command is an HTTP script, return the text in the HTTP response with a "Content-type: text/plain" header, and NowSMS will see it.

In either case, if your command doesn't want to send a response for some reason, do not return any text. (But for the HTTP command, you still need to indicate "Content-type: text/plain", just don't return any actual text.)

That's one way of doing it.

Another way is to return an HTTP redirect response if you are using HTTP 2-way commands. This technique is described here:

http://www.nowsms.com/support/bulletins/tb-nowsms-003.htm

There are also some examples of both techniques referenced by links in the following thrad:

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

You can also generate an HTTP request directly from your application. I don't have any VB examples ... well, then again, maybe I do ... it's not much, but it might be a start ... http://support.nowsms.com/discus/messages/1/5042.html

-bn

Login Login / Register Logout Logout Search Last 30 Days Topics Topics