Kill VoiP connections when pppoe return

Hi i need to make a script for a kill some connections when PPPOE is restored in a place with a lot of fiber problems and i put a Wi-Fi (Wisp) connection for backup when fail.

I cant touch the phones or fiber config because I’m not allowed (different IT).

I want one script for make action like “/ip firewall connection remove [find where src-address~“192.168.1.100:5060”]” when PPPOE connection are restored?

Thanks for your precious time and help!

I see in ppp profile i can put scripts on UP or Down this can do the trick for me.