aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2007-10-05use autotagged externalsv1.4.12.1russell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.12.1@84781 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-05importing files for 1.4.12.1 releaserussell3-0/+12212
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.12.1@84780 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-05Creating tag for the release of asterisk-1.4.12.1russell0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.12.1@84779 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-05Fix a copy/paste error in the description of UpdateConfig that was pointedrussell1-2/+2
out by JerJer on #asterisk-dev git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84742 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-04Don't allocate space for queue members unless it's needed. You end up ↵mmichelson1-1/+2
deleting dynamic members on a reload. Not good. closes issue (#10879, reported by dazza76, patched by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84692 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-04callers of sig2str already add the word 'signalling' in the appropriate ↵kpfleming1-9/+9
place, so don't duplicate it git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84690 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-04Create a duplicate of the channel's member name as the tab completion stuff ↵file1-1/+1
will free it. (closes issue #10884) Reported by: adamg git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84637 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-03When an RFC 2833 event is sent that we don't recognize, ignore it, don't ↵tilghman1-0/+4
queue a NULL digit (closes issue #10877) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84581 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-03closes issue #10870 ; where a CUT() function call in a switch expr doesn't ↵murf1-8/+29
execute correctly, because the commas in the function args are not converted to vertbars before the func is called. I modified just the switch code to convert the commas to vertbars if there, but if more of these sort of probs are found, I may have to resort to something a little more fundamental. We'll see, I guess. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84544 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-03closes issue #10834 ; where a null input to a switch statement results in a ↵murf9-52/+158
hangup; since switch is implemented with extensions, and the default case is implemented with a '.', and the '.' matches 1 or more remaining characters, the case where 0 characters exist isn't matched, and the extension isn't matched, and the goto fails, and a hangup occurs. Now, when a default case is generated, it also generates a single fixed extension that will match a null input. That extension just does a goto to the default extension for that switch. I played with an alternate solution, where I just tack an extra char onto all the patterns and the goto, but not the default case's pattern. Then even a null input will still have at least one char in it. But it made me nervous, having that extra char in , even if that's a pretty secret and low-level issue. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84511 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-02* Don't build the menuselect-tree for the tarball, as it requires running therussell2-3/+1
configure script first * Change the Makefile to note that menuselect-tree depends on the configure script. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84474 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-02Fix some odd formatting I missed..qwell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84437 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-02Finish up on transferee channel before return on failure.qwell1-2/+7
Issue 10821, patch by Ivan git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84410 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-02Use snprintf instead of sprintf in one place. There is no vulnerability hererussell1-1/+1
due to various buffer sizes around the code, but I still didn't like seeing a non length-limited copy of data coming off of the wire into a stack buffer, as this would be a problem in the future if buffer sizes elsewhere got changed or size limitations removed ... git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84370 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-02terminate USERUSER String with 0crichter1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84345 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Add dist-clean support for subdirs.qwell3-3/+13
Change h323 to only remove the Makefile on a dist-clean, rather than a clean. This fixes a bug I found with trying to run make after a make clean git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84291 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01moved get_base_channel() code from action_redirect to ↵dhubbard3-23/+14
ast_channel_masquerade() for issue 7706 and BE-160 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84274 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Anything to keep gcc 4.2 happy...murf1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84273 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Fulfull a feature request from Qwell on the "core show locks" output. It willrussell2-14/+39
now note the lock type for each lock that a thread holds. (mutex, rdlock, or wrlock) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84271 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01closes issue #10777 -- by returning a null for the parse tree when there's ↵murf3-5/+7
really nothing there, and making sure we don't try to do checking on a null tree. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84239 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Add another sanity check in the AGI read loop. We really don't care aboutrussell1-0/+2
EAGAIN unless we didn't read an entire line. If there is a newline at the end if the read buffer, break, because we got the whole thing. (reported and patched by bmd) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84236 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Show rwlocks in the "core show locks" output. Before, it only showed mutexes.russell1-0/+79
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84206 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Remove another file in "make clean".russell1-0/+1
(closes issue #10814, paravoid) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84170 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Simplify the CAN_EARLY_BRIDGE macro a bit.russell1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84166 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Remove chan_usbradio config file from tree, it is not present in here.file1-54/+0
(closes issue #10839) Reported by: casper git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84163 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Fix randomness. save_pos was being set to 0 initially instead of -1, causing ↵file1-0/+1
it to jump to position 0 when moh started. (closes issue #10859) Reported by: jamesgolovich Patches: asterisk-mohpos2.diff.txt uploaded by jamesgolovich (license 176) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84160 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01Only attempt early bridging if the options given to Dial() permit it.file1-4/+7
(closes issue #10861) Reported by: peekyb git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84158 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-30Fix the AST_MODULE_INFO macro for C++ modules. The load and reload parametersrussell1-1/+1
were in the wrong place. (closes issue #10846, alebm) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84146 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-29This is a regression update that matches what I did in 84134 for AEL ↵murf16-44/+174
regressions. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84135 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-29This issue sort of closes 10786; All config files support #include with ↵murf2-180/+349
globbing (you know, *,[chars],?,{list,list},etc), so I've updated the AEL system to support this also. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84133 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-28Correct pronunciations of numbers for .nl (Closes issue #10837)tilghman1-6/+20
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84078 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-28Avoid a deadlock with ALL of the locks in the masquerade function, not just thetilghman1-5/+17
pairs of channels. (Closes issue #10406) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84049 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-27if an Agent is redirected, the base channel should actually be redirected. ↵dhubbard3-1/+58
This was causing multiple issues, especially issue 7706 and BE-160 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84018 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-27remove a todo item that has been completedrussell1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83976 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-26avoid the weird usage of assert() in the ALSA header files that gcc 4.2 ↵kpfleming1-2/+4
wants to complain about git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83974 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-26I changed my mind ... I think this should be a LOG_NOTICE.russell1-5/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83943 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-26Add a log message that was requested by the masses in the developer tutorialrussell1-1/+7
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: http://svn.digium.com/svn/asterisk/branches/1.4@83941 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-26Fix building chan_misdn under dev-mode. (please run the configure scriptrussell1-7/+8
with --enable-dev-mode so this doesn't happen again ...) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83910 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-26Remove unused 4k of memory on the program stack (closes issue #10827)tilghman1-5/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83879 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-25jmls pointed out that unsetting the group and setting the group to the blank ↵tilghman1-2/+4
string aren't quite the same. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83773 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-24In the source, keys are relative to the datadir, not varlib (which is the sametilghman1-1/+1
in most cases, but it's good to be accurate). Closes issue #10811 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83695 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-24Oops. Removed the unworkable workaround. This note should never have been ↵tilghman1-3/+1
in the release. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83653 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-24Making change to group splitting, as discussed on the -dev list. The maintilghman1-1/+1
effect of this will be to permit Set(GROUP([cat])=), i.e. unsetting a group. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83637 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-24fixed round_robin group dial method, this never worked well on BRI Ports (2 ↵crichter1-51/+55
channels) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83620 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-22This closes issue #10788 -- The exact same fixes are made here for the first ↵murf1-3/+38
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: http://svn.digium.com/svn/asterisk/branches/1.4@83589 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-22This closes issue #10788 -- the 3rd arg in the for statement is now wrapped ↵murf1-5/+40
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: http://svn.digium.com/svn/asterisk/branches/1.4@83558 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-21gcc 4.2 has a new set of warnings dealing with cosnt pointers. This set ofrussell22-144/+142
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: http://svn.digium.com/svn/asterisk/branches/1.4@83432 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-21Fix video under certain circumstances. It would have been possible for the ↵file1-5/+9
formats on the channel to not contain the video format. (closes issue #10782) Reported by: cwhuang git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83400 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-20When daemonizing, don't change working directory to "/". It makes it not berussell1-1/+1
able to do a core dump when not running as uid=root. (closes issue #10766, xrg) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83348 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-20Change safe_asterisk to explicitly ask for /bin/bash, as it uses bashisms.russell1-1/+1
(closes issue #10772, reported by culrich) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83316 f38db490-d61c-443f-a65b-d21fe96a405b