[general] context=default ; Default context for incoming calls allowoverlap=no ; Disable overlap dialing support. (Default is yes) bindport=5060 ; UDP Port to bind to (SIP standard port is 5060) ; bindport is the local UDP port that Asterisk will listen on bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all) externhost=rico29.homelinux.com localnet=192.168.1.0/24 nat=yes canreinvite=no ;/////////////////////////////////////////////////////////// ;////////////// REGISTERS //////////// ;/////////////////////////////////////////////////////////// ;register => user[:secret[:authuser]]@host[:port][/extension] ;/////////////////////////////////////////////////////////// ;////////////// IN-OUT //////////// ;/////////////////////////////////////////////////////////// [ippi-out] // ok ça marche type=peer secret= username=rico29 host=ippi.fr fromuser=rico29 fromdomain=ippi.fr canrenvite=no insecure=port,invite qualify=yes nat=yes context=from-ippi ; this section will be defined in extensions.conf ;/////////////////////////////////////////////////////////// ;////////////// PHONES //////////// ;/////////////////////////////////////////////////////////// [101]; Korigan type=friend username=Korigans host=dynamic fromuser=101 callerid="Korigan" language=fr ;mailbox=101 nat=yes secret= qualify=yes ; this sends a NAT keepalive!!! [102]; taz ! type=friend username=Taz host=dynamic fromuser=102 callerid="Taz" language=fr ;mailbox=102 nat=yes secret= qualify=yes ; this sends a NAT keepalive!!!