mirror of
https://github.com/asterisk/asterisk.git
synced 2026-04-28 17:53:35 +00:00
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r53810 | russell | 2007-02-09 18:35:09 -0600 (Fri, 09 Feb 2007) | 24 lines Merge team/russell/sla_rewrite This is a completely new implementation of the SLA functionality introduced in Asterisk 1.4. It is now functional and ready for testing. However, I will be adding some additional features over the next week, as well. For information on how to set this up, see configs/sla.conf.sample and doc/sla.txt. In addition to the changes in app_meetme.c for the SLA implementation itself, this merge brings in various other changes: chan_sip: - Add the ability to indicate HOLD state in NOTIFY messages. - Queue HOLD and UNHOLD control frames even if the channel is not bridged to another channel. linkedlists.h: - Add support for rwlock based linked lists. dial.c: - Add the ability to run ast_dial_start() without a reference channel to inherit information from. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
83 lines
2.0 KiB
Plaintext
83 lines
2.0 KiB
Plaintext
;
|
|
; Configuration for Shared Line Appearances (SLA).
|
|
;
|
|
|
|
; ---- General Options ----------------
|
|
[general]
|
|
; There are none!
|
|
|
|
; -------------------------------------
|
|
|
|
|
|
; ---- Trunk Declarations -------------
|
|
|
|
; Provide a name for this trunk.
|
|
[line1]
|
|
; This line is what marks this entry as a trunk.
|
|
type=trunk
|
|
; Map this trunk declaration to a specific device.
|
|
; 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]
|
|
type=trunk
|
|
device=Zap/4
|
|
autocontext=line2
|
|
|
|
[line3]
|
|
type=trunk
|
|
device=Zap/3
|
|
autocontext=line3
|
|
|
|
[line4]
|
|
type=trunk
|
|
device=Zap/4
|
|
autocontext=line4
|
|
; --------------------------------------
|
|
|
|
|
|
; ---- Station Declarations ------------
|
|
|
|
; In this example, all stations have the same trunks, so this configuration
|
|
; template is used to simplify the declaration of each station.
|
|
[station](!)
|
|
; This line indicates that this entry is a station.
|
|
type=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
|
|
; device for this station should have its context configured to the same one
|
|
; listed here.
|
|
autocontext=sla_stations
|
|
; 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=line1
|
|
trunk=line2
|
|
trunk=line3
|
|
trunk=line4
|
|
|
|
; Define a station that uses the configuration from the template "station".
|
|
[station1](station)
|
|
; Each station must be mapped to a device.
|
|
device=SIP/station1
|
|
|
|
[station2](station)
|
|
device=SIP/station2
|
|
|
|
[station3](station)
|
|
device=SIP/station3
|
|
|
|
[station4](station)
|
|
device=SIP/station4
|
|
|
|
[station5](station)
|
|
device=SIP/station5
|
|
; --------------------------------------
|
|
|