[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:34:32 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:34 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:


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

---------------------------------------------------------------------- 
 (0090781) rickbradley (reporter) - 2008-07-28 16:34
 http://bugs.digium.com/view.php?id=12939#c90781 
---------------------------------------------------------------------- 
Corydon76 -- verified:  installing the libsox-fmt-all package on Ubuntu
fixes the problem.  Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-07-28 16:34 rickbradley    Note Added: 0090781                          
======================================================================




More information about the asterisk-bugs mailing list