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. Voicemail Play button

Voicemail Play button

Scheduled Pinned Locked Moved Support
6 Posts 2 Posters 192 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.
  • R
    R
    rhartmann
    wrote on last edited by
    #1

    Good Day, We have migrated from an older OS and Slightly Older FOP2 to the Latest version on new OS.
    We have everything working Except for being able to Actually Listen to and download a message.
    The Messages all pop up into the Folder View
    The Date, CallerID, Duration are all correct.
    Even the custom Tooltip feature that Nicolas created for us populates on the screen. This tells me that the Operator Panel can read the msg0000.txt file (otherwise the tooltip would not populate). Leaving me to think that it is not a permissions issue.
    Any help in what I may be overlooking would be greatly appreciated.

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Hi, you can open the javascript console in your browser, and look for any possible error or warning when you attempt to download/play, that will give me an idea of what could be wrong.

      1 Reply Last reply
      0
      • R
        R
        rhartmann
        wrote on last edited by
        #3

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

          What do you see if you try to download the recording ?

          1 Reply Last reply
          0
          • R
            R
            rhartmann
            wrote on last edited by
            #5

            It looks like there is a session variable not being set
            If I comment out the following Session Element checks in download.php
            if(!isset($_SESSION[MYAP]['vpath'])) { die("no way"); }
            and if i remove the vpath check in the following if statement
            if(!stristr($_SESSION[MYAP]['vfile'],$_SESSION[MYAP]['vpath']) && !stristr($_SESSION[MYAP]['vfile'],'/var/spool/asterisk/monitor/'))

            Then I can Play and download the Voicemail.

            I am unable to determine where this session variable is being set as it is not a configurable argument in any files in the following directories:
            /usr/local/fop2
            /var/www/html/fop2

            Any assistance on how to get this variable vpath defined would be very helpful
            ~ron

            1 Reply Last reply
            0
            • N
              N
              nicolas
              wrote on last edited by
              #6

              Hi,

              once session is initiated in FOP2, it will make some ajax calls to set session variables to setvar.php, you can troubleshoot those using the developer console on your browser, network tab for xhr requests.

              Those session variables are there for security to not let malicious users attempt to retrieve other files from the system.

              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