<flat-profile>

####
# this section is basically the admin -> advanced -> phone tab
# excluding the ldap dir and xml service which is in the generic file

###################################################################################
# Set the station name here, add the [p] to show the phone is provision
<Station_Name group="Phone/General">Build Room</Station_Name>
<Station_Display_Name group="Phone/General">Build Room</Station_Display_Name>
###################################################################################

<Line_Enable_1_ group="Ext_1/General">Yes</Line_Enable_1_>
<Line_Enable_2_ group="Ext_2/General">No</Line_Enable_2_>
<Line_Enable_3_ group="Ext_3/General">No</Line_Enable_3_>
<Line_Enable_4_ group="Ext_4/General">No</Line_Enable_4_>

<Resync_At__HHmm_ ua="na">0430</Resync_At__HHmm_>

<Connection_Type group="System/Internet_Connection_Type_">DHCP</Connection_Type>
<DNS_Server_Order group="System/Optional_Network_Configuration">Manual</DNS_Server_Order>
<Primary__DNS group="Info/System_Information">8.8.8.8</Primary__DNS>
<Secondary__DNS group="Info/System_Information">8.8.4.4</Secondary__DNS>

<Use_DNS_SRV_1_ group="Ext_2/Proxy_and_Registration">Yes</Use_DNS_SRV_1_>
<Use_DNS_SRV_1_ group="Ext_1/Proxy_and_Registration">Yes</Use_DNS_SRV_1_>

<EXT_SIP_Port_Min group="SIP/NAT_Support_Parameters"></EXT_SIP_Port_Min>
<EXT_SIP_Port_Max group="SIP/NAT_Support_Parameters"></EXT_SIP_Port_Max>
<EXT_RTP_Port_Min group="SIP/NAT_Support_Parameters"></EXT_RTP_Port_Min>
<EXT_RTP_Port_Max group="SIP/NAT_Support_Parameters"></EXT_RTP_Port_Max>

###################################################################################
#Specific to the phone, naming each of the soft buttons on the right hand side
<Extension_1_ group="Phone/Line_Key_1">1</Extension_1_>
<Short_Name_1_ group="Phone/Line_Key_1">564</Short_Name_1_>
<Share_Call_Appearance_1_ group="Phone/Line_Key_1">private</Share_Call_Appearance_1_>
<Extended_Function_1_ group="Phone/Line_Key_1"/>

<Extension_4_ group="Phone/Line_Key_4">Disabled</Extension_4_>
<Short_Name_4_ group="Phone/Line_Key_4">Pickup</Short_Name_4_>
<Share_Call_Appearance_4_ group="Phone/Line_Key_4">private</Share_Call_Appearance_4_>
<Extended_Function_4_ group="Phone/Line_Key_4">fnc=sd;ext=*8@$PROXY;nme=Pickup</Extended_Function_4_>

###################################################################################



###################################################################################
# Core configuation, this defines the 'username' and 'password' to auth to gradewell / Vocalocity
<Display_Name_1_ group="Ext_1/Subscriber_Information">Build Room</Display_Name_1_>
<User_ID_1_ group="Ext_1/Subscriber_Information">2215564</User_ID_1_>
<Password_1_ group="Ext_1/Subscriber_Information">FeM3xVMXPTnhjS9</Password_1_>
<Use_Auth_ID_1_ group="Ext_1/Subscriber_Information">Yes</Use_Auth_ID_1_>
<Auth_ID_1_ group="Ext_1/Subscriber_Information">2215564</Auth_ID_1_>

###################################################################################


###################################################################################
#  Everything below will only need setting if VoIP provider is not Gradwell, you are not behind NAT or something else special
#
###################################################################################
<Handle_VIA_received group="SIP/NAT_Support_Parameters">Yes</Handle_VIA_received>
<Handle_VIA_rport group="SIP/NAT_Support_Parameters">Yes</Handle_VIA_rport>
<Insert_VIA_received group="SIP/NAT_Support_Parameters">Yes</Insert_VIA_received>
<Insert_VIA_rport group="SIP/NAT_Support_Parameters">Yes</Insert_VIA_rport>
<Substitute_VIA_Addr group="SIP/NAT_Support_Parameters">Yes</Substitute_VIA_Addr>
<Send_Resp_To_Src_Port group="SIP/NAT_Support_Parameters">Yes</Send_Resp_To_Src_Port>
<STUN_Enable group="SIP/NAT_Support_Parameters">No</STUN_Enable>
<STUN_Test_Enable group="SIP/NAT_Support_Parameters">No</STUN_Test_Enable>
<STUN_Server group="SIP/NAT_Support_Parameters"></STUN_Server>
<EXT_IP group="SIP/NAT_Support_Parameters"/>
<NAT_Keep_Alive_Intvl group="SIP/NAT_Support_Parameters">15</NAT_Keep_Alive_Intvl>



<Handle_VIA_received group="SIP/NAT_Support_Parameters">Yes</Handle_VIA_received>
<Handle_VIA_rport group="SIP/NAT_Support_Parameters">Yes</Handle_VIA_rport>
<Insert_VIA_received group="SIP/NAT_Support_Parameters">Yes</Insert_VIA_received>
<Insert_VIA_rport group="SIP/NAT_Support_Parameters">Yes</Insert_VIA_rport>
<Substitute_VIA_Addr group="SIP/NAT_Support_Parameters">Yes</Substitute_VIA_Addr>
<Send_Resp_To_Src_Port group="SIP/NAT_Support_Parameters">No</Send_Resp_To_Src_Port>
<STUN_Enable group="SIP/NAT_Support_Parameters">No</STUN_Enable>
<STUN_Test_Enable group="SIP/NAT_Support_Parameters">Yes</STUN_Test_Enable>
<STUN_Server group="SIP/NAT_Support_Parameters"></STUN_Server>
<EXT_IP group="SIP/NAT_Support_Parameters"/>
<EXT_RTP_Port_Min group="SIP/NAT_Support_Parameters"/>
<NAT_Keep_Alive_Intvl group="SIP/NAT_Support_Parameters">15</NAT_Keep_Alive_Intvl>



