aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2006-04-01Flesh out the remainder of the manager + http changes and create a sample ↵markster1-0/+2
application to partially demonstrate the capability of manager over http. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16850 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31trailing whitespace/ useless extern removalrizzo2-13/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16687 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31more trailing whitespace and extern removalrizzo3-33/+33
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16654 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31removal of trailing whitespace and useless 'extern'rizzo10-101/+101
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16653 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31another batch of whitespace removalrizzo1-31/+31
(trailing space-tabs, and useless 'extern') git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16650 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31remove useless 'extern' and trailing whitespace.rizzo1-42/+42
(this is a whitespace-only change) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16646 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31- Change AST_INLINE_AP to AST_INLINE_API for non-386 systems :-)oej1-5/+9
- Doxygen changes git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16615 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31remove useless 'extern' in function declarations.rizzo2-12/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16611 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30initial implementation of support for native atomic ops.rizzo1-0/+46
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16601 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30as discussed with Mark a few weeks ago, the 'newstack' argumentrizzo2-34/+13
in pbx_exec is always 1 so it can be removed. This change also takes away ast_exec_extension(), and lets all switch functions (exists, canmatch, exec, matchmore) all use the same prototype, which makes the code a bit cleaner. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16558 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30Doxygen doc updatesoej1-3/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16551 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30remove AST_MUTEX_DEFINE_EXPORTED, which now has no more clients.rizzo1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16533 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30do not export the tzlock and the list head, and introduce a new method,rizzo1-7/+12
ast_walk_indications(), to walk through the list of indications. The new method returns an unlocked record, which is no different from the behaviour of other existing methods in indications.c (i.e. they all need to be fixed, with refcounts or some similar method). Note that ast_walk_indications() uses the pointer argument only as a search key, so its implementation is completely safe. In turn, this change allows the removal of AST_MUTEX_DEFINE_EXPORTED. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16532 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30document why there are so many versions of the mutex functions,rizzo1-0/+27
with their pros and cons, and that we should converge to a single method. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16528 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30convert internal timing to be stored as a flag in the ast_options flagsrussell1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16477 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30Issue #5374 - Enable internal timing of generators (cmantunes)oej2-3/+13
Thanks everyone involved for hard work, testing and testing! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16473 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30Issue #6450 - Don't remove characters from SIP uri's when not neededoej1-2/+9
Patch by jcomellas, heavily modified by oej git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16425 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29Merged revisions 16192 via svnmerge from tilghman1-0/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r16192 | tilghman | 2006-03-29 13:11:18 -0600 (Wed, 29 Mar 2006) | 2 lines Bug 6830 - Let GosubIf work with the same conditions as a GotoIf (change in API approved by Russell) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16193 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29Doxygen updatesoej1-0/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16012 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29fix the provided unsetenv for solaris to return an int like it's supposed torussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16007 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29Introduce an utility macro to set base, offset andrizzo1-0/+7
datalen of a frame, which is a very common operation. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15970 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29Add two widely used constantsrizzo2-2/+3
#define DEFAULT_SAMPLE_RATE 8000 #define DEFAULT_SAMPLES_PER_MS ((DEFAULT_SAMPLE_RATE)/1000) to the main header, and remove equivalent ones from plc.[ch] This will simplify the cleanup of the codec/ and formats/ files. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15969 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29Merged revisions 15896 via svnmerge from kpfleming1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r15896 | kpfleming | 2006-03-28 18:32:10 -0600 (Tue, 28 Mar 2006) | 2 lines ensure that list traversal loops which skip entries properly update the 'previous entry' pointer so when entries _are_ removed the list does not get damaged ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15897 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28Doxygen fixes oej1-10/+43
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15860 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28bring in the code that was discussed on Mantis #6068,rizzo2-0/+21
which is the basis for several simplifications and fixes to the CLI interfaces. The core is in cli.c, some documentation on a new function to help command completion is in cli.h, and one line of glue code in the other two files. Next step is to bring in the patches described in #6066 and other simplifications. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15817 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28make 'show hints' CLI command show context name for each hintkpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15815 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28Bring in the new loader code as described in mantis #4377rizzo1-83/+189
and updated to today's version. The core of the patch is only two files, loader.c and include/asterisk/module.h, with the other files touched only to adapt non-standard usages of the reference counts and localuser lists. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15784 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28remove the long since unused STANDARD_LOCAL_USERS macrorizzo1-2/+0
so that new apps will not try to use it by mistake. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15517 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28improve IP TOS support for SIP and IAX2 (issue #6355, code from jcollie plus ↵kpfleming1-11/+12
modifications) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15435 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25Add micro-http server and abstract manager interface, make snmp not die markster2-34/+69
on reload. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14953 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25revert loader changes that have clearly not undergone adequate testing ↵kpfleming1-188/+84
before commit git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14952 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25Bug 4377 - Round 2 of the loader updatestilghman1-84/+188
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14886 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-24as discussed on the -dev list, introduce a macro to simplify therizzo1-0/+5
writing of common constructs like chan = !ast_strlen_zero(cdr->channel) ? cdr->channel : "<unknown>"; (or the if/then/else form) into chan = S_OR(cdr->channel, "<unknown>"); The name can be changed if we find a better (and not too long) one; currently, it is S as String, OR as it mimics the behaviour of the || operator, but applied to strings. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14747 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-24 Doxygen typo fix.bweschke1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14612 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-24don't treat timeouts as errors in ast_cond_timedwaitkpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14593 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-23Replace ast_say_* functionn with function pointers, so that modulesrizzo1-17/+51
can override them. On passing, fix a potential problem in the top level Makefile: if a static library is not referenced by any of the core objects, it is not linked in the main program, and will not be available to modules, which leads to failure at runtime when the modules are loaded. This is the case of stdtime/localtime.o, which supplies some core symbolx, but is only linked in as a library. Fix the problem by linking in the object. NOTE: this is intended as a temporary aid to replace the existing say.c with a newer implementation. Once the task is completed, we may decide whether or not the ast_say*() functions should be pluggable or not and possibly revert part of this change. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14382 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-23Fix a compile problem on FreeBSD for a missing header.rizzo1-0/+4
In this specific case the problem triggered on app_amd.c, but it keeps coming out from time to time so it is better to fix it in a more central place. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14320 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-22Merged revisions 14234 via svnmerge from file1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r14234 | file | 2006-03-22 17:38:32 -0400 (Wed, 22 Mar 2006) | 2 lines Issue #5918 - Disposition showing FAILED even though call is answered successfully (Reported by tracinet) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14235 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-21update LOCAL_USER_ADD to use ast_callocrussell1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14000 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-19fix the return value for the provided unsetenv() for Solarisrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13629 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-19- Doxygen fixes. oej1-76/+67
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-19When astmm is in use, define ast_malloc and friends to malloc, etc., so thatrussell1-0/+15
it doesn't report that all allocations are coming from utils.h. Also, add some more information to the error message astmm reports when a memory allocation failure occurs. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13513 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-18- remove some unnecessary extern keywordsrussell1-223/+401
- cleanups to doxygen formatted documentation git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13393 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-17move the definition of the mappings between extension states and their textrussell1-12/+0
representation into pbx.c so that every file that includes pbx.h does not unnecessarily get a copy of it git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13357 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-14clarify which global options are enabled by defaultrussell1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12897 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-14add an option to cdr.conf that enables ending CDRs before executingrussell1-1/+4
the "h" extension as opposed to afterwards (issue #6193) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12896 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-10Doxygen fixes (we renamed a lot of README's recently)oej1-10/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12493 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-10Doxygen reformattingoej1-47/+39
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12491 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-07Bug 5702 - Realtime patch for meetmetilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12232 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-01Merged revisions 11503 via svnmerge from tilghman1-4/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r11503 | tilghman | 2006-03-01 11:41:52 -0600 (Wed, 01 Mar 2006) | 2 lines Bug 6615 - Fix 64bit conversion errors by using a long int ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11504 f38db490-d61c-443f-a65b-d21fe96a405b