Closed Bug 1097535 Opened 11 years ago Closed 8 years ago

We should ignore duplicated sms

Categories

(Firefox OS Graveyard :: RIL, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: vash, Unassigned)

Details

Receive duplicate sms in FirefoxOS 1.3.0.0 and the ZTE Open C model. Seems not reproducible. The duplicate sms are receive at the "same time".
All I know is that it seems to happen to me as well (in v2.0). Hey Bevis, I know we don't have much information here, but I wonder if you can give some more insight on the possible reasons? Maybe we receive the SMS twice from network because the ack was not received (this could definitely happen for me in the subway :) ) and we don't deduplicate correctly?
Flags: needinfo?(btseng)
(In reply to Julien Wajsberg [:julienw] from comment #1) > All I know is that it seems to happen to me as well (in v2.0). > > Hey Bevis, I know we don't have much information here, but I wonder if you > can give some more insight on the possible reasons? Maybe we receive the SMS > twice from network because the ack was not received (this could definitely > happen for me in the subway :) ) and we don't deduplicate correctly? Yes, it's possible. As you mentioned, the only possible reason I can imagine is that SMSC will try to resend the SMS if the ACK isn't arrived on time due to bad network condition. Because the raw SMS PDU received from network won't be stored into our database and it's time/space-wasted to check whether the received PDU is duplicated from the database. The handy solution to detect it in device side is to always cache the last recieved raw SMS PDU when arrived and then reject the duplicated one when it comes again.
Component: Gaia::SMS → RIL
Flags: needinfo?(btseng)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: duplicate sms → We should ignore duplicated sms
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.