How to skip CMS ERROR: 500 | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through August 22, 2012 ⬆ |
◄ ► |
Author | Message | |||
Noway New member Username: Noway Post Number: 6 Registered: 04-2012 |
Hello, How to configure NowSMS to skip error CMS ERROR: 500 after the first attempt and to consider that SMS as failed. Thanks. BR, | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 3943 Registered: 08-2008 |
Hi, I would not recommend doing that. CMS ERROR: 500 means "unknown error", and with many modems, it is very common to see this error sporadically. That said, by default, NowSMS will retry up to 20 times, which is excessive for most scenarios. To adjust retry behaviour for any error (not just CMS ERROR: 500), see http://www.nowsms.com/sms-retry-error-handling-with-ucpemi-and-cimd If you still want to immediately reject any messages that return CMS ERROR: 500, this is only possible in recent updates of NowSMS, such as version 2012.05.01, which can be downloaded at http://www.nowsms.com/download/nowsms20120501.zip. The specific setting to control this is described in the changes file for the release:
In your case, add ModemRejectErrorCodes=500 under the [Modem - driver name] section header of SMSGW.INI. -- Des NowSMS Support | |||
Noway New member Username: Noway Post Number: 7 Registered: 04-2012 |
Hello, Thanks for your reply. I have downloaded it, and I have added: ModemRejectErrorCodes=CMS ERROR: 500 But it's not working! It keeps retrying... Thanks. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 3951 Registered: 08-2008 |
Hi, Please re-read my previous message. I suggested that you "add ModemRejectErrorCodes=500 under the [Modem - driver name] section header of SMSGW.INI." "ModemRejectErrorCodes=CMS ERROR: 500" would probably work, but the matching is requires an exact substring match. So if the modem inserts an extra space, such as "CMS ERROR: 500", it would not match. Also, make sure that this setting is in the section of the SMSGW.INI file that is specific for your modem. (example: [Modem - driver name here]) If you believe you have followed these instructions correctly, please enable the SMSDEBUG.LOG. Repeat the sending attempt that generates this error. Reply to this post with SMSGW.INI and SMSDEBUG.LOG so that I can check the configuration and verify the exact modem response. -- Des NowSMS Support |