Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Recording panel in FOP2 & Renaming Filenames Using Variables

Recording panel in FOP2 & Renaming Filenames Using Variables

Scheduled Pinned Locked Moved Support
3 Posts 1 Posters 52 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E
    E
    Elijah Lynn
    wrote on last edited by
    #1

    I wanted the files recorded via FOP2 to have a certain filename, I see variables listed for me to use inside fop2.cfg and after restart it seems to work great, my new filename is:

    monitor_filename=/var/spool/asterisk/monitor/${ORIG_EXTENSION}${DEST_EXTENSION}${CLIDNUM}%Y%m%d-%h%i%s${UNIQUEID}

    However, I noticed inside the recording_fop2.pl file that it says:

    In fop2.cfg you MUST set the monitor filename and configurations to be:

    monitor_filename=/var/spool/asterisk/monitor/${ORIG_EXTENSION}${DEST_EXTENSION}%h%i%s_${UNIQUEID}

    Now, when I access FOP2 recordings tab the field labels don't quite match contents, for instance using the above filename settings the Unique ID is not the new date format I added and the context is the unique ID variable (see screenshot - https://skitch.com/elijahlynn/g34i5/fla ... or-panel-2).

    So my question is, should I not change the filename format? Or am I able to but need to do something else to accomodate the FOP2 recordings tab?

    1 Reply Last reply
    0
    • E
      E
      Elijah Lynn
      wrote on last edited by
      #2

      Any word on if this is officially going to cause problems?

      1 Reply Last reply
      0
      • E
        E
        Elijah Lynn
        wrote on last edited by
        #3

        Any word on if this is officially going to cause problems?

        For anyone else wondering, it really works best if you don't change the filename and want your users to use the GUI. The filenames don't make as much sense if you pass them around via email but the GUI gives you good info and I think that is more important. I guess it would be nice if the GUI used a more descriptive format by default but that isn't something I am going to hack.

        Here is a pic of how it looks if you custom name the files via my first post.

        https://img.skitch.com/20120229-eidjh9tgg5qqgk4maswy8htkh2.png

        edit: added screenshot

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups