Summary: | ASTERISK-11649: Voicemail is non-functional in head | ||
Reporter: | Arcadiy Ivanov (arcivanov) | Labels: | |
Date Opened: | 2008-03-15 13:29:13 | Date Closed: | 2008-03-18 10:46:20 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_voicemail |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I suspect the problem is due to my having languageprefix=yes in asterisk.conf. Voicemail application is unable to find standard ulaw files beep and auth-thankyou (verified files being present, verified permissions being correct). Moreover, because auth-thankyou is not found, the temporary recording is left in the tmp directory and further message processing is abandoned (never moved to mailbox). I had to downgrade from HEAD to 1.4.18, since my voicemail was was completely non-functional. The core set debug 999 and core set verbose 999 are unremarkable. ****** ADDITIONAL INFORMATION ****** [Mar 15 13:19:15] WARNING[6645] file.c: File beep does not exist in any format [Mar 15 13:19:15] WARNING[6645] file.c: Unable to open beep (format 0x4 (ulaw)): No such file or directory [Mar 15 13:22:52] WARNING[6670] file.c: File beep does not exist in any format [Mar 15 13:22:52] WARNING[6670] file.c: Unable to open beep (format 0x4 (ulaw)): No such file or directory [Mar 15 13:23:02] WARNING[6670] file.c: File auth-thankyou does not exist in any format [Mar 15 13:23:02] WARNING[6670] file.c: Unable to open auth-thankyou (format 0x4 (ulaw)): No such file or directory | ||
Comments: | By: Arcadiy Ivanov (arcivanov) 2008-03-15 13:48:44 I'm very suspicious of the change in main/file.c between revisions 101601 and 104593. By: Arcadiy Ivanov (arcivanov) 2008-03-15 14:00:29 I believe the line 518 in file.c is incorrect: 513 if (langlen) { 514 strcpy(buf, preflang); 515 buf[langlen] = '/'; 516 strcpy(buf + langlen + 1, filename); 517 } else { 518 strcpy(buf, "en/"); /* English - fallback if no file found in preferred language */ 519 strcpy(buf + 3, filename); 520 } There is no fallback to en/ for default files, since they are never linked this way. By: Jason Parker (jparker) 2008-03-17 08:59:28 The fileexists_core() function has been nearly entirely rewritten, and no longer contains the code you reference. Can you please verify the revision that you have installed? By: Arcadiy Ivanov (arcivanov) 2008-03-17 09:07:58 I apologize, I have installed the revision 108926 of asterisk/branches/1.4/ and by "HEAD" I meant the HEAD of 1.4 branch. By: Digium Subversion (svnbot) 2008-03-17 10:11:44 Repository: asterisk Revision: 109057 U branches/1.4/main/file.c ------------------------------------------------------------------------ r109057 | qwell | 2008-03-17 10:11:43 -0500 (Mon, 17 Mar 2008) | 4 lines Backport revision 106439 from trunk. I didn't realize this was broken in 1.4 as well. Closes issue ASTERISK-11649. ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=109057 By: Digium Subversion (svnbot) 2008-03-17 10:12:37 Repository: asterisk Revision: 109058 _U trunk/ ------------------------------------------------------------------------ r109058 | qwell | 2008-03-17 10:12:37 -0500 (Mon, 17 Mar 2008) | 11 lines Blocked revisions 109057 via svnmerge ........ r109057 | qwell | 2008-03-17 10:15:56 -0500 (Mon, 17 Mar 2008) | 4 lines Backport revision 106439 from trunk. I didn't realize this was broken in 1.4 as well. Closes issue ASTERISK-11649. ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=109058 By: Digium Subversion (svnbot) 2008-03-18 10:46:20 Repository: asterisk Revision: 109452 _U branches/1.6.0/ ------------------------------------------------------------------------ r109452 | russell | 2008-03-18 10:46:20 -0500 (Tue, 18 Mar 2008) | 18 lines Blocked revisions 109058 via svnmerge ................ r109058 | qwell | 2008-03-17 10:16:41 -0500 (Mon, 17 Mar 2008) | 11 lines Blocked revisions 109057 via svnmerge ........ r109057 | qwell | 2008-03-17 10:15:56 -0500 (Mon, 17 Mar 2008) | 4 lines Backport revision 106439 from trunk. I didn't realize this was broken in 1.4 as well. Closes issue ASTERISK-11649. ........ ................ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=109452 |