Asterisk 11, CEL And ConfBridge Recordings
Dear friends,
Need to know filenames of conference recordings in Asterisk 11.
Besides directory scanning the recordings could use CEL:
Filter MySQL rows with eventtype equal CHAN_START and channame like ConfBridgeRecorder and then get the eventtime field and convert to timestamp to complete filename(s).
Would you suggest any other approaches?
Thanks.
4 thoughts on - Asterisk 11, CEL And ConfBridge Recordings
You might set the record file path yourself through the CONFBRIDGE
function, for example, in dialplan:
…stuff up here to build a unique file name into MyCustomFileName… exten => 1,n,Set(CONFBRIDGE(user,record_file)=${MyCustomFileName}.wav)
Then of course you now know the file name so you could do whatever you wanted with it afterwards.
https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_CONFBRIDGE
Thank you very much Rusty.
It really works. Even if ${MyCustomFileName} gets a different value when the second participant enters the conference, the filename remains the name defined when the first participant enters (because he started the conference).
Another thing, if I need to know the time a conference ended should I use CEL or is there another better approach?
Best.
2014-03-06 21:28 GMT-03:00 Rusty Newton:
If you can get it from CEL, there is that, otherwise you can track when you receive the AMI event ConfbridgeEnd
https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerEvent_ConfbridgeEnd
That is all I got from poking around the docs. 🙂
Great 🙂
Thank you very much.
Best.
2014-03-07 18:07 GMT-03:00 Rusty Newton: