{
    "template_data":{
        "category":[
        {
            "name":"general",
            "subcategory":[
            {
                "name":"general",
                "item":[
				{
					"variable":"$timezone_name",
					"default_value":"United States-Eastern",
					"description":"Timezone Name",
					"type":"list",
					"data":[
					{
					  "text":"United States-Hawaii",
					  "value":"United States-Hawaii"
					},
					{
					  "text":"United States-Alaska",
					  "value":"United States-Alaska"
					},
					{
					  "text":"United States-Pacific Time",
					  "value":"United States-Pacific"
					},
					{
					  "text":"United States-Mountain Time",
					  "value":"United States-Mountain"
					},
					{
					  "text":"United States-Central Time",
					  "value":"United States-Central"
					},
					{
					  "text":"United States-Eastern Time",
					  "value":"United States-Eastern"
					}
					]	
					},
				{
					"category":"system",
					"variable":"$timezone_offset",
					"default_value":"-5",
					"description":"Timezone GMT Offset",
					"type":"list",
					"data":[
					{
					  "text":"-12",
					  "value":"-12"
					},
					{
					  "text":"-11",
					  "value":"-11"
					},
					{
					  "text":"-10",
					  "value":"-10"
					},
					{
					  "text":"-9",
					  "value":"-9"
					},
					{
					  "text":"-8",
					  "value":"-8"
					},
					{
					  "text":"-7",
					  "value":"-7"
					},
					{
					  "text":"-6",
					  "value":"-6"
					},
					{
					  "text":"-5",
					  "value":"-5"
					},
					{
					  "text":"-4",
					  "value":"-4"
					},
					{
					  "text":"-3",
					  "value":"-3"
					},
					{
					  "text":"-2",
					  "value":"-2"
					},
					{
					  "text":"-1",
					  "value":"-1"
					},
					{
					  "text":"0",
					  "value":"0"
					},
					{
					  "text":"+1",
					  "value":"+1"
					},
					{
					  "text":"+2",
					  "value":"+2"
					},
					{
					  "text":"+3",
					  "value":"+3"
					},
					{
					  "text":"+4",
					  "value":"+4"
					},
					{
					  "text":"+5",
					  "value":"+5"
					},
					{
					  "text":"+6",
					  "value":"+6"
					},
					{
					  "text":"+7",
					  "value":"+7"
					},
					{
					  "text":"+8",
					  "value":"+8"
					},
					{
					  "text":"+9",
					  "value":"+9"
					},
					{
					  "text":"+10",
					  "value":"+10"
					},
					{
					  "text":"+11",
					  "value":"+11"
					},
					{
					  "text":"+12",
					  "value":"+12"
					}
					]
					},
                {
                    "type":"break"
                },
                {
                    "variable":"$ringtone_url",
                    "default_value":"",
                    "description":"Ringtone URL",
                    "type":"input"
                },
                {
                    "type":"break"
                },
                {
                    "variable":"$logo_url",
                    "default_value":"",
                    "description":"Logo Uploaded at http://myphonesetup.com/",
                    "type":"input"
                },
                {
                    "variable":"$uselogo",
                    "default_value":"CustomLogo.png",
                    "description":"Custom Name of Logo to Use",
                    "type":"input"
                },
		{
                    "type":"break"
                },
                {
                    "variable":"$rfc2543_hold",
                    "default_value":"0",
                    "description":"Enable RFC2543 Hold",
                    "type":"list",
                    "data":[
                    {
                        "text":"Disabled",
                        "value":"0"
                    },
                    {
                        "text":"Enabled",
                        "value":"1"
                    }
                    ]
                },
                {
                    "type":"break"
                },
                {
                    "variable":"$multicast_listen_1",
                    "default_value":"224.168.168.168:23456",
                    "description":"MultiCast Listen Address 1",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_label_1",
                    "default_value":"All",
                    "description":"MultiCast Label 1",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_2",
                    "default_value":"",
                    "description":"MultiCast Listen Address 2",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_label_2",
                    "default_value":"",
                    "description":"MultiCast Label 2",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_2",
                    "default_value":"",
                    "description":"MultiCast Listen Address 2",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_label_2",
                    "default_value":"",
                    "description":"MultiCast Label 2",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_3",
                    "default_value":"",
                    "description":"MultiCast Listen Address 3",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_label_3",
                    "default_value":"",
                    "description":"MultiCast Label 3",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_4",
                    "default_value":"",
                    "description":"MultiCast Listen Address 4",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_label_4",
                    "default_value":"",
                    "description":"MultiCast Label 4",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_5",
                    "default_value":"",
                    "description":"MultiCast Listen Address 5",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_label_5",
                    "default_value":"",
                    "description":"MultiCast Label 5",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_6",
                    "default_value":"",
                    "description":"MultiCast Listen Address 6",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_label_6",
                    "default_value":"",
                    "description":"MultiCast Label 6",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_7",
                    "default_value":"",
                    "description":"MultiCast Listen Address 7",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_label_7",
                    "default_value":"",
                    "description":"MultiCast Label 7",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_8",
                    "default_value":"",
                    "description":"MultiCast Listen Address 8",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_label_8",
                    "default_value":"",
                    "description":"MultiCast Label 8",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_9",
                    "default_value":"",
                    "description":"MultiCast Listen Address 9",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_label_9",
                    "default_value":"",
                    "description":"MultiCast Label 9",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_10",
                    "default_value":"",
                    "description":"MultiCast Listen Address 10",
                    "type":"input"
                },
                {
                    "variable":"$multicast_listen_label_10",
                    "default_value":"",
                    "description":"MultiCast Label 10",
                    "type":"input"
                },
                {
                    "type":"break"
                },
                {
                    "variable":"$ring_alert_info_1",
                    "default_value":"Primary",
                    "description":"Ring Alert Info 1",
                    "type":"input"
                },
                {
                    "variable":"$ring_alert_info_2",
                    "default_value":"Secondary",
                    "description":"Ring Alert Info 2",
                    "type":"input"
                },
                {
                    "variable":"$ring_alert_info_3",
                    "default_value":"Tertiary",
                    "description":"Ring Alert Info 3",
                    "type":"input"
                },
                {
                    "variable":"$ring_alert_info_4",
                    "default_value":"Quaternary",
                    "description":"Ring Alert Info 4",
                    "type":"input"
                },
                {
                    "variable":"$ring_alert_info_5",
                    "default_value":"Quinary",
                    "description":"Ring Alert Info 5",
                    "type":"input"
                },
                {
                    "variable":"$ring_alert_info_6",
                    "default_value":"Senary",
                    "description":"Ring Alert Info 6",
                    "type":"input"
                },
                {
                    "variable":"$ring_alert_info_7",
                    "default_value":"Septenary",
                    "description":"Ring Alert Info 7",
                    "type":"input"
                },
                {
                    "variable":"$ring_alert_info_8",
                    "default_value":"Octonary",
                    "description":"Ring Alert Info 8",
                    "type":"input"
                },
                {
                    "variable":"$ring_alert_info_9",
                    "default_value":"Nonary",
                    "description":"Ring Alert Info 9",
                    "type":"input"
                },
                {
                    "variable":"$ring_alert_info_10",
                    "default_value":"Denary",
                    "description":"Ring Alert Info 10",
                    "type":"input"
                },
                {
                    "type":"break"
                },
                {
                    "variable":"$firmware_name",
                    "default_value":"",
                    "description":"Firmware URL",
                    "type":"input"
                },
                {
                    "type":"break"
                },
                {
                    "variable":"$call_pickup",
                    "default_value":"**",
                    "description":"Call Pickup Value (For BLF)",
                    "type":"input"
                },
                {
                    "type":"break"
                },
                {
                    "variable":"$adminpw",
                    "default_value":"",
                    "description":"Web administration password",
                    "type":"input"
                },
                {
                    "variable":"$tones_country",
                    "default_value":"United States",
                    "description":"Tones Country",
                    "type":"input"
                },
                {
                    "variable":"$screensaverdelay",
                    "description":"Screen Saver Delay",
                    "default_value":"off",
                    "type":"list",
                    "data":[
                    {
                        "text":"No screensaver",
                        "value":"off"
                    },
                    {
                        "text":"1 minute",
                        "value":"60"
                    },
                    {
                        "text":"2 minutes",
                        "value":"120"
                    },
                    {
                        "text":"5 minutes",
                        "value":"300"
                    },
                    {
                        "text":"10 minutes",
                        "value":"600"
                    },
                    {
                        "text":"30 minutes",
                        "value":"1800"
                    }
                    ]
                },
                {
                    "type":"break"
                },
                {
                    "description":"Remote Phone Books (1-5)",
                    "type":"loop",
                    "loop_start":"1",
                    "loop_end":"5",
                    "data":{
                        "item":[
                        {
                            "variable":"$remotephonebook_name",
                            "default_value":"Personal",
                            "description":"Remote Phone Book {$count} Name",
                            "type":"input"
                        },
                        {
                            "variable":"$remotephonebook_url",
                            "default_value":"http://{$server_host}/provisioning/p.php/{$mac}.xml",
                            "description":"Remote Phone Book {$count} URL",
                            "type":"input"
                        }
                        ]
                    }
                }
                ]
            }
            ]
        },
		{
			"name":"preferences",
			"subcategory":[
			{
				"name":"preferences",
				"item":[		
				{
					"variable":"$contact_list_address",
					"default_value":"",
					"description":"Contact List URL",
					"type":"input"
				},
				{
					"type":"break"
				},
				{
					"variable":"$ringtone_url",
					"default_value":"",
					"description":"Ringtone URL",
					"type":"input"
				},
				{
					"type":"break"
				},
				{
					"variable":"$default_ringtone",
					"default_value": "Ring4.wav",
					"description":"Default Ringtone (prim for internal calls)",
					"type":"list",
					"data":[
					{
					   "text":"Ring1",
					   "value":"Ring1.wav"
					},
					{
					   "text":"Ring2",
					   "value":"Ring2.wav"
					},
					{
					   "text":"Ring3",
					   "value":"Ring3.wav"
					},
					{
					   "text":"Ring4",
					   "value":"Ring4.wav"
					},
					{
					   "text":"Ring5",
					   "value":"Ring5.wav"
					},
					{
					   "text":"Ring6",
					   "value":"Ring6.wav"
					},
					{
					   "text":"Ring7",
					   "value":"Ring7.wav"
					},
					{
					   "text":"Ring8",
					   "value":"Ring8.wav"
					}
				]
				},
				{
					"type":"break"
				},
				{
					"variable":"$missed_call_log",
					"description":"Missed Call Log",
					"default_value":"0",
					"type":"list",
					"data":[
					{
						"text":"Disable",
						"value":"0"
					},
					{
						"text":"Enable",
						"value":"1"
					}
					]
				},
				{
					"type":"break"
				},
				{
					"variable":"$theme",
					"description":"Theme",
					"default_value":"0",
					"type":"list",
					"data":[
					{
						"text":"Blue",
						"value":"0"
					},
					{
						"text":"Green",
						"value":"1"
					},
					{
						"text":"Purple",
						"value":"2"
					},
					{
						"text":"Black",
						"value":"3"
					}
					]
				}
				]
			}
			]
		},
		{
			"name":"network",
			"subcategory":[
			{
				"name":"network",
				"item":[		
				{
					"variable": "$manual_use_outbound_proxy",
					"default_value": "1",
					"description": "Use Outbound Proxy",
					"type": "list",
					"data":[
					{
						"text":"Yes",
						"value":"1"
					},
					{
						"text":"No",
						"value":"0"
					}
					]
				},
				{
					"variable": "$manual_outbound_proxy_server",
					"default_value": "192.168.96.254",
					"description": "Outbound Proxy Server",
					"type": "input"
				},
				{
					"variable": "$manual_outbound_port",
					"default_value": "5060",
					"description": "Outbound Proxy Port",
					"type":"input"
				},
				{
					"type":"break"
				},
				{
					"variable": "$sip_server_override",
					"default_value": "192.168.96.254",
					"description": "SIP Server Override",
					"type": "input"
				},
				{
					"type":"break"
				},
				{
						"variable":"$voice_vlan_enable",
						"default_value":"1",
						"description":"Voice VLAN Enable",
						"type":"list",
						"data":[
						{
							"text":"True",
							"value":"1"
						},
						{
							"text":"False",
							"value":"0"
						}
							   ]
				},
				{
					"variable": "$voice_vlan_id",
					"default_value": "100",
					"description": "Voice VLAN ID",
					"type": "input"
				},
				{
					"variable": "$voice_vlan_qos",
					"default_value": "0",
					"description": "VLAN QOS",
					"type": "input"
				},
				{
						"variable":"$data_vlan_enable",
						"default_value":"0",
						"description":"Data VLAN Enable",
						"type":"list",
						"data":[
						{
							"text":"True",
							"value":"1"
						},
						{
							"text":"False",
							"value":"0"
						}
								]
				},
				{
					"variable": "$data_vlan_id",
					"default_value": "0",
					"description": "Data VLAN ID",
					"type": "input"
				},
				{
					"variable": "$data_vlan_qos",
					"default_value": "0",
					"description": "Data VLAN QOS",
					"type": "input"
				},
				{
					"type":"break"
				},
				{
				   "variable":"$enable_vpn",
				   "default_value":"0",
				   "description":"Enable VPN",
				   "type":"list",
				   "data":[
				   {
					   "text":"Enabled",
					   "value":"1"
				   },
				   {
					   "text":"Disabled",
					   "value":"0"
				   }
						   ]
				},
				{
					"variable": "$vpn_server",
					"default_value": "",
					"description": "VPN Server/MAC.tar. FOLDER URL",
					"type": "input"
				}
				]
			}
			]
		}
        ]
    }
}
