> I want to know actual DAHDI channel number (pseudo), which received > the > call or dialed the call. Where as when Asterisk receives a call on > DAHDI > channel, it shows channel as "DAHDI/i5/112-15" > Is there any way / configuration to change this behavior and get > actual > channel number? Earlier we used to get this. > > I am using Asterisk 1.8.11 and Dahdi 2.4
You can use the AMI action DAHDIShowChannels to get the current channel mapping. There is an AMI event that you can look for: Event: DAHDIChannel Channel: name Uniqueid: id DAHDISpan: 5 DAHDIChannel: 23 It is generated whenever a call is assigned to a B channel or a call moves to a different B channel. There is also the CHANNEL() dialplan function: CHANNEL(dahdi_channel) CHANNEL(dahdi_span) CHANNEL(dahdi_type) The DAHDIChannel event and CHANNEL() function are mentioned in the UPGRADE.txt file. Richard -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
