Use the docs, Luke.
dev-1*CLI> core show application parkandannounce
dev-1*CLI>
-= Info about application 'ParkAndAnnounce' =-
[Synopsis]
Park and Announce
[Description]
ParkAndAnnounce(announce:template,timeout,dial[,return_context]):
Park a call into the parkinglot and announce the call to another channel.
announce template: Colon-separated list of files to announce. The word
PARKED
will be replaced by a say_digits of the extension in
which
the call is parked.
timeout: Time in seconds before the call returns into the return
context.
dial: The app_dial style resource to call to make the
announcement. Console/dsp calls the console.
return_context: The goto-style label to jump the call back into after
timeout. Default <priority+1>.
The variable ${PARKEDAT} will contain the parking extension into which the
call was placed. Use with the Local channel to allow the dialplan to make
use of this information.
David Gibbons wrote:
> Hello,
>
> When I execute parkandannounce() in the dialplan, is the extension that the
> call is parked to stored in a variable? I would like to send it to an AGI
> script but can't seem to figure out where the 'announcer' gets its
> information.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users