Skip to end of metadata
Go to start of metadata

Park()

Synopsis

Park yourself.

Description

Used to park yourself (typically in combination with a supervised 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 is in use then execution will continue at the next priority.

If the parkeddynamic option is enabled in features.conf the following variables can be used to dynamically create new parking lots.

If you set the PARKINGDYNAMIC variable and this parking lot exists then it will be used as a template for the newly created dynamic lot. Otherwise, the default parking lot will be used.

If you set the PARKINGDYNCONTEXT variable then the newly created dynamic parking lot will use this context.

If you set the PARKINGDYNEXTEN variable then the newly created dynamic parking lot will use this extension to access the parking lot.

If you set the PARKINGDYNPOS variable then the newly created dynamic parking lot will use those parking postitions.

Note

Icon

This application must be used as the first extension priority to be recognized as a parking access extension. DTMF transfers and some channel drivers need this distinction to operate properly. The parking access extension in this case is treated like a dialplan hint.

Note

Icon

Parking lots automatically create and manage dialplan extensions in the parking lot context. You do not need to explicitly use this application in your dialplan. Instead, all you should do is include the parking lot context in your dialplan.

Syntax

Park([timeout,[return_context,[return_exten,[return_priority,[options,[parking_lot_name]]]]]])
Arguments
  • timeout - A custom parking timeout for this parked call. Value in milliseconds.
  • return_context - The context to return the call to after it times out.
  • return_exten - The extension to return the call to after it times out.
  • return_priority - The priority to return the call to after it times out.
  • 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.
  • 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
    2) PARKINGLOT variable
    3) CHANNEL(parkinglot) function (Possibly preset by the channel driver.)
    4) Default parking lot.

See Also

Import Version

This documentation was imported from Asterisk Version SVN-branch-11-r418713

  • No labels