[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
Tue May 27 11:58:48 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12716 
====================================================================== 
Reported By:                chappell
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12716
Category:                   PBX/pbx_config
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
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:              
====================================================================== 
Date Submitted:             05-23-2008 15:51 CDT
Last Modified:              05-27-2008 11:58 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.




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

---------------------------------------------------------------------- 
 chappell - 05-27-08 11:58  
---------------------------------------------------------------------- 
It has been reported that one must put:

include => featuremap

at some appropriate place in the dialplan before the codes defined in
features.conf will work.  I cannot find this statement in any formal
documentation, but it is mentioned on several forums:

http://www.voipinfo.org/wiki/index.php?page=PBX+CallTransferhttp://www.voip-info.org/wiki/index.php?page=Asterisk+config+features.conf
http://www.voip-info.org/wiki/index.php?page=Asterisk+config+features.conf

In my bug report I called featuremap a "pseudo context" because I have
been informed that it must be included as if it were a context even though
it does not actually exist.

The note posted by administrator suggests that one must also do:

#include features.conf

in extensions.conf.  Is that what was meant?

If so, I will be happy to create a new patch which removes the suppression
of the message about the non-existence of featuremap and fix the
documentation instead. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-27-08 11:58  chappell       Note Added: 0087373                          
======================================================================




More information about the asterisk-bugs mailing list