title: Asterisk: recording the end time of a ConfBridge recording
body: <p>When recording a conference with ConfBridge, the files are being created successfully and I am able to listen to them etc. The filename is currently being saved in the following format...</p>
  
  <p><code>confbridge-1234-1448640948.wav</code>.</p>
  
  <p>Given this format, I am able to extract which conference this recording belongs to (1234), as well as the start time of the recording from the timestamp (1448640948).</p>
  
  <p>This format is the default used when setting <code>record_conference=yes</code> in confbridge.conf. Now, I know I am able to use the Set() method instead to do things like specify a different format or save location etc, such as...</p>
  
  <pre><code>SET(CONFBRIDGE(bridge,record_conference)=yes)
  SET(CONFBRIDGE(bridge,record_file)=/var/spool/asterisk/confbridge/${WHATEVER}.wav) 
  </code></pre>
  
  <p>But I don't know a) how to get hold of the time that the conference ended and b) how to add that end time to the file name or at what point? </p>
  
  <p>At what point is the file actually saved? I know I can listen for <code>ConfbridgeEnd</code> for example, and create a new timestamp, but I don't know how I would then amend the file name format with the end timestamp?</p>
  
  <p>Any ideas?</p>