Partager via


2.2.8.2 Location Profile Rule Element

Each location profile Rule element MUST include Pattern and Translation elements. The Pattern element is a regular expression that uses the regular expression syntax defined in [MC-RegEx]. The Translation element is a replacement pattern that uses the replacement pattern syntax defined in [MC-RegEx].

The Rule element can also contain the following elements:

InternalEnterpriseExtension: Element that, if true, indicates that the phone number obtained as a result of applying this rule corresponds to an internal enterprise number. If the value of this element is false, the phone number obtained as a result of applying this rule cannot be assumed to be an internal enterprise number.<5>

ApplicableForDeviceDialing: Element that, if true, indicates that the device can use the rule for optimized dialing. If the value of this element is false, the device cannot use this rule for optimized dialing.<6>

  <xsd:complexType name="RuleType">
    <xsd:sequence>
      <xsd:element name="Pattern"   type="xsd:string"/>
      <xsd:element name="Translation" type="xsd:string"/>
      <xsd:element name="InternalEnterpriseExtension" type="xsd:boolean" minOccurs="0"/>
      <xsd:element name="ApplicableForDeviceDialing" type="xsd:boolean" minOccurs="0"/>
    </xsd:sequence>
  </xsd:complexType>