; ; SIP Configuration for Asterisk ; ; Useful CLI commands to check peers/users: ; sip show peers Show all SIP peers (including friends) ; sip show users Show all SIP users (including friends) ; sip show registry Show status of hosts we register with ; ; sip debug Show all SIP messages ; ; [general] port=5060 ; UDP Port to bind to (SIP standard port is 5060) bindaddr=192.168.111.1 ; IP address to bind to (0.0.0.0 binds to all) tos=lowdelay ; lowdelay,throughput,reliability,mincost,none disallow=all ; First disallow all codecs allow=ulaw,g726 ; Allow codecs in order of preference context=extensions ; [100] type=friend host=dynamic context=toll-access reinvite=no qualify=yes [111] type=friend host=dynamic context=myPhone mailbox=111@extensions reinvite=no qualify=yes