[Home]

Summary:ASTERISK-05255: [patch] Reconfigure parking extension properly (remove old extension)
Reporter:Chih-Wei Huang (cwhuang)Labels:
Date Opened:2005-10-06 02:09:49Date Closed:2008-01-15 15:51:02.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) removeoldparkexten.txt
Description:When I change the park extention(parkext) defined in features.conf,
say,
parkext=>0
to
parkext=>9

After reloading, the new park extention 9 works,
but the old extension 0 is still valid.
That is, I can dial both ASTERISK-5 and #0 to park a call.
Only restart Asterisk can remove the old extension 0.
Comments:By: Olle Johansson (oej) 2005-10-06 02:53:19

I have found the error. Fix coming soon.

By: Olle Johansson (oej) 2005-10-06 03:13:24

Test if this patch works for you.

By: Olle Johansson (oej) 2005-10-06 03:13:36

Disclaimer on file.

By: Chih-Wei Huang (cwhuang) 2005-10-06 03:52:33

Yes, it works! Thank you!

By: Olle Johansson (oej) 2005-10-06 04:05:14

Thank you very much for a quick test and confirmation.

Ready for CVS inclusion.

By: Kevin P. Fleming (kpfleming) 2005-10-13 20:04:16

Committed to CVS HEAD with minor mod to use ast_strlen_zero. Thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:51:02.000-0600

Repository: asterisk
Revision: 6780

U   trunk/res/res_features.c

------------------------------------------------------------------------
r6780 | kpfleming | 2008-01-15 15:51:01 -0600 (Tue, 15 Jan 2008) | 2 lines

ensure that parking context/extension (and other settings) are properly updated on reload (issue ASTERISK-5255)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=6780