[general] externaddr=38.96.43.209 localnet=10.42.0.0/21 context=unauthenticated ; default context for incoming calls allowguest=no ; disable unauthenticated calls srvlookup=no ; disable DNS SRV record lookup on outbound calls ; (unless you have a reliable DNS connection, ; in which case yes) udpbindaddr=0.0.0.0 ; listen for UDP requests on all interfaces tcpenable=no ; disable TCP support [office-phone](!) ; create a template for our devices type=friend ; the channel driver will match on username first, ; IP second context=LocalSets ; this is where calls from the device will enter ; the dialplan host=dynamic ; the device will register with asterisk nat=no ; assume device is behind NAT ; *** NAT stands for Network Address Translation, ; which allows multiple internal devices to share an ; external IP address. dtmfmode=auto ; accept touch-tones from the devices, negotiated ; automatically disallow=all ; reset which voice codecs this device will accept or offer ;allow=g722 ; audio codecs to accept from, and request to, the device allow=ulaw ; in the order we prefer allow=alaw mwi_from=asterisk [wilogic-outbound] context=from-pstn defaultuser=32487144778734 host=sws0.wlphone.net allow=ulaw dtmfmode=inband nat=no type=peer trustrpid=yes sendrpid=yes canreinvite=no directmedia=no [2way-outbound] context=from-pstn defaultuser=7144348010 host=2way.ipcomms.net ;disallow=all allow=ulaw dtmfmode=rfc2833 ;insecure=very nat=no type=peer directmedia=no trustrpid=yes sendrpid=yes canreinvite=no ;;;;;;;;;;;;;;; GXP-2160 [000b825c68cf](office-phone) mailbox=