Good day to everyone!

Could you please advise me how to unbridge inbound and outbound legs via ESL?

Basically, what I need is on certain dtmf on outbound leg, "unbridge" inbound and outbound legs and put inbound call on music_on_hold. Both legs should not affect each other after "unbridge"
Please advise me how to do it, I am lost :(

Thank you for advise,
Best regards
Nikolay