Can't make System Recording

I am trying to create a System Recording using FreePBX 2.1.1

I can enter the extension # and make the recording using *77.
Playback is fine with *99.

However, when I save the recording I get a message of
"Unable to add /var/lib/asterisk/sounds/custom/aaa.wav - Can not read file!"

I have unloaded the module and reinstalled it after rebooting.

No luck.

If you require more info, please ask. Thanks for any help you can give.

Bob

Sitll No Joy in Mudville. :cry:

The directory was created fine, owner was a little different so I changed them, Rights were correct.

I entered all commands anyway just to make sure.

Still same Error. Can’t read file.

How about the rights to the file it is trying to access?

The owner for the /tmp directory is root:root
and Rights to the wav file is -rw-r–r--

Bob

set the /tmp as 1777 (sticky bit)

Nope did a

chmod 1777 /tmp

Same problem

rbamburg wrote:

[quote] Sitll No Joy in Mudville. :cry:

The directory was created fine, owner was a little different so I changed them, Rights were correct.

I entered all commands anyway just to make sure.

Still same Error. Can’t read file.

How about the rights to the file it is trying to access?

The owner for the /tmp directory is root:root
and Rights to the wav file is -rw-r–r--
[/quote]
Ok, it doesn’t seem to be a permissions problem. I tried to reproduce
the error and it appears under two conditions:

  1. The wav file doesn’t exist in the /tmp dirctory (which as you wrote
    isn’t the case on your system)

  2. The extension number in the filename doesn’t match the extension
    number you registered in the system recordings menu in freePBX. Please
    check it out.

More Joy in Mudville,
Carsten.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

Post generated using Mail2Forum (http://www.mail2forum.com)

Hello Bob,

rbamburg wrote:

[quote] However, when I save the recording I get a message of
"Unable to add /var/lib/asterisk/sounds/custom/aaa.wav - Can not read file!"
[/quote]
it seems the Recordings module doesn’t set up its directory correctly
during installation. Try this as root:

mkdir /var/lib/asterisk/sounds/custom
chown asterisk:asterisk /var/lib/asterisk/sounds/custom
chmod 775 /var/lib/asterisk/sounds/custom

Have fun,
Carsten.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

Post generated using Mail2Forum (http://www.mail2forum.com)

I have the same experiance uploading system recoredings, i have verified the dir permissions…
-dutler

upgraded freepbx and was able to upload the system recordings through the web gui, but i still can not do moh.
-dutler

I had the same problem. It was not permissions in /var/lib/asterisk/sounds/custom/. Nor was it permissions in /tmp.

I am not sure exactly which version of FreePBX i am using, but it is a version that comes with Admins Paradise. This version, as it is setup has “user” and “devices” that log in to users. My user is setup as my actual DID (ten digits) and I have multiple devices with 4 digit extension numbers that call in and out using the user account, the user account’s CID, etc.

I have used other versions of freepbx that were setup where every user is it’s own device.

Well, in my case I was putting in my DEVICE extension number as my extension number in the system recordings page xxxx. Well, after some reading and some digging, I looked in /tmp and I found XXXXXXXXXX-ivrrecording.wav, where XXXXXXXXXX is my ten digit username, not my device name. I deleted the file, ran throuhg the process again in the GUI and got the same exact results with the same error message.

NOW, I tried again and put in my TEN DIGIT USERNAME as the extension in the GUI, and when I went to save the recording, IT WORKED!!

AMEN!! Now I can make my IVR!!!