aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2006-12-27since these variables all have static duration, none of them need ↵kpfleming14-49/+49
initializers (they default to zero anyway) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49006 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27move extern declaration for this option to a header file where it belongskpfleming3-3/+3
provide an initial value for 'languageprefix' option, instead of relying on randomness to provide a useful value git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48998 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27Only include acl.h and lock.h onceoej1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48997 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27Only set rfc2833compensate flag once (handle_common_options)oej1-4/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48995 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27- Remove checking for T38 options twice. Keeping them in handle_common_optionsoej1-30/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48993 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27make the option actually match the documentationkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27allow 'show memory' and 'show memory summary' to distinguish memory ↵kpfleming5-21/+75
allocations that were done for caching purposes, so they don't look like memory leaks git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48987 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27Be a bit more politically correctoej2-7/+7
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48985 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27Issue #8575 - Buggy cisco MWI support.oej2-3/+16
Normally we try not to change our software for bugs in other devices. But in this case, the Cisco phones are so widespread so we try to implement a fix while waiting for a bugfix from Cisco. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48982 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27- Make sure handle_common_options return 1 when we found a common optionoej1-2/+14
- Move uncommon (only global) option away from handle_common_options Reported by rizzo. Thanks! git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48980 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27Issue 8599 (rizzo) Change invitestate before re-sending invite with auth.oej1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48977 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27Fix bogus content-length in t38 sdp. (rizzo, #8600)oej1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48975 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-26Get rid of a needless memory allocation and only create a conference ↵file1-10/+6
structure in find_conf_realtime if data was read from realtime. (issue #8669 reported by robl) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48966 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-26Add an API call that initializes an RTP structure. We need this because ↵file3-6/+22
chan_sip is cheeky and uses a temporary RTP structure for codec purposes, and the API calls that are used rely on the lock. (Pointed out on asterisk-dev by Andy Wang) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48964 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-25Clean up autoconf file (gets rid of warnings seen when rebuilding configure) ↵file2-938/+1843
and rebuild configure. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48960 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-25Merged revisions 48955 via svnmerge from russell1-1/+0
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48955 | russell | 2006-12-25 00:19:48 -0500 (Mon, 25 Dec 2006) | 6 lines Fix an error introduced by copying and pasting the handling of the >= operator for the MATH function. If a single equal sign was used as an operator, the function would treat it is as if it were the >= operator. Now, it properly handles it as an invalid operator. (issue #8665, patch by tempest1) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48956 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-24Fix a typo in an error message that indicated that the MGCP channel type couldrussell1-1/+1
not be registered, instead of the correct type, OSS. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48948 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-24Merged revisions 48943 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48943 | russell | 2006-12-24 02:23:07 -0500 (Sun, 24 Dec 2006) | 3 lines Check for the proper return value on an error in a call to mmap(). This was reported by Andy Wang on the asterisk-dev list. Thanks! ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48944 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-24Merged revisions 48939 via svnmerge from russell1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48939 | russell | 2006-12-24 01:47:29 -0500 (Sun, 24 Dec 2006) | 3 lines Remove a couple of misplaced dots in log messages. This was reported by Andrea Spadaccini on the asterisk-dev mailing list. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48940 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-23Implement locking for the list of URI handlers to make it thread-safe.russell1-4/+22
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48931 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-22Minor fixes for Solaris.qwell2-4/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48906 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-22Note to self: Run make before committing...qwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48888 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-22Fix for issue 7774 - patch by alamantiaqwell1-4/+7
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48870 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-21Merged revisions 48782 via svnmerge from file1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48782 | file | 2006-12-21 15:25:01 -0500 (Thu, 21 Dec 2006) | 2 lines Add new silence sound files to the spec for Redhat. (issue #8652 reported by alvaro_palma_aste) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48783 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-20vms doesn't exist on non-IMAP storage builds.file1-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48637 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-19Pass 'vms' pointer to record_and_review so it is then passed to the IMAP ↵file1-13/+12
store file function. (issue #8614 reported by punknow) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48596 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-19find is not the same as bind when it comes to documentation. (issue #8626 ↵file1-1/+1
reported by johann8384) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48592 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-19suppress compiler warnings in this module until it can be improvedkpfleming1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48586 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-19Merged revisions 48584 via svnmerge from file1-0/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r48584 | file | 2006-12-19 16:10:26 -0500 (Tue, 19 Dec 2006) | 2 lines Free localuser structure when we fail to dial (issue #8612 reported by rizzo) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48585 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-19fix a bogus datalen in the frames generated by app_smsrizzo1-1/+1
(causing noisy output if you listen to the output!) This affects trunk as well, whereas 1.2 is ok. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48583 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-19use the proper variable type for these unixODBC API calls, eliminating ↵kpfleming2-5/+5
warnings on 64-bit platforms that use the 'new' 64-bit types for ODBC API calls git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48577 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-19Use env -i to start a fresh environment when going to build menuselect. This ↵file1-1/+1
is more portable then using unset. (issue #8543 reported by jtodd) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48571 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-18unbreak the macro used for incrementing the frame counters.rizzo1-1/+1
I don't know when the bug was introduced, but with the typical usage c->fin = FRAMECOUNT_INC(c->fin) the frame counters stay to 0. affects trunk as well (fix coming). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48566 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-18Put thread into proper list if we abort handling due to an error, and also ↵file1-15/+24
hold the lock while putting it back into the proper idle list so we don't prematurely get a signal. (issue #8604 reported by arkadia) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48564 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-18ctrl-w != w (nano search)qwell1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48561 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-18remove some now-unnecessary explicit includes of autoconfig.hkpfleming7-8/+4
clean up per-file dependencies during 'make clean' git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48554 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-17need an additional argument here to make the downloads actually occurkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48548 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16use m4 quoting for AC_MSG_NOTICE calls, to keep these calls from thinking ↵kpfleming4-4883/+1801
they have multiple arguments git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48528 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16simplify dependency tracking system, using the compiler's built-in method ↵kpfleming7-182/+26
for generating them, and only doing dependency tracking if developer mode is enabled via the configure script git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48525 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16since we really, really have to have autoconfig.h included before all other ↵kpfleming3-5/+14
headers (especially system headers), the Makefile will now force it to happen (this will fix build problems with files like ast_expr2f.c, where we can't control the inclusion order in the file itself) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48521 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16instead of initializing the curl library every time the CURL() function is ↵kpfleming1-17/+31
invoked, do it only once per thread (this allows multiple calls to CURL() in the dialplan for a channel to run much more quickly, and also to re-use connections to the server) (thanks to JerJer for frequently complaining about this performance problem) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48513 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-15Turn payload_lock into bridge_lock and make it encompass all RTP structure ↵file1-41/+55
contents that may relate to bridge information, including who we are bridged to. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48506 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-15Hold call structure lock in places where a qualify or peer action can ↵file1-2/+12
destroy it. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48504 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-15Lock network retransmission queue in all places that it is used.file1-0/+8
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48502 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-15Issue #8592 - treat 504 as 503 (imported from 1.2)oej1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48487 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-15Update to latest IANA specoej1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48481 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-15Use a wakeup variable so that we don't wait on IO indefinitely if packets ↵file1-3/+6
need to be retransmitted. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48478 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-14Payload values on the RTP structure can change AFTER a bridge has started. ↵file2-12/+62
This comes from the packet handling of the SIP response when indication that it was answered has been sent. Therefore we need to protect this data with a lock when we read/write. (issue #8232 reported by tgrman) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48472 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-14Remove direct RTCP bridging. I've come to the conclusion that we should ↵file1-70/+1
handle this through the core and not just forward it on. Should solve a few bugs. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48461 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-13a block to keep 48434 out of 1.4; the code works fine heremurf0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48435 f38db490-d61c-443f-a65b-d21fe96a405b