<?xml version="1.0" encoding="UTF-8" ?> 
	<gs_provision version="1">
	<config version="1">

	<!-- Advanced Settings -->
		<!-- Admin password for web interface,String Max Length: 30; between ascii values 33 and 126, Mandatory -->
		<P2>{$admin_password}</P2>

		<!-- End User Password, MaxLength 32 -->
		<P196>{$user_password}</P196>

	<!-- Firmware Upgrade -->
		<!-- Firmware Upgrade and Privisioning. 0 - TFTP Upgrade, 1 - HTTP Upgrade, 2 - HTTPS Upgrade., Number: 0 to 2. Mandatory -->
		<P212>1</P212>
		<!-- Config Server Path , String: serveraddress -->
		<P237>{$domain_name}{$project_path}/app/provision</P237>
			
	<!-- Profile 1 Settings	-->
		<!-- Profile Active.  0 - no, 1 - yes, Number: 0,1. -->
		<P271>1</P271>
		<!-- Primary SIP Server,String: serveraddress -->
		<P47>{$server_address_1}</P47>
		<!-- Prefer Primary SIP Server. 0 - No, 1 - Yes. -->
		<P4567>1</P4567>
		<!-- SIP Transport. 0 - UDP, 1 - TCP, 2 - TLS -->
		<P130>0</P130>
		<!-- NAT Traversal (STUN). 0 - No, 2 - No but send keep-alive, 1 - Yes -->
		<P52>0</P52>
		<!-- SIP Registration. 0 - no, 1 - yes -->
		<P31>1</P31>
		<!-- Register Expiration (in minutes. default 1 hour, max 45 days), Number: 1 to 64800 -->
		<P32>3</P32>

	<!--FXS Ports -->
		<!-- FXS Port 1,SIP USER ID, Authenticate ID, Password, Name, Profile ID (0 - Profile 1, 1 - Profile 2, 2 - Profile 3) -->
		<!-- Hunting Group (0 - None, 1 - Active, 2 - 2, 3 - 3, 4 -4, 5 - 5, 6 - 6, 7 - 7, 8 - 8 ) -->
		<!-- Request URI Routing ID, Enable Port(0 - No, 1 - Yes, default is Yes) -->
		<P4060>{$user_id_1}</P4060>
		<P4090>{$user_id_1}</P4090>
		<P4120>{$user_password_1}</P4120> 
		<P4180>{$display_name_1}</P4180>
		<P4150>0</P4150>
		<P4300>0</P4300>
		<P4669></P4669>
		<P4595>1</P4595>

		<!-- FXS Port 2. SIP USER ID, Authenticate ID, Password, Name, Profile ID (0 - Profile 1, 1 - Profile 2, 2 - Profile 3) -->
		<!-- Hunting Group (0 - None, 2 - Active, 1 - 1, 3 - 3, 4 -4, 5 - 5, 6 - 6, 7 - 7, 8 - 8 ) -->
		<!-- Request URI Routing ID.Enable Port(0 - No, 1 - Yes, default is Yes) -->
		<P4061>{$user_id_2}</P4061>
		<P4091>{$user_id_2}</P4091>
		<P4121>{$user_password_2}</P4121> 
		<P4181>{$display_name_2}</P4181>
		<P4151>0</P4151>
		<P4301>0</P4301>
		<P4670></P4670>
		<P4596>1</P4596>

		<!-- FXS Port 3. SIP USER ID, Authenticate ID, Password, Name, Profile ID (0 - Profile 1, 1 - Profile 2, 2 - Profile 3) -->
		<!-- Hunting Group (0 - None, 3 - Active, 1 - 1, 2 - 2, 4 -4, 5 - 5, 6 - 6, 7 - 7, 8 - 8 ) -->
		<!-- Request URI Routing ID. Enable Port(0 - No, 1 - Yes, default is Yes) -->
		<P4062>{$user_id_3}</P4062>
		<P4092>{$user_id_3}</P4092>
		<P4122>{$user_password_3}</P4122>
		<P4182>{$display_name_3}</P4182>
		<P4152>0</P4152>
		<P4302>0</P4302>
		<P4671></P4671>
		<P4597>1</P4597>

		<!-- FXS Port 4. SIP USER ID, Authenticate ID, Password, Name, Profile ID (0 - Profile 1, 1 - Profile 2, 2 - Profile 3) -->
		<!-- Hunting Group (0 - None, 4 - Active, 1 - 1, 2 - 2, 3 - 3, 5 - 5, 6 - 6, 7 - 7, 8 - 8 ) -->
		<!-- Request URI Routing ID. Enable Port(0 - No, 1 - Yes, default is Yes) -->
		<P4063>{$user_id_4}</P4063>
		<P4093>{$user_id_4}</P4093>
		<P4123>{$user_password_4}</P4123> 
		<P4183>{$display_name_4}</P4183>
		<P4153>0</P4153>
		<P4303>0</P4303>
		<P4672></P4672>
		<P4598>1</P4598>


	<!-- The following ports (5 to 8) belong to GXW-4008/GXW-4024 only -->

		<!-- FXS Port 5. SIP USER ID, Authenticate ID, Password, Name, Profile ID (0 - Profile 1, 1 - Profile 2, 2 - Profile 3) -->
		<!-- Hunting Group (0 - None, 5 - Active, 1 - 1, 2 - 2, 3 - 3, 4 -4, 6 - 6, 7 - 7, 8 - 8 ) -->	
		<!-- Request URI Routing ID. Enable Port(0 - No, 1 - Yes, default is Yes) -->
		<P4064>{$user_id_5}</P4064>
		<P4094>{$user_id_5}</P4094>
		<P4124>{$user_password_5}</P4124> 
		<P4184>{$display_name_5}</P4184>
		<P4154>0</P4154>
		<P4304>0</P4304>
		<P4673></P4673>
		<P4599>1</P4599>

		<!-- FXS Port 6. SIP USER ID, Authenticate ID, Password, Name, Profile ID (0 - Profile 1, 1 - Profile 2, 2 - Profile 3) -->
		<!-- Hunting Group (0 - None, 6 - Active, 1 - 1, 2 - 2, 3 - 3, 4 -4, 5 - 5, 7 - 7, 8 - 8 ) -->
		<!-- Request URI Routing ID. Enable Port(0 - No, 1 - Yes, default is Yes) -->
		<P4065>{$user_id_6}</P4065>
		<P4095>{$user_id_6}</P4095>
		<P4125>{$user_password_6}</P4125> 
		<P4185>{$display_name_6}</P4185>
		<P4155>0</P4155>
		<P4305>0</P4305>
		<P4674></P4674>
		<P4600>1</P4600>

		<!-- FXS Port 7. SIP USER ID, Authenticate ID, Password, Name, Profile ID (0 - Profile 1, 1 - Profile 2, 2 - Profile 3) -->
		<!-- Hunting Group (0 - None, 7 - Active, 1 - 1, 2 - 2, 3 - 3, 4 -4, 5 - 5, 6 - 6, 8 - 8 ) -->
		<!-- Request URI Routing ID. Enable Port(0 - No, 1 - Yes, default is Yes) -->
		<P4066>{$user_id_7}</P4066>
		<P4096>{$user_id_7}</P4096>
		<P4126>{$user_password_7}</P4126>
		<P4186>{$display_name_7}</P4186>
		<P4156>0</P4156>
		<P4306>0</P4306>	
		<P4675></P4675>
		<P4601>1</P4601>

		<!-- FXS Port 8. SIP USER ID, Authenticate ID, Password, Name, Profile ID (0 - Profile 1, 1 - Profile 2, 2 - Profile 3) -->
		<!-- Hunting Group (0 - None, 8 - Active, 1 - 1, 2 - 2, 3 - 3, 4 -4, 5 - 5, 6 - 6, 7 - 7 ) -->
		<!-- Request URI Routing ID. Enable Port(0 - No, 1 - Yes, default is Yes) -->
		<P4067>{$user_id_8}</P4067>
		<P4097>{$user_id_8}</P4097>
		<P4127>{$user_password_8}</P4127>
		<P4187>{$display_name_8}</P4187>
		<P4157>0</P4157>
		<P4307>0</P4307>
		<P4676></P4676>
		<P4602>1</P4602>

	</config>
</gs_provision>
