Thorben Jensen wrote:
> From: "Thorben Jensen" <i...@thorben.dk>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
> <asterisk-users@lists.digium.com>
> Sent: Friday, August 3, 2012 4:15:58 AM
> Subject: Re: [asterisk-users] MixMonitor creating file on non-bridged calls 
> with option b
> 
> 
> Hi Ikka,
> 
> 
> I'm using asterisk 10.0.0 & 10.5.2 & 10.6.0 & 10.6.1 and they all
> leave empty files.
> 
> 
> 
> Hope somebody can help.
> 
> 
> Regads
> Thorben G. Jensen
> 
> 
> 2012/8/3 Ikka Vertika (Mitra Kreasindo) <
> ikka.vert...@mitrakreasindo.com >
> 
> 
> HI,
> 
> 
> 
> What version is your asterisk ? I’m using 10.2, 10.4. 10.6, there all
> have the same problem.
> 
> I had read once, that there’s a bug in asterisk 10.4, and fixed with
> patch. But if it fixed, why 10.61 still have the same problem ?
> 
> I tried to patch it (ver 10.6x), but the patching process was
> unsuccessfull. Some error occurs. The problem is still there…
> 
> 
> 
> Regards,
> 
> Ikka (Jakarta, Indonesia)
> 
> 
> 
> From: asterisk-users-boun...@lists.digium.com [mailto:
> asterisk-users-boun...@lists.digium.com ] On Behalf Of Thorben
> Jensen
> Sent: Saturday, July 28, 2012 1:58 PM
> To: asterisk-users
> Subject: [asterisk-users] MixMonitor creating file on non-bridged
> calls with option b
> 
> I am using MixMonitor to record calls and I have set the "b" option
> as I don't want to get files for non-bridged calls.
> 
> 
> Mixmonitor always creates a file with 0 bytes even when the call is
> not bridged. Is it possible to avoid this somehow?
> 
> 
> This is what I do:
> 
> 
> Set(CALLFILENAME=${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}_${CALLERID(num)});
> 
> 
> MixMonitor(${CALLFILENAME},b);
> 
> 
> Regards
> 
> 
> Thorben
> --

MixMonitor creates the file before it starts recording. The b option simply 
waits until the bridge event to take audio frames and add them to the stream. I 
don't really see why this is a problem.  It isn't like you are going to run out 
of space for zero length files, and more to the point if you really dislike the 
clutter generated by having zero length files you could always run a script 
after recording to check if you added a zero length file and remove it if you 
did.

Are there any actual bug reports (in JIRA) you could reference though?  If not, 
please create one and we'll look into it.




--
Jonathan R. Rose
Digium, Inc. | Software Engineer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct +1 256 428 6139 

Check us out at: http://digium.com & http://asterisk.org

--
_____________________________________________________________________
-- 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

Reply via email to