Skip to content

Contacts#

Default contacts.xml#

contacts.xml
1
2
3
<?xml version="1.0" encoding="utf-8"?>
  <contacts version="1.4.0">
  </contacts>

Commented File-structure#

contacts.xml
<?xml version="1.0" encoding="utf-8"?>
  <!-- List of all local contacts and contacts with extensions
       type: list -->
  <contacts version="1.4.0">
    <!-- a local contact
         parameters:
           uuid: primary key
               type: string -->
    <contact uuid="47297d7a-bb53-4d65-b77f-65fb584cc8f5">
      <!-- The name of the contact
           type: string -->
      <name>Name of Contact</name>
      <!-- A phone number entry
           type: string -->
      <number>0123456789</number>
      <!-- Contact source -->
      <extensionOf>ldap</extensionOf>
      <!-- The contact is starred, if it is a favorite contact
           type: boolean -->
      <starred>true</starred>
      <!-- Whether or not to issue a sip-subscription for the contact          
           type: boolean -->
      <dialogSubscription>true</dialogSubscription>
      <!-- Whether or not to signal presence states of the contact         
           type: boolean -->
      <presenceSubscription>true</presenceSubscription>
      <!-- Type of Number (like home, work, mobile, other, etc)
           type: string -->
      <phoneNumberType>home</phoneNumberType>
      <!-- Photo for the contact
           type: string -->
      <uri>http://example.org/contact_icon_user1.jpg</uri>
      <!-- Name of custom number type (only for <phoneNumberType>other</phoneNumberType>)
           type: string -->
      <customNumberLabel>Family</customNumberLabel>
      <!-- Address from which the camera images are obtained, with username and password if necessary.
           type: string -->
      <videoFeed>http://username:password@ip_address/path_to_the_video_stream</videoFeed>
      <!-- MJPEG format, only if you experience display problems
          type: boolean -->
      <useMjpegPlugin>true</useMjpegPlugin>
    </contact>
  </contacts>