aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2006-04-24Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now ↵kpfleming1-0/+178
no longer considered experimental :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have ↵kpfleming3-27/+16
autoconf and menuselect tools for Asterisk! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-22Added "Operator Services" connection mode for Zap channels, and the 'O' optionjdixon1-0/+8
in app_dial to support the use of this mode. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22128 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21move wait_and_stream to ast_wait_and_stream() because equivalentrizzo1-0/+8
code is replicated in way too many places not to have a global function for that. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22075 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21- use symbolic constants and macros to play with the debug flagrizzo1-1/+5
on the frame counters. Document it in the header file. - provide a single exit point for a function; - mark XXX some unclear parts of the code. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21933 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-20comment that for callerid field, NULL and "" should be consideredrizzo1-23/+16
equivalent (the reason is, when passing these strings through a statically allocated buffer, we have no way to tell between NULL and "" so we would be unable to preserve the difference, if any). No code changes yet. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21743 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19add the malloc attribute to the memory allocation wrappersrussell1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21681 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19move to a different file (channel.c for the time being) therizzo1-9/+31
wrappers around the basic 'say' functions, and redeclare these wrappers as ordinary functions rather than function pointers. This way, alternative implementations of the 'say' functions will only have to implement the basic functions and not the wrappers. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21338 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18correct array index calculation (thanks mtaht3!)kpfleming1-2/+4
update header file comments to reflect new usage of structure field git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21207 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18update res_odbc to support pooled connectionsrussell1-23/+57
(from tilghman's developer branch, res_odbc_rewrite) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21181 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17add an API so that the number of steps required for a translation path can ↵kpfleming1-5/+13
be acquired don't transcode via SLINEAR when the option is enabled but there is a direct path from the source to the destination git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20962 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16- Fixes to ast_channel_lock functionsoej1-1/+1
- New get_sip_pvt_byid function (not really used correctly yet...) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20424 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15We are shaking up trunk tonight! allow data dir to be specified (issue #6967 ↵file1-0/+1
reported by tzafrir) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20330 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15More ast_channel_lock fixesoej1-3/+17
- Update lock.h with definitions of ast_channel_lock, ast_channel_unlock and ast_channel_trylock - Convert some functions (but not all) in channel.c - Fix some bugs in chan_sip.c - Convert rest of chan_sip.c git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20295 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15New functions for locking a channel - these simplify debuggingoej1-0/+12
when you have channel locking issues. (Part of the SIP transfer patch, where I had a *lot* of channel locking problems) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20264 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14constification and code simplificationsrizzo1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20165 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14constify a couple of function argumentsrizzo1-5/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20138 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14This rather large commit changes the way modules are loaded. rizzo4-253/+91
As partly documented in loader.c and include/asterisk/module.h, modules are now expected to return all of their methods and flags into a structure 'mod_data', and are normally loaded with RTLD_NOW | RTLD_LOCAL, so symbols are resolved immediately and conflicts should be less likely. Only in a small number of cases (res_*, typically) modules are loaded RTLD_GLOBAL, so they can export symbols. The core of the change is only the two files loader.c and include/asterisk/module.h, all the rest is simply adaptation of the existing modules to the new API, a rather mechanical (but believe me, time and finger-consuming!) process whose detail you can figure out by svn diff'ing any single module. Expect some minor compilation issue after this change, please report it on mantis http://bugs.digium.com/view.php?id=6968 so we collect all the feedback in one place. I am just sorry that this change missed SVN version number 20000! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14temporarily revert the way mutex are initialized on BSD systems.rizzo1-1/+1
This fixes the compilation on OS/X (the change exposed a wrong assumption on mutex types on OS/X), but still leaves open the bugs in initializing mutex on bsd systems, which you will see reported as 'locking failures' on certain operations. I need to investigate the issue further, but the best thing i can do now is leave things as they have been for months. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19973 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13Updates to speech recognition API and dialplan utilities. Moved to using ↵file1-1/+6
dialplan functions, and some other misc things. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19645 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12simplify macro usagekpfleming1-10/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19614 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12make sure uint64_t is available on macrussell1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19579 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12add 'show threads' and 'show profile' commands.rizzo4-3/+78
These are momstly debugging tools for developers, a bit documented in the header files (utils.h), although more documentation is definitely necessary. The performance impact is close to zero(*) so there is no need to compile it conditionally. (*) not completely true - thread destruction still needs to search a list _but_ this can be easily optimized if we end up with hundreds of active threads (in which case, though, the problem is clearly elsewhere). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19544 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11fix various bugs in the DEBUG_THREADS code including:rizzo1-4/+4
- misspelled ast_mutex_logger() instead of __ast_mutex_logger() - misplaced #define ast_mutex_init(pmutex) - wrong arguments to __ast_mutex_logger() in one instance. Clearly this code is too spaghetti! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19396 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11Merged revisions 19303 via svnmerge from file1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19303 | file | 2006-04-11 17:46:38 -0300 (Tue, 11 Apr 2006) | 2 lines Minor linked lists bug fix. When you're dealing with swapping entries around a lot it can cause a seg fault. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19304 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11remove an unused functionrizzo1-8/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19226 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11as discussed with kevin, moverizzo2-14/+14
ast_register_atexit()/ ast_unregister_atexit() into asterisk.h These are general functions, not restricted to modules, so move them in a more proper place. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19223 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11Add new documentation files to index file 00README.1st and to doxygenoej1-0/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19097 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11Data stores do not need a lock. As well change the way they are removed from ↵file1-2/+2
the channel when it is destroyed (thanks Russell Wussell) and finally... because C++ is silly... change our list macro info thing to be "entry" instead of "list". git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19062 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10Presenting a revised data stores and oh my, a generic speech recognition ↵file2-0/+163
API! I wonder what we can do with this now... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18979 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10Bug 6829 - asprintf for Solaristilghman1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18755 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-09rename FR_SET_BUF to AST_FRAME_SET_BUFFERrizzo1-1/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18639 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08update module license key text and update loader to accept itkpfleming1-6/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18574 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08since the module API is changing, it's a good time to const-ify the ↵kpfleming1-10/+9
description() and key() return values git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08merge rizzo's codec module rework (very similar to the format module rework)kpfleming1-31/+109
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18541 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-07Issue #6899 - remove OSP support code from chan_sip.c and app_dial.c oej1-16/+94
- implement all functions through internal APIs in res_osp.c and app_osplookup.c (homesick) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18369 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06small cleanups to module.h and loader.c to start playing withrizzo1-12/+27
new-style modules using static symbols. Everything will still work as before, but new-style modules can now be defined by putting a '#define STATIC_MODULE' somewhere before including module.h, then declaring STATIC_MODULE the various methods (load, unload, key...) that the module is supposed to supply, and adding a 'STD_MOD(MOD_1, reload_fn, NULL, NULL)' macro call at the end. A module compiled in this way will be loaded RTLD_NOW|RTLD_LOCAL so symbol pollution is reduced, and symbols are resolved immediately. Removing just the '#define STATIC_MODULE' will restore the old behaviour. In order for a module to be loaded RTLD_NOW|RTLD_LOCAL, it must not export any symbol[1], and all the modules it depends on (e.g. res_*) must be loaded already. [1] Mechanisms are in place, and will be enabled later, to still allow such modules to 'export' symbols and resolving the dependencies irrespective of the load order. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17790 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05- Doxygen fixesoej1-32/+24
- Typos corrected git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17694 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04Largely simplify format handlers (for file copy etc.)rizzo1-17/+98
collecting common functions in a single place and removing them from the individual handlers. The full description is on mantis, http://bugs.digium.com/view.php?id=6375 and only the ogg_vorbis handler needs to be converted to the new structure. As a result of this change, format_au.c and format_pcm_alaw.c should go away (in a separate commit) as their functionality (trivial) has been merged in another file. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17243 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04some fields are constrizzo1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17226 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04Does nobody know how to write a linked list properly? I mean seriously!markster1-4/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17183 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-03list word cant be used with g++ and causes problemsmogorman1-1/+1
with h323. patch from bug 6446, renames list to chan_list git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17130 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-03Add misdn.txt to doxygen docsoej1-0/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17106 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-03- Doxygen additionsoej2-9/+16
- Formatting fixes (read guidelines :-) ) - Removing compilation warnings git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17105 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-02Unify manager behind a single event queuemarkster1-5/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16957 f38db490-d61c-443f-a65b-d21fe96a405b
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