Receive sms more than once

Receive sms more than once SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through February 09, 2012 » Receive sms more than once « Previous || Next »
Author Message
mouss
New member
Username: Mouss2006

Post Number: 2
Registered: 12-2010
Posted on Monday, June 20, 2011 - 06:32 pm:   

Hello,
I configured nowsms to process received sms (with samsung phone c3050 modem). When i received the sms nowsms process it. but the problem i have is that the same sms is recevied more than once as the user send the same sms again and again but it is not the case. I dont know what can cause this behavior.
Hope you will help me to fix this problem
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3278
Registered: 08-2008
Posted on Monday, June 20, 2011 - 07:58 pm:   

Hi,

Is the message being received repeatedly? Or was it received several times?

If it is being received repeatedly (and will not stop), this indicates that the modem interface will not allow the message to be deleted.

Unfortunately, the GSM modem implementation in many phones can be buggy, especially when it comes to receive support.

NowSMS expects to be able to read a message and then delete it. If the delete fails, the next time NowSMS scans for messages, it will read the message again.

I'd be curious to see an SMSDEBUG.LOG showing the message being received to see if there is a problem in NowSMS that we may be overlooking. (Enable SMSDEBUG.LOG using the checkbox on the "Serial #" page of the configuration.)

However, unfortunately, I suspect it is a bug in the modem implementation in that phone.

When both send and receive support are required, it is generally better to use a dedicated modem device (e.g., USB stick modem) instead of a phone with modem capabilities. Some discussions of specific USB stick modems can be found here: http://www.nowsms.com/tag/usb-modem


--
Des
NowSMS Support
mouss
New member
Username: Mouss2006

Post Number: 3
Registered: 12-2010
Posted on Tuesday, June 21, 2011 - 03:56 am:   

