1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you had a PIAF Forum account in the vBulletin days, log in with your old credentials. Otherwise, sign up again and we'll get you back in business as soon as we can.

System recordings access error

Discussion in 'Bug Reporting and Fixes' started by nycvelo, Jul 26, 2008.

  1. nycvelo New Member

    PBX in a Flash Version :1.2
    Operating System : 32 Bit Centos 5 (Final)
    Kernel: 2.6.18-92.1.6.el5 #1 SMP
    Asterisk Version : 1.4.20.1
    Ran update-scripts :Yes
    Ran update-fixes :Yes
    Ran update-source :Yes

    Under the FreePBX admin/system recordings menu, the system returns this error when trying to play any of the system recordings:

    "You don't have permission to access /admin/modules/recordings/popup.php on this server."

    Everything in that directory is owned by asterisk:asterisk and "popup.php" is mode 0664.

    I checked the forums and found one similar complaint but not remedy. Thanks in advance for clues on fixing this.
  2. jroper Guru

    Hi

    It may be your browser. I've seen this behaviour before. Try another browser or PC to confirm or deny this.

    Joe
  3. nycvelo New Member

    No joy. The original error was on Firefox 3.0.1 (Mac) and the same behavior exists with Safari 3.1.2.

    PHP on other sites executes OK using this machine and either browser.
  4. nycvelo New Member

    BTW, the same behavior exists on Windows XP Pro SP3 with FF7 and IE7.

    At this point I'd conclude it's something with permissions on the server, but my knowledge of PHP would fill a thimble.

    Thanks in advance for clues on fixing this permissions issue.
  5. darmock Guru

    Have you run update-source and update-fixes?

    while it is not directly related what is the ownership permissions of
    /var/lib/asterisk/sounds/custom

    In the folder what are the ownership/permissions of the actual system recordings

    Tom
  6. nycvelo New Member

    Yes, I have run update-source and update-fixes. I don't recall whether I ran update-fixes after update-source but I certainly have run update-scripts and update-fixes since running update-source.

    Both the actual system recordings and /var/lib/asterisk/sounds/custom are owned by asterisk:asterisk.

    Thanks for any clues on debugging this.
  7. darmock Guru

    Permissions?


    Tom
  8. nycvelo New Member

    Sorry for the delay in responding. The permissions for the /var/lib/asterisk/sounds/custom directory are 771 (u=a,g=a,o=x).

    Likewise, the permissions for /var/lib/asterisk/sounds/*gsm are all 771.

    Again, all are owned by asterisk:asterisk.

    Thanks again in advance for clues on correcting this access error.

Share This Page