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.
Syntax
<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>
Attributes
Attribute | Data Type | Description |
---|---|---|
type |
string |
Phone type. The attribute value can be " |
Parent Element
Element | Description |
---|---|
The phone list containing this phone number. |
Child Elements
Element | Occurrence | Description |
---|---|---|
0 or more |
Whether the phone number is published or not. |
|
0 or more |
Whether the phone number is read-only or not. |
|
0 or more |
The URI of the phone. |
|
0 or more |
The display string of the phone number. |
|
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. |
0 or 1 |
Ending marker of all the schema extensions. |
|
0 or 1 |
Custom extension. |
Remarks
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.
Examples
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>