2006-08-14 01:32:46 +00:00
|
|
|
;
|
2007-02-10 00:40:57 +00:00
|
|
|
; Configuration for Shared Line Appearances (SLA).
|
2006-08-14 01:32:46 +00:00
|
|
|
;
|
2007-02-28 18:21:47 +00:00
|
|
|
; See doc/sla.txt for more information.
|
|
|
|
;
|
2006-08-14 01:32:46 +00:00
|
|
|
|
2007-02-10 00:40:57 +00:00
|
|
|
; ---- General Options ----------------
|
|
|
|
[general]
|
|
|
|
; There are none!
|
|
|
|
|
|
|
|
; -------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
; ---- Trunk Declarations -------------
|
2007-02-20 16:42:33 +00:00
|
|
|
;
|
|
|
|
;[line1] ; Provide a name for this trunk.
|
|
|
|
;type=trunk ; This line is what marks this entry as a trunk.
|
|
|
|
;
|
|
|
|
;device=Zap/3 ; Map this trunk declaration to a specific device.
|
|
|
|
; NOTE: At this point, this *must* be a zap channel!
|
|
|
|
|
|
|
|
;autocontext=line1 ; 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.
|
|
|
|
|
2007-02-22 23:12:26 +00:00
|
|
|
;ringtimeout=30 ; Set how long to allow this trunk to ring on an inbound call before hanging
|
|
|
|
; it up as an unanswered call. The value is in seconds.
|
|
|
|
|
2007-02-20 16:42:33 +00:00
|
|
|
;[line2]
|
|
|
|
;type=trunk
|
|
|
|
;device=Zap/4
|
|
|
|
;autocontext=line2
|
|
|
|
|
|
|
|
;[line3]
|
|
|
|
;type=trunk
|
|
|
|
;device=Zap/3
|
|
|
|
;autocontext=line3
|
|
|
|
|
|
|
|
;[line4]
|
|
|
|
;type=trunk
|
|
|
|
;device=Zap/4
|
|
|
|
;autocontext=line4
|
2007-02-10 00:40:57 +00:00
|
|
|
; --------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
; ---- Station Declarations ------------
|
|
|
|
|
2007-02-20 16:42:33 +00:00
|
|
|
;type=station ; This line indicates that this entry is a station.
|
|
|
|
|
|
|
|
;autocontext=sla_stations ; This supports automatic generation of the dialplan entries if
|
|
|
|
; the autocontext option is used. All stations can use the same
|
|
|
|
; context without conflict. The device for this station should
|
|
|
|
; have its context configured to the same one listed here.
|
|
|
|
|
2007-02-22 23:12:26 +00:00
|
|
|
;ringtimeout=10 ; Set a timeout for how long to allow the station to ring for an
|
2007-02-28 18:21:47 +00:00
|
|
|
; incoming call, in seconds.
|
2007-02-22 23:12:26 +00:00
|
|
|
|
2007-02-28 18:21:47 +00:00
|
|
|
;ringdelay=10 ; Set a time for how long to wait before beginning to ring this station
|
|
|
|
; once there is an incoming call, in seconds.
|
2007-02-22 23:12:26 +00:00
|
|
|
|
2007-02-20 16:42:33 +00:00
|
|
|
;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
|
|
|
|
; phone. The order here defines the order of preference that the trunks will
|
|
|
|
; be used.
|
|
|
|
;trunk=line2
|
2007-02-28 18:21:47 +00:00
|
|
|
;trunk=line3,ringdelay=5 ; A ring delay for the station can also be specified for a specific trunk.
|
|
|
|
; If a ring delay is specified both for the whole station and for a specific
|
|
|
|
; trunk on a station, the setting for the specific trunk will take priority.
|
|
|
|
; This value is in seconds.
|
|
|
|
|
2007-02-22 23:12:26 +00:00
|
|
|
;trunk=line4,ringtimeout=5 ; A ring timeout for the station can also be specified for a specific trunk.
|
|
|
|
; If a ring timeout is specified both for the whole station and for a specific
|
|
|
|
; trunk on a station, the setting for the specific trunk will take priority.
|
|
|
|
; This value is in seconds.
|
|
|
|
|
2007-02-20 16:42:33 +00:00
|
|
|
|
|
|
|
;[station1](station) ; Define a station that uses the configuration from the template "station".
|
|
|
|
;device=SIP/station1 ; Each station must be mapped to a device.
|
|
|
|
;
|
|
|
|
;[station2](station)
|
|
|
|
;device=SIP/station2
|
|
|
|
;
|
|
|
|
;[station3](station)
|
|
|
|
;device=SIP/station3
|
|
|
|
;
|
|
|
|
;[station4](station)
|
|
|
|
;device=SIP/station4
|
|
|
|
;
|
|
|
|
;[station5](station)
|
|
|
|
;device=SIP/station5
|
2007-02-10 00:40:57 +00:00
|
|
|
; --------------------------------------
|
2006-08-14 01:32:46 +00:00
|
|
|
|