Accessing the BRIDGEPEER variable after answer

Hello and Happy New Year!

I need access to the BRIDGEPEER variable after a call is answered. The pre-bridge handlers can’t get them.

I’ve tried Dial’s “G” option and SHARED or IMPORT and it works but kind of overcooks the plumbing, sometimes you need to catch a failed bridge and try again due to the bridge taking longer than the Gosub.

Wondering if I’m missing a way to run a Gosub after the channels are bridged so I can use ${BRIDGEPEER}, basically what amounts to a post-bridge handler.

Any advice or thoughts appreciated :slight_smile:

I doubt it. It can’t be running dialplan and the bridge at the same time. Something other than dialplan would have to take it out of the bridge.