About
Example configuration XML file for Cisco SPA500 series phones.
Here is sample XML for provisioning two extensions. The first extension, 3000, is just a private line, the second extension, 2000, has SCA/SLA enabled. The third extension acts as a speed dial and busy lamp field for extension 1000. For multi-tenant, "domain.local" should be set to the same as <domain name="domain.local"> parameter in the user's directory.conf.xml and 192.168.0.122 should be set to the IP of the FreeSWITCH server. Also, this configuration sets voicemail as *1 and call pick up as **
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <flat-profile> <NTP_Enable group="Info/System_Information">1</NTP_Enable> <Primary_NTP_Server group="Info/System_Information">0.north-america.pool.ntp.org</Primary_NTP_Server> <Secondary_NTP_Server group="Info/System_Information">1.north-america.pool.ntp.org</Secondary_NTP_Server> <Time_Zone group="Regional/Time">GMT-05:00</Time_Zone> <RTP_Packet_Size group="SIP/RTP_Parameters">0.020</RTP_Packet_Size> <Caller_ID_Header group="SIP/SIP_Parameters">RPID-FROM</Caller_ID_Header> <Voice_Mail_Number group="Phone/General">*1</Voice_Mail_Number> <SCA_Barge-In_Enable group="Phone/Miscellaneous_Line_Key_Settings">Yes</SCA_Barge-In_Enable> <SCA_Sticky_Auto_Line_Seize group="Phone/Miscellaneous_Line_Key_Settings">Yes</SCA_Sticky_Auto_Line_Seize> <Server_Type group="Attendant_Console/General">RFC3265_4235</Server_Type> <Attendant_Console_Call_Pickup_Code group="Attendant_Console/General">**</Attendant_Console_Call_Pickup_Code> <Extension_1_ group="Phone/Line_Key_1">1</Extension_1_> <Short_Name_1_ group="Phone/Line_Key_1">Ext 3000</Short_Name_1_> <Share_Call_Appearance_1_ group="Phone/Line_Key_1">private</Share_Call_Appearance_1_> <Share_Ext_1_ group="Ext_1/Share_Line_Appearance">private</Share_Ext_1_> <Proxy_1_ group="Ext_1/Proxy_and_Registration">domain.local</Proxy_1_> <Outbound_Proxy_1_ group="Ext_1/Proxy_and_Registration">192.168.0.122</Outbound_Proxy_1_> <Use_Outbound_Proxy_1_ group="Ext_1/Proxy_and_Registration">Yes</Use_Outbound_Proxy_1_> <Use_OB_Proxy_In_Dialog_1_ group="Ext_1/Proxy_and_Registration">Yes</Use_OB_Proxy_In_Dialog_1_> <SIP_Remote-Party-ID_1_ group="Ext_1/SIP_Settings">Yes</SIP_Remote-Party-ID_1_> <User_ID_1_ group="Ext_1/Subscriber_Information">3000</User_ID_1_> <Password_1_ group="Ext_1/Subscriber_Information">1234</Password_1_> <Extension_2_ group="Phone/Line_Key_2">2</Extension_2_> <Short_Name_2_ group="Phone/Line_Key_2">SLA 2000</Short_Name_2_> <Share_Call_Appearance_2_ group="Phone/Line_Key_2">shared</Share_Call_Appearance_2_> <Share_Ext_2_ group="Ext_1/Share_Line_Appearance">shared</Share_Ext_2_> <Proxy_2_ group="Ext_2/Proxy_and_Registration">domain.local</Proxy_2_> <Outbound_Proxy_2_ group="Ext_2/Proxy_and_Registration">192.168.0.122</Outbound_Proxy_2_> <Use_Outbound_Proxy_2_ group="Ext_2/Proxy_and_Registration">Yes</Use_Outbound_Proxy_2_> <Use_OB_Proxy_In_Dialog_2_ group="Ext_2/Proxy_and_Registration">Yes</Use_OB_Proxy_In_Dialog_2_> <SIP_Remote-Party-ID_2_ group="Ext_2/SIP_Settings">Yes</SIP_Remote-Party-ID_2_> <User_ID_2_ group="Ext_2/Subscriber_Information">2000</User_ID_2_> <Password_2_ group="Ext_2/Subscriber_Information">1234</Password_2_> <Extension_3_ group="Phone/Line_Key_3">Disabled</Extension_3_> <Short_Name_3_ group="Phone/Line_Key_3">E1000</Short_Name_3_> <Share_Call_Appearance_3_ group="Phone/Line_Key_3">private</Share_Call_Appearance_3_> <Extended_Function_3_ group="Phone/Line_Key_3">fnc=sd+blf;sub=1000@domain.local</Extended_Function_3_> </flat-profile>