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. Playing the chanspy recordings

Playing the chanspy recordings

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 103 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.
  • B
    B
    bestest
    wrote on last edited by
    #1

    I can't get the recordings to transfer into the voicemail box. I found a post on the forum that gave instruction, and followed them. But the recordings still do not transfer. Any thoughts on what I could be doing wrong? I ensured the proper amp admin password in fop.cfg and ensured the following settings:

    monitor_filename=/var/spool/asterisk/monitor/${ORIG_EXTENSION}-${DEST_EXTENSION}-${MBOX}-${UNIQUEID}
    monitor_format=wav
    monitor_mix=true
    monitor_exec=/home/fop2/server/tovoicemail.pl

    what am I missing? Thanks in advance!

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

      Check the tovoicemail.pl script, it should be executable and owned by the asterisk user, it also uses sox to manipulate the recording, and some machines have different sox versions. One way to try is to run the script in the command line as the asterisk user and see if it outputs an error or not. What I do to sort this kind of thing is:

      1. increase debug level in asterisk: asterisk -rx "core set debug 10"
      2. be sure that the asteirsk full log is enabled ( /etc/asterisk/logger.conf )
      3. perform the action that triggers the script, in this case, leave a voicemail
      4. check the full log for "tovoicemail.pl", you should see a line that says something like "Executing /usr/local/fop2/tovoicemai.pl paramter1 paramter2"
      5. copy the command you see there , complete with all parameters
      6. su to the asterisk user
      7. paste the command in the command prompt

      The problem here is that if the script actually worked when executed by asterisk , the original filenames are probably moved so repeating the command will fail with a fail not found error at some point.

      I hope you get the idea on how to debug, it is not that easy...

      Best regards,

      1 Reply Last reply
      0
      • B
        B
        bestest
        wrote on last edited by
        #3

        the files in the directory are currently owned by root. should ALL of the files be owned by asterisk?

        Thanks!

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

          At least the tovoicemail.pl script must be owned by asterisk.

          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