dect
/
asterisk
Archived
13
0
Fork 0

Merged revisions 55553 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55553 | russell | 2007-02-20 10:41:57 -0600 (Tue, 20 Feb 2007) | 3 lines

Change the formatting of sla.conf.sample to make it more readable.  
(issue #9112, blitzrage)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55554 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
russell 2007-02-20 16:42:33 +00:00
parent 1f2b3608ca
commit d0f092ba84
1 changed files with 51 additions and 55 deletions

View File

@ -10,73 +10,69 @@
; ---- Trunk Declarations ------------- ; ---- Trunk Declarations -------------
;
; Provide a name for this trunk. ;[line1] ; Provide a name for this trunk.
[line1] ;type=trunk ; This line is what marks this entry as a trunk.
; This line is what marks this entry as a trunk. ;
type=trunk ;device=Zap/3 ; Map this trunk declaration to a specific device.
; Map this trunk declaration to a specific device.
; NOTE: At this point, this *must* be a zap channel! ; NOTE: At this point, this *must* be a zap channel!
device=Zap/3
; This supports automatic generation of the dialplan entries if the autocontext
; option is used. Each trunk should have a unique context name. Then, in
; zapata.conf, this device should be configured to have incoming calls go to
; this context.
autocontext=line1
[line2] ;autocontext=line1 ; This supports automatic generation of the dialplan entries
type=trunk ; if the autocontext option is used. Each trunk should have
device=Zap/4 ; a unique context name. Then, in zapata.conf, this device
autocontext=line2 ; should be configured to have incoming calls go to this context.
[line3] ;[line2]
type=trunk ;type=trunk
device=Zap/3 ;device=Zap/4
autocontext=line3 ;autocontext=line2
[line4] ;[line3]
type=trunk ;type=trunk
device=Zap/4 ;device=Zap/3
autocontext=line4 ;autocontext=line3
;[line4]
;type=trunk
;device=Zap/4
;autocontext=line4
; -------------------------------------- ; --------------------------------------
; ---- Station Declarations ------------ ; ---- Station Declarations ------------
; In this example, all stations have the same trunks, so this configuration ;[station](!) ; In this example, all stations have the same trunks, so this
; template is used to simplify the declaration of each station. ; configuration template is used to simplify the declaration
[station](!) ; of each station.
; This line indicates that this entry is a station.
type=station ;type=station ; This line indicates that this entry is a station.
; This supports automatic generation of the dialplan entries if the autocontext
; option is used. All stations can use the same context without conflict. The ;autocontext=sla_stations ; This supports automatic generation of the dialplan entries if
; device for this station should have its context configured to the same one ; the autocontext option is used. All stations can use the same
; listed here. ; context without conflict. The device for this station should
autocontext=sla_stations ; have its context configured to the same one listed here.
; Individually list all of the trunks that will appear on this station. This
;trunk=line1 ; Individually list all of the trunks that will appear on this station. This
; order is significant. It should be the same order as they appear on the ; order is significant. It should be the same order as they appear on the
; phone. The order here defines the order of preference that the trunks will ; phone. The order here defines the order of preference that the trunks will
; be used. ; be used.
trunk=line1 ;trunk=line2
trunk=line2 ;trunk=line3
trunk=line3 ;trunk=line4
trunk=line4
; Define a station that uses the configuration from the template "station". ;[station1](station) ; Define a station that uses the configuration from the template "station".
[station1](station) ;device=SIP/station1 ; Each station must be mapped to a device.
; Each station must be mapped to a device. ;
device=SIP/station1 ;[station2](station)
;device=SIP/station2
[station2](station) ;
device=SIP/station2 ;[station3](station)
;device=SIP/station3
[station3](station) ;
device=SIP/station3 ;[station4](station)
;device=SIP/station4
[station4](station) ;
device=SIP/station4 ;[station5](station)
;device=SIP/station5
[station5](station)
device=SIP/station5
; -------------------------------------- ; --------------------------------------