<Proxy_1_ group="Ext_1/Proxy_and_Registration">sip.prod.gradwell.com</Proxy_1_>
<Outbound_Proxy_1_ group="Ext_1/Proxy_and_Registration"></Outbound_Proxy_1_>
<Use_Outbound_Proxy_1_ group="Ext_1/Proxy_and_Registration">No</Use_Outbound_Proxy_1_>
<Use_OB_Proxy_In_Dialog_1_ group="Ext_1/Proxy_and_Registration">No</Use_OB_Proxy_In_Dialog_1_>
<Register_1_ group="Ext_1/Proxy_and_Registration">Yes</Register_1_>
<Make_Call_Without_Reg_1_ group="Ext_1/Proxy_and_Registration">No</Make_Call_Without_Reg_1_>
<Register_Expires_1_ group="Ext_1/Proxy_and_Registration">1200</Register_Expires_1_>
<Ans_Call_Without_Reg_1_ group="Ext_1/Proxy_and_Registration">No</Ans_Call_Without_Reg_1_>
<DNS_SRV_Auto_Prefix_1_ group="Ext_1/Proxy_and_Registration">No</DNS_SRV_Auto_Prefix_1_>
<Proxy_Fallback_Intvl_1_ group="Ext_1/Proxy_and_Registration">3600</Proxy_Fallback_Intvl_1_>
<Proxy_Redundancy_Method_1_ group="Ext_1/Proxy_and_Registration">Normal</Proxy_Redundancy_Method_1_>
<Dual_Registration_1_ group="Ext_1/Proxy_and_Registration">No</Dual_Registration_1_>
<NAT_Mapping_Enable_1_ group="Ext_1/NAT_Settings">No</NAT_Mapping_Enable_1_>
<NAT_Keep_Alive_Enable_1_ group="Ext_1/NAT_Settings">Yes</NAT_Keep_Alive_Enable_1_>
<SIP_Transport_1_ group="Ext_1/SIP_Settings">UDP</SIP_Transport_1_>
<SIP_TOS_DiffServ_Value_1_ group="Network_Settings_1/Network_Settings">0x04</SIP_TOS_DiffServ_Value_1_>
<RTP_TOS_DiffServ_Value_1_ group="Network_Settings_1/Network_Settings">0x10</RTP_TOS_DiffServ_Value_1_>
<Network_Jitter_Level_1_ group="Network_Settings_1/Network_Settings">low</Network_Jitter_Level_1_>
<Dial_Plan_1 group="Ext_1/Dial_Plan">( [45 ] xx | 00  [1-8] xxx xx. | 0 [1-8] xxx xxx xxx | 999 | 111)</Dial_Plan_1>

<SIP_Port_1_ group="Ext_1/SIP_Settings">5060</SIP_Port_1_>
<Preferred_Codec_1_ group="Ext_1/Audio_Configuration">G722</Preferred_Codec_1_>
<Second_Preferred_Codec_1_ group="Ext_1/Audio_Configuration">G711a</Second_Preferred_Codec_1_>
<Third_Preferred_Codec_1_ group="Ext_1/Audio_Configuration">Unspecified</Third_Preferred_Codec_1_>
<G729a_Enable_1_ group="Ext_1/Audio_Configuration">no</G729a_Enable_1_>
<G726-16_Enable_1_ group="Ext_1/Audio_Configuration">no</G726-16_Enable_1_>
<G726-32_Enable_1_ group="Ext_1/Audio_Configuration">no</G726-32_Enable_1_>
<G722_Enable_1_ group="Ext_1/Audio_Configuration">yes</G722_Enable_1_>
<G726-24_Enable_1_ group="Ext_1/Audio_Configuration">no</G726-24_Enable_1_>
<G726-40_Enable_1_ group="Ext_1/Audio_Configuration">no</G726-40_Enable_1_>


 <!-- Line Key 2 -->
<Extension_2_>  Disabled      </Extension_2_>
<Short_Name_2_>  </Short_Name_2_>
<Line_Enable_2_>  Disabled     </Line_Enable_2_>

 <!-- Line Key 3 -->
<Extension_3_>  Disabled      </Extension_3_>
<Short_Name_3_>  </Short_Name_3_>
<Line_Enable_3_>  Disabled     </Line_Enable_3_>



<Time_Zone group="Regional/Miscellaneous">GMT</Time_Zone>

<Ringer_Volume group="User/Audio_Volume">8</Ringer_Volume>
<Speaker_Volume group="User/Audio_Volume">8</Speaker_Volume>
<Handset_Volume group="User/Audio_Volume">15</Handset_Volume>
<Headset_Volume group="User/Audio_Volume">5</Headset_Volume>
<LCD_Contrast group="User/Audio_Volume">8</LCD_Contrast>
<Back_Light_Timer group="User/Audio_Volume">30 s</Back_Light_Timer>
<Server_Type group="Attendant_Console/General">Asterisk</Server_Type>

</flat-profile>
