Thanks a lot Danny but isn't it another "production proof" way of doing this ?
I've given a very simple example but in production, I can call up to 10 destinations simutaneously and there could have more than 30 concurrent calls, meaning that this solution doesn't sounds very reliable in my case. Is there any other way to retrieve the information ? Channel variable ? What a CDR(dst) returns after the Dial ? All destination or only the destination that has answered ? Thanks in advance Patrick On Wed, Sep 9, 2009 at 16:15, Danny Nicholas<[email protected]> wrote: > 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: [email protected] > [mailto:[email protected]] On Behalf Of Patrick > Sent: Wednesday, September 09, 2009 9:08 AM > To: [email protected] > 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 > > > _______________________________________________ > -- 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 > _______________________________________________ -- 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
