[asterisk-bugs] [Asterisk-GUI 0013791]: IVR saved but not accesible

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 18 13:20:43 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13791 
====================================================================== 
Reported By:                rogier21
Assigned To:                bkruse
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   13791
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.22 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-27 07:51 CDT
Last Modified:              2008-11-18 13:20 CST
====================================================================== 
Summary:                    IVR saved but not accesible
Description: 
When you create a IVR with the GUI, it will save it but I cannot dial it
from any extension. Even if I have IVR allowed in the dialplan.

Tried on a clean install of all latest versions:
Asterisk/1.4.22
Asterisk GUI-version : 2.0
====================================================================== 

---------------------------------------------------------------------- 
 (0094997) awk (manager) - 2008-11-18 13:20
 http://bugs.digium.com/view.php?id=13791#c94997 
---------------------------------------------------------------------- 
rogier21,
Actually I noticed this the other day. From looking at your
extensions.conf, I'm assuming you did 'make samples'. Inside what make
samples generates is a [demo] context that is include in the [default]
context (which the gui includes in basic dialplans). See below for code
snippets. This [demo] context has a 7000 extension that is triggered before
your voicemail extension is.

Including pathing snippets
------------------------------

start with your dialplan:
[DLPN_Normal]
include = default
include = parkedcalls
include = conferences
include = ringgroups
include = voicemenus
include = queues
include = voicemailgroups
include = directory
include = pagegroups
include = page_an_extension

which includes default:
[default]
;
; By default we include the demo.  In a production system, you 
; probably don't want to have the demo there.
;
include => demo
exten = 555,1,VoiceMailMain(${CALLERID(num)}@default)

which includes demo:
[demo]
...
;
;	You can use the Macro Page to intercom a individual user
exten => 76245,1,Macro(page,SIP/Grandstream1)
; or if your peernames are the same as extensions
exten => _7XXX,1,Macro(page,SIP/${EXTEN})
;

As you can see now dialing '7000' will trigger '_7XXX' before your
voicemail context. I suggest removing all the extensions made by make
samples. Its not really advised to perform 'make samples' in a production
environment.

I'm looking into making a change in the 'make samples' to prevent this
from happening. But again its not necessary to 'make samples' when using
the gui, so this is not typical. Actually its very inefficient to make
samples because the gui has to parse all those comments. I know, for
example, that extensions.conf has roughly 750 lines of samples, which means
that is parsed unnecessarily every time an update is performed. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-18 13:20 awk            Note Added: 0094997                          
======================================================================




More information about the asterisk-bugs mailing list