Menu

#5 Filename/Directory Change Request

closed
Aex Aey
None
5
2016-07-11
2015-03-05
James Rose
No

Hi,

Would you be willing to create the following options?

  1. Save all files to the same top level directory set by -d option. I.E. no subfolders
  2. Use only the sip_call_uuid.pcap as the filename. No date, phone numbers, etc.
    sip_call_uuid is the field that matches in FreeSWITCH's CDRs. It may be something else in other systems, but it's what you are currently using as the last part of the filename (or so it appears).

I'd like to see if I can get pcaps generated via pcapsipdump as a clickable download in the call detail records for FusionPBX. This would make finding the files a whole lot more simple.

Thanks!

James

Discussion

  • Lyle Pratt

    Lyle Pratt - 2016-07-07

    I would also appreciate this feature. I'd be willing to pay a bounty to have it done.

     
  • Aex Aey

    Aex Aey - 2016-07-11
    • status: open --> closed
    • assigned_to: Aex Aey
     
  • Aex Aey

    Aex Aey - 2016-07-11

    This should be now possible in [r109] using new "%i" macro for "-d" option, for example:

    pcapdumpdump -i eth0 -d /var/spool/pcapsipdump/%i.pcap
    

    That said, unless you have very low traffic and/or have a separate process that picks up, process and deletes files, your filesystem will become very slow very quickly. Further reading here:

    http://stackoverflow.com/questions/466521/how-many-files-can-i-put-in-a-directory

     

    Related

    Commit: [r109]


    Last edit: Aex Aey 2016-07-11
  • Lyle Pratt

    Lyle Pratt - 2016-07-11

    Wow this is great. Many thanks!!

    Yes, we are basically planning on having a process running in the background that takes the files and uploads them to S3, then deletes the local copies. That would be a pretty awesome native feature though, S3 files storage support!

     
  • Aex Aey

    Aex Aey - 2016-07-11

    ping me at aexaey@gmail.com, if you're interested in having a chat about S3 uploads.

     

Log in to post a comment.