[asterisk-bugs] [Asterisk 0013144]: Jerry Geis's dialplan 'works in 1.4, but not in 1.6' problem

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 23 16:56:18 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13144 
====================================================================== 
Reported By:                murf
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   13144
Category:                   Core/PBX
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-23-2008 16:20 CDT
Last Modified:              07-23-2008 16:56 CDT
====================================================================== 
Summary:                    Jerry Geis's dialplan  'works in 1.4, but not in
1.6'  problem
Description: 
I am reporting this from Jerry Geiss's letter to asterisk-users on 21 July
2008
with subject 'what is the magic needed from upgrading from 1.4 to 1.6'.
(See thread starting at: 
http://lists.digium.com/pipermail/asterisk-users/2008-July/215634.html

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

---------------------------------------------------------------------- 
 svnbot - 07-23-08 16:56  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 133299

U   trunk/main/pbx.c

------------------------------------------------------------------------
r133299 | murf | 2008-07-23 16:56:00 -0500 (Wed, 23 Jul 2008) | 27 lines

(closes issue http://bugs.digium.com/view.php?id=13144)
Reported by: murf
Tested by: murf
For: J. Geis

The 'data' field in the ast_exten struct was being
'moved' from the current dialplan to the replacement
dialplan. This was not good, as the current dialplan
could have problems in the time between the change
and when the new dialplan is swapped in.

So, I modified the merge_and_delete code to strdup
the 'data' field (the args to the app call), and
then it's freed as normal.

I improved a few messages; I added code to limit
the number of calls to the
context_merge_incls_swits_igps_other_registrars()
to one per context. I don't think having it called
multiple times per context was doing anything bad,
but it was inefficient.

I hope this fixes the problems Mr. Geiss was noting in
asterisk-users, see 
http://lists.digium.com/pipermail/asterisk-users/2008-July/215634.html



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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-23-08 16:56  svnbot         Note Added: 0090642                          
======================================================================




More information about the asterisk-bugs mailing list