Digium D40/D45 - MAC request

From MiRTA PBX documentation
Jump to navigation Jump to search
<?xml version="1.0" ?>
<config>
  <setting id="login_password" value="{$adminpw|222222}" />
  <setting id="time_zone" value="America/New_York" />
  <setting id="time_source" value="ntp" />
  <setting id="ntp_server" value="0.us.pool.ntp.org" />
  <setting id="ntp_resync" value="86400" />
  <setting id="enable_blf_on_unused_line_keys" value="0" />
  <setting id="blf_contact_group" value="Default" />
  <setting id="logo_file" value="user" path="/user_image.png" url="http://pbx.somecompnay.com/pbx/autoprovision/{$provisioning_password}/logo_digium_d40"/>
  <setting id="accept_local_calls" value="host" />
  <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="display_mc_notification" value="{$missed_call_log|0|select|No=0,Yes=1}" />
  <setting id="brightness" value="10" />
  <setting id="contrast" value="10" />
  <setting id="dim_backlight" value="1" />
  <setting id="backlight_timeout" value="30" />
  <setting id="backlight_dim_level" value="2" />
  <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="default_ringtone" value="Digium" />
  <setting id="active_ringtone" value="Digium" />
  <setting id="headset_answer" value="0" />
  <setting id="desi_strip_enable" value="1" />
  <setting id="name_format" value="first_last" />
  <setting id="contacts_max_subscriptions" value="10" />
  <setting id="blf_contact_group" value="Default" />
  <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_vlan_discovery_mode" value="NONE" network="10.10.0.0/16" />
  <setting id="sip_qos" value="0" />
  <setting id="rtp_qos" value="0" />
  <setting id="pc_qos" value="0" />
  <setting id="network_vlan_id" value="44" />
  <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="{$webinterface|0|select|No=0,Yes=1}" />
  <setting id="sip_dscp" value="24" />
  <setting id="rtp_dscp" value="46" />
  <setting id="udp_ka_interval" value="60" />
  <setting id="enable_check_sync" value="1" />
  <setting id="locale" value="en_US" />
  <setting id="ehs" value="auto" />
  <setting id="enable_check_sync" value="1" />
  <MiscSettings>
  </MiscSettings>
  <codecs>
    <codec id="PCMU" priority="255" packetization="20" jitter_min="0" jitter_max="0" jitter_target="0" enabled="1" />
    <codec id="PCMA" priority="13" packetization="20" jitter_min="0" jitter_max="0" jitter_target="0" enabled="1" />
    <codec id="G722" priority="11" packetization="20" jitter_min="0" jitter_max="0" jitter_target="0" enabled="1" />
    <codec id="G726-32" priority="7" packetization="20" jitter_min="0" jitter_max="0" jitter_target="0" enabled="1" />
    <codec id="G729" priority="4" packetization="20" jitter_min="0" jitter_max="0" jitter_target="0" enabled="1" />
    <codec id="L16" priority="2" packetization="20" jitter_min="0" jitter_max="0" jitter_target="0" enabled="1" />
    <codec id="L16-256" priority="1" packetization="20" jitter_min="0" jitter_max="0" jitter_target="0" enabled="1" />
  </codecs>
  <contacts url="http://pbx.somecompany.com/pbx/autoprovision/{$provisioning_password}/{$mac}-directory.xml" id="internal" />
 <smart_blf>
 </smart_blf>
  <firmwares>
    <firmware model="D50" version="2_0_2_0_78957" url="http://pbx.somecompany.com/pbx/autoprovision/{$provisioning_password}/DigiumD50" />
    <firmware model="D70" version="2_0_2_0_78957" url="http://pbx.somecompany.com/pbx/autoprovision/{$provisioning_password}/DigiumD70" />
    <firmware model="D40" version="2_0_2_0_78957" url="http://pbx.somecompany.com/pbx/autoprovision/{$provisioning_password}/DigiumD40" />
    <firmware model="D45" version="2_0_2_0_78957" url="http://pbx.somecompany.com/pbx/autoprovision/{$provisioning_password}/DigiumD45" />
  </firmwares>
  <ringtones>
  <tones>
      <tone id="Alarm" display="Alarm" type="phone" />
      <tone id="Chimes" display="Chimes" type="phone" />
      <tone id="Digium" display="Digium" 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="Digium" ring_type="normal" />
      <alert alert_info="ring-answer" ringtone_id="Digium" ring_type="ring-answer" />
     <alert alert_info="intercom"  ringtone_id=""  ring_type="answer" />
      <alert alert_info="visual"  ringtone_id=""  ring_type="visual" />
      </alerts>
  </ringtones>
<accounts>
  {line_loop} 
    <account
      index="{$line_m1}"
      status="{$line_active}"
      register="1"
      account_id="{$line}"
      username="{$authname}"
      authname="{$authname}"
      password="{$secret}"
      passcode="{$secret}"
      line_label="{$displayname}"
      caller_id="{$username}"
      voicemail = *97
      dial_plan="911|011xxxx.T3|1xxxxxxxxxx|[2-9]xxxxxxxxx|*xx.T3|**xx.T3"
      visual_voicemail="0"
      outbound_proxy=""
      outbound_port=""
      conflict="replace"
      >
      <host_primary
        server="pbx.somecompany.com"
        port="5060"
        transport="udp"
        reregister="300"
        retry="25"
        num_retries="5"
        />
    </account>
   {/line_loop} 
</accounts>
</config>