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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140305/68882378/attachment.html>
Rusty Newton
2014-Mar-07 00:28 UTC
[asterisk-users] Asterisk 11, CEL and ConfBridge recordings
On Wed, Mar 5, 2014 at 1:30 PM, Jairo <jairomolinajr at gmail.com> wrote:> 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?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 -- Rusty Newton Digium, Inc. | Community Support Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - US direct: +1 256 428 6200 Check us out at: http://digium.com & http://asterisk.org