Duplicate messages received from SMSC | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through September 26, 2009 ⬆ |
◄ ► |
Author | Message | |||
alasdair gilchrist New member Username: Alasdairg Post Number: 1 Registered: 07-2009 |
Hi, Recently we have been having a problem with the Operator SMSC sending up duplicate messages over a 1 to 5 min time period. As our 2-way script process these messages, we need to be able to somehow identify duplicate message as filter them out. Are there any unique parts of the sms message such as a message ID that nowsms can match and pass through to our 2way script for filtering? | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 7852 Registered: 10-2002 |
Hi Alasdair, If for some reason NowSMS is duplicating it, there is a @@MESSAGEID@@ parameter that gets passed to the script which can be used to identify the problem. However, the only reason that NowSMS would duplicate the message is if the script was returning an unexpected error ... which would trigger a retry attempt. If the operator is duplicating the message, unfortunately there are not any attributes of the message that can be used to identify a duplicate. The only attributes you can really use to make this determination are the sender address and text being duplicate within a certain time window. There is no message id value that comes from the operator ... at least not in SMPP environments, which I assume is what you are using. -bn |