Is it possible to automatically record?


I want the recording to be done automatically via file as soon as the call starts. By listening to the channel creation activity as below in the customized lua file.

module:hook(“muc-room-created”, function (event); =>Is there any way to start with something like this?

Thank you in advance for your help.

Is there an event in lua that I can catch when recording starts?