Is it possible to get channel info on connected calls in real time?
Meaning, I place a call from an ext to an outbound number
SIP/111 -> outsidenumber
I am able to get the channel for SIP/111 (ex: SIP/111-b780e7a0) but I need to get the channel that SIP/111 is connected too in real time.
I have searched everywhere for some sort of answer on this and perhaps I am just looking wrong. I know the dialplan variable ${CHANNEL} gets me the channel for the SIP/111 but I do not know how to get the 2nd call leg channel.
Make sense?