2 ; Configuration for Shared Line Appearances (SLA).
4 ; See doc/sla.pdf for more information.
7 ; ---- General Options ----------------
10 ;attemptcallerid=no ; Attempt CallerID handling. The default value for this
11 ; is "no" because CallerID handling with an SLA setup is
12 ; known to not work properly in some situations. However,
13 ; feel free to enable it if you would like. If you do, and
14 ; you find problems, please do not report them.
15 ; -------------------------------------
18 ; ---- Trunk Declarations -------------
20 ;[line1] ; Provide a name for this trunk.
22 ;type=trunk ; This line is what marks this entry as a trunk.
24 ;device=Zap/3 ; Map this trunk declaration to a specific device.
25 ; NOTE: You can not just put any type of channel here.
26 ; Zap channels can be directly used. IP trunks
27 ; require some indirect configuration which is
28 ; described in doc/sla.pdf.
30 ;autocontext=line1 ; This supports automatic generation of the dialplan entries
31 ; if the autocontext option is used. Each trunk should have
32 ; a unique context name. Then, in zapata.conf, this device
33 ; should be configured to have incoming calls go to this context.
35 ;ringtimeout=30 ; Set how long to allow this trunk to ring on an inbound call before hanging
36 ; it up as an unanswered call. The value is in seconds.
38 ;barge=no ; If this option is set to "no", then no station will be
39 ; allowed to join a call that is in progress. The default
42 ;hold=private ; This option configure hold permissions for this trunk.
43 ; "open" - This means that any station can put this trunk
44 ; on hold, and any station can retrieve it from
45 ; hold. This is the default.
46 ; "private" - This means that once a station puts the
47 ; trunk on hold, no other station will be
48 ; allowed to retrieve the call from hold.
62 ;device=Local/disa@line4_outbound ; A Local channel in combination with the Disa
63 ; application can be used to support IP trunks.
64 ; See doc/sla.pdf on more information on how
67 ; --------------------------------------
70 ; ---- Station Declarations ------------
72 ;[station1] ; Define a name for this station.
74 ;type=station ; This line indicates that this entry is a station.
76 ;device=SIP/station1 ; Each station must be mapped to a device.
78 ;autocontext=sla_stations ; This supports automatic generation of the dialplan entries if
79 ; the autocontext option is used. All stations can use the same
80 ; context without conflict. The device for this station should
81 ; have its context configured to the same one listed here.
83 ;ringtimeout=10 ; Set a timeout for how long to allow the station to ring for an
84 ; incoming call, in seconds.
86 ;ringdelay=10 ; Set a time for how long to wait before beginning to ring this station
87 ; once there is an incoming call, in seconds.
89 ;hold=private ; This option configure hold permissions for this station. Note
90 ; that if private hold is set in the trunk entry, that will override
91 ; anything here. However, if a trunk has open hold access, but this
92 ; station is set to private hold, then the private hold will be in
94 ; "open" - This means that once this station puts a call
95 ; on hold, any other station is allowed to retrieve
96 ; it. This is the default.
97 ; "private" - This means that once this station puts a
98 ; call on hold, no other station will be
99 ; allowed to retrieve the call from hold.
102 ;trunk=line1 ; Individually list all of the trunks that will appear on this station. This
103 ; order is significant. It should be the same order as they appear on the
104 ; phone. The order here defines the order of preference that the trunks will
107 ;trunk=line3,ringdelay=5 ; A ring delay for the station can also be specified for a specific trunk.
108 ; If a ring delay is specified both for the whole station and for a specific
109 ; trunk on a station, the setting for the specific trunk will take priority.
110 ; This value is in seconds.
112 ;trunk=line4,ringtimeout=5 ; A ring timeout for the station can also be specified for a specific trunk.
113 ; If a ring timeout is specified both for the whole station and for a specific
114 ; trunk on a station, the setting for the specific trunk will take priority.
115 ; This value is in seconds.
118 ;[station](!) ; When there are a lot of stations that are configured the same way,
119 ; it is convenient to use a configuration template like this so that
120 ; the common settings stay in one place.
122 ;autocontext=sla_stations
128 ;[station2](station) ; Define a station that uses the configuration from the template "station".
139 ; --------------------------------------