Compartilhar via


Configuration Data Store Example XML (Windows CE 5.0)

Send Feedback

The IVoIPConfigurationDataStore::UpdateSettingsFromXML and IVoIPConfigurationDataStore::UpdateSettingsFromFile methods expect an XML fragment that contains information to be used to update the data store.

The following XML fragment shows all elements understood by these methods:

<VoIPConfiguration>
  <username>John Doe</username>
  <local_area_codes>425;206;</local_area_codes>
  <voicemail_uri>sip:2000@vmserver</voicemail_uri>
  <dial_out_prefix>9</dial_out_prefix>
  <sip_uri>sip:myusername@mycompany.com</sip_uri>
  <sip_server>mysipserver.mycompany.com</sip_server>
  <sip_transport_type>TLS</sip_transport_type>
  <sip_auth>Kerberos NTLM digest LogonCred</sip_auth>
  <sip_account>mydomain\myusername</sip_account>
  <exchange_owaserver>https://mail.mycompany.com</exchange_owaserver>
  <exchange_http_proxy>myhttpproxy</exchange_http_proxy>
  <presence_uri>sip:myusername@mycompany.com</presence_uri>
  <presence_server>server.mycompany.com</presence_server>
  <sms_server>smsserver</sms_server>
</VoIPConfiguration>

The CONFIG_DATA_ topic provides the XML element name for each data store element and contains more information about each element in this example.

Note   This example includes all elements that can exist in XML that can be passed to the UpdateSettingsFromXML and UpdateSettingsFromFile. You can pass any or all of these settings. You can also use the fSettingsToUpdate parameter of these methods to update only the data store with specified settings, even when you pass XML that contains additional settings.

See Also

IP Phone Provisioning

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.