Carlton J. O'Riley
2004-Feb-04 08:39 UTC
[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.
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@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Carlton J. O'Riley Sent: Wednesday, February 04, 2004 10:39 AM To: asterisk-users@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@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