root@braserv:~# cat /etc/asterisk/sip.conf
[general]
; Nothing in this section
;srvlookup=yes
localnet=192.168.0.0/255.255.255.0
;externaddr=189.105.71.43
;fromdomain=braserv.chickenkiller.com:5060
externhost=braserv.chickenkiller.com
externrefresh=120
;canreinvite=no
directmedia=no
qualify=yes
nat=yes
[authentication]
; Nothing in this section
; ----------- TEMPLATES ------------ ;
[basic-options](!) ; a template
dtmfmode=auto
context=sip-phones
type=friend
;type=peer
host=dynamic
notifyringing=yes
call-limit=100
[natted-phone](!,basic-options) ; another template inheriting basic-options
nat=yes
directmedia=no
qualify=yes
[public-phone](!,basic-options) ; another template inheriting basic-options
nat=no
directmedia=yes
[my-codecs](!) ; a template for my preferred codecs
disallow=all
allow=ulaw
allow=alaw
allow=ilbc
allow=g729
allow=gsm
allow=g723
[ulaw-codec](!) ; and another one for ulaw-only
disallow=all
allow=ulaw
[alaw-codec](!) ; and another one for alaw-only
disallow=all
allow=alaw
[gsm-codec](!) ; and another one for gsm-only
disallow=all
allow=gsm
; ----------- SIP EXTENSIONS ----------- ;