summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-04-06split pbx_load_module so we can reduce the indentation depth.Luigi Rizzo
Also convert to MOD_1 style. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06use FREE instead of free as pointer to the destructor function.Luigi Rizzo
This way the MALLOC_DEBUG code will always get the correct argument. (bug introduced in SVN15818) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06convert a couple of applications to the new module styleLuigi Rizzo
(STATIC_MODULE) to show what needs to be changed. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06small cleanups to module.h and loader.c to start playing withLuigi Rizzo
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: https://origsvn.digium.com/svn/asterisk/trunk@17790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06the fix for bug #6399 makes sense. thanks wrmem for the report.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06Issue #6893 - Compiler warnings for PostgreSQL ARA driverOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05Issue #6610 - build on Intel MacOlle Johansson
(Wish I could try this at home :-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05Merged revisions 17702 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r17702 | file | 2006-04-05 17:01:19 -0300 (Wed, 05 Apr 2006) | 2 lines Unlock channel on failure so that ast_mutex_destroy doesn't throw a fit (issue #6647 reported by casper) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05- Doxygen fixesOlle Johansson
- Typos corrected git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05Unbreak res/Makefile (issue #6891 as reported by casper)Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05Issue #5637 - Realtime driver for PostgreSQL (mguesdon)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) ↵Tilghman Lesher
rand() to threadsafe ast_random() git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05Bug 6508 - if priority was a number, then findlabel failsTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05some final fixes for cpnChristian Richter
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05* advanced the error Handling routine for wrong frames from mISDNChristian Richter
* added more code for connected party number handling * fixed the portinfo program, it can now be used to test mISDN again git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05Add some documentation and a todo for enum.cOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05Issue #6654: Enum crash on ADDRESS record, possibly bad record, but still a ↵Olle Johansson
crash (imported from 1.2) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05Add reference pointers to RFCsOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05Bug 6886 - Add application TryExec, which does mostly the same thing, but ↵Tilghman Lesher
returns differently git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04Fix formattingOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 fixed some essential segfaults happening under heavy load. Added a bit more ↵Christian Richter
error handling if we receive wrong data form mISDN (e.g. if we crashed before => handle_err() ). Added first steps to implement the parseing of the connected party number. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04Issue #6884 - manager.c formatting (casper)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04Formatting cleanupOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04Block 17367 from trunk, since it's already fixed (me bad)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17368 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04Issue #6878 - Manager event DNDstate hidden under verbose option (casper)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04- Don't return AST_DEVICE_UNKNOWN to devicestate engine, since this willOlle Johansson
cause a channel walk... - Doxygen fixed for devicestate.c git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04Issue #6882 Olle Johansson
- move "res=-1" out of verbose block. - minor code cleanup Imported from 1.2 branch git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04these files are now unused, corresponding functions are mergedLuigi Rizzo
into format_pcm.c git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04remove an unused function.Luigi Rizzo
Funny enough, compiling with -O6 gives no warning, whereas -O2 gives a warning for an unused function declared static. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04chan_iax2 cleanups and optimizations (#6858)Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04minor code clean up from 6880Matt O'Gorman
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04adds manager event when an iax2 peer loses registration.Matt O'Gorman
also some minor code clean up. patch from 6868 with minor changes. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04ogg_vorbis now compiles so put it back in.Luigi Rizzo
On passing, remove an unnecessary initializazion in format_sln.c git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17285 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04Merged revisions 17283 via svnmerge from Matt O'Gorman
https://svn.digium.com/svn/asterisk/branches/1.2 ........ r17283 | mogorman | 2006-04-04 10:24:50 -0500 (Tue, 04 Apr 2006) | 3 lines Adds documentation to show what the w flag. Patch from Ian Kinner at Digium. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04temporarily disconnect ogg_vorbis from the build while i update itLuigi Rizzo
(should be a matter of a couple of hours). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04Largely simplify format handlers (for file copy etc.)Luigi Rizzo
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: https://origsvn.digium.com/svn/asterisk/trunk@17243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04some fields are constLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04Added information on call-limit and realtimeOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04Clarify syntax of new manager events that reports a status.Olle Johansson
We do not longer approve "ThisEventOn" and "ThisEventOff" named events, they need to be named "ThisEvent" with a status header showing the current status. (Approved by Mark) Old events won't be changed to keep backwards compatibility, until we have a revision plan for the AMI. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04Does nobody know how to write a linked list properly? I mean seriously!Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03Clarify the need for numeric parking positions (imported from 1.2)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03Add tag to NOTIFY headers (imported from 1.2)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03updating cleancount to coincide with 17130Matt O'Gorman
didnt know you are supposed to update that. now i do git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17149 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03list word cant be used with g++ and causes problemsMatt O'Gorman
with h323. patch from bug 6446, renames list to chan_list git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03* removed unneeded bc->state fieldChristian Richter
* added statefullness for bchannel activation/deactivation * fixed a lot PCM bridging issues * some debugging logs are now on a higher loglevel git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03Add misdn.txt to doxygen docsOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03- Doxygen additionsOlle Johansson
- Formatting fixes (read guidelines :-) ) - Removing compilation warnings git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03bug updates chan_h323 to some api changes it Matt O'Gorman
also allows for it to compile once more patch taken from 6446 with minor mods, similar bugs 6521 and 6560 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03Don't add hangup cause on non-final responses. (Imported from 1.2)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03Issue #6848 - Accept MWI subscriptions with no Accept: headerOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17050 65c4cc65-6c06-0410-ace0-fbb531ad65f3