[asterisk-bugs] [Asterisk 0011970]: Usage of Goto() in an included context can cause unexpected behaviour
noreply at bugs.digium.com
noreply at bugs.digium.com
Wed Feb 27 14:19:39 CST 2008
The following issue has been CLOSED
======================================================================
http://bugs.digium.com/view.php?id=11970
======================================================================
Reported By: blitzrage
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 11970
Category: PBX/pbx_config
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.4.17
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
Resolution: won't fix
Fixed in Version:
======================================================================
Date Submitted: 02-11-2008 08:49 CST
Last Modified: 02-27-2008 14:19 CST
======================================================================
Summary: Usage of Goto() in an included context can cause
unexpected behaviour
Description:
I found this interesting little tidbit of usage behaviour yesterday when
writing some dialplan. Here is a simplified example of what I ran into:
[phones]
include => callControl
include => checkVoicemail
[callControl]
exten => preAuth,1,NoOp(well hello there) ; <-- this is what gets
matched when you do the Goto() from the checkVoicemail context.
[checkVoicemail]
exten => 8500,1,Goto(preAuth,1)
exten => preAuth,1,NoOp(this does not get hit as you might expect)
======================================================================
----------------------------------------------------------------------
Corydon76 - 02-27-08 14:19
----------------------------------------------------------------------
It's interesting, but I don't think it belongs in the application help
text, since it's more likely to confuse than assist. Somewhere in external
documentation is fine.
Issue History
Date Modified Username Field Change
======================================================================
02-27-08 14:19 Corydon76 Note Added: 0083068
02-27-08 14:19 Corydon76 Status new => closed
02-27-08 14:19 Corydon76 Resolution open => won't fix
======================================================================
More information about the asterisk-bugs
mailing list