Asterisk Project : Asterisk 10 Application_Park This page last changed on Oct 14, 2011 by wikibot. # 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 If you set the `None` - `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 If you set the `None` - `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 If you set the `None` - `PARKINGDYNCONTEXT` variable then the newly created dynamic parking lot will use this context. If you set the If you set the `None` - `PARKINGDYNEXTEN` variable then the newly created dynamic parking lot will use this extension to access the parking lot. If you set the If you set the `None` - `PARKINGDYNPOS` variable then the newly created dynamic parking lot will use those parking postitions. 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.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. 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.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 Asterisk 10 Application_ParkAndAnnounce Asterisk 10 Application_ParkedCall ### Import Version This documentation was imported from Asterisk version SVN-branch-10-r340810.

Document generated by Confluence on Oct 14, 2011 13:24