Messages stuck in the Outbound Message Queue | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ |
◄ ► |
Author | Message | |||
Mathew Mathachan Frequent Contributor Username: Mathewm Post Number: 139 Registered: 04-2011 |
H, We noticed that when the SMPP returned an unknown error "ERROR: SMS Provider Specific Error Code 0x00000439", it stayed in the Outbound SMS Message Queue and not cleared..... Neither are they dropped nor retried. Appreciate your support Mathew | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 6151 Registered: 08-2008 |
Hi Mathew, I setup a test system that rejects SMPP messages with this error code, so that I could try this for myself. NowSMS kept retying the message until max retries, and then the message was dropped from the queue with an error. I took a look at the message in the queue during this process, and could see retries being incremented, with information like this: [ErrorDetail] RetryCount=7 LastRetryTime=20200601122735 LastErrorInfo=ERROR: SMS Provider Specific Error Code 0x00000439 -- SMPP - 192.168.0.41:9001 Are there any retry delay adjustment parameters in your SMSGW.INI, such as: RetryDelay= RetryDelayMultiplier= RetryDelayAfterAttempts= RetryDelayMax= RetryMaxAttempts= RetryMaxAge= If you wanted this error to be treated as an immediate failure with no retries, you could add SMPPRejectErrorCodes=439 under the [SMPP - server:port] section header in SMSGW.INI. (This can be a comma delimited list of codes to be treated as a non-retriable error.) -- Des NowSMS Support | |||
Mathew Mathachan Frequent Contributor Username: Mathewm Post Number: 140 Registered: 04-2011 |
Hi The settings are RetryDelay=10 RetryDelayAfterAttempts=2 RetryDelayMax=10 RetryDelayMultiplier=0 RetryMaxAttempts=3 However, they were not cleared and we noticed messages more a month old sitting in the queue.. Worst case, we shall put in the config that you suggested to drop message. BTW, where do we get to see "[ErrorDetail]" details... Mathew | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 6154 Registered: 08-2008 |
More than a month old? Did these files have a .REQ or .ERR extension? .REQ files are still active. .ERR files are failed messages, no longer active, but kept around for 3 days to allow investigation. These files are text files...the [ErrorDetail] info I used in the example, is information added to the end of the queue file. -- Des NowSMS Support | |||
Mathew Mathachan Frequent Contributor Username: Mathewm Post Number: 142 Registered: 04-2011 |
Hi Yes.. IN the "Outbound SMS Message Queue " list bix we could see. Thank you for the other details provided. Mathew | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 6156 Registered: 08-2008 |
Hi Mathew, Did you locate the actual message file? If so, where was it? -- Des NowSMS Support |