2-way sms | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through June 02, 2006 ⬆ |
◄ ► |
Author | Message | |||
Taavi New member Username: Elderone Post Number: 1 Registered: 04-2006 |
Is there way in your SMS/MMS gateway program under 2-way sms tab to pass "binary" parameter to external script? I mean something like @@SENDER@@ parameter... Thanks! | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5846 Registered: 10-2002 |
Yes, see http://support.nowsms.com/discus/messages/1/12414.html. | |||
Terri O'Sullivan New member Username: Terri Post Number: 3 Registered: 04-2006 |
A separate 2-way problem. I have set up a command to make a HTTP request to a separate web server, something like this: https://the server/handlereceivedmsg.php?from=@@SENDER@@&msg=@@FULLSMS@@&date=@@MSGDATE@@&ti me=@@MSGTIME@@&to=@@RECIP@@&id=@@MESSAGEID@@ When it runs, I can see from the log file that the SSL connection is failing: RetrieveURL: SSL_connect: Error 140770FC making SSL connection I can change to http but the server issues a redirect to the https, leading to the same problem. I found an archive posting about the same problem but it didn't get resolved: http://support.nowsms.com/discus/messages/1/4629.ht ml Any suggestions? I can access the URL fine through a browser on the same pc. Another related questions: Looking at the log file, it seems NowSMS keeps retrying the command. Is there a configuration setting to control the number of retries? Would appreciated some help with figuring out the SSL problem. Thanks. | |||
Terri O'Sullivan New member Username: Terri Post Number: 4 Registered: 04-2006 |
FYI...in relation to my above post. I tried requesting the same URL with Curl, from command line. It works ok i.e. no SSL connect error. Which might or might not be relevant... If anyone has any suggestions, I'd really appreciate them...working to a tight deadline!}} | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5931 Registered: 10-2002 |
Hi Terri, I don't see the connection between the problem that you are experiencing and the other thread that you reference. In that thread, there seemed to be some confusion over the fact that any script needs to be installed on a separate web server. In your case, it seems that we are not able to make an SSL connection to your web server. It looks like there may be a small bug in that the routine that is evaluating 2-way URLs does not default to port 443 for an SSL request. If you change it to https://the server:443/handlereceivedmsg.php?from=@@SENDER@@&msg=@@FULLSMS@@&date=@@MSGDATE@ @&time=@@MSGTIME@@&to=@@RECIP@@&id=@@MESSAGEID@@ ... then I believe this will correct the problem. Regarding the retries on the 2-way commands, if there is a connectivity problem, the retries are indefinite. -bn | |||
Terri O'Sullivan New member Username: Terri Post Number: 5 Registered: 04-2006 |
OK, thanks for that...will try it and post back here if it works (or doesn't, but I expect it will . Sorry about the link - there was another one and I copied the wrong link. This is the one I meant: http://support.nowsms.com/discus/messages/1/4629.html and there's a similar one at: http://support.nowsms.com/discus/messages/1/3991.html | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5946 Registered: 10-2002 |
Let me know if that fixes it. I think it will. | |||
Terri O'Sullivan New member Username: Terri Post Number: 6 Registered: 04-2006 |
Yes, it did fix it. Thanks. |