Phones - XML Configuration 4.15.2+

Phones - XML Configuration 4.15.2+

XML Configuration

This section describes the formatting and options available when creating XML-based configuration files for provisioning Sangoma phones. 

The configuration elements provided in this section are subject to change between Sangoma Phone firmware releases.

 

<?xml version="1.0" ?> <config>     <setting id="config_server_url" value="sip:proxy@server.example.com:5060;transport=udp" />     <setting id="pbx_credentials" value="1" account_id="1234" host="server.example.com" user="1234" pass="my password" />     <setting id="login_password" value="789" />     <setting id="send_mac_with_useragent" value="0" />     <setting id="use_secure_labels" value="1" />     <setting id="time_zone" value="America/Los_Angeles" />     <setting id="ntp_server" value="0.digium.pool.ntp.org" />     <setting id="ntp_resync" value="86400" />     <setting id="ntp_prefer_option42" value="1" />     <setting id="accept_local_calls" value="any" />     <setting id="compact_sip_headers" value="0" />     <setting id="transport_udp_enabled" value="1" />     <setting id="transport_udp_port" value="5060" />     <setting id="transport_tcp_enabled" value="1" />     <setting id="transport_tcp_port" value="5060" />     <setting id="transport_tls_allowed" value="1" />     <setting id="transport_tls_port" value="5061" />     <setting id="tls_allow_wildcard_certs" value="1" />     <setting id="udp_ka_interval" value="60"/>     <setting id="call_rejection_code_dnd" value="486" />     <setting id="call_rejection_code_ignore" value="603" />     <setting id="logo_file" value="user" path="/user_image.png" url="https://server.example.com/mylogo.png" md5="126cd744583eeea1ab7e44ed8af3d39c" />         <setting id="wallpaper_file" value="user" path="/user_wallpaper.png" url="https://server.example.com/wallpaper.png" md5="126cd744583eeea1ab7e44ed8af3d39d" />     <setting id="display_mc_notification" value="1" />     <setting id="hide_completed_elsewhere" value="0" />     <setting id="idle_company_text" value="" />     <setting id="brightness" value="10" />     <setting id="enable_check_sync" value="1"/>     <setting id="dim_backlight" value="1" />     <setting id="backlight_timeout" value="30" />     <setting id="backlight_dim_level" value="2" />     <setting id="blf_page_return_timeout" value="0" />     <setting id="idle_return_timer" value="120" />     <setting id="locale" value="en_US" />     <setting id="time_short_format" value="h:mm a" />     <setting id="date_short_format" value="M/d/yy" />     <setting id="date_time_format" value="{1}, {0}" />     <setting id="date_long_format" value="EEE, MMM d" />     <setting id="ringer_volume" value="5" />     <setting id="speaker_volume" value="5" />     <setting id="handset_volume" value="5" />     <setting id="headset_volume" value="5" />     <setting id="reset_call_volume" value="0" />     <setting id="active_ringtone" value="Sangoma" />     <setting id="headset_answer" value="0" />     <setting id="ring_headset_only" value="0" />     <setting id="call_waiting_tone" value="1" />     <setting id="ehs" value="auto" />     <setting id="parking_lot_extension" value="700" />     <setting id="parking_lot_enable_blind_transfer" value="0" />     <setting id="contacts_max_subscriptions" value="40" />     <setting id="name_format" value="first_last" />     <setting id="blf_contact_group" value="Default" />     <setting id="expansion_enable" value="0"/>     <setting id="sidecar_class_c_net" value="172.20.0.0" />     <setting id="network_enable_dhcp" value="1" />     <setting id="network_static_ip_address" value="" />     <setting id="network_subnet_mask" value="" />     <setting id="network_default_gateway" value="" />     <setting id="network_domain_name" value="" />     <setting id="network_primary_dns_server" value="" />     <setting id="network_secondary_dns_server" value="" />     <setting id="network_disable_arping" value="0" />     <setting id="allow_insecure_ssl" value="0" />     <setting id="enable_tcp_sack" value="0" />     <setting id="network_vlan_discovery_mode" value="NONE" />     <setting id="network_vlan_id" value="44" />     <setting id="pc_vlan_id" value="10" />     <setting id="log_level" value="debug" />     <setting id="enable_logging" value="0" />     <setting id="log_server" value="10.1.2.3" />     <setting id="log_port" value="514" />     <setting id="web_ui_enabled" value="1" />     <setting id="sip_qos" value="3" />     <setting id="rtp_qos" value="6" />     <setting id="pc_qos" value="1" />     <setting id="sip_dscp" value="24" />     <setting id="rtp_dscp" value="46" />     <setting id="in_switchvox_environment" value="0" />     <setting id="server_environment" value="" />     <setting id="handshake_timeout" value="86400" />     <setting id="retransmit_until_response" value="0" />     <setting id="sip_notify_call_control" value="0" />     <setting id="8021x_method" value=""/>     <setting id="8021x_identity" value=""/>     <setting id="8021x_anonymous_identity" value=""/>     <setting id="8021x_password" value=""/>     <setting id="8021x_client_key" value="my-client-key"/>     <setting id="8021x_client_cert" value="my-client-cert"/>     <setting id="8021x_debug" value="" />     <setting id="network_default_enable_openvpn" value="0" />     <setting id="openvpn_inline_config" url="https://user:password@server.example.com/vpn/client.ovpn" value="1" md5="abc123" />     <setting id="wifi_enabled" value="0" />     <setting id="wifi_ssid" value="" />     <setting id="wifi_psk" value="" />     <setting id="wifi_security" value="None" />     <setting id="bluetooth_enabled" value="0" />     <setting id="config_recheck" value="0" idle_time="600" days="0123456" start_time="0200" hours="2" />     <events>         <event id="digium.incomingCall.voicemail" action="app" />         <event id="digium.parkingLot.parked" action="app" />     </events>     <keymap>         <state id="idle">             <softkeys>                 <key id="0" action="missed_or_call_log"/>                 <key id="1" action="show_application" label1="_CONTACTS">                     <arg>contacts</arg>                 </key>                 <key id="2" action="status"/>                 <key id="3" action="info"/>                 <key id="4" action="forward_calls" label1="_FORWARD"/>                 <key id="5" action="menu"/>             </softkeys>         </state>         <state id="hold">             <softkeys>                 <key id="0" action="resume"/>                 <key id="1" action="none"/>                 <key id="2" action="none"/>                 <key id="3" action="end_call"/>             </softkeys>         </state>         <state id="hold/transfer">             <softkeys>                 <key id="0" action="resume"/>                 <key id="1" action="show_application" label1="_CONTACTS">                     <arg>contacts</arg>                 </key>                 <key id="2" action="none"/>                 <key id="3" action="cancel_call"/>             </softkeys>         </state>         <state id="hold/conference">             <softkeys>                 <key id="0" action="resume"/>                 <key id="1" action="split_conference"/>                 <key id="2" action="none"/>                 <key id="3" action="end_call"/>             </softkeys>         </state>         <state id="hold/preconference">             <softkeys>                 <key id="0" action="resume"/>                 <key id="1" action="show_application" label1="_CONTACTS">                     <arg>contacts</arg>                 </key>                 <key id="2" action="none"/>                 <key id="3" action="end_call"/>             </softkeys>         </state>         <state id="incoming">             <softkeys>                 <key id="0" action="accept_call"/>                 <key id="1" action="reject_call"/>                 <key id="2" action="transfer_call"/>             </softkeys>         </state>         <state id="incoming/transfer">             <softkeys>                 <key id="0" action="show_application" label1="_CONTACTS">                     <arg>contacts</arg>                 </key>                 <key id="1" action="none"/>                 <key id="2" action="none"/>                 <key id="3" action="cancel_call"/>             </softkeys>         </state>         <state id="connected">             <softkeys>                 <key id="0" action="conference"/>                 <key id="1" action="none"/>                 <key id="2" action="none"/>                 <key id="3" action="end_call"/>             </softkeys>         </state>         <state id="connected/conference">             <softkeys>                 <key id="0" action="none"/>                 <key id="1" action="split_conference"/>                 <key id="2" action="none"/>                 <key id="3" action="end_call"/>             </softkeys>         </state>         <state id="connected/transfer">             <softkeys>                 <key id="0" action="transfer_call"/>                 <key id="1" action="none"/>                 <key id="2" action="none"/>                 <key id="3" action="end_call"/>             </softkeys>         </state>         <state id="dial">             <softkeys>                 <key id="0" action="toggle_url_number"/>                 <key id="1" action="show_application" label1="_CONTACTS">                     <arg>contacts</arg>                 </key>                 <key id="2" action="none"/>                 <key id="3" action="cancel_call"/>             </softkeys>         </state>         <state id="dial/conference">             <softkeys>                 <key id="0" action="none"/>                 <key id="1" action="show_application" label1="_CONTACTS">                     <arg>contacts</arg>                 </key>                 <key id="2" action="none"/>                 <key id="3" action="cancel_call"/>             </softkeys>         </state>         <state id="dial/transfer">             <softkeys>                 <key id="0" action="none"/>                 <key id="1" action="show_application" label1="_CONTACTS">                     <arg>contacts</arg>                 </key>                 <key id="2" action="none"/>                 <key id="3" action="cancel_call"/>             </softkeys>         </state>         <state id="dialing">             <softkeys>                 <key id="0" action="make_call"/>                 <key id="1" action="backspace"/>                 <key id="2" action="none"/>                 <key id="3" action="cancel_call"/>             </softkeys>         </state>         <state id="dialing/conference">             <softkeys>                 <key id="0" action="make_call"/>                 <key id="1" action="show_application" label1="_CONTACTS">                     <arg>contacts</arg>                 </key>                 <key id="2" action="backspace"/>                 <key id="3" action="cancel_call"/>             </softkeys>         </state>         <state id="dialing/transfer">             <softkeys>                 <key id="0" action="transfer_call"/>                 <key id="1" action="make_call"/>                 <key id="2" action="backspace"/>                 <key id="3" action="cancel_call"/>             </softkeys>         </state>         <state id="failed">             <softkeys>                 <key id="0" action="none"/>                 <key id="1" action="none"/>                 <key id="2" action="none"/>                 <key id="3" action="clear_call"/>             </softkeys>         </state>         <state id="calling">             <softkeys>                 <key id="0" action="none"/>                 <key id="1" action="none"/>                 <key id="2" action="none"/>                 <key id="3" action="end_call"/>             </softkeys>         </state>     </keymap>     <contacts url="https://server.example.com/myfile.xml" id="internal" md5="abcd123" />     <smart_blf>         <blf_items url="http://server.example.com/myblfitems.xml" />     </smart_blf>     <accounts>         <account server_uuid="0" index="0" status="1" register="1" account_id="100" username="100" authname="100" password="100" passcode="100" line_label="100 Alligator" caller_id="100 Alligator" dial_plan="[0-8]xxxxx|911|9411|9611|9011xxx.T3|91xxxxxxxxxx|9[2-9]xxxxxx|*xx.T3|[0-8]xx.T3" visual_voicemail="0" voicemail="sip:800@10.1.2.3" needMwiSubscription="1" plar_number="" ring_type="normal" subscription_extension="auto_hint_100" mwi_subscription_uri="" conflict="replace">             <host_primary server="10.10.2.108" port="" transport="udp" media_encryption="" reregister="300" retry="25">                 <outbound_proxy server="" port="" transport="" />             </host_primary>             <host_alternate server="10.1.2.3" port="" transport="udp" media_encryption="" reregister="300" retry="25" authname="" password="">                 <outbound_proxy server="" port="" transport="" />             </host_alternate>             <permission id="record_own_calls" value="0" />             <setting id="use_call_log_api" value="0" />             <setting id="call_log_fetch_entries" value="50" />             <setting id="parking_lot_extension" value="700" />             <setting id="parking_lot_enable_blind_transfer" value="0" />             <permission id="use_voicemail" value="1" />             <permission id="send_to_voicemail" value="1" />             <permission id="ignore_calls" value="1" />             <setting id="call_rejection_code_dnd" value="486" />             <setting id="call_rejection_code_ignore" value="603" />         </account>     </accounts>     <networks>         <network id="network1" display_name="Internal" cidr="192.168.8.0/24" />         <network id="network2" display_name="External" cidr="10.0.0.0/8" />         <network id="network3" display_name="All Networks" cidr="0.0.0.0/0" />     </networks>     <codecs>         <codec id="PCMU" priority="255" packetization="20" enabled="1" />         <codec id="PCMA" priority="13" packetization="20" enabled="1" />         <codec id="G722" priority="11" packetization="20" enabled="1" />         <codec id="G726-32" priority="7" packetization="20" enabled="1" />         <codec id="opus" priority="6" packetization="20" jitter_min="0" jitter_max="0" jitter_target="0" enabled="1" complexity="10" samplerate="wb" use_vbr="1" />         <codec id="G729" priority="5" packetization="20" jitter_min="0" jitter_max="0" jitter_target="0" enabled="1" />     </codecs>     <ringtones>         <tones>             <tone id="Alarm" display="Alarm" type="phone"/>             <tone id="Chimes" display="Chimes" type="phone"/>             <tone id="Sangoma" display="Sangoma" type="phone"/>             <tone id="GuitarStrum" display="Guitar Strum" type="phone"/>             <tone id="Jingle" display="Jingle" type="phone"/>             <tone id="Office" display="Office" type="phone"/>             <tone id="Office2" display="Office 2" type="phone"/>             <tone id="RotaryPhone" display="Rotary Phone" type="phone"/>             <tone id="SteelDrum" display="Steel Drum" type="phone"/>             <tone id="Techno" display="Techno" type="phone"/>             <tone id="Theme" display="Theme" type="phone"/>             <tone id="Tweedle" display="Tweedle" type="phone"/>             <tone id="Twinkle" display="Twinkle" type="phone"/>             <tone id="Vibe" display="Vibe" type="phone"/>         </tones>         <alerts>             <alert alert_info="normal" ringtone_id="Sangoma" ring_type="normal" />             <alert alert_info="ring-answer" ringtone_id="Sangoma" ring_type="ring-answer" />             <alert alert_info="intercom" ringtone_id="" ring_type="answer" />             <alert alert_info="visual" ringtone_id="" ring_type="visual" />         </alerts>     </ringtones>     <appconfig id="appscreen">         <application id="parking" />         <application id="status" />         <application id="contacts" />         <application id="call_log" />         <application id="forward_calls" />         <application id="hotdesking" />         <application id="mcastpage" />         <auto_start />     </appconfig>     <appconfig id="phonemenu">       <auto_start />     </appconfig>     <appconfig id="contacts">         <account account_id="101" username="101" password="1234" appserver="dasp://server.example.com/json" apiformat="json"/>         <display_rules>             <display_rule id="1" action_id="dial_vm" phone_state="idle" show="0"/>             <display_rule id="2" action_id="transfer_vm" show="0"/>             <display_rule id="3" action_id="transfer_vm" phone_state="transfer" show="1"/>         </display_rules>         <block_redial>             <action id="dial_vm" />             <action id="sendtovm" />             <action id="monitor" />             <action id="pickup" />         </block_redial>         <settings can_transfer_vm="1" name_format="last_first" preferred_contact_group="" />         <settings in_switchvox_environment="0" />         <auto_start />     </appconfig>     <appconfig id="status">         <account account_id="101" username="101" password="1234" appserver="dasp://server.example.com/json" apiformat="json"/>         <send_dnd status="" />         <auto_start />         <full_application />     </appconfig>     <appconfig id="parking">         <account account_id="101" username="101" password="1234" appserver="dasp://server.example.com/json" apiformat="json"/>         <auto_start />     </appconfig>     <appconfig id="hotdesking">         <account account_id="000000000000" username="000000000000" appserver="https://server.example.com/json" apiformat="json"/>     </appconfig>     <appconfig id="call_log">         <account account_id="101" username="101" password="1234" appserver="dash://server.example.com/json" apiformat="json"/>         <enabled />     </appconfig>     <firmwares>         <firmware model="P320" version="3_0_7" url="http://10.10.4.11/firmware/3_0_7_P320_firmware.eff" />         <firmware model="P325" version="2_8_0" url="http://10.10.4.11/firmware/3_0_7_P325_firmware.eff" />     </firmwares>     <public_firmwares>         <public_firmware model="P320" version="3_0_7" url="http://firmware.example.com/firmware/3_0_7_P320_firmware.eff" />         <public_firmware model="P325" version="3_0_7" url="http://firmware.example.com/firmware/3_0_7_P325_firmware.eff" />     </public_firmwares>     <multicastpage>         <listener id="1" extension="" name="SomePage" addr="239.0.0.1" port="32000" priority="1" interrupt_calls="0"/>         <listener id="2" extension="" name="All Page" addr="239.0.0.2" port="32000" priority="2" interrupt_calls="1"/>         <broadcast id="1" name="My Paging Group" addr="239.0.0.3" port="32000" codec="PCMU" />     </multicastpage>     <certs>         <cert id="1" label="my-ca" md5="abc123">MIICXQIBAAKB...XYZ</cert>         <clientcert id="1" label="my-client-cert" md5="abc123">MIICXQIBAAKB...XYZ</clientcert>         <clientkey id="1" label="my-client-key" type="RSA" md5="abc123">MIICXQIBAAKB...XYZ</clientkey>     </certs>     <activity_indicator>         <setting id="idle" color="amber" state="off" />         <setting id="default" color="amber" state="off" />         <setting id="hold" color="red" state="slow" />         <setting id="ringing" color="green" state="fast" />          <setting id="active" color="green" state="on" />         <setting id="new_vm" color="red" state="slow" />         <setting id="listen_vm" color="red" state="on" />         <setting id="leaving_vm" color="amber" state="slow" />         <setting id="screen_vm" color="amber" state="on" />         <setting id="announcement" color="amber" state="fast" />     </activity_indicator>     <use_proxy_for network="10.10.0.0/20" network_id="network1" host="10.1.2.3" use="0" /> </config>

