This documentation is archived and is not being maintained.

ui:phone

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

A phone number of a user.

<ui:phone type="..."
     xmlns:ui="http://schemas.microsoft.com/2006/09/sip/options/userInformation">
  <ui:publish>true|false</ui:publish>
  <ui:readOnly>true|false</ui:readOnly>
  <ui:uri>...</ui:uri>
  <ui:displayString>...</ui:displayString>
...
</ui:phone>

Attribute Data Type Description

type

string

Phone type. The attribute value can be "work", "mobile", "home", "other" or "custom1".

Element Description

ui:phones

The phone list containing this phone number.

Element Occurrence Description

ui:publish

0 or more

Whether the phone number is published or not.

ui:readOnly

0 or more

Whether the phone number is read-only or not.

ui:uri

0 or more

The URI of the phone.

ui:displayString

0 or more

The display string of the phone number.

ct:delimiter

0 or more

Beginning marker of a schema extension. Each occurrence indicates a version the schema extension.

ui:any

0 or more

Schema extension. For each version of the extension, there can be zero or more such elements.

ct:end

0 or 1

Ending marker of all the schema extensions.

ct:extension

0 or 1

Custom extension.

This element supports the schema extensions and custom extension. Schema extensions can be made by inserting one or more elements in the same namespace between one or more ct:delimiter elements and a ct:end elements. Custom extension can be inserted by using a ct:extension element.

Description

The following XML fragment shows how to specify the user information options.

Code

<userInformation xmlns="http://schemas.microsoft.com/2006/09/sip/options/userInformation">
  <phones>
    <phone type="work">
      <publish>true</publish>
      <readOnly>false</readOnly>
      <displayString>7777777777</displayString>
    </phone>
    <phone type="mobile">
      <publish>true</publish>
      <readOnly>true</readOnly>
      <uri>1234567890</uri>
      <displayString>1234567890</displayString>
    </phone>
    <phone type="home">
      <publish>true</publish>
      <readOnly>true</readOnly>
      <uri>1234567890</uri>
      <displayString>1234567890</displayString>
    </phone>
    <phone type="other">
      <publish>true</publish>
      <readOnly>false</readOnly>
      <displayString>5555555555</displayString>
    </phone>
  </phones>
  <callHandlingList />
</userInformation> 

Concepts

cc:phone

Show: