[asterisk-bugs] [Asterisk 0013901]: switch statement: Empty patterns don't fallback to Default label
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Nov 14 07:48:58 CST 2008
The following issue has been SUBMITTED.
======================================================================
http://bugs.digium.com/view.php?id=13901
======================================================================
Reported By: smurfix
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13901
Category: PBX/pbx_ael
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1
SVN Revision (number only!): 150817
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-11-14 07:48 CST
Last Modified: 2008-11-14 07:48 CST
======================================================================
Summary: switch statement: Empty patterns don't fallback to
Default label
Description:
The following code:
switch(${empty}) {
... some patterns ...
default: break;
}
results in an "unknown label" error, the call is aborted.
This bug caused us to lose two days' worth of calls which happened not to
send any caller ID ...
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2008-11-14 07:48 smurfix New Issue
2008-11-14 07:48 smurfix Asterisk Version => SVN
2008-11-14 07:48 smurfix SVN Branch (only for SVN checkouts, not tarball
releases) => 1.6.1
2008-11-14 07:48 smurfix SVN Revision (number only!) => 150817
======================================================================
More information about the asterisk-bugs
mailing list