[global]
type=global
debug=yes
user_agent=we are hiring
default_from_user=anonymous
use_callerid_contact=yes
endpoint_identifier_order=header,ip,username,auth_username,anonymous

[generic_transport]
type=transport
protocol=udp
bind=0.0.0.0
local_net=127.0.0.1/32
local_net=172.28.0.0/16
external_media_address=127.0.0.1
external_signaling_address=127.0.0.1

[generic_aor]
type=aor
max_contacts=10

[generic_endpoint](!)
type=endpoint
context=error
100rel=no
direct_media=no
allow=!all,g722,alaw,ulaw,g726aal2,gsm,ilbc
g726_non_standard=yes
rtp_timeout=120
rtp_timeout_hold=900
transport=generic_transport
t38_udptl=yes
t38_udptl_ec=redundancy
fax_detect=no
t38_udptl_nat=yes
aors=generic_aor
moh_passthrough=yes
dtmf_mode=auto
allow_transfer=no
tos_audio=ef
cos_audio=5
sdp_session=VoIP GW
timers=no
send_diversion=no

;#########################################
; START Retel Development Register Client
;#########################################

[development]
type=endpoint
context=dialDevelopment
allow=!all,opus,g722,alaw,ulaw
direct_media=no
trust_id_outbound=yes
device_state_busy_at=1
dtmf_mode=rfc4733
auth=development-auth
aors=development

[development-auth]
type=auth
auth_type=userpass
password=12345678
username=development

[development]
type=aor
max_contacts=10

[development]
type=identify
endpoint=development
match_header=X-Foo: bar

;#########################################
; END Retel Development Register Client
;#########################################

