Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: remove mention of unsupported editable flag

...

Code Block
xml
xml
borderStylesolid
titleXML Contact Example
<phonebooks>
    <contacts group_name="PBX Directory" editable="0" id="0">
        <contact
            server_uuid="abcdefg123"
            id="104"
            prefix="Mr"
            first_name="Robert"
            second_name="Davis"
            last_name="Jones"
            suffix="III"
            contact_type="sip"
            organization="Digium"
            job_title="Direction Manager"
            location="East Texas"
            notes="A rapscallion"
            account_id="104"
            subscribe_to="sip:104@1.2.3.4"
        >
            <emails>
                <email address="rdj@mycompany.com" label="Work" primary="1" />
            </emails>
            <actions>
                <action id="primary" dial="104" dial_prefix="800555" label="Extension" name="Office" />
                <action id="send_to_vm" dial="104" dial_prefix="" label="Voicemail" name="Dial Voicemail">
                    <headers>
                        <header key="X-Digium-Call-Feature" value="feature_send_to_vm" />
                        <header key="Diversion" value="&lt;sip:%_ACCOUNT_USERNAME_%@%_ACCOUNT_SERVER_%:%_ACCOUNT_PORT_%&gt;;reason=&quot;send_to_vm&quot;" />
                    </headers>
                </action>
             </actions>
        </contact>
     </contacts>
    <contacts group_name="Default" editable="1" id="Default">
    ....
    </contacts>
    <contacts group_name="Family Members" editable="1" id="anythingyouwant">
    ....
    </contacts>
</phonebooks>

...

Option

Values

Description

group_name

string

Defines the name of a contacts group. This name is used in the Contacts application to organize contacts by group

editable

boolean

Sets whether or not the group can be editable from the phone. Defaults to 0. Not currently supported.

id

string

Unique identifier for a group

...