Summary:ASTERISK-05990: Add ${PARKEDAT} to make parkandannounce actually useful :-)
Reporter:Andrew Kohlsmith (akohlsmith)Labels:
Date Opened:2006-01-05 17:58:43.000-0600Date Closed:2006-01-22 00:18:31.000-0600
Versions:Frequency of
Environment:Attachments:( 0) app_parkandannounce-PARKEDAT-var-r7816-rev2.diff
( 1) PARKEDAT.add.to.README.variables.diff
Description:This is an old patch I've revised and made to compile against svn trunk.  It simply adds the ${PARKEDAT} variable to the announce channel.  This makes parkandannounce insanely useful because you can now make use of the parking slot number in the dialplan by announcing to a Local channel.



exten => 700,6,ParkAndAnnounce(PARKED,,Local/${EXTEN}@dosomethingcool)

exten => _X.,1,NoOp(dosomethingcool: PARKEDAT is ${PARKEDAT})
exten => _X.,2,DeadAGI(FunkyFunc.agi)
Comments:By: Andrew Kohlsmith (akohlsmith) 2006-01-05 18:05:03.000-0600

updated patch, now with documentation!  :-)

By: Andrew Kohlsmith (akohlsmith) 2006-01-07 17:43:46.000-0600

added README.variables patch to keep documentation in line with code.

TWO patches make up this feature:

If an admin could please delete the earliest patch submitted, it would be appreciated.

By: Jason Parker (jparker) 2006-01-07 17:45:49.000-0600


By: mike240se (mike240se) 2006-01-13 02:45:28.000-0600

Could this be used to make call parking more useful in a small business enviroment?  Maybe make the snom phone buttons useful for call parking?

By: Andrew Kohlsmith (akohlsmith) 2006-01-13 05:47:38.000-0600

I'm not familiar with the snom phones at all (nor any SIP phone for that matter) but I suppose it is possible to announce the parked call to a Local/ channel and have that channel's context either send a message to the phone to "soft program" the soft button.  It could also be used to announce the parked channel over SMS, IM or really anything.  Hell you could have Cepestral do something really awkward with it.  :-)

By: Tilghman Lesher (tilghman) 2006-01-22 00:18:30.000-0600

Committed to trunk.