2 ways

2 ways SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through January 22, 2009 » 2 ways « Previous || Next »
Author Message
Kjell-Einat Anderssen
Posted on Tuesday, November 11, 2008 - 05:50 pm:   

Hi, I'm using the following string to setup a 2 ways sms service. But it will not return my inbound sms. Can you help me

c:\windows\system32\cscript.exe h:\smsscript\excel-read.vbs % "/sender:@@SENDER@@" "/prefix:@@SMSPREFIX@@"
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 240
Registered: 08-2008
Posted on Tuesday, November 11, 2008 - 06:08 pm:   

Hi,

Everything works ok if you run this same exact script from the command-line, right? (Excpept that @@SENDER@@ and @@SMSPREFIX@@ are passed to the script without modification.)

Can you put some debug code into your script to verify that the script is actually being called?

I can't say that I've ever encountered this before, but I see "excel" in the name of your script.

NowSMS runs as a service, as opposed to a foreground application. So I'm wondering if it is possible that some of the commands you are using in the script will not work from a service?

I don't recall this service mode ever being an issue, but perhaps it could be.

In any event, start with some debug code in your script to verify that the command is actually being executed.

You also might want to enable the SMSDEBUG.LOG. Verify that messages are actually being received by NowSMS (you're not using a Nokia phone as a modem, are you ... they don't support receiving SMS via the AT command interface). Verify that NowSMS is executing your command like you expect.

The following link has some of the more basic troubleshooting tips: http://support.nowsms.com/discus/messages/1/4520.html

--
Des
NowSMS Support

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