Problem 2-way configuration | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through November 14, 2013 ⬆ |
◄ ► |
Author | Message | ||||
Ahmed chaari New member Username: Stoner2008 Post Number: 3 Registered: 05-2013 |
hi, first of all i use a GSM modem as smsc (wavecom) i followed the doc to configure my nowsms(2way) http://www.nowsms.com/doc/2-way-sms-support after sending my sms, i found my sms in my logs( smsin.log and smsout.log). when i configured my 2way's now sms i did: SMS Command Prefix: * Command to Execute “c:\windows\system32\cmd.exe /c echo Echo @@FULLSMS@@“. the problem here is that normally it should appear a message that echos the sms.but i have nothing. i tried to put other commands to execute but it doesn't work as well. please help me | ||||
Ahmed chaari New member Username: Stoner2008 Post Number: 5 Registered: 05-2013 |
| ||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 4499 Registered: 08-2008 |
Hi, The SMSDEBUG.LOG indicates that there are no 2-way commands configured , or at least none that matched the inbound SMS. If you defined the command prefix as *, it would match any inbound SMS. So I think for some reason the 2-way command definition was not saved. Did you press the Apply button after defining the 2-way command? Also, make sure that the quote characters (“) are not present in the command string. They will not cause the problem you are experiencing, but they will cause other problems. Locate the SMSGW.INI file (usually in ProgramData\NowSMS). Does it have a ReceiveSMSCommand1= setting in the file? That would indicate the 2-way command setting was actually saved. -- Des NowSMS Support | ||||
Stoner2008 New member Username: Stoner2008 Post Number: 6 Registered: 05-2013 |
thank you for replying, i'm using the nowsms v2012-06-28. i'm uploading my 2 way configuration that you can help me to find the problem.(no quotes in the command) and here i post my SMSGW.INI
whatever i do the command is not executed | ||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 4502 Registered: 08-2008 |
Hi, I think I see the issue. Leave the "Receive Phone Number" field blank, it is referring to the number of the modem that is receiving the message (to allow different commands for different modems). -- Des NowSMS Support | ||||
Stoner2008 New member Username: Stoner2008 Post Number: 7 Registered: 05-2013 |
i tried it but it didn't work NB: i'm using the gsm modem wavecom.i started a java program that send sms.the sms is received in my logs(smsin and smsout) but the command is never shown. i tried *.bat script, http command but it doesn't work | ||||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 4503 Registered: 08-2008 |
If indeed you have reset the "Receive Phone Number" field to be blank, then I would have to see updated versions of SMSDEBUG.LOG and SMSGW.INI to diagnose. The previous files pointed to that setting being the problem. If that setting has changed, then I'd expect to see something different in the log. -- Des NowSMS Support |