[asterisk-dev] temporary file names for monitor files

Dmitry Andrianov dimas at dataart.com
Thu May 29 19:51:48 CDT 2008


The common way is .tmp extension though...

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Sherwood McGowan
Sent: Friday, May 30, 2008 3:35 AM
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] temporary file names for monitor files

John Lange wrote:
> Does it make sense to write a patch for Asterisk so that while a
> recording is in progress, the file has a '.part' extension on the file
> name to differentiate it from files in which recording has finished.
>
> The idea here is that if you want to move your recordings off to another
> place once you have finished you can write a simple "cron" to do it
> without having to worry if the recording has completed or not.
>
> I realize this could be done through dialplan logic but seems to me that
> this is a more logical way to tackle this problem.
>
> Thoughts?
>
>
I personally love this idea, one of my current clients re-encodes their
recording files (from a callcenter) after a call completes, and
currently we just have a script running in the background that only
encodes files that have a modified time of 4+ minutes prior to NOW. The
*.part idea is GREAT!

Sherwood McGowan

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list