[asterisk-users] Mixmonitor concept's question
virendra bhati
virbhati at gmail.com
Mon Jul 4 09:08:17 CDT 2011
Hi
Your suggestion is right if we want different recording for all channels.
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.
On Mon, Jul 4, 2011 at 7:13 PM, Earl <earl at micpc.com> wrote:
> On Monday, July 04, 2011 05:10:43 AM virendra bhati wrote:
> > [RecordPrompts]
> >
> > exten => 1111,1,Answer()
> > exten => 1111,n,NoOp(WelCome to conference section)
> > exten => 1111,n,Playback(ConfDemoWC)
> > exten =>
> >
> 1111,n,MixMonitor(tmp/00Record/1111-${STRFTIME(${EPOCH},,%C%y%m%d%H%M%S)}.w
> > av,ab) exten => 1111,n,Konference(${EXTEN},ADRSV)
> >
> > Hi
> >
> > My basic doubt is that if 1 or more person call 1111 extension then
> > recording will be started by asterisk Mixmonitor application.
> >
> > So basic question will come into mind that all calls will start recording
> > it means more then 1 thread will start by asterisk for only recording
> > purpose but finally 1 file will be save at disk.
> >
> > Am I right ?
> >
> >
> > -----
> > Thanks and regards
> >
> > Virendra Bhati
> > +91-9172341457
> > Software Engineer
>
> Hi Virendra,
>
> It has been my experience that if two or more calls happen in the same
> second
> (which is the least identifier you are using to make the file unique) then
> the
> result is that only one file is created. (the other(s) are not)
>
> To solve that issue, you can use ${UNIQUEID}, something like:
>
> exten => 6000,63,Set(CALLTIME=${STRFTIME(${EPOCH},,
> %C%y%m%d%H%M%S)}_${UNIQUEID})
> exten => 6000,64,Set(CALLFILENAME=6000-${CALLTIME})
> exten => 6000,65,Set(CMD='/opt/lame/l.sh '${CALLFILENAME})
> exten => 6000,66,MixMonitor(${CALLFILENAME}.wav|v(2)V(0)|${CMD})
>
> Note that the 1st exten line wraps here in the email but it should be all
> on
> one line.
>
> earl
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
-----
Thanks and regards
Virendra Bhati
+91-9172341457
Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110704/1da64189/attachment.htm>
More information about the asterisk-users
mailing list