[asterisk-bugs] [Asterisk 0018801]: features reload does not clear old configuration and always include 700 on parkedcalls

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 14 00:03:57 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18801 
====================================================================== 
Reported By:                mickecarlsson
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18801
Category:                   Features/Parking
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.3-rc2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-13 12:34 CST
Last Modified:              2011-02-14 00:03 CST
====================================================================== 
Summary:                    features reload does not clear old configuration and
always include 700 on parkedcalls
Description: 
features.conf look like this
[general]
parkext=200

Stop and start Asterisk, then type  dialplan show parkedcalls
the output is this:
[ Context 'parkedcalls' created by 'features' ]
  '200' =>          1. Park()  [features]
  '700' =>          1. Park()  [features]

Where does 700 come from????

Now, edit features.conf to look like this:
[general]
parkext=200

Do a feature reload, the output is like this:
  == Parsing '/etc/asterisk/features.conf':   == Found
    -- Added extension '300' priority 1 to parkedcalls

Now, do a dialplan show parkedcalls, the output is this:
[ Context 'parkedcalls' created by 'features' ]
  '200' =>          1. Park()  [features]
  '300' =>          1. Park()  [features]
  '700' =>          1. Park()  [features]

The old entries does not clear, and that dreaded 700 is still there.



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

---------------------------------------------------------------------- 
 (0131906) mickecarlsson (reporter) - 2011-02-14 00:03
 https://issues.asterisk.org/view.php?id=18801#c131906 
---------------------------------------------------------------------- 
I noted a typo in the text, the second edit should read:
Now, edit features.conf to look like this:
[general]
parkext=300
**********************'

After that edit, if I type dialplan show 200 at from-internal (my context in
FreePBX) I get:
[ Included context 'parkedcalls' created by 'features' ]
  '200' =>          1. Park()                                    
[features]

But that entry does not exists in the config file anymore.

300 is there as well as all the others:
 dialplan show parkedcalls
[ Context 'parkedcalls' created by 'features' ]
  '200' =>          1. Park()                                    
[features]
  '300' =>          1. Park()                                    
[features]
  '70' =>           1. Park()                                    
[features]
  '700' =>          1. Park()                                    
[features] 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-14 00:03 mickecarlsson  Note Added: 0131906                          
======================================================================




More information about the asterisk-bugs mailing list