[Asterisk-Users] ParkAndAnnounce - Get Parking Extension
Brian West
brian at bkw.org
Wed Feb 4 21:24:47 MST 2004
well each call is like an http request... you can't keep state from one to
the next like that.
bkw
On Wed, 4 Feb 2004, John Todd wrote:
>
> ParkAndAnnounce is kind of a misnomer; you don't necessarily need to
> "announce".
>
> I wholeheartedly agree that a variable (${PARKINGSLOT} perhaps?)
> should be set on the return of ParkAndAnnounce, and that value should
> find it's way into the "new" channel that is spawned by the
> ParkAndAnnounce goto-style call.
>
> JT
>
>
> At 1:09 PM -0500 2/4/04, Ben Miller wrote:
> >
> >Yup, the only way to do that is to modify the source.
> >The task of setting a channel variable to the parked slot is simple;
> >however, because the parkandannounce application is placing the call to
> >the "callee" to announce, it would need to have the logic of handling
> >the press 1 or 2 inside itself, rather than in the call plan. Not a bad
> >feature, but definitely an edit to the source.
> >Ben
> >
> >-----Original Message-----
> >From: asterisk-users-admin at lists.digium.com
> >[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Carlton J.
> >O'Riley
> >Sent: Wednesday, February 04, 2004 10:39 AM
> >To: asterisk-users at lists.digium.com
> >Subject: [Asterisk-Users] ParkAndAnnounce - Get Parking Extension
> >
> >Is there a way to get the extension that was used to park the call using
> >the
> >ParkAndAnnounce command into a variable? Or a variable that is set? I
> >would like to create an application that allows the person the call is
> >being
> >announce to be able to accept the call (by pressing 1) or send the call
> >to
> >voicemail by pressing (2), but I need to know what parked extension the
> >call
> >is on. If the only way is to modify the source I'm comfortable with
> >that.
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list