ParkAndAnnounce(announce_template,dial[,parking_lot_name,options])
Full arguments reference
parking_lot_name- Specify in which parking lot to park a call.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.c- If the parking times out, go to this place in the dialplanThe core call-routing configuration of Asterisk, written mostly in extensions.conf as contexts, extensions, and priorities that decide how every call is handled. Full definition → instead of where the parking lot defines the call should go.contextextensionpriorityrequired
t- Use a timeout ofdurationseconds instead of the timeout specified by the parking lot.durationrequired
announce_templaterequiredannouncerequired - Colon-separated list of files to announce. The wordPARKEDwill be replaced by a say_digits of the extension in which the call is parked.announce1(multiple)
dialrequired - The app_dial style resource to call to make the announcement. Console/dsp calls the console.
Park a call into the parkinglot and announce the call to another channelA single call leg passing through Asterisk. Channels represent connections to endpoints and are what dialplan applications act on..
The variable PARKEDAT will contain the parking extensionA dialplan entry that matches a dialed number or pattern within a context and triggers a sequence of prioritized steps. into which the call was placed. Use with the Local channel to allow the dialplanThe core call-routing configuration of Asterisk, written mostly in extensions.conf as contexts, extensions, and priorities that decide how every call is handled. Full definition → to make use of this information.
parking_lot_name- Specify in which parking lot to park a call.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.c- If the parking times out, go to this place in the dialplanThe core call-routing configuration of Asterisk, written mostly in extensions.conf as contexts, extensions, and priorities that decide how every call is handled. Full definition → instead of where the parking lot defines the call should go.contextextensionpriorityrequired
t- Use a timeout ofdurationseconds instead of the timeout specified by the parking lot.durationrequired
announce_templaterequiredannouncerequired - Colon-separated list of files to announce. The wordPARKEDwill be replaced by a say_digits of the extension in which the call is parked.announce1(multiple)
dialrequired - The app_dial style resource to call to make the announcement. Console/dsp calls the console.
User Notes
Know a tip or gotcha for this topic? Share it below and help others.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.