Setting Elements

<?xml version="1.0" ?> <config>     <setting id="config_server_url" value="sip:proxy@server.example.com:5060;transport=udp" />     <setting id="pbx_credentials" value="1" account_id="1234" host="server.example.com" user="1234" pass="my password" />     <setting id="login_password" value="789" />     <setting id="send_mac_with_useragent" value="0" />     <setting id="use_secure_labels" value="1" />     <setting id="time_zone" value="America/Los_Angeles" />     <setting id="ntp_server" value="0.digium.pool.ntp.org" />     <setting id="ntp_resync" value="86400" />     <setting id="ntp_prefer_option42" value="1" />     <setting id="accept_local_calls" value="any" />     <setting id="compact_sip_headers" value="0" />     <setting id="transport_udp_enabled" value="1" />     <setting id="transport_udp_port" value="5060" />     <setting id="transport_tcp_enabled" value="1" />     <setting id="transport_tcp_port" value="5060" />     <setting id="transport_tls_allowed" value="1" />     <setting id="transport_tls_port" value="5061" />     <setting id="tls_allow_wildcard_certs" value="1" />     <setting id="udp_ka_interval" value="60"/>     <setting id="call_rejection_code_dnd" value="486" />     <setting id="call_rejection_code_ignore" value="603" />     <setting id="logo_file" value="user" path="/user_image.png" url="https://server.example.com/mylogo.png" md5="126cd744583eeea1ab7e44ed8af3d39c" />     <setting id="wallpaper_file" value="user" path="/user_wallpaper.png" url="https://server.example.com/wallpaper.png" md5="126cd744583eeea1ab7e44ed8af3d39d" />     <setting id="display_mc_notification" value="1" />     <setting id="hide_completed_elsewhere" value="0" />     <setting id="idle_company_text" value="" />     <setting id="brightness" value="10" />     <setting id="enable_check_sync" value="1"/>     <setting id="dim_backlight" value="1" />     <setting id="backlight_timeout" value="30" />     <setting id="backlight_dim_level" value="2" />     <setting id="blf_page_return_timeout" value="0" />     <setting id="idle_return_timer" value="120" />     <setting id="locale" value="en_US" />     <setting id="time_short_format" value="h:mm a" />     <setting id="date_short_format" value="M/d/yy" />     <setting id="date_time_format" value="{1}, {0}" />     <setting id="date_long_format" value="EEE, MMM d" />     <setting id="ringer_volume" value="5" />     <setting id="speaker_volume" value="5" />     <setting id="handset_volume" value="5" />     <setting id="headset_volume" value="5" />     <setting id="reset_call_volume" value="0" />     <setting id="active_ringtone" value="Sangoma" />     <setting id="headset_answer" value="0" />     <setting id="ring_headset_only" value="0" />     <setting id="call_waiting_tone" value="1" />     <setting id="ehs" value="auto" />     <setting id="parking_lot_extension" value="700" />     <setting id="parking_lot_enable_blind_transfer" value="0" />     <setting id="contacts_max_subscriptions" value="40" />     <setting id="name_format" value="first_last" />     <setting id="blf_contact_group" value="Default" />     <setting id="expansion_enable" value="0" />     <setting id="sidecar_class_c_net" value="172.20.0.0" />     <setting id="network_enable_dhcp" value="1" />     <setting id="network_static_ip_address" value="" />     <setting id="network_subnet_mask" value="" />     <setting id="network_default_gateway" value="" />     <setting id="network_domain_name" value="" />     <setting id="network_primary_dns_server" value="" />     <setting id="network_secondary_dns_server" value="" />     <setting id="network_disable_arping" value="0" />     <setting id="allow_insecure_ssl" value="0" />     <setting id="enable_tcp_sack" value="0" />     <setting id="network_vlan_discovery_mode" value="NONE" />     <setting id="network_vlan_id" value="44" />     <setting id="pc_vlan_id" value="10" />     <setting id="log_level" value="debug" />     <setting id="enable_logging" value="0" />     <setting id="log_server" value="10.1.2.3" />     <setting id="log_port" value="514" />     <setting id="web_ui_enabled" value="1" />     <setting id="sip_qos" value="3" />     <setting id="rtp_qos" value="6" />     <setting id="pc_qos" value="1" />     <setting id="sip_dscp" value="24" />     <setting id="rtp_dscp" value="46" />     <setting id="in_switchvox_environment" value="0" />     <setting id="server_environment" value="" />     <setting id="handshake_timeout" value="86400" />     <setting id="retransmit_until_response" value="0" />     <setting id="sip_notify_call_control" value="0" />     <setting id="8021x_method" value=""/>     <setting id="8021x_identity" value=""/>     <setting id="8021x_anonymous_identity" value=""/>     <setting id="8021x_password" value=""/>     <setting id="8021x_client_key" value="my-client-key"/>     <setting id="8021x_client_cert" value="my-client-cert"/>     <setting id="8021x_debug" value="" />     <setting id="network_default_enable_openvpn" value="0" />     <setting id="openvpn_inline_config" url="https://user:password@server.example.com/vpn/client.ovpn" value="1" md5="abc123" />     <setting id="wifi_enabled" value="0" />     <setting id="wifi_ssid" value="" />     <setting id="wifi_psk" value="" />     <setting id="wifi_security" value="None" />     <setting id="bluetooth_enabled" value="0" />     <setting id="config_recheck" value="0" idle_time="600" days="0123456" start_time="0200" hours="2" /> </config>

