summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-09-30* The documentation for the LOCK() function says that it will block for up toRussell Bryant
3 seconds while waiting on a lock when other locks are currently held to avoid deadlocks. Change the code to reflect this. * Since trying to grab a lock may block for some time, put the channel in autoservice so that audio is still read from the channel and that any active generators on the channel don't pause. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-29Merged revisions 84133 via svnmerge from Steve Murphy
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r84133 | murf | 2007-09-29 15:47:53 -0600 (Sat, 29 Sep 2007) | 1 line This issue sort of closes 10786; All config files support #include with globbing (you know, *,[chars],?,{list,list},etc), so I've updated the AEL system to support this also. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-29the last commit for AEL affected a small number of tests. Added a regression ↵Steve Murphy
test for glob'd includes git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-29Set enablecdr at the end of re-reading the config file (Closes issue #10852)Tilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-29Let's use process time instead of wall clock time for show translationMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-28Autoconf requires version 2.60, not 2.59, to process (Closes issue #10842)Tilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-28Merged revisions 84078 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r84078 | tilghman | 2007-09-28 09:13:47 -0500 (Fri, 28 Sep 2007) | 2 lines Correct pronunciations of numbers for .nl (Closes issue #10837) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-28Merged revisions 84049 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r84049 | tilghman | 2007-09-28 00:30:22 -0500 (Fri, 28 Sep 2007) | 3 lines Avoid a deadlock with ALL of the locks in the masquerade function, not just the pairs of channels. (Closes issue #10406) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-27Merged revisions 84018 via svnmerge from Dwayne M. Hubbard
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r84018 | dhubbard | 2007-09-27 18:12:25 -0500 (Thu, 27 Sep 2007) | 1 line if an Agent is redirected, the base channel should actually be redirected. This was causing multiple issues, especially issue 7706 and BE-160 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-27Merged revisions 83974 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83974 | kpfleming | 2007-09-26 16:53:03 -0700 (Wed, 26 Sep 2007) | 2 lines avoid the weird usage of assert() in the ALSA header files that gcc 4.2 wants to complain about ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83986 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-27deal with more gcc 4.2 const pointer warningsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83978 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-27Merged revisions 83976 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83976 | russell | 2007-09-26 19:01:29 -0500 (Wed, 26 Sep 2007) | 1 line remove a todo item that has been completed ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-26Merged revisions 83943 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83943 | russell | 2007-09-26 16:35:23 -0500 (Wed, 26 Sep 2007) | 2 lines I changed my mind ... I think this should be a LOG_NOTICE. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-26Merged revisions 83941 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83941 | russell | 2007-09-26 16:15:15 -0500 (Wed, 26 Sep 2007) | 5 lines Add a log message that was requested by the masses in the developer tutorial session at Astricon. chan_sip did not output any message when a call was rejected because the extension was not found. This adds a verbose message (at verbose level 3) to note when this happens. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-26Merged revisions 83910 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83910 | russell | 2007-09-26 15:50:09 -0500 (Wed, 26 Sep 2007) | 3 lines Fix building chan_misdn under dev-mode. (please run the configure script with --enable-dev-mode so this doesn't happen again ...) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-26Merged revisions 83879 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83879 | tilghman | 2007-09-26 13:35:56 -0500 (Wed, 26 Sep 2007) | 2 lines Remove unused 4k of memory on the program stack (closes issue #10827) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-26fix a typo in a commentRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-26Change function documentation to use doxygen tags. (Really, I just neededRussell Bryant
to make some minor change in trunk to test something with automerge ...) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-25Fix typo in readmeMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-25Don't note that functions are deprecated in favor of themselves. This wasRussell Bryant
found by showing a very poor example doxygen function in a presentation this morning. :) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-25Added a CLI command that shows our buddy list, as suggested by Daniel ↵Philippe Sultan
McKeehan, thanks! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83804 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-25Merged revisions 83773 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83773 | tilghman | 2007-09-25 09:13:25 -0500 (Tue, 25 Sep 2007) | 2 lines jmls pointed out that unsetting the group and setting the group to the blank string aren't quite the same. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-25Fix minor memory leak in pval.c. Overwriting a value without freeing the ↵Joshua Colp
previous result is bad, mmmk? git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-25Comply with latest XEP-0166, XEP-0167, XEP-0176.Philippe Sultan
No real Jingle implementation being available, testing was made using two Asterisk servers relaying SIP calls over their Jingle channels: SIP Phone 1 --- [chan_sip]Asterisk 1[chan_jingle] --- [chan_jingle]Asterisk 2[chan_sip] --- SIP Phone 2 Thus, it was possible to test the code in both ways, and make the Jingle channel comply with the latest specifications. No sound available yet. Main modifications include : - modified the 'jingle_candidate' structure and the 'jingle_create_candidates' function according to XEP-0176 ; - modified the 'jingle_action' function in order to properly terminate a Jingle session, in conformance with XEP-0166 ; - modified username format used in STUN requests ; - actually make the bindaddr configuration field useable. Todo : - set audio paths up (no native bridging) ; - make the CLI gtalk functions available to jingle ; - clean up the storage space used in strings. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-25Add some files to the utils directory svn:ignore and Makefile clean targetRussell Bryant
(closes issue #10808, reported by mvanbaak) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24Permit custom locations for astdb and the keys directory (though default to ↵Tilghman Lesher
the current locations) (Closes issue #10267) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24Merged revisions 83695 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83695 | tilghman | 2007-09-24 12:22:08 -0500 (Mon, 24 Sep 2007) | 4 lines In the source, keys are relative to the datadir, not varlib (which is the same in most cases, but it's good to be accurate). Closes issue #10811 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24merged jcmoore's patch for configurable SDP origin-field username and ↵Dwayne M. Hubbard
session field, closes issue# 10795 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24interface_exists_global was never returning 1. Most likely an error from my ↵Mark Michelson
merge on Friday. (closes issue #10817, reported and patched by snar, patch simplified by me) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24Blocked revisions 83653 via svnmergeTilghman Lesher
........ r83653 | tilghman | 2007-09-24 11:37:52 -0500 (Mon, 24 Sep 2007) | 2 lines Oops. Removed the unworkable workaround. This note should never have been in the release. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24Merged revisions 83637 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83637 | tilghman | 2007-09-24 10:17:06 -0500 (Mon, 24 Sep 2007) | 3 lines Making change to group splitting, as discussed on the -dev list. The main effect of this will be to permit Set(GROUP([cat])=), i.e. unsetting a group. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-22Merged revisions 83589 via svnmerge from Steve Murphy
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83589 | murf | 2007-09-22 13:39:16 -0600 (Sat, 22 Sep 2007) | 1 line This closes issue #10788 -- The exact same fixes are made here for the first arg in the for(arg1; arg2; arg3) {} statement, as were done for the 3rd arg. It can now be an assignment that will embedded in a Set() app, or a macro call, or an app call. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-22Merged revisions 83558 via svnmerge from Steve Murphy
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83558 | murf | 2007-09-22 10:41:43 -0600 (Sat, 22 Sep 2007) | 1 line This closes issue #10788 -- the 3rd arg in the for statement is now wrapped in Set() only if there's an '=' in that string. Otherwise, if it begins with '&', then a Macro call is generated; otherwise it is made into an app call. A bit more accomodating, keeps the new guys happy, and the guys with ael-1 code should be happy, too ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-22Fix potential point of confusionMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-22Fix build of check_expr and hashtest2 when DEBUG_THREADLOCAL is definedTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-22Add the MeetmeList and Reload manager commands, which supplement the need to ↵Tilghman Lesher
have Command privilege. (closes issue #10736) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-22Fixes for FreeBSD... testing for every conceivable math function nowTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21Fix compilation errors in CLI command updates to SS7 CLI commandsRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21Add an SS7 readme for setup and use of libss7 and asteriskMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83499 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21Fix some areas where we were still using '|' for an argument delimiter ↵Tilghman Lesher
(closes issue #10793) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21Update app_queue to use commas as application argument separators.Russell Bryant
(closes issue #10793, snar) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21Fix cdr_manager, such that if the config file is created past load, it'llTilghman Lesher
start logging (and conversely, if the config file is destroyed or deactivated, the logging is disabled). Reported by Juggie via IRC, fix by me. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21Merged revisions 83432 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83432 | russell | 2007-09-21 09:37:20 -0500 (Fri, 21 Sep 2007) | 4 lines gcc 4.2 has a new set of warnings dealing with cosnt pointers. This set of changes gets all of Asterisk (minus chan_alsa for now) to compile with gcc 4.2. (closes issue #10774, patch from qwell) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21Check for the presence of trunc and round, and make the ISOC99 detection a ↵Tilghman Lesher
little more sane (closes issue #10776) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21Blocked revisions 83400 via svnmergeJoshua Colp
........ r83400 | file | 2007-09-21 10:34:32 -0300 (Fri, 21 Sep 2007) | 4 lines Fix video under certain circumstances. It would have been possible for the formats on the channel to not contain the video format. (closes issue #10782) Reported by: cwhuang ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20More NEW_CLI conversions.Jason Parker
(issue #10724) Patches: app_playback.c.patch uploaded by moy (license 222) app_minivm.c.patch uploaded by eliel (license 64) astmm.c.patch uploaded by eliel (license 64) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83381 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20Oops. Getting rid of svnmerge-integrated and automerge stuffMark Michelson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20Merging changes from queue_refcount_trunk into trunk. Refcounted queues now ↵Mark Michelson
in place. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20Merged revisions 83348 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83348 | russell | 2007-09-20 16:16:48 -0500 (Thu, 20 Sep 2007) | 4 lines When daemonizing, don't change working directory to "/". It makes it not be able to do a core dump when not running as uid=root. (closes issue #10766, xrg) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20Merged revisions 83316 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83316 | russell | 2007-09-20 16:01:20 -0500 (Thu, 20 Sep 2007) | 3 lines Change safe_asterisk to explicitly ask for /bin/bash, as it uses bashisms. (closes issue #10772, reported by culrich) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83317 65c4cc65-6c06-0410-ace0-fbb531ad65f3