Used to park yourself (typically in combination with an attended transfer to know the parking space).
If you set the
PARKINGEXTEN variable to a parking space extension in the parking lot, Park() will attempt to park the call on that extension. If the extension is already in use then execution will continue at the next priority.
parkeddynamic option is enabled in
res_parking.conf the following variables can be used to dynamically create new parking lots. When using dynamic parking lots, be aware of the conditions as explained in the notes section below.
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.
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.
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.
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_name- Specify in which parking lot to park a call.
The parking lot used is selected in the following order:
1) parking_lot_name option to this application
CHANNEL(parkinglot)function (Possibly preset by the channel driver.)
4) Default parking lot.
options- A list of options for this parked call.
r- Send ringing instead of MOH to the parked call.
R- Randomize the selection of a parking space.
s- Silence announcement of the parking space number.
( context,extension,priority )- If the parking times out, go to this place in the dialplan instead of where the parking lot defines the call should go.
( duration )- Use a timeout of
durationseconds instead of the timeout specified by the parking lot.
This documentation was imported from Asterisk Version GIT-20-f8000daff5