Each <setting> element represents at least an id and value pair of attributes. Some <setting> tags may have additional attributes.

General (Login)

Option

Values

Description

Models

Option

Values

Description

Models

config_server_url

The URL of the DPMA / Switchvox config server in the format:
sip:proxy@host:port;transport=xyz

or:

[protocol://][user:password@]server[:port][/path] 

For phones attached to DPMA or Switchvox, contains the URL path to the config server. Transport type is dependent upon model and firmware version. sip:proxy is a literal.

Specifies the URL string that the Sangoma phone's cURL application will call in order to retrieve the phone's configuration file.

No default. 

P310, P315, P320, P325, P330, P370

pbx_credentials

value as string
account_id per Switchvox
host as the Switchvox hostname
user as the Switchvox account username
pass as the Switchvox account API password 

For Switchvox-connected phones only, specifies the set of credentials used by an application when the use_pbx_credentials appconfig parameter is true. This should be omitted for phones connecting to something other than Switchvox.

No default.

P310, P315, P320, P325, P330, P370

login_password

Integer, e.g. 789

Sets the Admin Password for logging into Web UI or Admin Settings Section on Phone Menu.

Defaults to 789

P310, P315, P320, P325, P330, P370

send_mac_with_useragent

boolean

If 1, the phone will send its MAC address long with its Model and Firmware version in any cURL User-Agent requests that it makes.

Defaults to 0.

P310, P315, P320, P325, P330, P370

use_secure_labels

boolean

If 1, the phone will replace the config fetch URL with "Server" or "Fetching" onboot.

Defaults to 1

P310, P315, P320, P325, P330

General (Time)

Option

Values

Description

Models

Option

Values

Description

Models

time_zone

Timezone String, e.g. America/Chicago

Sets the time zone for the phone.

Defaults to America/Los_Angeles

P310, P315, P320, P325, P330, P370

ntp_server

Hostname or IP address, e.g. 0.digium.pool.ntp.org

Sets the NTP server to which the phone will synchronize itself.

Defaults to 0.digium.pool.ntp.org

P310, P315, P320, P325, P330, P370

ntp_resync

Seconds as integer, e.g. 86400

Sets the interval between NTP synchronization.

Defaults to 86400.

P310, P315, P320, P325, P330, P370

ntp_prefer_option42

boolean

If 1, the phone will prefer and use an IPv4 address, not host name, NTP server, first server only and not multiple servers, as provided by DHCP Option 42. If 0, the phone will ignore DHCP Option 42.

Defaults to 1.

P310, P315, P320, P325, P330, P370

General (SIP)

Option

Values

Description

Models

Option

Values

Description

Models

accept_local_calls

any / host

Sets whether to accept calls from any source or only from hosts to which the phone is registered.

Defaults to any.

P310, P315, P320, P325, P330, P370

compact_sip_headers

boolean, Defaults to 0

If enabled, causes the phone to utilize the compact form of SIP headers, rather than the expanded form, as well as causing the phone not to enumerate the statically defined codec payload types

P310, P315, P320, P325, P330, P370

transport_udp_enabled

boolean

If 1, enables UDP SIP transport. If 0, disables UDP SIP transport.

Defaults to 1

P310, P315, P320, P325, P330, P370

transport_udp_port

Valid integer for ports (1-65535)

Sets the local UDP SIP port.

Defaults to 5060

P310, P315, P320, P325, P330, P370

transport_tcp_enabled

boolean

If 1, enables TCP SIP transport. If 0, disables TCP SIP transport.

Defaults to 1

P310, P315, P320, P325, P330, P370

transport_tcp_port

Valid integer for ports (1-65535 )

Sets the local TCP SIP port.

Defaults to 5060

P310, P315, P320, P325, P330, P370

transport_tls_allowed

boolean

If 1, enables TLS SIP transport. If 0, disables TLS SIP transport.

Defaults to 1

P310, P315, P320, P325, P330, P370

transport_tls_port

Valid integer for ports (1-65535)

Sets the local TLS SIP port.

Defaults to 5061

P310, P315, P320, P325, P330, P370

tls_allow_wildcard_certs

boolean, defaults to 1

When enabled, SIP TLS signaling will accept a wildcard certificate as valid, contrary to RFC 5922 section 7.2

P310, P315, P320, P325, P330, P370

udp_ka_interval

integer, in seconds

Sets the UDP keep alive interval, at which the phone will send CR-LF to the registered server.

Defaults to 0, never.

P310, P315, P320, P325, P330, P370

call_rejection_code_dnd

integer

Specifies the SIP code to be returned when this account returns DND state on an incoming call.
Defaults to 486
Can also be set globally as a setting

P310, P315, P320, P325, P330, P370 (4_14_0)

call_rejection_code_ignore

integer

Specifies the SIP code to be returned when the user Ignores an incoming call to this account.
Defaults to 603
Can also be set globally as a setting

P310, P315, P320, P325, P330, P370 (4_14_0)

Preferences (Idle Screen)

Option

Values

Description

Models

Option

Values

Description

Models

logo_file

value as "factory" or "user"
path as location on disk of file
url as optional location to fetch a logo in PNG format
md5 as optional when url is used to determine if logo has changed to avoid re-fetching 

Sets the idle screen logo
value defaults to factory
path defaults to "/factory_asterisk.png" and should be "/user_image.png" for custom

300x170 pixels for P320 and P325
144x86 pixels for P330 
800x1280 pixels for P370 

P310, P315, P320, P325, P330 (4_9_0)
P370 (4_11_1) 

wallpaper_file

value as "factory" or "user"
path as location on disk of file
url as optional location to fetch a logo
md5 as optional when url is used to determine if wallpaper has changed to avoid re-fetching

Sets the wallpaper.
value defaults to factory.
path defaults to "/factory_wallpaper.png" and should be "/user_wallpaper.png" for custom

P310, P315, P320, P325, P330 (4_14_0)

display_mc_notification

boolean

If 1, enables display of missed calls. If 0, disables display of missed calls.

Defaults to 1

P310, P315, P320, P325, P330, P370

hide_completed_elsewhere

boolean

If 1, the phone to not register a call, missed or otherwise, when receiving RFC 3326 "Call completed elsewhere" SIP Reason. If 0, all calls that are canceled from the remote side before answer by the local phone will show as missed.

Defaults to 0.

P310, P315, P320, P325, P330, P370 (4_11_1)

idle_company_text

string

When set, the phone will display this string in its status bar while idle and no other status notification icons are active.

No default.

P310, P315, P320, P325, P330

Preferences (Display)

Option

Values

Description

Models

Option

Values

Description

Models

brightness

integer (1-10)

Sets the LCD screen brightness

Defaults to 5

P310, P315, P320, P325, P330, P370

enable_check_sync

boolean

If 1, the phone will perform a reconfigure when sent a check-sync SIP NOTIFY Event from the server to which it is registered. This option is affected by the accept_calls_option. When the accept_any_calls option is set to "host," only check-sync Events from registered hosts will be acted upon. When the accept_any_calls option is set to "any," any check-sync Event from any host will be acted upon. If 0, the phone will ignore check-sync events.

Defaults to 1.

P310, P315, P320, P325, P330, P370

dim_backlight

boolean

If 1, the screen will dim after the backlight timeout has been reached and phone is otherwise idle. If 0, the phone will not dim the screen.

Defaults to 1

P310, P315, P320, P325, P330, P370

backlight_timeout

integer (0-3200)

Time, in seconds, before backlight is set to backlight_dim_level while phone is idle; setting to 0 disables backlight timeout.

Defaults to 0

P310, P315, P320, P325, P330, P370

backlight_dim_level

integer (0-10)

Brightness level dims to when when dim_backlight is true.

Defaults to 2

P310, P315, P320, P325, P330, P370

blf_page_return_timeout

integer (0-60)

Time, in seconds, that elapses before a D65 will return to its first page of rapid dial favorites.

Defaults to 0 (never return).

P310, P315, P320, P325, P330 (4_7_0)

idle_return_timer

integer

Time, in seconds, at which phone, if idle, will return from a foregrounded app to the home screen.

Defaults to 120

P310, P315, P320, P325, P330 (4_9_0)

Preferences (Localization)

Option

Values

Description

Models

Option

Values

Description

Models

locale

de_DE, en_AU, en_CA, en_GB, en_NZ, en_US, es_ES, es_MX, fr_BE, fr_CA, fr_FR, it_IT, nl_BE, nl_NL, pt_BR, pt_PT, ru_RU

Specifies the locale used by the phone.

Defaults to en_US.

P310, P315, P320, P325, P330, P370

time_short_format

an ICU date/time pattern

Sets the time format used by the phone when displaying the small clock. This setting is normally controlled by the phone's configured locale.

Defaults to h:mm a

P310, P315, P320, P325, P330, P370

date_short_format

an ICU date/time pattern

Sets the date format used by the phone when displaying the short date. This setting is normally controlled by the phone's configured locale.

Defaults to M/d/yy

P310, P315, P320, P325, P330, P370

date_time_format

string

Sets the date and time format used by the phone. This setting is normally controlled by the phone's configured locale. {0} represents time, and {1} represents the date.

Defaults to {1}, {0}

P310, P315, P320, P325, P330, P370

date_long_format

an ICU date/time pattern

Sets the date format used by the phone on its idle screen. This setting is normally controlled by the phone's configured locale.
Defaults to EEE, MMM d 

P310, P315, P320, P325, P330, P370

ICU Date Patterns

An ICU date/time pattern may contain the following character sequences:

a : am/pm d : day of month (1 - 31) dd : day of month (01 - 31) EEE : day of week abbreviated EEEE : day of week full name h : 12 hour clock hour of day (1 - 12) hh : 12 hour clock hour of day (01 - 12) m : minutes of hour (00 - 59) mm : minutes of hour (00 - 59) M : month of year (1 - 12) MM : month of year (01 - 12) MMM : month of year, abbreviated (Jan, Feb, etc.) MMMM : month of year (January, February, etc.) s : seconds of minute (01 - 59) ss : seconds of minute (01 - 59) yy : 2 digit year, no century yyyy : 4 digit year zzz : timezone abbreviation (may not conform to ICU) zzzz : timezone full name (may not conform to ICU) '' : Characters between single quotes are considered literal strings. No substitutions are performed.

Matching of ICU pattern characters is greedy, e.g. "yyyyy" will be converted to "2012y"

Preferences (Sounds)

Option

Values

Description

Models

Option

Values

Description

Models

ringer_volume

integer (0-10)

Sets the ringer volume.

Defaults to 5

P310, P315, P320, P325, P330, P370

speaker_volume

integer (1-10)

Sets the speaker volume.

Defaults to 5

P310, P315, P320, P325, P330, P370

handset_volume

integer (1-10)

Sets the handset volume.

Defaults to 5

P310, P315, P320, P325, P330, P370

headset_volume

integer (1-10)

Sets the headset_volume.

Defaults to 5

P310, P315, P320, P325, P330, P370

reset_call_volume

boolean

If 1, volume changes made during a call do not persist to the next call. If 0, volume changes made during a call persist for subsequent calls.

Defaults to 0

P310, P315, P320, P325, P330, P370

active_ringtone

Tone ID from <tones> provided to phone

Sets the current user-selected ringtone.

Defaults to Sangoma

P310, P315, P320, P325, P330, P370

Preferences (Answering Calls)

Option

Values

Description

Models

Option

Values

Description

Models

headset_answer

boolean

If 1, the phone will use direct calls answered using the Answer soft key to the headset, rather than the handsfree speaker. If 0, the phone will direct calls answered using the Answer soft key to the handsfree speaker.

Defaults to 0

P310, P315, P320, P325, P330, P370

ring_headset_only

boolean

If 1, the phone will play ringing tones out the headset interface. If 0, the phone will play ringing tones out the handsfree speaker.

Defaults to 0

P310, P315, P320, P325, P330, P370

call_waiting_tone

boolean

If 1, the phone will play a call waiting tone when other calls are received. If 0, the phone phone will not playback a call waiting tone

Defaults to 1.

P310, P315, P320, P325, P330, P370

ehs

auto, jabra_iq, plantronics

Defines the Electronics Hookswitch type to support.

Defaults to auto.

P310, P315, P320, P325, P330, P370

parking_lot_extension

string

For Switchvox and DPMA environments, specifies the lot in which a call is transferred using the Park soft key. This option must be defined also, duplicating the account-level parking_lot_extension setting.

No default.

P310, P315, P320, P325, P330, P370

parking_lot_enable_blind_transfer

boolean

For Switchvox and DPMA environments, specifies the type of call parking transfer to perform. If 1, a blind transfer will be performed. If 0, an attended transfer will be performed. This option must be defined also, duplicating the account-level parking_lot_enable_blind_transfer setting.

Defaults to 0.

P310, P315, P320, P325, P330, P370

Contacts

Option

Values

Description

Models

Option

Values

Description

Models

contacts_max_subscriptions

integer, e.g. 40

Sets the maximum number of SUBSCRIBEs the phone will perform for contacts.

Defaults to 40.

P310, P315, P320, P325, P330, P370

name_format

first_last, last_first

Formats the display of contact names.

Defaults to first_last

P310, P315, P320, P325, P330, P370