I’m listening for BridgeEnter/BridgeLeave to trigger sending MixMonitor/StopMixMonitor.
Seems to work great for the very first BridgeEnter, MixMonitor starts the recording, but then nothing on the socket and no errors, verified the socket remains open.
I’ve tried with and without Login/Logoff on the actions.
Note this is a known-working daemon that I built, the only thing I’m doing different is using the same socket vs opening a new socket for the actions.
I provide a number of different example listener scripts — sync versus async, AMI versus ARI — in my examples repo for Seaskirt. Feel free to use that as a reference. And let me know if they don’t work for you.