[Asterisk-Users] Re: Re: Call parking from legacy PBX over PRI??

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Tue May 16 06:26:10 MST 2006


On Monday 15 May 2006 08:42, Steven wrote:
> What is the trick to call it announce the Park position during the transfer
> instead of a call back??

*CLI> show application ParkAndAnnounce

  -= 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.

=======

So basically, ParkAndAnnounce(PARKEDAT|90|Local/foo at doparking), and then deal 
with it in exten => foo in [doparking].

-A.



More information about the asterisk-users mailing list