[asterisk-bugs] [Asterisk 0014262]: UpdateConfig not handling correctly sets of parameters

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jan 16 17:46:35 CST 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14262 
====================================================================== 
Reported By:                khratos
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14262
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-01-16 17:46 CST
Last Modified:              2009-01-16 17:46 CST
====================================================================== 
Summary:                    UpdateConfig not handling correctly sets of
parameters
Description: 
In the ATFOT book, pg. 545, 'notes' section we see: 

"Note that the first set of parameters should be numbered 000000, the
second 000001, and so on. This allows you to update many different
configuration values at the same time."

Given a file 'voicemail2.conf' with an empty context [default],  sending
the following data to the AMI Interface will only handle the FIRST set of
parameters, ignoring the rest of the same kind (UpdateConfig parameters):


Action: login
Username: test
Secret: 123456

Action: UpdateConfig
SrcFilename: voicemail2.conf
DstFilename: voicemail2.conf
Action-000000: Append
Cat-000000: default
Var-000000: 127
Value-000000: >5555, Jason Bourne58, jason100 at noCia.gov.do,
ActionID: 1447626984

Action: UpdateConfig
SrcFilename: voicemail2.conf
DstFilename: voicemail2.conf
Action-000001: Append
Cat-000001: default
Var-000001: 125
Value-000001: >55555, Jason Bourne25, jason34 at noCia.gov.do,
ActionID: 587122214

Action: UpdateConfig
SrcFilename: voicemail2.conf
DstFilename: voicemail2.conf
Action-000002: Append
Cat-000002: default
Var-000002: 122
Value-000002: >5555, Jason Bourne36, jason54 at noCia.gov.do,
ActionID: 1891210230
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-16 17:46 khratos        New Issue                                    
2009-01-16 17:46 khratos        Asterisk Version          => 1.4.22          
2009-01-16 17:46 khratos        Regression                => No              
2009-01-16 17:46 khratos        SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list