QUESTION Conference recording auto email

atsak

Guru
Joined
Sep 7, 2009
Messages
1,821
Reaction score
186
I am sure I read something about this somewhere but my sick search skillz fail me today. I want to email conference recordings out automatically after they're created. A cron job should do the trick I suspect that runs once every half an hour but I haven't got the mad skillz required to write or implement such a beast. Basically get all the files in the recording folder for a given conference and send to a given email address then delete them.

Apologies for the vocabulary above I've had a lot of red bull today already.

Any pointers or walk throughs very much appreciated for PIAF 2.0.6.5, Asterisk 11 and Freepbx2.11
 

atsak

Guru
Joined
Sep 7, 2009
Messages
1,821
Reaction score
186
I see this as a feature request in FreePBX as well but alas it is not there. I really wish I had the time to learn properly.
 

atsak

Guru
Joined
Sep 7, 2009
Messages
1,821
Reaction score
186
Would this work with confbridge? Almost everything I have uses confbridge now.
 

AndyInNYC

Active Member
Joined
May 23, 2013
Messages
619
Reaction score
83
Alternatively, wouldn't a cron job using 'lsof' to test to see if the file is open (ie conf still in progress) work?
If the file is closed, email it and delete it.
If the file is open, the next cron run will find it (or loop back again the next time if it is a 31+ minute call, etc.).

Igaetz, I like the look of your solution, but you're using tools I don't possess <g>.

Andrew
 

Members online

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,448
Messages
138,014
Members
14,613
Latest member
roshan2019