<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"><<a href="mailto:earl@micpc.com">earl@micpc.com</a>></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>
> [RecordPrompts]<br>
><br>
> exten => 1111,1,Answer()<br>
> exten => 1111,n,NoOp(WelCome to conference section)<br>
> exten => 1111,n,Playback(ConfDemoWC)<br>
> exten =><br>
> 1111,n,MixMonitor(tmp/00Record/1111-${STRFTIME(${EPOCH},,%C%y%m%d%H%M%S)}.w<br>
> av,ab) exten => 1111,n,Konference(${EXTEN},ADRSV)<br>
><br>
> Hi<br>
><br>
> My basic doubt is that if 1 or more person call 1111 extension then<br>
> recording will be started by asterisk Mixmonitor application.<br>
><br>
> So basic question will come into mind that all calls will start recording<br>
> it means more then 1 thread will start by asterisk for only recording<br>
> purpose but finally 1 file will be save at disk.<br>
><br>
> Am I right ?<br>
><br>
><br>
> -----<br>
> Thanks and regards<br>
><br>
> Virendra Bhati<br>
> +91-9172341457<br>
> 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 => 6000,63,Set(CALLTIME=${STRFTIME(${EPOCH},,<br>
%C%y%m%d%H%M%S)}_${UNIQUEID})<br>
exten => 6000,64,Set(CALLFILENAME=6000-${CALLTIME})<br>
exten => 6000,65,Set(CMD='/opt/lame/l.sh '${CALLFILENAME})<br>
exten => 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>