<div dir="ltr">Hi<br><br>Your suggestion is right if we want different recording for all channels.<br><br>But my problem is that I want to know if more user call the same conference at different time gape(difference) then mixmonitor will take single asterisk thread for recording or multiple thread for recoding.   <br>
<br><br><br><div class="gmail_quote">On Mon, Jul 4, 2011 at 7:13 PM, Earl <span dir="ltr">&lt;<a href="mailto:earl@micpc.com">earl@micpc.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On Monday, July 04, 2011 05:10:43 AM virendra bhati wrote:<br>
&gt; [RecordPrompts]<br>
&gt;<br>
&gt; exten =&gt; 1111,1,Answer()<br>
&gt; exten =&gt; 1111,n,NoOp(WelCome to conference section)<br>
&gt; exten =&gt; 1111,n,Playback(ConfDemoWC)<br>
&gt; exten =&gt;<br>
&gt; 1111,n,MixMonitor(tmp/00Record/1111-${STRFTIME(${EPOCH},,%C%y%m%d%H%M%S)}.w<br>
&gt; av,ab) exten =&gt; 1111,n,Konference(${EXTEN},ADRSV)<br>
&gt;<br>
&gt; Hi<br>
&gt;<br>
&gt; My basic doubt is that if 1 or more  person call 1111 extension then<br>
&gt; recording will be started by asterisk Mixmonitor application.<br>
&gt;<br>
&gt; So basic question will come into mind that all calls will start recording<br>
&gt; it means more then 1 thread will start by asterisk for only recording<br>
&gt; purpose but finally 1 file will be save at disk.<br>
&gt;<br>
&gt; Am I right ?<br>
&gt;<br>
&gt;<br>
&gt; -----<br>
&gt; Thanks and regards<br>
&gt;<br>
&gt;  Virendra Bhati<br>
&gt; +91-9172341457<br>
&gt; Software Engineer<br>
<br>
</div></div>Hi Virendra,<br>
<br>
It has been my experience that if two or more calls happen in the same second<br>
(which is the least identifier you are using to make the file unique) then the<br>
result is that only one file is created. (the other(s) are not)<br>
<br>
To solve that issue, you can use ${UNIQUEID}, something like:<br>
<br>
exten =&gt; 6000,63,Set(CALLTIME=${STRFTIME(${EPOCH},,<br>
%C%y%m%d%H%M%S)}_${UNIQUEID})<br>
exten =&gt; 6000,64,Set(CALLFILENAME=6000-${CALLTIME})<br>
exten =&gt; 6000,65,Set(CMD=&#39;/opt/lame/l.sh &#39;${CALLFILENAME})<br>
exten =&gt; 6000,66,MixMonitor(${CALLFILENAME}.wav|v(2)V(0)|${CMD})<br>
<br>
Note that the 1st exten line wraps here in the email but it should be all on<br>
one line.<br>
<br>
earl<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>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><br><br><br>-----<br>Thanks and regards<br><br> Virendra Bhati<br>+91-9172341457<br>Software Engineer<br></div><br>
</div>