Russell Bryant
f70c46c02d
use autotagged externals
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.4.12.1@84781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
c333c2141d
importing files for 1.4.12.1 release
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.4.12.1@84780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
0cf4cd7f62
Creating tag for the release of asterisk-1.4.12.1
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/1.4.12.1@84779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
2c757f0747
Fix a copy/paste error in the description of UpdateConfig that was pointed
...
out by JerJer on #asterisk-dev
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Mark Michelson
74cc6754af
Don't allocate space for queue members unless it's needed. You end up deleting dynamic members on a reload. Not good.
...
closes issue (#10879 , reported by dazza76, patched by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
544904070f
callers of sig2str already add the word 'signalling' in the appropriate place, so don't duplicate it
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
03a7b06959
Create a duplicate of the channel's member name as the tab completion stuff will free it.
...
(closes issue #10884 )
Reported by: adamg
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
1e9edf1338
When an RFC 2833 event is sent that we don't recognize, ignore it, don't queue a NULL digit (closes issue #10877 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
563c9e74a2
closes issue #10870 ; where a CUT() function call in a switch expr doesn't 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@84544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
ed75fa38e9
closes issue #10834 ; where a null input to a switch statement results in a 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@84511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
d3beef4b59
* Don't build the menuselect-tree for the tarball, as it requires running the
...
configure script first
* Change the Makefile to note that menuselect-tree depends on the configure
script.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
ede010d0d0
Fix some odd formatting I missed..
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
01480eb1fb
Finish up on transferee channel before return on failure.
...
Issue 10821, patch by Ivan
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
f741decf40
Use snprintf instead of sprintf in one place. There is no vulnerability here
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@84370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
e6b3384b48
terminate USERUSER String with 0
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
cf8f092d98
Add dist-clean support for subdirs.
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@84291 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Dwayne M. Hubbard
bae4135759
moved get_base_channel() code from action_redirect to ast_channel_masquerade() for issue 7706 and BE-160
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
8bf81e2bac
Anything to keep gcc 4.2 happy...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
5fdc354155
Fulfull a feature request from Qwell on the "core show locks" output. It will
...
now note the lock type for each lock that a thread holds.
(mutex, rdlock, or wrlock)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
b7f66e48e8
closes issue #10777 -- by returning a null for the parse tree when there's really nothing there, and making sure we don't try to do checking on a null tree.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
63217678cb
Add another sanity check in the AGI read loop. We really don't care about
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@84236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
2cc21a3e83
Show rwlocks in the "core show locks" output. Before, it only showed mutexes.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
b34251422c
Remove another file in "make clean".
...
(closes issue #10814 , paravoid)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
db1ab4db58
Simplify the CAN_EARLY_BRIDGE macro a bit.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
40b0f97a6c
Remove chan_usbradio config file from tree, it is not present in here.
...
(closes issue #10839 )
Reported by: casper
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
27a869e423
Fix randomness. save_pos was being set to 0 initially instead of -1, causing 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@84160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e7f6101587
Only attempt early bridging if the options given to Dial() permit it.
...
(closes issue #10861 )
Reported by: peekyb
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
2ef9410363
Fix the AST_MODULE_INFO macro for C++ modules. The load and reload parameters
...
were in the wrong place.
(closes issue #10846 , alebm)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
fce1741a01
This is a regression update that matches what I did in 84134 for AEL regressions.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
0ffda2d201
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/branches/1.4@84133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
b1f26cfcdf
Correct pronunciations of numbers for .nl (Closes issue #10837 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
253a34b756
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/branches/1.4@84049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Dwayne M. Hubbard
7c4e477fde
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/branches/1.4@84018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
a4dcd03dcb
remove a todo item that has been completed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@83976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
e690ff69da
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/branches/1.4@83974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
a8ec2e2356
I changed my mind ... I think this should be a LOG_NOTICE.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@83943 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
f77e615e9f
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/branches/1.4@83941 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
d2186a55c0
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/branches/1.4@83910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
51601e2e1f
Remove unused 4k of memory on the program stack (closes issue #10827 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@83879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
20e50a731b
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/branches/1.4@83773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
596cc77c99
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/branches/1.4@83695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
3c16b38d0e
Oops. Removed the unworkable workaround. This note should never have been in the release.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@83653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
8c95942b7f
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/branches/1.4@83637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Christian Richter
b0012671db
fixed round_robin group dial method, this never worked well on BRI Ports (2 channels)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@83620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
4cd59ff447
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/branches/1.4@83589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
eef551c063
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/branches/1.4@83558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
d6b8fb4dc0
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/branches/1.4@83432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
9ffb2fe0cf
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/branches/1.4@83400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
578c1d0c8a
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/branches/1.4@83348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
3a561b499a
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/branches/1.4@83316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago