Skip to content

Instantly share code, notes, and snippets.

Created July 2, 2012 04:30
Show Gist options
  • Save anonymous/3031114 to your computer and use it in GitHub Desktop.
Save anonymous/3031114 to your computer and use it in GitHub Desktop.
/etc/asterisk/sip.conf
[general]
udpbindaddr=0.0.0.0 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
transport=udp ; Set the default transports. The order determines the primary default transport.
context=default
srvlookup=yes
videosupport=yes
disallow=all  ; First disallow all codecs
allow=ulaw
allow=alaw  ; Allow codecs in order of
allow=ilbc  ; preference
allow=gsm
allow=h261
[101]
type=friend
secret=welcome
qualify=yes  ; Qualify peer is not more than 2000 mS away
nat=no  ; This phone is not natted
host=dynamic  ; This device registers with us
canreinvite=no ; Asterisk by default tries to redirect
context=home
;port=5061  ; Uncomment this line if Ekiga and Asterisk
 ; are on the same host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment