[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060
local_net=10.21.0.0/16
external_media_address=10.237.181.230
external_signaling_address=10.237.181.230


[mel-end](!)
type=endpoint
transport=transport-udp
context=mel-phones
disallow=all
allow=alaw
pickup_group=1
call_group=1
force_rport=no
trust_id_inbound=yes
trust_id_outbound=yes
send_rpid=yes
direct_media=no


[mel-auth](!)
type=auth
auth_type=userpass


[mel-aor](!)
type=aor
max_contacts=1
qualify_frequency=60



;=================  TRUNK  ==================
;=================  AAPT  ===================


[aapt_ping]
type=endpoint
transport=transport-udp
context=default
force_rport=no
aors=aapt_ping


[aapt_ping]
type=identify
endpoint=aapt_ping
match=210.87.44.6

[aapt_ping]
type=aor
contact=sip:210.87.44.6:5060
qualify_frequency=180


[aapt_mel-out]
type=endpoint
transport=transport-udp
context=aapt-mel
dtmf_mode=inband
disallow=all
allow=alaw
aors=aapt_mel-out
force_rport=no
direct_media=no
timers_sess_expires=3600
;timers=no


[aapt_mel-out]
type=identify
endpoint=aapt_mel-out
;match=210.87.44.6
match=202.10.4.137

[aapt_mel-out]
type=aor
contact=sip:202.10.4.137:5060
qualify_frequency=180


;;;;=================  USERS  ==================
;;;;=================  MEL-AST  ===================



; Endpoint Listings


[3230](mel-end)
auth=auth3230
aors=3230
;callerid=Spare <3230>


; Auth Listings

[auth3230](mel-auth)
username=3230
password=xxxxxxxx


; AOR Listings
[3230](mel-aor)



