Hey,
My voicemail seems to be failing. After the 'ringtime', the call just stops. Nothing more, nothing less.
Any idea what's going on?
When i check /var/log/asterisk/full, this is what i see:
[Jan 10 14:42:33] WARNING[7112] file.c: File pluto/pluto-default-voicemenu does not exist in any format
[Jan 10 14:42:33] WARNING[7112] file.c: Unable to open pluto/pluto-default-voicemenu (format 0x8 (alaw)): Permission denied
[Jan 10 14:42:33] WARNING[7112] pbx.c: ast_streamfile failed on SIP/012345678-0000001e for pluto/pluto-default-voicemenu
[Jan 10 14:42:54] WARNING[7112] file.c: File pluto/pluto-default-voicemenu does not exist in any format
[Jan 10 14:42:54] WARNING[7112] file.c: Unable to open pluto/pluto-default-voicemenu (format 0x8 (alaw)): Permission denied
[Jan 10 14:42:54] WARNING[7112] pbx.c: ast_streamfile failed on SIP/012345678-0000001e for pluto/pluto-default-voicemenu
Where should this file (pluto_default-voicemenu) be located?
the voice menu files is on
/usr/share/asterisk/sounds/pluto
and is created by /usr/pluto/bin/generate_users_voicemenu.pl
Cfernandes
Strange...
A problem with the format? Files are gsm, and the error talks about alaw?
ls -l pluto/
total 104
-rwxrwx--- 1 root root 5115 2013-01-11 12:35 invalid-entry.gsm
-rwxrwx--- 1 root root 2640 2012-09-14 11:17 pluto-default-voicemenu1.gsm
-rwxrwx--- 1 root root 4389 2012-09-14 11:17 pluto-default-voicemenu2.gsm
-rwxrwx--- 1 root root 3927 2012-09-14 11:17 pluto-default-voicemenu3.gsm
-rwxrwx--- 1 root root 3960 2012-09-14 11:17 pluto-default-voicemenu4.gsm
-rwxrwx--- 1 root root 28116 2013-01-11 12:35 pluto-default-voicemenu.gsm
-rwxrwx--- 1 root root 1452 2012-09-14 11:17 pluto-goodbye.gsm
-rwxrwx--- 1 root root 2838 2012-09-14 11:17 pluto-hello.gsm
-rwxrwx--- 1 root root 2145 2012-09-14 11:17 pluto-security-ignore.gsm
-rwxrwx--- 1 root root 3300 2012-09-14 11:17 pluto-security-option1.gsm
-rwxrwx--- 1 root root 3366 2012-09-14 11:17 pluto-security-option2.gsm
-rwxrwx--- 1 root root 4191 2012-09-14 11:17 pluto-security-option3.gsm
-rwxrwx--- 1 root root 3762 2012-09-14 11:17 pluto-security-option4.gsm
-rwxrwx--- 1 root root 4587 2012-09-14 11:17 pluto-security-option5.gsm
-rwxrwx--- 1 root root 2838 2012-09-14 11:17 pluto-security-reset.gsm
-rwxrwx--- 1 root root 1947 2012-09-14 11:17 pluto-security-sos.gsm
perl /usr/pluto/bin/generate_users_voicemenu.pl
Generating speech for IVR Main Menu (language: 1).
Text 2173: Thank you for calling.
Text 2168: If you know the extension of the person you wish to call, you may enter it at any time.
Text 2167: To call everybody in the house, dial 0.
Text 2169: To leave a message, please press the pound sign.
Generating speech for USER1 extension: 301
Text 2170: To call
Text 2171: , dial
Result: To call USER1, dial 1.
Generating speech for USER2 extension: 302
Text 2170: To call
Text 2171: , dial
Result: To call USER2, dial 2.
Generating speech for invalid IVR entries.
Text 2172: Your selection is not valid, please try again.
the file owner is root the correct is asterisk
chwon asterisk:asterisk *.gsm
Strange, can't recall that i changed the permission.
But i can confirm that after the permission change (www-data) the voicemail is working!!!
Thanks!!!
I remember i corrected the permissions twice after install and updates.
i have the same problem in languae French
i make chown www-data:www-data gsm*
no IVR after ring
Quote from: hanafi on January 12, 2013, 04:13:28 PM
i have the same problem in languae French
i make chown www-data:www-data gsm*
I think you've got an issue with the command. Shouldn't it be:
chown asterisk:asterisk *.gsm
or with complete path:
chown asterisk:asterisk /usr/share/asterisk/sounds/pluto/*.gsm
Can you else give us an output of following command?
ls -l /usr/share/asterisk/sounds/pluto