Hello,

 

Let me explain my scenario first. I’m using ESL inbound to originate a call which will go into a certain context when the call is answered. After this the dialplan XML takes over. ESL is out of the scope after this.

Once answered, I give the user the option to be bridged to another destination.

 

From what I understood, when bridging a call, there is no way to execute dialplan application anymore.

Is there a way to know if a bridge was successful or not, regardless of who hung up the call?

If the B leg hangs up, I can use the hangup_after_bridg(false), and perhaps access some variable which will tell me if a bridge was successful (if available).

But if the A Leg hangs up during the bridge I wouldn’t be able to do anything anymore.

 

Any ideas?

 

Regards,

 

Grant