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. |
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. |
|
|
|
|
|
If set, the sound set will be played to whomever is set by parkedplay |
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 tos@default
. 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 SVN-branch-13-r420717