[asterisk-bugs] [Asterisk 0012716]: [patch] warning about non-existent dialplan context is garbled, sometimes spurious

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jun 4 08:28:06 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12716 
====================================================================== 
Reported By:                chappell
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   12716
Category:                   PBX/pbx_config
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-23-2008 15:51 CDT
Last Modified:              06-04-2008 08:28 CDT
====================================================================== 
Summary:                    [patch] warning about non-existent dialplan context
is garbled, sometimes spurious
Description: 
Every time the dialplan is loaded, the following warning is printed:

WARNING[7633]: pbx.c:6322 ast_context_verify_includes: Context
'_______________' tries includes nonexistent context 'featuremap'

Note the phrase "tries includes".  Also note that in this case the warning
is spurious since featuremap is a pseudo context defined in features.conf.

Patch fixes wording and suppresses warning for featuremap.

However, suppressing the warning creates a new problem.  On some servers 
"dialplan reload" takes up to a minute to run after the prompt has
returned.  Currently the spurious warning, since it occurs at the very end
of the process, servers as an indicate that the command has finished its
work.  Therefore this patch fixes "dialplan reload" so that it prints
"Dialplan reloaded." on the console when it finishes.




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

---------------------------------------------------------------------- 
 svnbot - 06-04-08 08:28  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 120284

_U  branches/1.6.0/
U   branches/1.6.0/pbx/pbx_config.c

------------------------------------------------------------------------
r120284 | file | 2008-06-04 08:28:05 -0500 (Wed, 04 Jun 2008) | 22 lines

Merged revisions 120283 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r120283 | file | 2008-06-04 10:33:59 -0300 (Wed, 04 Jun 2008) | 14 lines

Merged revisions 120282 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r120282 | file | 2008-06-04 10:31:09 -0300 (Wed, 04 Jun 2008) | 6 lines

Fix a log message and add a message for when the dialplan is done
reloading.
(closes issue http://bugs.digium.com/view.php?id=12716)
Reported by: chappell
Patches:
      dialplan_reload_2.diff uploaded by chappell (license 8)

........

................

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-04-08 08:28  svnbot         Checkin                                      
06-04-08 08:28  svnbot         Note Added: 0087783                          
======================================================================




More information about the asterisk-bugs mailing list