[asterisk-bugs] [Asterisk 0012939]: setting volgain results in tempfile errors and 0-length email attachments

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jul 28 16:42:43 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12939 
====================================================================== 
Reported By:                rickbradley
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12939
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.21 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-06-27 11:40 CDT
Last Modified:              2008-07-28 16:42 CDT
====================================================================== 
Summary:                    setting volgain results in tempfile errors and
0-length email attachments
Description: 
Running on Ubuntu Linux 8.04 (Hardy Heron).  Installed Asterisk 1.4.21 from
source.  Everything works fine, including voicemail, until I turn on
volgain in voicemail.conf.  At that point, voicemails record, but
attachments sent out have 0 byte size, and asterisk -r verbose/debug
console logs show the following:

    -- Executing [555 at internal:25] VoiceMail("Zap/1-1",
"1000 at default&1001 at default&1002 at default") in new stack
    -- <Zap/1-1> Playing 'vm-intro' (language 'en')
    -- <Zap/1-1> Playing 'beep' (language 'en')
    -- Recording the message
    -- x=0, open writing: 
/var/spool/asterisk/voicemail/default/1000/tmp/jPJzyw format: wav,
0x81f0fe8
    -- User ended message by pressing #
    -- <Zap/1-1> Playing 'auth-thankyou' (language 'en')
[Jun 27 11:38:05] NOTICE[11365]: app_voicemail.c:2632 copy_message:
Copying message from 1000 at default to 1001 at default
[Jun 27 11:38:05] WARNING[11365]: app_voicemail.c:1652 base_encode: Failed
to open file: /var/spool/asterisk/voicemail/default/1001/tmp/bWHwPM.wav: No
such file or directory
[Jun 27 11:38:05] NOTICE[11365]: app_voicemail.c:2632 copy_message:
Copying message from 1000 at default to 1002 at default
[Jun 27 11:38:05] WARNING[11365]: app_voicemail.c:1652 base_encode: Failed
to open file: /var/spool/asterisk/voicemail/default/1002/tmp/pYh3h3.wav: No
such file or directory
    -- Executing [555 at internal:26] Playback("Zap/1-1", "vm-goodbye") in
new stack
    -- <Zap/1-1> Playing 'vm-goodbye' (language 'en')
    -- Executing [555 at internal:27] Hangup("Zap/1-1", "") in new stack
  == Spawn extension (internal, 555, 27) exited non-zero on 'Zap/1-1'
    -- Hungup 'Zap/1-1'



Voicemail.conf has the following directives in it:


====================================================================== 

---------------------------------------------------------------------- 
 (0090783) svnbot (reporter) - 2008-07-28 16:42
 http://bugs.digium.com/view.php?id=12939#c90783 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 134161

U   branches/1.4/apps/app_voicemail.c

------------------------------------------------------------------------
r134161 | tilghman | 2008-07-28 16:42:41 -0500 (Mon, 28 Jul 2008) | 7
lines

Detect when sox fails to raise the volume, because sox can't read the
file.
(closes issue http://bugs.digium.com/view.php?id=12939)
 Reported by: rickbradley
 Patches: 
       20080728__bug12939.diff.txt uploaded by Corydon76 (license 14)
 Tested by: rickbradley

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=134161 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-07-28 16:42 svnbot         Note Added: 0090783                          
======================================================================




More information about the asterisk-bugs mailing list