[general] context=default ; Default context for incoming calls ; instead of the From: field. allowoverlap=no ; Disable overlap dialing support. (Default is yes) ; Set this to your host name or domain name bindport=5060 ; UDP Port to bind to (SIP standard port for unencrypted UDP ; and TCP sessions is 5060) ; bindport is the local UDP port that Asterisk will listen on bindaddr=0.0.0.0 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all) tcpenable=no ; Enable server for incoming TCP connections (default is no) tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces) ; Optionally add a port number, 192.168.1.1:5062 (default is port 5060) srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; Message-Account in the MWI notify message ; defaults to "asterisk" disallow=all ; First disallow all codecs allow=ulaw ; Allow codecs in order of preference ; Note that promiscredir when redirects are made to the [basic-options](!) ; a template dtmfmode=rfc2833 context=from-office type=friend [natted-phone](!,basic-options) ; another template inheriting basic-options nat=yes canreinvite=no host=dynamic [public-phone](!,basic-options) ; another template inheriting basic-options nat=no canreinvite=yes [my-codecs](!) ; a template for my preferred codecs disallow=all allow=ulaw ;allow=ilbc ;allow=g729 ;allow=gsm ;allow=g723 [ulaw-phone](!) ; and another one for ulaw-only disallow=all allow=ulaw [100] ; Turn off silence suppression in X-Lite ("Transmit Silence"=YES)! ; Note that Xlite sends NAT keep-alive packets, so qualify=yes is not needed type=friend context=outgoing regexten=100 ; When they register, create extension 1234 callerid="Wilson Abigaba" <100> host=dynamic ; This device needs to register nat=yes ; X-Lite is behind a NAT router secret=wilson canreinvite=no ; Typically set to NO if behind NAT disallow=all allow=ulaw ;allow=alaw ;mailbox=1234@default,1233@default ; Subscribe to status of multiple mailboxes registertrying=yes ; Send a 100 Trying when the device registers. [101] type=friend context=outgoing host=172.17.10.150 ;allow=gsm disallow=all allow=ulaw ;allow=alaw nat=no canreinvite=yes qualify=yes callerid="Cisco" <101> [102] type=friend context=outgoing host=172.17.3.248 ;allow=gsm disallow=all allow=ulaw ;allow=alaw nat=no canreinvite=yes qualify=yes callerid="Cisco VG" <102> [103] type=friend context=outgoing host=172.17.3.249 ;allow=gsm disallow=all allow=ulaw ;allow=alaw nat=no canreinvite=yes qualify=yes callerid="Cisco VG" <102>