Hello,

I'm trying to use hangup api hook for leg b, while leg a is still connected and transferred to do other tasks.

The hook only triggers when leg a disconnected, not when leg b.

I found this question on Google, but no answer that works.

So how can I execute API (curl in this case) when leg b is disconnected?

Thank you,

Ido