[asterisk-bugs] [Asterisk 0011795]: [patch] not all greetings copied to database

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jan 28 13:59:12 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11795 
====================================================================== 
Reported By:                dimas
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11795
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 99077 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-18-2008 17:09 CST
Last Modified:              01-28-2008 13:59 CST
====================================================================== 
Summary:                    [patch] not all greetings copied to database
Description: 
app_voicemail with ODBC_STORAGE wen playing busy/unavail greeting fist
tries loading it from the database but if it fails, tries opening file from
local filesystem. And if file did not exist in the database but did exist
on the filesystem - it will be copied to the DB.

Unfortunately this is done for busy/unavail greeting but isn't done for
user name ("greet.wav"). Attached patch fixes this.

The patch also fixes another issue - not all return paths in the
invent_message were doing "DISPOSE(fn, -1);"
====================================================================== 

---------------------------------------------------------------------- 
 dimas - 01-28-08 13:59  
---------------------------------------------------------------------- 
Honestly I do not understand why you need patches this way (since the new
function was created just to solve the bug without introducing the same
code everywhere).


 11795-play-message.patch - adds function
 11795-greet-fix.patch - uses it. Previous patch MUST be applied first 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-28-08 13:59  dimas          Note Added: 0081288                          
======================================================================




More information about the asterisk-bugs mailing list