[global]
	type = global
	endpoint_identifier_order=username,ip
	mwi_disable_initial_unsolicited = yes

[system]
	type = system
	timer_b = 32000

[transport-udp]
	type = transport
	protocol = udp
	bind = 0.0.0.0
	tos = cs3

[transport-tcp]
	type = transport
	protocol = tcp
	bind = 0.0.0.0
	tos = cs3

[proxy-endpoint](!)
	type = endpoint
	disallow = all
 	allow = g722
 	allow = ulaw
 	allow = alaw
 	allow = h264
	allow = h263p
	allow = h263
	allow = gsm
	context = from-sip-external
	direct_media = no
	rtp_symmetric = yes
	force_rport = yes
	rewrite_contact = yes
	rtp_timeout = 600
	timers = no
	timers_min_se = 90
	timers_sess_expires = 90000
	direct_media = no
	callerid = 0
	trust_id_inbound = yes
	trust_id_outbound = yes
	send_rpid = yes
	tos_audio = ef
	tos_video = af41
	t38_udptl = yes
	t38_udptl_ec = redundancy


[proxy1]
	type = aor
	contact = sip:216.17.0.219

[proxy1]
	type = identify
	endpoint = proxy1
	match = 192.168.0.1

[proxy1](proxy-endpoint)
	type = endpoint
	aors = proxy1
		
[proxy2]
	type = aor
	contact = sip:192.168.0.2

[proxy2]
	type = identify
	endpoint = proxy2
	match = 192.168.0.2

[proxy2](proxy-endpoint)
	type = endpoint
	aors = proxy2

[proxy3]
	type = aor
	contact = sip:192.168.0.3

[proxy3]
	type = identify
	endpoint = proxy3
	match = 192.168.0.3

[proxy3](proxy-endpoint)
	type = endpoint
	aors = proxy3

	
#exec /root/generate.sh



