2009/8/3 Denis Kenzior <denkenz(a)gmail.com>:
Lets go with two attributes. It should give the UI a chance to
indicators differently, depending on what the carrier supports.
> Err, yes we can, but then we don't account for the little corner cases
> like the two mentioned:
> * Special Message Indication IEI says discard the message but DCS
> says store it.
Sure we do,
discard = extract_discard_from_iei_data
// Quote relevant part of the spec here
if mwi_dcs_decode(sms, ... ,dcsdiscard)
discard = discard || dcsdiscard <--- here
True, now the order of the checks is changed to what you suggested.
If there's an enhanced voicemail IEI then we don't check for other
types of mailboxes, such as email but I suppose it's okay because even
if they're used, they'll very rarely be all in the same message.