summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-04-12add 'show threads' and 'show profile' commands.Luigi Rizzo
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: https://origsvn.digium.com/svn/asterisk/trunk@19544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12fancify the sample grammar a bitKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12Doxygen docsOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12Add ability to see if the person calling said anything or not.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12reindent block properlyLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12localize some variables, remove useless parenthesesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11remove useless \0, and fix formatting.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Bug 6943 - transition away from using CallerID header, when we really mean ↵Tilghman Lesher
CallerIDNum git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Merged revisions 19397 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19397 | tilghman | 2006-04-11 17:39:59 -0500 (Tue, 11 Apr 2006) | 2 lines Bug 6490 - telco intercept should report NOANSWER instead of CHANUNAVAIL ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11fix various bugs in the DEBUG_THREADS code including:Luigi Rizzo
- 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: https://origsvn.digium.com/svn/asterisk/trunk@19396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Merged revisions 19394 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19394 | tilghman | 2006-04-11 17:24:46 -0500 (Tue, 11 Apr 2006) | 2 lines Bug 6061 - Fix ODBC storage of VM on PGSQL and MSSQL ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11fix logic error; don't test for rtcache flag unless asked to (issue #6923)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Merged revisions 19353 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19353 | kpfleming | 2006-04-11 16:58:47 -0500 (Tue, 11 Apr 2006) | 2 lines don't create a 'voicemail' symlink in the sounds directory; app_voicemail has not needed it since January of 2005 (issue #6613) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Merged revisions 19351 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19351 | tilghman | 2006-04-11 16:55:51 -0500 (Tue, 11 Apr 2006) | 2 lines Bug 6097 - possible descriptor leak ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Merged revisions 19348 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19348 | kpfleming | 2006-04-11 16:50:18 -0500 (Tue, 11 Apr 2006) | 2 lines don't call the originating device as part of the Page() operation (issue #6932) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Merged revisions 19347 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19347 | kpfleming | 2006-04-11 16:35:52 -0500 (Tue, 11 Apr 2006) | 2 lines simplify spy queue flushing logic, and always force a flush when one side gets full, even if the other side is not empty (issue #6457) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Merged revisions 19345 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19345 | kpfleming | 2006-04-11 16:14:42 -0500 (Tue, 11 Apr 2006) | 2 lines don't destroy the entire dialplan during 'reload', just atomically replace it like 'extensions reload' does (issue #6047) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11remove unused variable (discovered by the compiler)Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11No need to do this in here any longer since the linkedlists macro is fixedJoshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Merged revisions 19303 via svnmerge from Joshua Colp
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: https://origsvn.digium.com/svn/asterisk/trunk@19304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Merged revisions 19301 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19301 | kpfleming | 2006-04-11 15:11:01 -0500 (Tue, 11 Apr 2006) | 2 lines handle call time limit properly when warning is requested _after_ call would hae already ended (issue #6356) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11typoKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Convert chan_iax2 to use linked lists for multithreading, and add dynamic ↵Joshua Colp
threads. These are used when all pool threads are in use, and will stick around until load dies down. The theory is that during high load you'll have more threads available, and during low load you'll only have the normal pool threads sticking around. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 Minor cleanups and error handling for app_dial #6935 (casper)BJ Weschke
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11remove an unused functionLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11as discussed with kevin, moveLuigi Rizzo
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: https://origsvn.digium.com/svn/asterisk/trunk@19223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11use proper typeKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 Provide the ability to read extension number after name #6938 (delink)BJ Weschke
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11normalize code preparing for loader changesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11remove unused fieldsLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11normalize code in preparation to module changesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11staticize a function, and normalize code in preparation to module changes.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11mISDN Messages must be freed with free_msg \!\!Christian Richter
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11- First stab at removing debug and ignore variables thatOlle Johansson
we pass along function calls, instead implementing them as flags on the incoming packet. - Adding forward declarations of handle_request functions git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Add new documentation files to index file 00README.1st and to doxygenOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19097 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Bugs 6883, 6930: compiler warningsTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Data stores do not need a lock. As well change the way they are removed from ↵Joshua Colp
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: https://origsvn.digium.com/svn/asterisk/trunk@19062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11Merged revisions 19008 via svnmerge from BJ Weschke
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19008 | bweschke | 2006-04-10 20:05:01 -0500 (Mon, 10 Apr 2006) | 3 lines When using the silence detector in ast_play_and_record() and ast_play_and_prepend(), the truncation code never gets called to remove the detected silence, because the value of res is zero when control gets to that point. #6903 w/some mods (softins) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10Presenting a revised data stores and oh my, a generic speech recognition ↵Joshua Colp
API! I wonder what we can do with this now... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10remove support for BYEXTENSION (which nobody even knows about anymore)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10Fixup fixup - add some debugging and error handlingOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10Resolve conflicts, prepare for next batch of conflicts Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18909 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10Merged revisions 18866 via svnmerge from BJ Weschke
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r18866 | bweschke | 2006-04-10 12:29:51 -0500 (Mon, 10 Apr 2006) | 2 lines Don't say that we can pass an 'exten' argument in the documentation of Park() when we really cannot. #6902 (opsys) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10fixed some issues, that appear at higher loadChristian Richter
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10we send nearly everytime a RELEASE, only if we for sure know, that it's a TE ↵Christian Richter
and we did create the call we don't to hear the Inband Info git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10Making sure that cancel destroy is only executed once...Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10Small fixOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10- staticize gettag() complete_sip_peer() get_calleridname() arguments;Luigi Rizzo
- use strsep() instead of strchr() where appropriate - constify some args and add comments. - remove a conditional near line 1940 - we already know what to use. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18793 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10- constification of some functions (args and return values): Luigi Rizzo
transmit_response_reliable() hangup_cause2sip() - remove useless braces; - add comments on some slightly cryptic code segments - mark XXX possible critical pieces of code. - remove an unneeded string termination after ast_copy_string - mark usage of some rarely used functions; - use strsep() instead of emulating it inline; - replace magic constants with sizeof(array) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10- localize 'struct cfalias' into the only function using it; Luigi Rizzo
- remove duplicate code to walk through sdp packets, replacing sdpLineNum_iterator_init(&foo); with "foo = 0"; - remove duplicate code to test ast_test_flag(&p->flags[0], SIP_NAT_ROUTE); git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18791 65c4cc65-6c06-0410-ace0-fbb531ad65f3