asterisk/sla.conf

changeset 202
f29abea29121
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/asterisk/sla.conf	Mon Apr 27 12:19:05 2009 +0200
     1.3 @@ -0,0 +1,140 @@
     1.4 +;
     1.5 +; Configuration for Shared Line Appearances (SLA).
     1.6 +;
     1.7 +; See doc/sla.pdf for more information.
     1.8 +;
     1.9 +
    1.10 +; ---- General Options ----------------
    1.11 +;[general]
    1.12 +
    1.13 +;attemptcallerid=no         ; Attempt CallerID handling.  The default value for this
    1.14 +                            ; is "no" because CallerID handling with an SLA setup is
    1.15 +                            ; known to not work properly in some situations.  However,
    1.16 +                            ; feel free to enable it if you would like.  If you do, and
    1.17 +                            ; you find problems, please do not report them.
    1.18 +; -------------------------------------
    1.19 +
    1.20 +
    1.21 +; ---- Trunk Declarations -------------
    1.22 +;
    1.23 +;[line1]                    ; Provide a name for this trunk.
    1.24 +
    1.25 +;type=trunk                 ; This line is what marks this entry as a trunk.
    1.26 +
    1.27 +;device=Zap/3               ; Map this trunk declaration to a specific device.
    1.28 +                            ; NOTE: You can not just put any type of channel here.
    1.29 +                            ;       Zap channels can be directly used.  IP trunks
    1.30 +                            ;       require some indirect configuration which is
    1.31 +                            ;       described in doc/sla.pdf.
    1.32 +
    1.33 +;autocontext=line1          ; This supports automatic generation of the dialplan entries 
    1.34 +                            ; if the autocontext option is used.  Each trunk should have 
    1.35 +                            ; a unique context name.  Then, in zapata.conf, this device 
    1.36 +                            ; should be configured to have incoming calls go to this context.
    1.37 +
    1.38 +;ringtimeout=30             ; Set how long to allow this trunk to ring on an inbound call before hanging 
    1.39 +                            ; it up as an unanswered call.  The value is in seconds.
    1.40 +
    1.41 +;barge=no                   ; If this option is set to "no", then no station will be
    1.42 +                            ; allowed to join a call that is in progress.  The default
    1.43 +                            ; value is "yes".
    1.44 +
    1.45 +;hold=private               ; This option configure hold permissions for this trunk.
    1.46 +                            ;   "open"    - This means that any station can put this trunk
    1.47 +                            ;               on hold, and any station can retrieve it from
    1.48 +                            ;               hold.  This is the default.
    1.49 +                            ;   "private" - This means that once a station puts the
    1.50 +                            ;               trunk on hold, no other station will be
    1.51 +                            ;               allowed to retrieve the call from hold.
    1.52 +
    1.53 +;[line2]
    1.54 +;type=trunk
    1.55 +;device=Zap/4
    1.56 +;autocontext=line2
    1.57 +
    1.58 +;[line3]
    1.59 +;type=trunk
    1.60 +;device=Zap/3
    1.61 +;autocontext=line3
    1.62 +
    1.63 +;[line4]
    1.64 +;type=trunk
    1.65 +;device=Local/disa@line4_outbound ; A Local channel in combination with the Disa
    1.66 +                                  ; application can be used to support IP trunks.
    1.67 +                                  ; See doc/sla.pdf on more information on how
    1.68 +                                  ; IP trunks work.
    1.69 +;autocontext=line4
    1.70 +; --------------------------------------
    1.71 +
    1.72 +
    1.73 +; ---- Station Declarations ------------
    1.74 +
    1.75 +;[station1]                 ; Define a name for this station.
    1.76 +
    1.77 +;type=station               ; This line indicates that this entry is a station.
    1.78 +
    1.79 +;device=SIP/station1        ; Each station must be mapped to a device.
    1.80 +
    1.81 +;autocontext=sla_stations   ; This supports automatic generation of the dialplan entries if 
    1.82 +                            ; the autocontext option is used.  All stations can use the same 
    1.83 +                            ; context without conflict.  The device for this station should 
    1.84 +                            ; have its context configured to the same one listed here.
    1.85 +
    1.86 +;ringtimeout=10             ; Set a timeout for how long to allow the station to ring for an 
    1.87 +                            ; incoming call, in seconds.
    1.88 +
    1.89 +;ringdelay=10               ; Set a time for how long to wait before beginning to ring this station
    1.90 +                            ; once there is an incoming call, in seconds.
    1.91 +
    1.92 +;hold=private               ; This option configure hold permissions for this station.  Note
    1.93 +                            ; that if private hold is set in the trunk entry, that will override
    1.94 +                            ; anything here.  However, if a trunk has open hold access, but this
    1.95 +                            ; station is set to private hold, then the private hold will be in
    1.96 +                            ; effect.
    1.97 +                            ;   "open"    - This means that once this station puts a call
    1.98 +                            ;               on hold, any other station is allowed to retrieve
    1.99 +                            ;               it.  This is the default.
   1.100 +                            ;   "private" - This means that once this station puts a
   1.101 +                            ;               call on hold, no other station will be
   1.102 +                            ;               allowed to retrieve the call from hold.
   1.103 +      
   1.104 +
   1.105 +;trunk=line1                ; Individually list all of the trunks that will appear on this station.  This
   1.106 +                            ; order is significant.  It should be the same order as they appear on the
   1.107 +                            ; phone.  The order here defines the order of preference that the trunks will
   1.108 +                            ; be used.
   1.109 +;trunk=line2
   1.110 +;trunk=line3,ringdelay=5    ; A ring delay for the station can also be specified for a specific trunk.
   1.111 +                            ; If a ring delay is specified both for the whole station and for a specific
   1.112 +                            ; trunk on a station, the setting for the specific trunk will take priority.
   1.113 +                            ; This value is in seconds.
   1.114 +
   1.115 +;trunk=line4,ringtimeout=5  ; A ring timeout for the station can also be specified for a specific trunk.
   1.116 +                            ; If a ring timeout is specified both for the whole station and for a specific
   1.117 +                            ; trunk on a station, the setting for the specific trunk will take priority.
   1.118 +                            ; This value is in seconds.
   1.119 +
   1.120 +
   1.121 +;[station](!)               ; When there are a lot of stations that are configured the same way,
   1.122 +                            ; it is convenient to use a configuration template like this so that
   1.123 +                            ; the common settings stay in one place.
   1.124 +;type=station
   1.125 +;autocontext=sla_stations
   1.126 +;trunk=line1
   1.127 +;trunk=line2 
   1.128 +;trunk=line3
   1.129 +;trunk=line4 
   1.130 +
   1.131 +;[station2](station)        ; Define a station that uses the configuration from the template "station".
   1.132 +;device=SIP/station2
   1.133 +;
   1.134 +;[station3](station)
   1.135 +;device=SIP/station3
   1.136 +;
   1.137 +;[station4](station)
   1.138 +;device=SIP/station4
   1.139 +;
   1.140 +;[station5](station)
   1.141 +;device=SIP/station5
   1.142 +; --------------------------------------
   1.143 +

mercurial