Patrick
2009-Sep-09 14:07 UTC
[asterisk-users] Dial multiple extensions and know who picks up call
Dear, I'm currently using a Dial command with multiple destinations and channels eg: Dial(SIP/100&SIP/101) I simply would like to know, in real time during the call (from dial plan or AGI), who has picked up the call. Can I find this information in a variable somewhere ? Thank you for your help Patrick
Danny Nicholas
2009-Sep-09 14:15 UTC
[asterisk-users] Dial multiple extensions and know who picks up call
You could strip it out of a "core show channels" command. When 100 picks up the call, the command will show an active call on 100. Of course this wouldn't be accurate if 101 also was on another call. You could do an AGI to start before the Dial and it could monitor and return the pickup extension using AMI. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Patrick Sent: Wednesday, September 09, 2009 9:08 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Dial multiple extensions and know who picks up call Dear, I'm currently using a Dial command with multiple destinations and channels eg: Dial(SIP/100&SIP/101) I simply would like to know, in real time during the call (from dial plan or AGI), who has picked up the call. Can I find this information in a variable somewhere ? Thank you for your help Patrick _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users