How to prevent SMS response to SPAM | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through December 09, 2003 ⬆ |
◄ ► |
Author | Message | |||
Anonymous |
We are facing a problem where some mobile are sending spam to our gateway Since * is configured as a keyword, which returns a invalid response, the message is sent to the sender and the sender again returns a invalid response, forcing the gateway to reply with another invalid response. This goes in a loop and gateway stops working. Is there a way to block SMS / MMS responses to specific numbers? Thanks | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 1067 Registered: 10-2002 |
If instead of using the "Command returns response text" setting for the "2-way" command, you instead use a redirect response (see http://www.nowsms.com/support/bulletins/tb-nowsms-003.htm), then it is possible for your script to only reply to valid phone numbers. Could you e-mail me more information about what is occurring? I'd like to see if there is a way that we could programmatically improve this situation, but I am not certain that I understand the sequence of events completely. | |||
Anonymous |
Dear Bryce, Thanks for your response. However the problem here is different. The SMS is coming from a valid number but the keyword sent is invalid. The Gateway responds to the requests by sending an SMS as "Invalid Keyword". In response to this, the originating number again sends and invalid keyword to the Gateway and the Gateway again responds to the requests by sending an SMS as "Invalid Keyword". This then goes into a loop and the gateway hangs after processing certain number of messages. Even if I use a redirect response, it will still do the same right? What i was looking at is basically a way to put these numbers in a look-up table which the gateway reads from before sending a response. This can be done using the redirect response where I tell my ASP to do this from a local database before sending an SMS. However it would help if I can define this in the configuration file of the Gateway itself. Thanks | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 1114 Registered: 10-2002 |
Ok ... so we're talking about 2 automated processes talking to each other. That can be a difficult situation to detect. While it would be useful for us to add a feature where you could have a file of blocked numbers, for now, I think it is better handled in your own script. Basically, since you would have to update our file with the numbers anyway ... you could just as easily maintain your own list. The problem is that when the "2-way" command is configured to return a response, there is no way to tell NowSMS not to send a response (unless you use the redirect method). Since this was a bit inconvenient, we did make an update to NowSMS this week where if the command returned a blank response, NowSMS would not send back a reply. We should be making this update available on the web site within the next couple of weeks ... but if this would help you now, please send a message to nowsms@now.co.uk, referencing this thread, and I can send you the updated SMSGWS.EXE. -bn |