Is there a way to determine, within the dialplan, what the bridged channel is? For example, if I do “Action: CoreShowChannels” in AMI, I can see the BridgedChannel header and get this info. But near as I can tell there is no in dialplan channel variable that tells you this. Also, there seems to be no argument to the CHANNEL(…) application that can tell me this info either.
How can I get the bridged channel from my current channel without resorting to using AMI?