[GENERAL]
context=default
transport=udp,tls

tcpenable=yes
tlsenable=yes
udpenable=yes
udpbindaddr=0.0.0.0:5060
tlsbindaddr=0.0.0.0:5061

tlscertfile=/etc/asterisk/keys/asterisk.pem
tlscafile=/etc/asterisk/keys/ca.crt
tlscipher=ALL
tlsclientmethod=tlsv1

bindport=5060
bindaddr=0.0.0.0

srvlookup=yes
nat=no
sendrpid=yes
trustrpid=no
rtpkeepalive = 10
rtptimeout = 10

snom_aoc_enabled = yes
aoc_enabled = yes
useclientcode = yes

canreinvite=no
progressinband=yes
prematuremedia=no
qualify=no

disallow=all
allow=alaw
allow=ulaw
allow=g726
allow=g723
allow=gsm
allow=adpcm
allow=ilbc
allow=g726aal2
allow=g722
allow=jpeg
allow=png
allow=h261
allow=h263
allow=h263p
allow=h264
allow=mpeg4
allow=red
allow=t140
allow=testlaw
allow=g719

dtmfmode=inband
insecure=no
maxexpirey=3600

t38pt_udptl = yes,fec


[550000]
type=friend
username=550000
secret=550000
host=dynamic
callerid=550000
context=default
mailbox=550000
canreinvite=no
nat=comedia
t38pt_usertpsource=yes



