This is an old revision of the document!
Pořadí v jakém asterisk načítá parametry:
[general] context=unauthenticated ;default context for incoming calls allowguest=no ;disable unauthenticated calls srvlookup=yes ;enabled DNS SRV record lookup on outbound calls 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=yes ;assume device is behind NAT secret=s3CuR#p@s5 ;a secure password for this device dtmfmode=auto ;accept touch-tones from the devices, negotiated automatically disallow=all ;reset which voice codecs this device will accept or offer allow=ulaw ;which audio codecs to accept from, and request to, the device allow=alaw ;in the order we prefer ; define a device name and use the office-phone template [0000FFFF0001](office-phone) ; define another device name using the same template [0000FFFF0002](office-phone)
[general]
[šablona](!) nebo [kanál]