This configuration documentation is for functionality provided by res_parking
.
res_parking.conf
globals
Options that apply to every parking lot
Configuration Option Reference
Option Name |
Type |
Default Value |
Regular Expression |
Description |
---|---|---|---|---|
|
|
|
Enables dynamically created parkinglots. |
Configuration Option Descriptions
parkeddynamic
If the option is enabled then the following variables can be used to dynamically create new parking lots.
The PARKINGDYNAMIC
variable specifies the parking lot to use as a template to create a dynamic parking lot. It is an error to specify a non-existent parking lot for the template. If not set then the default parking lot is used as the template.
The PARKINGDYNCONTEXT
variable specifies the dialplan context to use for the newly created dynamic parking lot. If not set then the context from the parking lot template is used. The context is created if it does not already exist and the new parking lot needs to create extensions.
The PARKINGDYNEXTEN
variable specifies the parkext
to use for the newly created dynamic parking lot. If not set then the parkext
is used from the parking lot template. If the template does not specify a parkext
then no extensions are created for the newly created parking lot. The dynamic parking lot cannot be created if it needs to create extensions that overlap existing parking lot extensions. The only exception to this is for the parkext
extension and only if neither of the overlaping parking lot's parkext
is exclusive.
The PARKINGDYNPOS
variable specifies the parking positions to use for the newly created dynamic parking lot. If not set then the parkpos
from the parking lot template is used.
parking_lot
Defined parking lots for res_parking to use to park calls on
Configuration Option Reference
Option Name |
Type |
Default Value |
Regular Expression |
Description |
---|---|---|---|---|
|
|
|
The name of the context where calls are parked and picked up from. |
|
|
|
|
Extension to park calls to this parking lot. |
|
|
|
|
|
If yes, the extension registered as parkext will park exclusively to this parking lot. |
|
|
|
Numerical range of parking spaces which can be used to retrieve parked calls. |
|
|
|
|
|
If yes, this parking lot will add hints automatically for parking spaces. |
|
|
|
|
Amount of time a call will remain parked before giving up (in seconds). |
|
|
|
|
Which music class to use for parked calls. They will use the default if unspecified. |
|
|
|
Determines what should be done with the parked channel if no one picks it up before it times out. |
|
|
|
|
|
Timeout for the Dial extension created to call back the parker when a parked call times out. |
|
|
|
Context where parked calls will enter the PBX on timeout when comebacktoorigin=no |
|
|
|
|
If the name of a sound file is provided, use this as the courtesy tone |
|
|
|
|
Who we should play the courtesytone to on the pickup of a parked call from this lot |
|
|
|
|
Who to apply the DTMF transfer features to when parked calls are picked up or timeout. |
|
|
|
|
Who to apply the DTMF parking feature to when parked calls are picked up or timeout. |
|
|
|
|
Who to apply the DTMF hangup feature to when parked calls are picked up or timeout. |
|
|
|
|
Who to apply the DTMF MixMonitor recording feature to when parked calls are picked up or timeout. |
|
|
|
|
Rule to use when trying to figure out which parking space a call should be parked with. |
Configuration Option Descriptions
context
This option is only used if parkext is set.
parkext
If this option is used, this extension will automatically be created to place calls into parking lots. In addition, if parkext_exclusive
is set for this parking lot, the name of the parking lot will be included in the application's arguments so that it only parks to this parking lot. The extension will be created in context
. Using this option also creates extensions for retrieving parked calls from the parking spaces in the same context.
parkpos
If parkext
is set, these extensions will automatically be mapped in context
in order to pick up calls parked to these parking spaces.
comebacktoorigin
Valid Options:
yes
- Automatically have the parked channel dial the device that parked the call with dial timeout set by theparkingtime
option. When the call times out an extension to dial the PARKER will automatically be created in thepark-dial
context with an extension of the flattened parker device name. If the call is not answered, the parked channel that is timing out will continue in the dial plan at that point if there are more priorities in the extension (which won't be the case unless the dialplan deliberately includes such priorities in thepark-dial
context through pattern matching or deliberately written flattened peer extensions).no
- Place the call into the PBX atcomebackcontext
instead. The extension will still be set as the flattened peer name. If an extension the flattened peer name isn't available then it will fall back to thes
extension. If that also is unavailable it will attempt to fall back to[email protected]
. The normal dial extension will still be created in thepark-dial
context with the extension also being the flattened peer name.PARKING_SPACE
- extension that the call was parked in prior to timing out.PARKINGSLOT
- Deprecated. UsePARKING_SPACE
instead.PARKEDLOT
- name of the lot that the call was parked in prior to timing out.PARKER
- The device that parked the callPARKER_FLAT
- The flat version ofPARKER
comebackcontext
The extension the call enters will prioritize the flattened peer name in this context. If the flattened peer name extension is unavailable, then the 's' extension in this context will be used. If that also is unavailable, the 's' extension in the 'default' context will be used.
courtesytone
By default, this tone is only played to the caller of a parked call. Who receives the tone can be changed using the parkedplay
option.
parkedplay
no
- Apply to neither side.caller
- Apply only to the call connecting with the call coming out of the parking lot.callee
- Apply only to the call coming out of the parking lot.both
- Apply to both sides.
parkedcalltransfers
no
- Apply to neither side.caller
- Apply only to the call connecting with the call coming out of the parking lot.callee
- Apply only to the call coming out of the parking lot.both
- Apply to both sides.
parkedcallreparking
no
- Apply to neither side.caller
- Apply only to the call connecting with the call coming out of the parking lot.callee
- Apply only to the call coming out of the parking lot.both
- Apply to both sides.
parkedcallhangup
no
- Apply to neither side.caller
- Apply only to the call connecting with the call coming out of the parking lot.callee
- Apply only to the call coming out of the parking lot.both
- Apply to both sides.
parkedcallrecording
no
- Apply to neither side.caller
- Apply only to the call connecting with the call coming out of the parking lot.callee
- Apply only to the call coming out of the parking lot.both
- Apply to both sides.
findslot
first
- Always try to place in the lowest available space in the parking lotnext
- Track the last parking space used and always attempt to use the one immediately after.
Import Version
This documentation was imported from Asterisk Version GIT-13-455bc78