[asterisk-users] Parked Extension Variable

2008-12-10 Thread David Gibbons
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.

Thanks
Dave

___
-- 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


Re: [asterisk-users] Parked Extension Variable

2008-12-10 Thread Danny Nicholas
According to lists.digium.com/pipermail/asterisk-dev/2006-March/019516.html
the value is stored in ${PARKEDAT}

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Gibbons
Sent: Wednesday, December 10, 2008 1:02 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] Parked Extension Variable

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.

Thanks
Dave

___
-- 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


___
-- 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


Re: [asterisk-users] Parked Extension Variable

2008-12-10 Thread David Gibbons
snip
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny Nicholas


According to lists.digium.com/pipermail/asterisk-dev/2006-March/019516.html
the value is stored in ${PARKEDAT}
/snip


*grin*

I guess I deserved that.

Thanks for checking.

Dave

___
-- 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


Re: [asterisk-users] Parked Extension Variable

2008-12-10 Thread Eric ManxPower Wieling
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