Core show channels only works when a call is active; here's an example: Channel Location State Application(Data)
DAHDI/2-1 (None) Up AppDial((Outgoing Line)) SIP/104-08461bd0 1-d...@macro-trunkdi Up Dial(DAHDI/R1/w2975000|20|kKtT 2 active channels 1 active call >From this example you can see that SIP/104 is bridged to DAHDI/2. An AGI might be your best bet to get the information you want. I'd look at voip-info.org for information. _____ From: [email protected] [mailto:[email protected]] On Behalf Of Olivier Sent: Wednesday, September 16, 2009 9:20 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] How to list ongoing calls from dialplan 2009/9/16 Danny Nicholas <[email protected]> Core show channels offers this on releases of asterisk that use/display bridging (1.4.26 does bridging but does not show bridged in status). 1. Here is an example > core show channels Channel Location State Application(Data) 0 active channels 0 active calls 21 calls processed I don't see anything saying that channelA et is bridged to channelB (I can guess from the order used to display calls but can I rely on this ?) Is there an option showing more explicitly those bridges ? 2. How can you access to the same data from dialplan ? Funtion CHANNELS() is fine but I can't see a way to infere two channels are bridged from it. Regards _____ From: [email protected] [mailto:[email protected]] On Behalf Of Olivier Sent: Tuesday, September 15, 2009 5:45 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] How to list ongoing calls from dialplan Hello, Function CHANNELS() list current channels but how can you tell when 2 channels are bridged ? Regards _______________________________________________ -- 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
