aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2006-08-21- simplify and improve astmm by using thread storage instead of a dynamicrussell1-152/+119
allocation and free on every call of the function for preparing the string that will be appended. Then, use the ast_dynamic_str() code instead of the open coded version that is appended to when waiting for it to be delivered. - use for loops for list traversals - convert the manager sessions list to use list macros - use atomic operations for num_sessions and usecounts - convert some defines to the equivalent enum git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40783 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21- use the atomic operations for incrementing the unique intrussell1-12/+21
- free the string fields allocation if ast_create_channel() failes to open the alert pipe - formatting tweaks git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40782 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21Allow an offset for SIP_HEADER so you can get more then 1 header of the same ↵file1-5/+19
name if they exist. Why someone would want to grab something like Via headers from dialplan I don't exactly know, but okay. (issue #7563 reported by Corydon76) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40781 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21various cleanups, including ...russell1-120/+112
- Create an astmm_log() macro that logs the same message to both stderr as well as the mmlog file if it is open instead of duplicating the code everywhere. - Use for loops for list traversals instead of while loops - reduce nesting - ensure locking isn't put around more than is necessary - localize a struct definition - change the limit of the path to the mmlog to PATH_MAX instead of 80 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40780 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21- use a common error message in all of the memory allocation macrosrussell1-66/+110
- add ast_asprintf() and ast_vasprintf() - tweak doxygen comments - simplify the definition of a flag macro git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40775 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21build muted by default, since there is no Makefile target for it anymorekpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40770 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21use a safer process for checking if a module wants to export symbols into ↵kpfleming1-22/+32
the global namespace git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40769 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21replace a couple of bare 'make' with $(MAKE)kpfleming2-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40765 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21swap module macro arguments to proper orderkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40761 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21Fix a potential integer signedness problem.qwell1-0/+7
Also fix some locking issues I found at the same time. Issue 7770, original patch by alamantia git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40757 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21ensure that 'make' after 'svn update' that includes a configure script ↵kpfleming1-1/+1
change won't run without making the user run configure first git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40753 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21don't declare these variables unless neededkpfleming1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40751 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21document Makefile target changeskpfleming2-2/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40728 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21could have sworn i committed this change already...kpfleming1-4/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40726 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21main subdirectory is not dependencies for menuselect inputkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40725 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21oops... no pattern rules for bison/flexkpfleming1-4/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40724 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming398-7172/+5945
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Merged revisions 40692 via svnmerge from tilghman1-33/+8
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r40692 | tilghman | 2006-08-20 17:09:57 -0500 (Sun, 20 Aug 2006) | 2 lines Reformat to match the contribution style of other contributors ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40693 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20This is just step 1 in taking over the world.qwell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40663 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Convert func_odbc to use the prepare_and_execute callback, which helps with ↵tilghman2-91/+42
a database reconnection issue (bug 7693) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40632 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Blocked revisions 40601 via svnmergefile0-0/+0
........ r40601 | file | 2006-08-20 00:49:48 -0400 (Sun, 20 Aug 2006) | 2 lines Turn media level c= parsing on by default (issue #7725 reported by psm) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40602 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Converted device2str and control2str to use thread local storage.qwell1-4/+15
Thanks Russell. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40600 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Properly check to see if parkingnum is a number (issue #7762 reported by robf)file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40599 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20kpfleming didn't break trunk, it was the aliens. (fix it so that the ↵file1-4/+4
Makefile references the new name for the XML tree, menuselect-tree) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40566 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Make the CIPC device string usefulqwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40563 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Fix minor display issues in "skinny show devices".qwell1-7/+75
Patch by wedhorn with minor modifications by me. Issue 7766 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40561 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-19deprecate chan_agent callback modekpfleming2-1/+25
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40521 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-19suppress warnings introduced by putting states in an enumrussell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40489 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-19Blocking 1.2 rev 40446 from merging to trunkqwell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40452 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-19Fix a bug with app_voicemail when trying to use app_directory to leave messagesqwell2-12/+23
to another user (options 3, 5, 2). If the context/extension didn't exist in the dialplan (and why should it have to?), it would fail, saying that it's an "invalid extension". (issue BE-71) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40426 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-19convert lists of constants in channel.h to enums instead of #definesrussell4-79/+104
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40424 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-18Make a zttest of 20 seconds part of the autosupport script (issue #7752 ↵file1-0/+8
reported by kshumard) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40395 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-18Merged revisions 40392 via svnmerge from kpfleming1-1/+10
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r40392 | kpfleming | 2006-08-18 14:10:51 -0500 (Fri, 18 Aug 2006) | 2 lines make a feeble attempt to avoid the 'how do I enable my hardware echo canceler' questions ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40393 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-18Updated this as per wishes of Kevin Fleming. Needs review. Any ↵murf1-0/+101
mistakes/misconceptions/glaring errors? git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40360 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17updating configure script and putting comments in the docsmogorman3-13/+131
in english. yay! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40337 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17changes to configure to support older c-client than themogorman3-8/+70
2004 version. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40335 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17Use OSAtomicAdd instead of OSAtomicDecrement to decrement the value by 1.file1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40303 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17update configure script to reflect change to make version checkrussell1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40302 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17a lot of systems use GNU Make 3.81beta4, so only consider the first two ↵russell1-1/+1
characters in the minor part of the version string git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40280 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17fix the use of an uninitialized variable (issue #7746, pointed out by garyhai)russell1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40278 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17rename to more clearly state what this file shows how to dokpfleming1-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40257 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17typokpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40256 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17fix a little typo in the config file namerussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40255 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17add Steve Murphy's guide on setting up call queues using dynamic queue members,russell1-0/+403
including examples in AEL. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40254 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17Merged revisions 40227 via svnmerge from russell1-1/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r40227 | russell | 2006-08-17 12:36:21 -0400 (Thu, 17 Aug 2006) | 3 lines revert bogus change to attempt to fix bug 7506 which actually causes half of the channels not to get "Newchannel" events at all (issue #7745) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40228 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17Add 'l' option to CDR dialplan function which will cause it to pass the last ↵file1-2/+9
CDR record to getvar instead of the first. (issue #7689 reported by voipgate) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40226 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17Blocked revisions 40223 via svnmergefile0-0/+0
........ r40223 | file | 2006-08-17 12:18:08 -0400 (Thu, 17 Aug 2006) | 2 lines Make app_macro compile again ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40224 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17Blocking 40220, because I've already made the mod in trunk, and it might ↵murf0-0/+0
have collisioned... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40222 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17In app_macro, changed the previously changed upper recursion depth limit to ↵murf1-2/+7
a variable, default of the original val of 7. MACRO_RECURSION is a channel variable that will override the limit, but until I can understand and fix why this limit is neccessary, I am not advertising this variable in the docs. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40200 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17fixing the 64bit issue with misdn_l1_task.nadi1-6/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40178 f38db490-d61c-443f-a65b-d21fe96a405b