<p>I use ${UNIQUEID} with ${CDR(accountcode)} and it works great. But this is when you have an accountcode for each user. As the last poster suggest, you can append it with date and time and it'll be truly unique and also help you keep track of the recording.</p>
<p>Zeeshan A Zakaria</p>
<p>--<br>
<a href="http://www.ilovetovoip.com">www.ilovetovoip.com</a></p>
<p><blockquote type="cite">On 2010-09-14 9:54 AM, "Dan Journo" <<a href="mailto:dan@keshercommunications.com" target="_blank">dan@keshercommunications.com</a>> wrote:<br><br>
<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Im looking at using MixMonitor to record calls and I know
that I need to set the filename first.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">However, with the number of calls coming in, hard coding the
filename isnt an option.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">So I need to do something like this:-</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">MixMonitor(RANDOMNUMBER.wav)</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">But can't find a way to generate a random number. </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I thought that maybe I could use a unique variable that
already exists for the current call, but I'm not sure which one to pick.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Can anyone give me some advice on this?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks</p>
<p class="MsoNormal">Dan</p>
</div>
</div>
<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></blockquote></p>