Http command for 2-way not working

Http command for 2-way not working SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through July 14, 2004 » Http command for 2-way not working « Previous || Next »
Author Message
Jeff Axup
New member
Username: Axup

Post Number: 7
Registered: 04-2004
Posted on Monday, June 07, 2004 - 10:06 am:   

I'm trying to launch an http command for any new incoming sms.
on 2-way tab I have command
* (all prefixes)

the incoming sms's are in the SMS-IN folder stored as .in files, but the server never appears to be using the above url. I have tested the url in a browser with the variables replaced with sample text and the script recieves it just fine.

Any ideas on why it wouldn't launch the http request? I am at a university with firewalls, etc, but usually http traffic gets out ok. thx
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2740
Registered: 10-2002
Posted on Tuesday, June 08, 2004 - 06:14 pm:   


Normally I'd suggest enabling the debug log for troubleshooting this type of problem.

But from other threads, it looks like you have resolved the issue:

For others, there are some good general 2-way troubleshooting tips at the following:
Jeff Axup
New member
Username: Axup

Post Number: 12
Registered: 04-2004
Posted on Wednesday, June 09, 2004 - 11:24 am:   

Hi Bryce,

i've got the local script problem sorted, but I still can't access an external server to store a record of the transactions.

i've enabled dmsdebug.log which shows:
22:02:52:178 [4] ThreadProcessInboundSMS: Processing
22:02:52:188 [4] GetProgramToExecute: cip_num=&sms_body=J%201
22:02:52:188 [4] ThreadProcessInboundSMS: Executing cip_num=&sms_body=J%201
22:02:52:188 [4] RetrieveURL: Retrieving cip_num=&sms_body=J%201
22:02:52:188 [4] RetrieveURL: Looking up

There's no actual error being thrown in this log or anywhere else I can find, but it's never hitting the php script on the remote server.

I've verified that the url being called in the 'command table' works fine from a normal browser url field.

I'm concerned that my university may have a firewall which is blocking http connections. Is there a way to formulate the url in the command table to traverse a firewall? Would it be reasonable that I would be able to telnet to that remote url, access it via a browser, but not through nowsms?

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2787
Registered: 10-2002
Posted on Thursday, June 10, 2004 - 03:31 pm:   

Hi Jeff,

This means that either the DNS lookup failed, or the connection to the server failed.

Unfortunately, neither of these are logged to the debug log.

If the server is on the local machine, have you tried using as the host name in the URL?

I assume that the URL referenced in the debug log works if executed from the browser?


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