[system]
type=system
timer_t1 = 500
timer_b = 32000
compact_headers=no
threadpool_initial_size=200
threadpool_auto_increment=10
threadpool_idle_timeout=600
threadpool_max_size = 0

[global]
default_outbound_endpoint=reject
trust_id_inbound=no
trust_id_outbound=no
timers=forced
max_forwards=70
user_agent=
debug=no


[transport-udp]
type=transport
protocol=udp
bind=X.X.X.X (public IP)
local_net=X.X.X.0/24
local_net=127.0.0.1/32
external_media_address=X.X.X.X
external_signaling_address=X.X.X.X



[defaultaor]
type=aor
contact=sip:X.X.X.X:5060


[default](!)
force_rport=yes
direct_media=yes
ice_support=no
disallow=all
allow=g729
allow=ulaw
allow=alaw
allow=g723
allow=gsm
100rel=yes
aggregate_mwi=no
callerid_privacy = allowed_not_screened
direct_media_glare_mitigation = outgoing
disable_direct_media_on_nat = yes
direct_media_method=invite
dtmf_mode = auto
identify_by = ip
redirect_method = user
rewrite_contact = yes
rtp_symmetric = yes
send_pai = no
send_rpid = no
send_rpid = no
timers = yes
timers_sess_expires = 1800
transport = transport-udp
trust_id_inbound = no
trust_id_outbound = no
use_ptime = no
use_avpf = no
media_encryption = no
inband_progress = no
device_state_busy_at = 0
t38_udptl = no
t38_udptl_maxdatagram = 0
fax_detect = no
t38_udptl_ipv6 = no
tone_zone = US
language = en
one_touch_recording = no
allow_transfer = yes
allow_subscribe = no



[home]
type=aor
contact=sip:XXXXXXX:5060

[home]
endpoint=home
match=(Public IP of my House)
type=identify

[home](default)
type=endpoint
disallow=all
allow=ulaw
allow=g729
allow=gsm
allow=alaw
context=inbound
aors=home

[asterisk]
type=aor
contact=sip:(Public IP):5060


[asterisk]
endpoint=asterisk
match=(Public IP)
type=identify

[asterisk](default)
type=endpoint
disallow=all
allow=ulaw
allow=g729
allow=gsm
allow=alaw
context=inbound
aors=asterisk