<div dir="ltr">Thank you very much Rusty.<div><br></div><div>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).</div>
<div><br></div><div>Another thing, if I need to know the time a conference ended should I use CEL or is there another better approach?</div><div><br></div><div>Best.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-03-06 21:28 GMT-03:00 Rusty Newton <span dir="ltr"><<a href="mailto:rnewton@digium.com" target="_blank">rnewton@digium.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Wed, Mar 5, 2014 at 1:30 PM, Jairo <<a href="mailto:jairomolinajr@gmail.com">jairomolinajr@gmail.com</a>> wrote:<br>
> Dear friends,<br>
><br>
> Need to know filenames of conference recordings in Asterisk 11.<br>
><br>
> Besides directory scanning the recordings could use CEL:<br>
><br>
> Filter MySQL rows with eventtype equal CHAN_START and channame like<br>
> ConfBridgeRecorder and then get the eventtime field and convert to timestamp<br>
> to complete filename(s).<br>
><br>
> Would you suggest any other approaches?<br>
<br>
</div></div>You might set the record file path yourself through the CONFBRIDGE<br>
function, for example, in dialplan:<br>
<br>
...stuff up here to build a unique file name into MyCustomFileName...<br>
exten => 1,n,Set(CONFBRIDGE(user,record_file)=${MyCustomFileName}.wav)<br>
<br>
Then of course you now know the file name so you could do whatever you<br>
wanted with it afterwards.<br>
<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_CONFBRIDGE" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_CONFBRIDGE</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Rusty Newton<br>
Digium, Inc. | Community Support Manager<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
direct: <a href="tel:%2B1%20256%20428%206200" value="+12564286200">+1 256 428 6200</a><br>
<br>
Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></span></blockquote></div><br></div>