2-way service keeps sending sms | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through April 05, 2007 ⬆ |
◄ ► |
Author | Message | |||
Waleed Hameed New member Username: Waleed_k Post Number: 9 Registered: 02-2007 |
Hello, I was trying to configure 2way sms to log the SMS into text file. I put the command line and it runs. But for some reason it keeps sending the massage over and over with logging Microsoft copy right at the end............ coz I am using vbscript command. Can some one help with that? Regards Waleed Hamed | |||
Waleed Hameed New member Username: Waleed_k Post Number: 10 Registered: 02-2007 |
Hi, This is how my SMSyyyymmdd-IN file look like when i send SMS. 2007-03-12 13:50:42,+447810646323,Text,text echo, 2007-03-12 13:50:51,+447810646323,Text,Echo text echo , 2007-03-12 13:59:02,+447913938926,Text,Incallscript, 2007-03-12 14:00:54,+447913938926,Text,Echo Incallscript , 2007-03-12 14:03:13,+447913938926,Text,Echo Incallscript , 2007-03-12 14:04:16,+447810646323,Text,text incall, 2007-03-12 14:04:28,+447810646323,Text,Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. , 2007-03-12 14:04:36,+447810646323,Text,Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. , 2007-03-12 14:04:45,+447810646323,Text,Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. ------------------------------------------------- Why I am getting the SMS send many times and actualy dosent stop unless i stop the service of the gateway. Regards. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 6966 Registered: 10-2002 |
Hi, It would help to see an SMSDEBUG.LOG. That way we could follow the message flow better. For a local text command, I don't know of any situations that would cause a 2-way command to be processed over and over again. The only thing I could think of is if the reply is sent to your own phone number, so that the reply itself ends up getting route back to the 2-way command again. -bn | |||
Waleed Hameed New member Username: Waleed_k Post Number: 11 Registered: 02-2007 |
Hello Bryce, Many thanks and sorry for posting in deferent threads. Yes the prefix was with "*" and I fix it to *. And the SMS keep sending over and over until I looked at the command to execute and I just add % between the script name and the SMS paramiters as fallow. c:\windows\system32\wscript.exe c:\namedarg.vbs %"/sender:@@SENDER@@" "/prefix:@@SMSPREFIX@@" "/message:@@FULLSMS@@" "/recipient:@@RECIP@@" Then it stopped resending!!!!!! But still missing the @@RECIP@@ to be logged in the file. I will try to fix the code, and I would be happy with any advices. Thanks again for your help and I will be posting in the sms thread about any other issues. Regards Waleed Hamed |