RE: [Asterisk-Users] ParkAndAnnounce - Get Parking Extension

2004-02-04 Thread Ben Miller
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carlton J.
O'Riley
Sent: Wednesday, February 04, 2004 10:39 AM
To: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] ParkAndAnnounce - Get Parking Extension

2004-02-04 Thread John Todd
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carlton J.
O'Riley
Sent: Wednesday, February 04, 2004 10:39 AM
To: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] ParkAndAnnounce - Get Parking Extension

2004-02-04 Thread Andrew Kohlsmith
 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.

In the spirit of ${EXTEN} I would humbly suggest ${PARKEXTEN} myself...

Regards,
Andrew
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] ParkAndAnnounce - Get Parking Extension

2004-02-04 Thread Brian West
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: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Carlton J.
 O'Riley
 Sent: Wednesday, February 04, 2004 10:39 AM
 To: [EMAIL PROTECTED]
 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
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users