the sms is received repeatedly (and will not stop).
I attached my smsdebug file to the post.
Hope it will help you to help me
application/octet-streamMy smsdebug file
SMSDEBUG.LOG (639.9 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3282
Registered: 08-2008
Posted on Tuesday, June 21, 2011 - 04:50 pm:   

Hi,

Unfortunately, I don't know what to recommend.

The modem won't allow the message to be deleted. (It responds to the AT+CMGD=4 command with the following error: +CME ERROR:2043 That is an undocumented "manufacturer specific" error.)

The fact that the modem will not allow the message to be deleted is a big problem.

I do have a theory about what the modem bug might be. If you have access to a terminal program that could be used to send commands to the modem (PuTTY is a good one ... http://www.chiark.greenend.org.uk/~sgtatham/putty/), then I would be curious what responses you get back from the modem if you issue the following commands:

AT+CMGF=0

AT+CPMS="ME","ME","ME"

AT+CMGL=0

AT+CMGD=4


The first two command should respond OK.

The third command should return the stuck message, like in your SMSDEBUG.LOG:

+CMGL:4,1,,21
07912205979348F4240B912245088477F4000011601240942400024135

I am curious if the fourth command still returns an error, or if in this case it returns OK.

Sorry that I don't have any easier suggestions ... there's definitely a bug in the modem firmware, it is just a question of whether or not we can guess a way to work around the problem (or switch to a different modem).

--
Des
NowSMS Support
mouss
New member
Username: Mouss2006

Post Number: 4
Registered: 12-2010
Posted on Tuesday, June 21, 2011 - 05:12 pm:   

Thank you for your assistance. I will use a gsm modem instead of mobile phone.

Thanks
samir
New member
Username: Samirprogrammer

Post Number: 1
Registered: 02-2011
Posted on Monday, August 22, 2011 - 08:23 am:   

Dear Support,

I have also same Problem.
Is there any solution??

Thanks,
Samir
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3426
Registered: 08-2008
Posted on Monday, August 22, 2011 - 07:47 pm:   

Hi Samir,

If you are experiencing the exact same problem, no there is not.

In this particular case, the GSM modem implementation in the mobile phone was broken, refusing to allow a message to be deleted. Perhaps a firmware update for the device would fix the problem.

That said, if you using a different modem than the other person who posted here, then I would like to see an SMSDEBUG.LOG to confirm the same problem.

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

Post Number: 3427
Registered: 08-2008
Posted on Monday, August 22, 2011 - 07:50 pm:   

Follow-up ... as I posted that reply, I did think of one other possible solution.

Try manually editing the SMSGW.INI file (located in ProgramData\NowSMS ... or if running on Windows XP, in Program Files\NowSMS). Under the section header for your modem (example [Modem - your modem name]), add ProcessReadMessages=No

This setting changes some behaviour about how received messages are read from the modem. However, this may only be a temporary fix, because if NowSMS attempts to delete messages fail on too many messages, the modem will run out of memory and not be able to accept any more messages.

--
Des
NowSMS Support
formensh
New member
Username: Formensh

Post Number: 1
Registered: 09-2011
Posted on Saturday, September 03, 2011 - 10:14 am:   

I'm having the same problem in CDMA environment
when reiceving sms from operaator sms-center
formensh
New member
Username: Formensh

Post Number: 2
Registered: 09-2011
Posted on Saturday, September 03, 2011 - 10:16 am:   

It process the inbound sms more time he receive it
Please give me an issue.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3440
Registered: 08-2008
Posted on Monday, September 05, 2011 - 10:25 am:   

If you would like assistance, please post an SMSDEBUG.LOG, similar to what I requested of the other person who posted in this thread.

--
Des
NowSMS Support
formensh
New member
Username: Formensh

Post Number: 3
Registered: 09-2011
Posted on Tuesday, September 06, 2011 - 06:09 am:   

My SMSDEBUG
application/octet-streamSMSDEBUG
SMSDEBUG.LOG (5.4 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3444
Registered: 08-2008
Posted on Tuesday, September 06, 2011 - 03:15 pm:   

Hi formensh,

Your SMSDEBUG.LOG only shows the message being processed once. One reply being sent.

Did you receive that particular reply more than once?

I had assumed you were using a modem to send out messages, which can be more problems than with SMPP like you are using.

I do notice that your SMPP provider is terminating your SMPP connection every 5-6 seconds, which is a very low interval. To prevent this problem, you should try setting the "keep-alive interval" to 3 seconds under "Advanced Settings" for the SMPP connection in NowSMS. (Press OK/OK/Apply after making this configuration change to make sure it is applied.)

If you have another example where the message was received multiple times, can you post another SMSDEBUG.LOG showing this?

--
Des
NowSMS Support
formensh
New member
Username: Formensh

Post Number: 4
Registered: 09-2011
Posted on Thursday, September 08, 2011 - 07:51 am:   

thanks very much !
the problem is partialy solved
because i'm receiving sms with loosed caracters like '????SOLDE' and the submitted message is split in 2 parts on my CDMA phone. I guest it can be charset problem.
What's the CDMA default charset?
application/octet-streamMY SMSDEBUG
SMSDEBUG.LOG (50.7 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3462
Registered: 08-2008
Posted on Thursday, September 08, 2011 - 06:18 pm:   

Under "Advanced Settings" of the SMPP connection in NowSMS, try changing the SMSC character set to iso-8859-1.

Before you do that ... try sending the text you want to send from the NowSMS web interface first.

I'm guessing you're trying to send the word "Aoþt". By default, NowSMS assumes you have encoded your text in utf-8 format. It looks like you are using iso-8859-1. Add &charset=iso-8859-1 to tell NowSMS what character you are using.

That said, the "þ" character is likely to cause problems. NowSMS supports iso-8859-1 output via SMPP, but NowSMS assumes that actual over the air SMS messages will use either the GSM or Unicode character sets. When NowSMS sees the "þ" character, it will decide that this character is not in the GSM character set, and therefore must be sent out using Unicode encoding. Unicode messages have shorter message size limits, which is why you see two messages being sent out.

Stick to the characters in the GSM alphabet for best results. You can find them here:

http://www.nowsms.com/long-sms-text-messages-and-the-160-character-limit

--
Des
NowSMS Support

Login Login / Register Logout Logout Search Last 30 Days Topics Topics