Modem Response (2): +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: 1 Registered: 04-2012 |
Hello, I'm trying to use SE J108i phone as GSM modem, everything is setup well, and when I'm trying to send few messages (let's say 10 SMSs) the first 2-3 messsages are going thru, and then all other messages are getting error "Modem Response (2): +CMS ERROR: 500" and after several retries, another 2-3 messages are going thru the modem, and the reset are getting same error again. The same issue keep repetaed till all messages are being sent after several number of retries. Please note I tried Huwaei modem and it was working perfectly, but what could be the reason behind this failure with Soney Ericson device?! Thanks in advance. BR. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 3929 Registered: 08-2008 |
Hi, My experience is that using a phone as a modem is not as reliable as using a dedicated modem device. The issue is that phone software is complicated, and modem functionality is often not fully tested by the manufacturer as it is not considered to be core functionality. That said, +CMS ERROR: 500 is often a result of low/marginal signal strength. So make sure you have a strong signal. Another issue that we have encountered in the past is some phone modems working more reliably if we force an idle wait period after sending attempts to give the phone software a chance to perform other tasks. There are advanced configuration parameters for setting this delay, but they must be set by manually editing the SMSGW.INI file. Under the [Modem - driver name] section header, add: DelayAfterSend=#### and/or DelayAfterError=#### In both cases, #### is a millisecond (1/1000 of a second, example 1000 = 1 second) delay after a successful send, or after a send attempt that results in an error. I remember one family of devices that we tested years ago that actually worked best with a delay of 7500! Normally, I'd suggest more moderate delays like in the 500 to 2000 range. -- Des NowSMS Support | |||
Noway New member Username: Noway Post Number: 2 Registered: 04-2012 |
Hi, Thanks for your reply. First, I confirm that it's not a signal issue with my case, the signal is full. And regarding your suggested solution, won't this slow down the the throughput speed?! Also what is the DelayAfterError parameter value unit? Is it in Milliseconds? Please advise. Thanks. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 3932 Registered: 08-2008 |
Hi,
In theory, yes. However, if in practice you are seeing a large number of errors that result in retries, and a forced delay reduces the number of such errors and retries, throughput is increased. As I said above, this is an issue that we have observed with some phone modem implementations. If the modem implementation is buggy, we have found that some phone modems working more reliably if we force an idle wait period after sending attempts to give the phone software a chance to perform other tasks.
Yes. Please note that in the scenarios that we have observed, inserting a DelayAfterSend delay was more important for keeping modems from dropping into error states. Also, I want to re-emphasize the following point from my previous reply: My experience is that using a phone as a modem is not as reliable as using a dedicated modem device. You say that you had previously tried a Huawei device and it was working perfectly. Since "phone as a modem" implementations can be notoriously buggy, your best solution would be to go back to that device. -- Des NowSMS Support | |||
Noway New member Username: Noway Post Number: 3 Registered: 04-2012 |
Hi, Thanks for your reply. Personally, I would like to use Huawei modems, but as you know, and as it's mentioned in the article http://www.nowsms.com/sms-and-mms-with-the-huawei-e160-usb-modem that Huawei devices require it's software Mobile Partner to be always running, and this cause limitation on number of modems which we can use, as Mobile Partner software is single instance and not allowing running it more than once, and if we didn't use Mobile Partner with every device then it will hung. Any suggestion? Thanks again. BR, | |||
Noway New member Username: Noway Post Number: 4 Registered: 04-2012 |
Hi again, Also, if I have multiple modems of the same type, shall the DelayAfterSend parameter being set for each modem? Or there is away to configure it in a global scope? BR, | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 3936 Registered: 08-2008 |
Hi, As these settings are in the modem specific sections (example [Modem - driver name]) of SMSGW.INI, they are specific to each modem. There is not a global setting that applies to all modems. -- Des NowSMS Support |