dect
/
asterisk
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asterisk/pbx
murf 8a8a482e05 Merged revisions 84511 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84511 | murf | 2007-10-03 08:23:00 -0600 (Wed, 03 Oct 2007) | 1 line

closes issue #10834 ; where a null input to a switch statement results in a hangup; since switch is implemented with extensions, and the default case is implemented with a '.', and the '.' matches 1 or more remaining characters, the case where 0 characters exist isn't matched, and the extension isn't matched, and the goto fails, and a hangup occurs. Now, when a default case is generated, it also generates a single fixed extension that will match a null input. That extension just does a goto to the default extension for that switch. I played with an alternate solution, where I just tack an extra char onto all the patterns and the goto, but not the default case's pattern. Then even a null input will still have at least one char in it. But it made me nervous, having that extra char in , even if that's a pretty secret and low-level issue.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84512 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-03 14:39:05 +00:00
..
ael/ael-test Merged revisions 84511 via svnmerge from 2007-10-03 14:39:05 +00:00
Makefile This commit closes bug 7605, and half-closes 7638. The AEL code has been redistributed/repartitioned to allow code re-use both inside and outside of Asterisk. This commit introduces the utils/conf2ael program, and an external config-file reader, for both normal config files, and for extensions.conf (context, exten, prio); It provides an API for programs outside of asterisk to use to play with the dialplan and config files. 2007-08-15 19:21:27 +00:00
dundi-parser.c Corydon posted this janitor project to the bug tracker and mvanbaak provided 2007-10-01 15:23:19 +00:00
dundi-parser.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
kdeconsole_main.cc rename this file so it doesn't appear to be a module by itself 2006-07-07 02:20:28 +00:00
pbx_ael.c Merged revisions 84239 via svnmerge from 2007-10-01 23:03:50 +00:00
pbx_config.c Make the MALLOC_DEBUG output for free() useful again. After changing calls to 2007-09-17 18:57:56 +00:00
pbx_dundi.c Merged revisions 83976 via svnmerge from 2007-09-27 00:02:18 +00:00
pbx_gtkconsole.c Do a massive conversion for using the ast_verb() macro 2007-07-26 15:49:18 +00:00
pbx_kdeconsole.cc various minor fixes 2006-07-07 00:48:40 +00:00
pbx_kdeconsole.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
pbx_loopback.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
pbx_realtime.c Do a massive conversion for using the ast_verb() macro 2007-07-26 15:49:18 +00:00
pbx_spool.c Merged revisions 82358 via svnmerge from 2007-09-13 23:12:16 +00:00