Repeated Messages

Repeated Messages SearchSearch
Author Message
Omar
Frequent Contributor
Username: Kfsmart

Post Number: 51
Registered: 01-2008
Posted on Wednesday, December 15, 2010 - 09:13 am:   

HI,

I have a problem,that sometimes nowsms executes the same SMS 5 times,(Pls check 4D07FD94.in)
I sent the SMSdebug.log at email (nowsms@nowsms.com) under subject
Attention: Des(Repeated Messages)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2744
Registered: 08-2008
Posted on Wednesday, December 15, 2010 - 08:08 pm:   

Hi Omar,

The problem is that the HTTP command is not returning any valid HTTP response. Therefore, NowSMS can't assume that the script was successfully processed, and it schedules the message to be retried later.

Most of the log is edited and doesn't show the timeout (you've edited it to just show the same message being processed repeatedly), but I can see from the first attempt in the log that NowSMS waits for 2 minutes, does not receive a valid HTTP response, so it schedules it for a retry.

Try connecting to the same URL string that you see in the debug log ... but from a web browser. Make sure that the web browser can see a valid response ... it doesn't matter what the content of the response is, we just need a valid response to acknowledge that the message has been processed.

--
Des
NowSMS Support
Robert Kiser
New member
Username: Resik

Post Number: 1
Registered: 12-2010
Posted on Thursday, December 23, 2010 - 09:04 pm:   

im having the same issues but nothing I do will work and its sending repedidly... I'm using a Droid X. Ive tried doing what the post says but isnt there a way to set atempt retries to "0" Please help, I have to get this campaign out before Christmas :-(
text/plain
4D13AFDB.req.txt (0.3 k)
Robert Kiser
New member
Username: Resik

Post Number: 2
Registered: 12-2010
Posted on Thursday, December 23, 2010 - 09:11 pm:   

application/octet-stream
SMSDEBUG.LOG (23.0 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2778
Registered: 08-2008
Posted on Thursday, December 23, 2010 - 09:32 pm:   

Hi Robert,

This is not at all related to the above thread. The above was referring to a 2-way command processing received messages.

I don't know what to tell you (other than Motorola has a track record of buggy GSM modem implementations in their mobile phones).

The modem is clearly returning an error response (CMS ERROR: 500 ... which means "unknown error").

The following link documents retry settings:

http://www.nowsms.com/sms-retry-error-handling-with-ucpemi-and-cimd

[SMSGW]
RetryMaxAttempts=0

... will disable any retry attempts.

It's not a good solution, because as the modem seems to always be returning an error, there is no way to distinguish an actual error from a false error. Maybe that will work for you initially.

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

Post Number: 2779
Registered: 08-2008
Posted on Thursday, December 23, 2010 - 09:36 pm:   

Follow-up ... I noticed that you mentioned that you are using a Droid X as a modem. That is a CDMA device, right?

(I did a little analysis of your debug log, and it does look like you are operating in a CDMA environment.)

That is interesting, because essentially it is emulating a GSM modem interface.

Try editing SMSGW.INI, and under the [SMSGW] header, add:

ModemTextMode=Yes

By default, NowSMS uses PDU mode, and other CDMA modems that I have seen which emulate the GSM modem command set, do not support PDU mode. This command will tell NowSMS to use text mode, which might work better with this particular modem.

--
Des
NowSMS Support
Robert Kiser
New member
Username: Resik

Post Number: 3
Registered: 12-2010
Posted on Thursday, December 23, 2010 - 09:55 pm:   

Des, thank you for the quick responce but I cant find the SMSGW.ini file...
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2780
Registered: 08-2008
Posted on Thursday, December 23, 2010 - 10:01 pm:   

Most versions of Windows: ProgramData\NowSMS

Windows XP: Program Files\NowSMS or Program Files (x86)\NowSMS