[asterisk-bugs] [Asterisk 0013138]: [patch] Update func_dialgroup to store in astdb

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 23 12:16:25 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13138 
====================================================================== 
Reported By:                Corydon76
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13138
Category:                   Functions/func_dialgroup
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 132778 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-23-2008 10:40 CDT
Last Modified:              07-23-2008 12:16 CDT
====================================================================== 
Summary:                    [patch] Update func_dialgroup to store in astdb
Description: 
As suggested on the -dev list, upgrade func_dialgroup to store its data in
the astdb, such that the data will be available across a restart.
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 07-23-08 12:16  
---------------------------------------------------------------------- 
I think the logic used in dialgroup_refreshdb is off. dialgroup_read has
built-in logic to not copy any partial entries to the buffer. This means
that it is possible that for a dialgroup with many entries, the entire list
may not be copied into the buffer, but strlen(buffer) will be less than len
- 1. This could lead to incomplete information being passed to ast_db_put. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-23-08 12:16  putnopvut      Note Added: 0090612                          
======================================================================




More information about the asterisk-bugs mailing list