summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-11-21remove another set of redundant #include "asterisk/options.h"Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21remove a bunch of useless #include "options.h"Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21Remove unneccessary explicit case for BRIMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21Take some debug code out :-)Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21add a missing returnLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21Add BRI support to chan_zapMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21enable support for stack backtrace for stuff built in utils/Luigi Rizzo
(this was present in the main tree but forgotten here). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21closes issue #11290; the proposed patch was a good guess, and would solve ↵Steve Murphy
the bug to some extent, but was really masking the real issue, that there were bad entries in the table. This fix removes the condition that the hashtab updates be done on exten removal only when the pattern_tree was present, which is silly. The operations that apply to the pattern tree are instead made conditional. Also, threw back in routines that kpfleming deleted because of probs in the 64-bit world. Tested on both 32 and 64-bit machines (compile). Tested the reload problem with over 20 reloads, and no problems. If you find more problems, please reopen 11290. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21Simplify comparison in parking fixTerry Wilson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21Merged revisions 89495 via svnmerge from Mark Michelson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89495 | mmichelson | 2007-11-21 13:27:51 -0600 (Wed, 21 Nov 2007) | 3 lines Fix a small error I made in my previous commit ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89496 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21Merged revisions 89493 via svnmerge from Mark Michelson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89493 | mmichelson | 2007-11-21 13:24:22 -0600 (Wed, 21 Nov 2007) | 5 lines Changing an inaccurate debug message to be less inaccurate. Under the circumstances, this message would always report that there were 0 members available, even though that may not be true. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21Merged revisions 89491 via svnmerge from Terry Wilson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89491 | twilson | 2007-11-21 12:59:27 -0600 (Wed, 21 Nov 2007) | 4 lines If a channel gets masqueraded in the middle of a park, don't play the announcement to the masqueraded channel, and dial back to the original channel on timeout. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21Remove obsolete OLD_DSP_ROUTINES code. Also, remove the FAX_DETECT define andRussell Bryant
only do the calculations if fax detection is enabled on the dsp. (closes issue #11331) Reported by: dimas Patches: dsp.patch uploaded by dimas (license 88) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21Change Read to set READSTATUS as an indication of the resultTilghman Lesher
Also, some cleanup to CHANGES. Reported by: michael-fig Patch by: michael-fig,tilghman (Closes issue #11004) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21fix a small gramatical error in a commentRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21There existed about a 1 in 4 billion chance that reading from /dev/urandomMark Michelson
would return LONG_MIN (1 in 9 quintillion if using 64-bit longs). Since there is no positive equivalent of LONG_MIN, the result of labs() in this case is unpredictable. This fixes that situation. (closes issue #11336, reported and patched by sperreault) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21Fix some code that was supposed to ensure that a buffer was terminated, but wasRussell Bryant
writing to the wrong byte. Also, remove some non-thread safe test code. (closes issue #11317) Reported by: IgorG Patches: unistim-2.patch uploaded by IgorG (license 20) - additional changes by me git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21I introduced a deadlock avoidance into 1.4, which I attempted to port to ↵Mark Michelson
trunk as well. Unfortunately, since trunk uses read/write locks for the context lock, it means that I have actually *introduced* a deadlock condition since they are not recursive. Removing this change for now and will look into introducing a different one. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21move these forward declarations back to asterisk.h where they belong... even ↵Kevin P. Fleming
though asterisk.h includes compat.h, these declarations have nothing to do with the being platform-compatible and are directly related to being part of Asterisk git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21get this to actually compile...Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21remove some debugging code that doesn't compile on 64-bit platformsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89480 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21OOOps! All the debug stuff I inserted was accidentally committed. I hereby ↵Steve Murphy
revert it. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21closes issue #11265; Thanks to snuffy for his work on neatening up the code ↵Steve Murphy
and removing duplicated code. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21remove this file, it is not used anywhere.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21add missing paths.hLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21add check for video4linuxLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21A free in add_pri was ultimately the source of the grief we were having with ↵Steve Murphy
parking. This set of changes fixes that problem, and introduces some more error messages, and puts debugs into ifdefs for what could be short-term usage. Txs to Terry W. for his help, guidance, and especially patience. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21more header removal/normalizationLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21X11 checks (at least some - for other platforms withLuigi Rizzo
unusual X11 locations you might need to add more directories) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21Merge changes from team/russell/sla_trunk_moh ...Russell Bryant
* Added the ability to specify the music on hold class used to play into the conference when there is only one member and the M option is used. * Added the ability to specify a music on hold class to play instead of ringing for the SLATrunk application. (patched by me, and tested internally) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21complete support for X11Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20Make trunk build againTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20Add support for new recorded character soundsTilghman Lesher
Closes issue #5208 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20move asterisk/paths.h outside asterisk.h and into those filesLuigi Rizzo
who really need it. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20move internal function declarations to include/asterisk/_private.hLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20i got a little carried away with commas ...Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20switch compile-time option checking to string storage mode in this branch tooKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20fix the zaptel configure script checkRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20the 'version' is now $7 not $6Luigi Rizzo
(wait a bit before regenerating configure, i have more changes) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20Merged revisions 89457 via svnmerge from Mark Michelson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89457 | mmichelson | 2007-11-20 11:50:31 -0600 (Tue, 20 Nov 2007) | 9 lines According to comments in main/pbx.c, it is essential that if we are going to lock the conlock as well as the hints lock, it must be locked in that respective order. In order to prevent a potential deadlock, we need to lock the conlock prior to locking the hints lock in ast_hint_state_changed (see the call stack example on issue #11323 for how this can happen). (closes issue #11323, reported by eelcob, suggestion for patch by eelcob, patch by me) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20prepare to support console_videoLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20Fix building of modules under cygwin.Luigi Rizzo
After this commit we can actually load modules under windows, and we can start debugging more interesting problems related to the load order and functionality of modules. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20Changed occurrences of "busy-level" to "busylevel" in sip.conf.sampleMark Michelson
in light of commit 89441. Thanks to pj for pointing out the need for this (closes issue #11307, reported by pj) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20add an argument for extra headers to AC_EXT_LIB_CHECK,Luigi Rizzo
and on passing simplify the code. Too bad that every time we need to regenerate configure... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20Merged revisions 89450 via svnmerge from Steve Murphy
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89450 | murf | 2007-11-20 08:22:08 -0700 (Tue, 20 Nov 2007) | 1 line closes issue #11324; break statements missing in switch cases. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20Minor documentation tweak and if an incorrect parameter is given to core ↵Joshua Colp
show translation return the usage information. (closes issue #11316) Reported by: eliel Patches: translate.c.patch uploaded by eliel (license 64) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20comment a bit the code in acinclude.m4Luigi Rizzo
There is still a lot of code to clean up there, but hopefully this should clarify what goes on in there. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20Include the compatibility header file in ast_h323.cxx for compatibility reasons.Joshua Colp
(closes issue #11311) Reported by: falves11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20Fix sip show history.Olle Johansson
Closes issue #11312 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20Change terminology a bit for CLI commands handling SIP ↵Olle Johansson
channels/calls/dialogs/whatever. Closes issue #11312 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89444 65c4cc65-6c06-0410-ace0-fbb531ad65f3