[Asterisk-Users] voip-info: Asterisk record calls

Mojo with Horan & Company, LLC mojo at horanappraisals.com
Wed Jan 4 10:14:09 MST 2006


Hi Tim!

Wow, I didn't imagine that asterisk on different systems would use 
different date codes for the monitor filenames -- but aah isn't asterisk ;)

My monitor filenames include the date and time, embedded as seconds 
since epoch iirc:

[pbx at pbx monitor]$ ll
auto-1136394539-112-7476011-in.wav
auto-1136394539-112-7476011-out.wav
[pbx at pbx monitor]$ ll
auto-1136394539-112-7476011.wav

So the 1136394539 part is seconds since epoch, 112 is who started the 
recording, 7476011 is where they were connected to when it happened.
And, I suspect the auto- part is 'cause I used automon feature to do 
this?  I haven't looked at asterisk code enough to see what filenames 
are created when.

Thank you for the patch though.  Now that I know many people are trying 
this stuff, I'll try to incorporate autodetection of filename style....

Moj


> *the file names I have are like below and I've decoded some of the 
> sections - but not all of them
> 
> *g1-20051205-215232-1133841147.211.WAV
> **g1-         is this the zap channel
> 20051205-   the date - should use this in the web page display instead
> 215232-     time call was made I beleive
> 113         I dont know what the first 3 digits of this section are - 
113 is source channel making the call
> they aren't part of the phone number
> 3841147.    the 7 digit phone number
> 211.        not sure on this either
> 
> **and I've noticed If I call in a broadcast conference call and I don't 
> say anything then it doesn't make a g1 file it leaves the out file like 
> below and **these show in the index.php also which is good.*
> ***
> OUT207-20051106-184952-1131324592.448.WAV
> **OUT207-     which direction and the extension number makeing the call
> 20051106-   date
> 184952-     time
> 113         ?   113 in this section matches all the files in my monitor 
> directory
> 1324592.    7 digit phone number
> 448.        ?
> *
> as I noted above - it looks to me like using the time and date in the 
> file name would be more accurate - at least on my system.
> 
> I'll have to brush up my php and fiddle with it. :)
> 
> *
> 
> 
> 
> *
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 

-- 
Mojo <mojo at horanappraisals.com>
Office Manger, Horan & Company, LLC
(907) 747-6666 x112



More information about the asterisk-users mailing list