[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
Thu Apr 7 08:23:05 CDT 2011
The following issue has been RESOLVED.
======================================================================
https://issues.asterisk.org/view.php?id=18801
======================================================================
Reported By: mickecarlsson
Assigned To: jrose
======================================================================
Project: Asterisk
Issue ID: 18801
Category: Features/Parking
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Asterisk Version: 1.8.3-rc2
JIRA: SWP-3128
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2011-02-13 12:34 CST
Last Modified: 2011-04-07 08:23 CDT
======================================================================
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.
======================================================================
----------------------------------------------------------------------
(0133500) svnbot (reporter) - 2011-04-07 08:23
https://issues.asterisk.org/view.php?id=18801#c133500
----------------------------------------------------------------------
Repository: asterisk
Revision: 313047
U branches/1.6.2/main/features.c
------------------------------------------------------------------------
r313047 | jrose | 2011-04-07 08:23:02 -0500 (Thu, 07 Apr 2011) | 9 lines
Makes parking lots clear and rebuild properly when features reload is
invoked from CLI
Before, default parkinglot in context parkedcalls with ext 700 would
always be present and when reload was invoked, the previous parkinglots
would not be cleared.
(closes issue https://issues.asterisk.org/view.php?id=18801)
Reported by: mickecarlsson
Review: https://reviewboard.asterisk.org/r/1161/
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=313047
Issue History
Date Modified Username Field Change
======================================================================
2011-04-07 08:23 svnbot Note Added: 0133500
2011-04-07 08:23 svnbot Status acknowledged =>
assigned
2011-04-07 08:23 svnbot Assigned To => jrose
2011-04-07 08:23 svnbot Status assigned => resolved
2011-04-07 08:23 svnbot Resolution open => fixed
======================================================================
More information about the asterisk-bugs
mailing list