Commit Graph

467 Commits (1f62b98d45c38e1185dbb9d51a0343972f4cbfe0)

Author SHA1 Message Date
Joshua Colp 6d143d401f Backport GCC 4.2 fixes. Without these Asterisk won't build under devmode using GCC 4.2.
18 years ago
Joshua Colp f836d642f9 (closes issue #10224)
18 years ago
Joshua Colp ce4e654f2c Few minor thread synchronization tweaks. (issue #10124 reported by gzero)
18 years ago
Joshua Colp 1944dea3bd Add a few sanity checks when writing out the dialplan. (issue #10157 reported by dome)
18 years ago
Russell Bryant fde5578a20 Merged revisions 72805 via svnmerge from
18 years ago
Russell Bryant 9fe9682f50 Merged revisions 72267 via svnmerge from
18 years ago
Joshua Colp 76c9d2be11 Make unloading of pbx_dundi actually work.
18 years ago
Tilghman Lesher 5ed9d5d64b "dialplan save" produced garbage in the config file
18 years ago
Steve Murphy dc63d79143 this fixes bug 9883, wherein macros were not allowing the includes construct. fixed and tested, looks OK. Now includes can serve as an adjunct to catch.
18 years ago
Steve Murphy b698ff265b Added code to automatically add a default case to switches that don't have one. In some cases, rather than fall thru, it results in a goto with -1 result, which terminates the extension; a sort of dialplan seqfault, sort of. This was required to fix bug reported in 9881
18 years ago
Steve Murphy 9056b0fa09 updated the ael regressions to match what's in trunk
18 years ago
Steve Murphy fd54b47404 These mods fix bug 9623, where an '@' in the eswitch contents causes a syntax error. I also updated the regressions.
18 years ago
Steve Murphy 48b277a047 continue in for-loop should go to the incrementer, not the test. As per 9435, thanks to marcelbarbulescu
18 years ago
Steve Murphy bd5967ea0c via 9373 (duplicate context in AEL crashes asterisk), kpfleming pointed on asterisk-dev, that DECLINE in this case the proper thing to do. This change now has it doing the proper thing.
18 years ago
Steve Murphy 1f08db56c5 fix for 9373 (duplicate context in AEL crashes asterisk). I turned a duplicate context from a WARNING to an ERROR. Now you get a module load failure, and asterisk just exits. That's better than a crash, right\?
18 years ago
Steve Murphy 19e8d3fdcb A fix for the flex input files, DONT_COMPILE, and STANDALONE_AEL
18 years ago
Joshua Colp ca9872278b Have ast_copy_string magically appear in the aelparse binary! DONT_OPTIMIZE should now work once again.
18 years ago
Steve Murphy 6e869d135c The fix for the AEL <<security hole>> (bug 9316) is here...
18 years ago
Steve Murphy b899145141 Updated the regression tests
18 years ago
Steve Murphy 9fab305234 I almost had comma escapes right, but 9184 points out the problem-- the escape is removed by pbx_config, and pbx_ael should also, before sending it down into the pbx engine. Also, you have to insert it back in, if you are generating extensions.conf code from the AEL.
18 years ago
Steve Murphy 96622ddd26 I was surprised that I had not yet downgraded missing goto targets and macro call defs to a warning, in case they are in extensions.conf; I rectified this problem. Also, A goto in a macro to a target in a catch block was not being found; I fixed this too; the cause was that I needed to treat catch statements like an extension in the find_match code.
19 years ago
Joshua Colp 31d02952de Merged revisions 56850 via svnmerge from
19 years ago
Russell Bryant 0c00d00d1e Fix setting "autofallthrough" to yes by default. It was set to enabled in
19 years ago
Russell Bryant 9aab046002 Merged revisions 53045 via svnmerge from
19 years ago
Tilghman Lesher f7459d4687 Argument number correction
19 years ago
Steve Murphy 99ce040a80 This fixes 8836, according to dnatural
19 years ago
Jason Parker 9e621e99a5 Save 1 whopping byte of allocated memory!
19 years ago
Steve Murphy 49cce60e51 This is a slight modification to Josh's edits for #8579; both files edited were the produced by flex; so the source files need to be changed instead, and the generated files regenerated.
19 years ago
Joshua Colp cc8ee54779 IAX has been deprecated for quite some time so we had better use IAX2 when creating the dial string for users. (issue #8697 reported by ssokol)
19 years ago
Steve Murphy eae46d9a28 A fix for 8661, where the CUT func needed to have comma args converted to vertical bars. I hope this change does little harm.
19 years ago
Steve Murphy 4d6a91eef0 removed <err.h> as in trunk from the ael stuff. Also, threw in a minor fix to frame.c to avoid build-killing compiler warnings.
19 years ago
Joshua Colp 6d582d75c7 ast_copy_string is not available when LOW_MEMORY is used and things are being built in the utils directory, so we need to resort to the old method of strncpy. (issue #8579 reported by mottano)
19 years ago
Joshua Colp fe50f34bab Merged revisions 48037 via svnmerge from
19 years ago
Steve Murphy a619d5c3e0 Eager people beat me to fixing the messed if, but we all forgot to update the regressions. Until now.
19 years ago
Joshua Colp c71a6b9004 Clean up last commit to better conform to standards.
19 years ago
Steve Murphy dc8dca7807 AEL need not complain about parkedcalls not being found... just confuses users
19 years ago
Kevin P. Fleming ce4b0afb73 apparently developers are still not aware that they should be use ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process
19 years ago
Steve Murphy dc04209898 Bug 8128 fixed in this release via these changes
19 years ago
Steve Murphy 25b33fd0c8 This mod fixes a problem pointed out by dgarstang. Many thanks to Doug\!
19 years ago
Steve Murphy c37666252d These changes fix the problems reported in bug 8090
19 years ago
Kevin P. Fleming ff05bf15c8 update thread creation code a bit
19 years ago
Paul Cadach 6b37705130 Missed part of userconf functionality for chan_h323
19 years ago
Kevin P. Fleming ec2e4f2216 fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80
19 years ago
Kevin P. Fleming 704397dc3c don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because they are also then used for non-Asterisk components (like menuselect); use our own variables instead
19 years ago
Steve Murphy 73b0ed54b9 This commits a change to return MODULE_LOAD_FAILURE on error, and SUCCESS (instead of 0) when all goes well for bug 8004
19 years ago
Steve Murphy 3836bbd557 If the extensions.ael file not found, or unreadable, we return AST_MODULE_LOAD_DECLINE,
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Matthew Fredrickson 33ddb53663 Various updates from PCadach's chan_h323-live branch
19 years ago
Matt O'Gorman d0a1a0033d similar patch for verbose vs debug with minor changes
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago