Retry MMS submit

Retry MMS submit SearchSearch
Author Message
khalid
New member
Username: Khalidar

Post Number: 3
Registered: 08-2009
Posted on Friday, September 04, 2009 - 06:26 pm:   

Dears

Sometimes my operator MMSC generate error as following :

"StatusCode=4007;StatusText="System is busy now, please retry later!"
"StatusCode=2001;StatusText="Flow refuse!"


Is there anyway to force nowsms to Retry MMS submit if such error happen?
Any suggestion?



Thanks & regards,
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1203
Registered: 08-2008
Posted on Tuesday, September 08, 2009 - 04:11 pm:   

Hi Khalid,

We will add a configuration option to allow messages to be retried under these conditions.

The MM7 specification does not define which error codes should be considered "temporary" errors and which should be considered "permanent".

The definition for MM7 status code "2001" says "Operation restricted - The request was refused due to lack of permission to execute the command."

This sounds like a permanent error. But in your case, it apparently is not.

The definition for "4007" says "Service denied - The client does not have permission or funds to perform the requested operation." This sounds like it could be a temporary funding error for your account, and retry later would be acceptable.

By default, we will add that the following errors will allow retry:

2001
4007
4000 - General service error
4006 - Service unavailable

And we will add a configuration parameter to allow additional MM7 status codes to support retry, as it is possible that the lack of clarity in the specification will result in very different responses for "flow control" scenarios.

I will post more information when this update is available.

--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1219
Registered: 08-2008
Posted on Wednesday, September 09, 2009 - 04:29 pm:   

Hi Khalid,

I've got an update that will address your issue.

It can be downloaded from http://www.nowsms.com/download/nowsms20090908.zip.

This update automatically treats StatusCode responses 2001, 4000, 4006 and 4007 as temporary error codes that should be retried.

If you find that you need to add additional StatusCode responses that should be treated as temporary errors, edit VASPOUT\accountname\VASP.INI, and under the [VASP] header, add RetryStatusCodes=2001,4000,4006,4007 ... this is a comma delimited list of status codes, and you should include the default temporary error codes in the list, as when this setting is present, this list replaces the default list.

--
Des
NowSMS Support