Linksys XML Configuration file: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
Created page with '= Create XML from current Settings = To create an XML file from any Linksys devices using its current configuration settings. <pre> http://ipaddress/admin/spacfg.xml </pre> =…' |
|||
Line 35: | Line 35: | ||
<HostName> 8881 </HostName> | <HostName> 8881 </HostName> | ||
<Domain> | <Domain> mydomain.com </Domain> | ||
<Primary_DNS> 192.168.19.10 </Primary_DNS> | <Primary_DNS> 192.168.19.10 </Primary_DNS> | ||
<Secondary_DNS> 192.168.19.22 </Secondary_DNS> | <Secondary_DNS> 192.168.19.22 </Secondary_DNS> |
Latest revision as of 00:25, 6 May 2014
Create XML from current Settings
To create an XML file from any Linksys devices using its current configuration settings.
http://ipaddress/admin/spacfg.xml
Typical XML Configuration file
<flat-profile> <!-- Sipura SPA-942 Configuration Parameters --> <!-- System Configuration --> <Enable_Web_Server> Yes </Enable_Web_Server> <Web_Server_Port> 80 </Web_Server_Port> <Enable_Web_Admin_Access> Yes </Enable_Web_Admin_Access> <Admin_Passwd> password </Admin_Passwd> <User_Password> </User_Password> <!-- Internet Connection Type --> <Connection_Type> Static IP </Connection_Type> <Static_IP> 172.16.10.111 </Static_IP> <NetMask> 255.255.253.0 </NetMask> <Gateway> 172.16.10.254 </Gateway> <!-- Optional Network Configuration --> <HostName> 8881 </HostName> <Domain> mydomain.com </Domain> <Primary_DNS> 192.168.19.10 </Primary_DNS> <Secondary_DNS> 192.168.19.22 </Secondary_DNS> <DNS_Server_Order> Manual </DNS_Server_Order> <DNS_Query_Mode> Parallel </DNS_Query_Mode> <Primary_NTP_Server> ntp.nasa.gov </Primary_NTP_Server> <Secondary_NTP_Server> ntp.bri.connect.com.au </Secondary_NTP_Server> <!-- Provisioning --> <Provision_Enable> yes </Provision_Enable> <Resync_Periodic> 10800 </Resync_Periodic> <Profile_Rule> http://my.server.com/phone/configs/spa$MA.cfg </Profile_Rule> <Upgrade_Enable> yes </Upgrade_Enable> <Upgrade_Rule> http://prov.fileserver.com/phone/firmware/spa942.bin </Upgrade_Rule> <!-- Line 1 General Settings --> <Line_Enable_1_> Yes </Line_Enable_1_> <SIP_Port_1_> 5060 </SIP_Port_1_> <Default_Ring_1_> 7 </Default_Ring_1_> <!-- Line 1 Proxy and Registration --> <Proxy_1_> sip.server.com </Proxy_1_> <Use_Outbound_Proxy_1_> No </Use_Outbound_Proxy_1_> <Register_1_> Yes </Register_1_> <!-- Line 1 Subscriber Information --> <User_ID_1_> 8881 </User_ID_1_> <Password_1_> </Password_1_> <!-- Audio Configuration --> <Preferred_Codec_1_> G711u </Preferred_Codec_1_> <Use_Pref_Codec_Only_1_> Yes </Use_Pref_Codec_Only_1_> <!-- Line 1 Dial Plan --> <Dial_Plan_1_> (000S0|[3-5]xxxxxxxS0|0[23478]xxxxxxxxS0|1[38]00xxxxxxS0|13[1-9]xxxS0|xxx*xx|*xx.|xx.) </Dial_Plan_1_> <!-- Line 2 General Settings --> <Line_Enable_2_> no </Line_Enable_2_> <SIP_Port_2_> 5060 </SIP_Port_2_> <Default_Ring_2_> 7 </Default_Ring_2_> <!-- Line 2 Proxy and Registration --> <Proxy_2_> sip.server.com </Proxy_2_> <Use_Outbound_Proxy_2_> No </Use_Outbound_Proxy_2_> <Register_2_> Yes </Register_2_> <!-- Line 2 Subscriber Information --> <User_ID_2_> name/number </User_ID_2_> <Password_2_> password </Password_2_> <!-- Line 2 Audio Configuration --> <Preferred_Codec_2_> G711u </Preferred_Codec_2_> <Use_Pref_Codec_Only_2_> Yes </Use_Pref_Codec_Only_2_> <!-- Line 2 Dial Plan --> <Dial_Plan_2_> (**x.|*x.|#x.|x.) </Dial_Plan_2_> <!-- Phone Input Gains --> <Handset_Input_Gain> 6 </Handset_Input_Gain> <Headset_Input_Gain> 6 </Headset_Input_Gain> <!-- User Supplementary Services --> <Time_Format> 12hr </Time_Format> <Date_Format> day/month </Date_Format> <!-- General Phone Display Information --> <Station_Name> 8881 </Station_Name> <Voice_Mail_Number> 9999 </Voice_Mail_Number> <Text_Logo> My Company Co. </Text_Logo> <!-- Line Key 1 --> <Extension_1_> 1 </Extension_1_> <Short_Name_1_> Line 1 </Short_Name_1_> <!-- Line Key 2 --> <Extension_2_> 1 </Extension_2_> <Short_Name_2_> Line 2 </Short_Name_2_> <!-- Line Key 3 --> <Extension_3_> 1 </Extension_3_> <Short_Name_3_> Line 3 </Short_Name_3_> <!-- Line Key 4 --> <Extension_4_> 1 </Extension_4_> <Short_Name_4_> Line 4 </Short_Name_4_> <!-- Time Zone Selection --> <Time_Zone> GMT+10:00 </Time_Zone> <Time_Offset__HH_mm_> </Time_Offset__HH_mm_> </flat-profile>