Table of contents
TOC
Collapse the table of content
Expand the table of content

Permanent SMS message failures

Last Updated: 12/12/2016

Partners can mark SMS message failures as permanent failures so that the user will not be given the option to attempt to resend the SMS.

Constraints: None
This customization supports: per-IMSI value, per-device value

Instructions:

  1. Create a customization answer file using the contents shown in the following code sample.

    <?xml version="1.0" encoding="utf-8" ?>  
    <ImageCustomizations xmlns="http://schemas.microsoft.com/embedded/2004/10/ImageUpdate"  
                         Name="PermanentSMSMessageFailures"  
                         Description="Use to mark SMS message failures as permanent failures so that users cannot attempt to resend the SMS."  
                         Owner=""  
                         OwnerType="OEM"> 
    
    <!-- Use for the per-IMSI case 
    
      <!-- Define the Targets --> 
      <Targets>
         <Target Id="">
            <TargetState>
               <Condition Name="" Value="" />
               <Condition Name="" Value="" />
            </TargetState>
         </Target>
      </Targets>
    
      <Static>
        <Settings Path="Multivariant">
          <Setting Name="Enable" Value="1" />
        </Settings>
        <Settings Path="AutoDataConfig">
          <Setting Name="Enable" Value="0" />
        </Settings>
      </Static>
    
      <!-- Specify the Variant -->
      <Variant Name=""> 
        <TargetRefs>
          <TargetRef Id="" /> 
        </TargetRefs>
    
        <Settings Path="CellCore/PerIMSI/$(__IMSI)/SMS">  
          <Setting Name="3GPP2/ErrorHandling/UseReservedAsPermanent" Value="" />
        </Settings>  
    
      </Variant>
    
    -->
    
    <!-- Use for the per-device case
    
      <Static>  
        <Settings Path="CellCore/PerDevice/SMS">  
          <Setting Name="3GPP2/ErrorHandling/UseReservedAsPermanent" Value="" />
        </Settings>  
      </Static>
    
    -->
    
    </ImageCustomizations>
    
  2. Specify an Owner.

  3. Determine if you need to use the per-IMSI or per-device setting.

    For the per-IMSI case:

    1. Define Targets or conditions for when a variant can be applied, such as keying off a SIM's MCC, MNC, and SPN.

    2. Define settings for a Variant, which are applied if the associated target's conditions are met.

  4. Set the 3GPP2/ErrorHandling/UseReservedAsPermanent to one of the following values:

    ValueDescription

    1 or 'Yes'

    Marks SMS failures as permanent. This disables the UI option that allows the user to attempt to resend the SMS message.

    0 or 'No'

    Does not mark SMS failures as permanent.

Testing:

  1. Flash the build containing this customization to a device with a UICC.

  2. Open the messaging application and attempt to send a message to a number that will result in an SMS failure.

  3. Verify that the user option to resend the message does not show up.

    Note
    Work with your mobile operator to fully test this customization.

Send comments about this topic to Microsoft

© 2017 Microsoft