aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
AgeCommit message (Collapse)AuthorFilesLines
2007-02-18add -Wundef to the --enable-dev-mode flags, so that mistyped macro names in ↵kpfleming1-1/+1
#if expressions will be caught convert various #if expressions to #ifdef for macros that may not be defined (and where the value is not important) Note: two of these changes are in bison generated files which is going to be inconvenient when they are regenerated git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55329 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16Merged revisions 54898 via svnmerge from russell1-2/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r54898 | russell | 2007-02-16 12:03:41 -0600 (Fri, 16 Feb 2007) | 4 lines Fix setting "autofallthrough" to yes by default. It was set to enabled in pbx.c. However, if the option was not present in extensions.conf, then pbx_config.c would set it back to disabled. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54901 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-31Merged revisions 53046 via svnmerge from russell2-0/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r53046 | russell | 2007-01-31 15:32:08 -0600 (Wed, 31 Jan 2007) | 11 lines Merged revisions 53045 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines Fix a bunch of places where pthread_attr_init() was called, but pthread_attr_destroy() was not. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53047 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-29Merged revisions 52679 via svnmerge from tilghman1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r52679 | tilghman | 2007-01-29 16:12:12 -0600 (Mon, 29 Jan 2007) | 2 lines Argument number correction ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@52680 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-22Merged revisions 51409 via svnmerge from murf1-2/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r51409 | murf | 2007-01-22 12:28:51 -0700 (Mon, 22 Jan 2007) | 1 line This fixes 8836, according to dnatural ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51413 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-06Merged revisions 49742 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r49742 | qwell | 2007-01-05 18:24:38 -0600 (Fri, 05 Jan 2007) | 7 lines Save 1 whopping byte of allocated memory! This looks like it may have been a chicken/egg scenario.. You had to call a cleanup func, because everything was allocated. Then since you had to call a cleanup func, you were forced to allocate - ie; strdup(""). ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49743 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05const-ify some more APIs, and fix rev 49710 from branch-1.4 in a better way herekpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49711 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-02Merged revisions 49237 via svnmerge from murf2-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r49237 | murf | 2007-01-02 15:30:53 -0700 (Tue, 02 Jan 2007) | 1 line 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. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49238 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-30Merged revisions 49073 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r49073 | file | 2006-12-30 13:31:17 -0500 (Sat, 30 Dec 2006) | 2 lines 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) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49074 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-30Merged revisions 49061 via svnmerge from murf1-1/+16
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r49061 | murf | 2006-12-29 17:40:37 -0700 (Fri, 29 Dec 2006) | 1 line A fix for 8661, where the CUT func needed to have comma args converted to vertical bars. I hope this change does little harm. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49062 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-28Jason is having problems with the inclusion of <err.h>; it appears to be ↵murf3-163/+178
unnecessary for sucessful builds, so I either removed or commented out the inclusions from all the AEL related code. New outputs from bison/flex are included, etc. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49019 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27Merged revisions 49009 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r49009 | file | 2006-12-27 17:28:46 -0500 (Wed, 27 Dec 2006) | 2 lines 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) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49010 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-21This small update will generate WARNINGS if there is garbage in your ↵murf1-0/+2
extensions.conf file (liken extem => instead of exten => !) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48723 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-06Staticize one, and Constify a bunch of usage strings for CLI commands.russell1-15/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48303 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27More fixes for referencing a structure after it has been freed. (issue #8425 ↵file1-3/+3
reported by arkadia) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48040 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27Merged revisions 48038 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r48038 | file | 2006-11-27 10:32:19 -0500 (Mon, 27 Nov 2006) | 10 lines Merged revisions 48037 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48037 | file | 2006-11-27 10:30:37 -0500 (Mon, 27 Nov 2006) | 2 lines Do not reference the freed outgoing structure in the debug message. (issue #8425 reported by arkadia) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48039 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13Eager people beat me to fixing the messed if, but we all forgot to update ↵murf1-12/+9
the regressions. Until now. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47566 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13Clean up last commit to better conform to standards.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47556 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13AEL need not complain about parkedcalls not being found... just confuses usersmurf1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47554 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10Fine, take this.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47465 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10Hello compiler working, goodbye compiler warning. (fix compiler warning ↵file1-1/+1
introduced from pbx_dundi optimizations) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47461 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10Various little bits of code cleanup to reduce nesting, remove useless casts,russell1-39/+37
and to remove a duplicated error message after a memory allocation error git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47410 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-05Make pbx_dundi compile again. Sorry. :(russell1-3/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47213 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04use the AST_MODULE_LOAD_* return codes from load_module()russell1-18/+18
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47207 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04simplify a couple of loopsrussell1-13/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47206 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-04Do some minor cleanup to the section of code that sets the EID by getting therussell1-15/+15
mac address for an ethernet interface git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47204 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01Add the ability to pass options to the Dial application when using the DUNDirussell1-1/+4
switch in the dialplan by setting the DUNDIDIALARGS channel variable. (issue #8084, patch by bluecrow76, with small modifications and documentation updates) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46781 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25Merged revisions 46200 via svnmerge from kpfleming4-25/+28
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r46200 | kpfleming | 2006-10-25 09:32:08 -0500 (Wed, 25 Oct 2006) | 2 lines 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 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46201 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13Correction for bug 8128 in trunkmurf4-14/+226
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@45078 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-12put flags in an enum and remove a couple of unused definesrussell1-10/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44944 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-05These mods fix a problem pointed out by dgartang, where in certain ↵murf1-2/+29
situations, the target of a goto cannot be found, even right under your nose. This is because the current context is not updated properly, and rather than waste time and find why and where the context should have been updated, I just use my newly added 'dad' ptrs, and pop until I have either the context or extension, and use that instead. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44489 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04Merged revisions 44378 via svnmerge from kpfleming2-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44378 | kpfleming | 2006-10-04 14:47:22 -0500 (Wed, 04 Oct 2006) | 4 lines update thread creation code a bit reduce standard thread stack size slightly to allow the pthreads library to allocate the stack+data and not overflow a power-of-2 allocation in the kernel and waste memory/address space add a new stack size for 'background' threads (those that don't handle PBX calls) when LOW_MEMORY is defined ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44379 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04These changes resolve the problems in bug 8090, where there's a crash ↵murf5-144/+178
compiling an empty context git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44377 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-03These changes correspond to the changes to app_stack's Gosub() applicationmurf16-332/+333
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44263 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-03bug #8076 check option_debug before printing to debug channel.mogorman1-50/+91
patch provided in bugnote, with minor changes. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44253 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-02Merged revisions 44186 via svnmerge from pcadach1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44186 | pcadach | 2006-10-03 00:52:56 +0600 (Втр, 03 Окт 2006) | 1 line Missed part of userconf functionality for chan_h323 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44196 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29Merged revisions 44055 via svnmerge from kpfleming1-6/+6
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44055 | kpfleming | 2006-09-29 17:47:40 -0500 (Fri, 29 Sep 2006) | 2 lines fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44056 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29Merged revisions 43996-43997,44008,44011-44012 via svnmerge from kpfleming1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r43996 | kpfleming | 2006-09-29 11:47:05 -0500 (Fri, 29 Sep 2006) | 2 lines another cross-compile fix ........ r43997 | kpfleming | 2006-09-29 11:52:27 -0500 (Fri, 29 Sep 2006) | 2 lines support --without-curl in configure script ........ r44008 | kpfleming | 2006-09-29 13:25:49 -0500 (Fri, 29 Sep 2006) | 2 lines 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 ........ r44011 | kpfleming | 2006-09-29 13:40:17 -0500 (Fri, 29 Sep 2006) | 2 lines missed one conversion to ASTCFLAGS ........ r44012 | kpfleming | 2006-09-29 13:49:07 -0500 (Fri, 29 Sep 2006) | 2 lines yet another place where we were not using the correct CFLAGS by default ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44013 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27This commits the changes to AEL to use the gosub-with-args from Tilghman to ↵murf13-451/+777
perform macro calls. This results in substantially smaller stack footprint, which allows macro call depths in excess of 100,000 levels, rather than the limit of 7 calls deep, which the Macro app is subject to. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43747 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-22This commits a change to return MODULE_LOAD_FAILURE on error, and SUCCESS ↵murf1-1/+3
(instead of 0) when all goes well for bug 8004 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43507 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-22As per bug 8004, we now return AST_MODULE_LOAD_DECLINE when we can't read ↵murf1-0/+6
extensions.ael git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43506 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21Lots more removal of deprecated thingstilghman1-843/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43452 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20Constify the result of a config retrieval function, to avoid mutilation ↵tilghman1-3/+3
(issue 7983). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43364 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19Various updates from PCadach's chan_h323-live branchmattf2-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43294 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19similar patch for verbose vs debug with minor changesmogorman1-1/+1
bug 2617 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43272 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18merge qwell's CLI verbification workkpfleming3-189/+1014
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43212 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-16merge markster's usersconf branch with some slight changeskpfleming1-2/+104
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31everything that loads a config that needs a config file to runmogorman2-5/+8
now reports AST_MODULE_LOAD_DECLINE when loading if config file is not there, also fixed an error in res_config_pgsql where it had a non static function when it should. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31This commit is a basic AEL enhancement: c-style commentsmurf7-418/+1256
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41527 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29Merged revisions 41269 via svnmerge from russell1-18/+13
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r41269 | russell | 2006-08-29 09:33:34 -0400 (Tue, 29 Aug 2006) | 3 lines clean up last commit ... most notably, there is no reason to do heap allocations here, and it also included a potential memory leak ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41270 f38db490-d61c-443f-a65b-d21fe96a405b