michael@202: ; michael@202: ; Configuration for Shared Line Appearances (SLA). michael@202: ; michael@202: ; See doc/sla.pdf for more information. michael@202: ; michael@202: michael@202: ; ---- General Options ---------------- michael@202: ;[general] michael@202: michael@202: ;attemptcallerid=no ; Attempt CallerID handling. The default value for this michael@202: ; is "no" because CallerID handling with an SLA setup is michael@202: ; known to not work properly in some situations. However, michael@202: ; feel free to enable it if you would like. If you do, and michael@202: ; you find problems, please do not report them. michael@202: ; ------------------------------------- michael@202: michael@202: michael@202: ; ---- Trunk Declarations ------------- michael@202: ; michael@202: ;[line1] ; Provide a name for this trunk. michael@202: michael@202: ;type=trunk ; This line is what marks this entry as a trunk. michael@202: michael@202: ;device=Zap/3 ; Map this trunk declaration to a specific device. michael@202: ; NOTE: You can not just put any type of channel here. michael@202: ; Zap channels can be directly used. IP trunks michael@202: ; require some indirect configuration which is michael@202: ; described in doc/sla.pdf. michael@202: michael@202: ;autocontext=line1 ; This supports automatic generation of the dialplan entries michael@202: ; if the autocontext option is used. Each trunk should have michael@202: ; a unique context name. Then, in zapata.conf, this device michael@202: ; should be configured to have incoming calls go to this context. michael@202: michael@202: ;ringtimeout=30 ; Set how long to allow this trunk to ring on an inbound call before hanging michael@202: ; it up as an unanswered call. The value is in seconds. michael@202: michael@202: ;barge=no ; If this option is set to "no", then no station will be michael@202: ; allowed to join a call that is in progress. The default michael@202: ; value is "yes". michael@202: michael@202: ;hold=private ; This option configure hold permissions for this trunk. michael@202: ; "open" - This means that any station can put this trunk michael@202: ; on hold, and any station can retrieve it from michael@202: ; hold. This is the default. michael@202: ; "private" - This means that once a station puts the michael@202: ; trunk on hold, no other station will be michael@202: ; allowed to retrieve the call from hold. michael@202: michael@202: ;[line2] michael@202: ;type=trunk michael@202: ;device=Zap/4 michael@202: ;autocontext=line2 michael@202: michael@202: ;[line3] michael@202: ;type=trunk michael@202: ;device=Zap/3 michael@202: ;autocontext=line3 michael@202: michael@202: ;[line4] michael@202: ;type=trunk michael@202: ;device=Local/disa@line4_outbound ; A Local channel in combination with the Disa michael@202: ; application can be used to support IP trunks. michael@202: ; See doc/sla.pdf on more information on how michael@202: ; IP trunks work. michael@202: ;autocontext=line4 michael@202: ; -------------------------------------- michael@202: michael@202: michael@202: ; ---- Station Declarations ------------ michael@202: michael@202: ;[station1] ; Define a name for this station. michael@202: michael@202: ;type=station ; This line indicates that this entry is a station. michael@202: michael@202: ;device=SIP/station1 ; Each station must be mapped to a device. michael@202: michael@202: ;autocontext=sla_stations ; This supports automatic generation of the dialplan entries if michael@202: ; the autocontext option is used. All stations can use the same michael@202: ; context without conflict. The device for this station should michael@202: ; have its context configured to the same one listed here. michael@202: michael@202: ;ringtimeout=10 ; Set a timeout for how long to allow the station to ring for an michael@202: ; incoming call, in seconds. michael@202: michael@202: ;ringdelay=10 ; Set a time for how long to wait before beginning to ring this station michael@202: ; once there is an incoming call, in seconds. michael@202: michael@202: ;hold=private ; This option configure hold permissions for this station. Note michael@202: ; that if private hold is set in the trunk entry, that will override michael@202: ; anything here. However, if a trunk has open hold access, but this michael@202: ; station is set to private hold, then the private hold will be in michael@202: ; effect. michael@202: ; "open" - This means that once this station puts a call michael@202: ; on hold, any other station is allowed to retrieve michael@202: ; it. This is the default. michael@202: ; "private" - This means that once this station puts a michael@202: ; call on hold, no other station will be michael@202: ; allowed to retrieve the call from hold. michael@202: michael@202: michael@202: ;trunk=line1 ; Individually list all of the trunks that will appear on this station. This michael@202: ; order is significant. It should be the same order as they appear on the michael@202: ; phone. The order here defines the order of preference that the trunks will michael@202: ; be used. michael@202: ;trunk=line2 michael@202: ;trunk=line3,ringdelay=5 ; A ring delay for the station can also be specified for a specific trunk. michael@202: ; If a ring delay is specified both for the whole station and for a specific michael@202: ; trunk on a station, the setting for the specific trunk will take priority. michael@202: ; This value is in seconds. michael@202: michael@202: ;trunk=line4,ringtimeout=5 ; A ring timeout for the station can also be specified for a specific trunk. michael@202: ; If a ring timeout is specified both for the whole station and for a specific michael@202: ; trunk on a station, the setting for the specific trunk will take priority. michael@202: ; This value is in seconds. michael@202: michael@202: michael@202: ;[station](!) ; When there are a lot of stations that are configured the same way, michael@202: ; it is convenient to use a configuration template like this so that michael@202: ; the common settings stay in one place. michael@202: ;type=station michael@202: ;autocontext=sla_stations michael@202: ;trunk=line1 michael@202: ;trunk=line2 michael@202: ;trunk=line3 michael@202: ;trunk=line4 michael@202: michael@202: ;[station2](station) ; Define a station that uses the configuration from the template "station". michael@202: ;device=SIP/station2 michael@202: ; michael@202: ;[station3](station) michael@202: ;device=SIP/station3 michael@202: ; michael@202: ;[station4](station) michael@202: ;device=SIP/station4 michael@202: ; michael@202: ;[station5](station) michael@202: ;device=SIP/station5 michael@202: ; -------------------------------------- michael@202: