Commit graph

8353 commits

Author SHA1 Message Date
Mark Spencer
f2bc3c61cc Make sure that we don't accept an answer on an inbound call and don't permit asterisk to answer an outbound call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 15:01:10 +00:00
Kevin P. Fleming
f429105aae remove rule for running bootstrap, it's only safe to run it manually now
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 14:43:00 +00:00
Kevin P. Fleming
16f1acc37f use an enum for control frame types
support sending control frames with payload


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 14:25:57 +00:00
Kevin P. Fleming
c22eb692a1 minor cleanups and removal of duplicate prototypes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 14:25:31 +00:00
BJ Weschke
b2f9ab8f75 This app is deprecated in /trunk, and thus, the change should not come forward.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 14:21:33 +00:00
Luigi Rizzo
dee114ccf1 remove duplicate atof() invokation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 13:55:33 +00:00
Luigi Rizzo
fbba50a613 normalize code, remove some useless casts
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 13:52:01 +00:00
BJ Weschke
afa37c0194 Merged revisions 26050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r26050 | bweschke | 2006-05-09 08:28:39 -0500 (Tue, 09 May 2006) | 3 lines

 Correct memory leak in find_user_realtime #7118 (fnordian)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 13:33:54 +00:00
Kevin P. Fleming
14ddd6c431 use aclocal version 1.9 instead of 1.4 :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 13:26:50 +00:00
Kevin P. Fleming
151edabd3d ignore some more auto-generated files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 13:20:52 +00:00
Kevin P. Fleming
51db174809 update to include latest FreeBSD changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 13:19:43 +00:00
Russell Bryant
5ae2942789 add regenerated configure script
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 13:14:37 +00:00
Luigi Rizzo
92b7543a8e add default values for CPPFLAGS and LDFLAGS on FreeBSD
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 11:45:26 +00:00
Mark Spencer
9953f4f40e Make SIP early media work more efficiently without so many reinvites
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 11:44:50 +00:00
Luigi Rizzo
66dda468d1 change some log_warning into log_debug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 11:29:34 +00:00
Luigi Rizzo
b475987295 do not use a variable name that hides a useful library symbol (time())
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 11:27:33 +00:00
Russell Bryant
10187179fb change the check for zaptel to only check for linux/zaptel.h on Linux, and
zaptel.h otherwise

If you did ./configure --with-tonezone=/usr/local/ on FreeBSD, it would run
the first macro which would not find it, but it wouldn't make it to the second
macro because the first check saw that --with-tonezone was specified and would
exit with error


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 10:43:08 +00:00
Mark Spencer
3135a35b92 Make sure we update parameters correctly with reinvite
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 09:47:22 +00:00
Mark Spencer
7b902874f3 Oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 08:45:37 +00:00
Mark Spencer
db502da870 Make menuselect be able to show what the modules are
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 08:44:50 +00:00
Luigi Rizzo
7afdb70d31 large rewrite of the extension matching code,
prerequisite to implement the specification defined yesterday.

While I have been using this code for months now, the change is large
so expect some instability.

Also the new specification (sorting extension by match length etc.)
is not implemented yet.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 08:31:42 +00:00
Luigi Rizzo
052191ec65 misc fixups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 08:16:07 +00:00
Kevin P. Fleming
fdc225920f remove API function that was added and never used
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 08:11:41 +00:00
Luigi Rizzo
6758577d97 remove trailing whitespace
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 08:03:52 +00:00
Luigi Rizzo
93ad00ef06 mark a couple of dubious pieces of code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 07:51:55 +00:00
Kevin P. Fleming
0569481a5a don't build strcompat for menuselect except on Solaris
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 07:51:20 +00:00
Luigi Rizzo
865785bffb more code simplifications.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 07:49:17 +00:00
Russell Bryant
61aaf4dd14 remove a check of the result of ast_mutex_lock
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 07:28:01 +00:00
Russell Bryant
4120afc28e put all the QUEUE_STRATEGY values in an enum, and use them in all of the places
in the code where the strategy type is checked, to make the code more readable


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 07:27:03 +00:00
Luigi Rizzo
a7c5ce76f6 simplify matchcid()
define struct pbx_find_info for later use



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 06:17:42 +00:00
Luigi Rizzo
fd45a19ab4 use S_OR where appropriate, comment an unclear difference in format
between CONCISE and VERBOSE



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 06:14:30 +00:00
Luigi Rizzo
8d12c56f16 more small simplifications
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 06:04:45 +00:00
Tilghman Lesher
3890d4e813 Bug 7114 - Originate success/failure indicator was reversed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 06:00:11 +00:00
Tilghman Lesher
308618585e Bug 7009 - use the actual path, so that a table index can be used
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 05:55:44 +00:00
Tilghman Lesher
badac75c18 Bug 6787 - Allow escaping of newline characters for invoking non-Festival TTS systems
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 05:30:05 +00:00
BJ Weschke
3780d4e7dd strategy "ringall" is really int value of 0, not 1.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 00:21:40 +00:00
Tilghman Lesher
a5e16fe676 Warn user if the custom format is not one of the options
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 23:04:19 +00:00
Luigi Rizzo
eb4ba3b888 another function restructured
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 22:53:57 +00:00
Luigi Rizzo
481cde0294 more code restructuring
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 22:47:03 +00:00
Luigi Rizzo
3b5fccac94 remove some common code in parsing function calls
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 22:15:31 +00:00
Luigi Rizzo
a8379be554 more code restructuring
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 22:06:50 +00:00
Luigi Rizzo
3a9bd2a478 restructure a function reducing nesting depth.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 21:49:22 +00:00
Russell Bryant
57d8591989 remove checks of the result of ast_mutex_lock
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 21:27:47 +00:00
Luigi Rizzo
8a0476c335 fix indentation of a large block.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 21:09:03 +00:00
Russell Bryant
92fb3ef889 revert a patch that wasn't supposed to be committed ... oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 21:07:12 +00:00
Russell Bryant
962d53732a make sure that the MOD_SUBDIR_CFLAGS and OTHER_SUBDIR_FLAGS come before
ASTCFLAGS so that -Iinclude comes before any system include path


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 21:00:16 +00:00
Russell Bryant
c85b4a1674 on mac, QUAD_MIN and QUAD_MAX are already defined, so this causes a bunch
of warnings


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 20:50:43 +00:00
Luigi Rizzo
d54ec2ced4 minor code restructuring in preparation for more work.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 20:49:30 +00:00
Tilghman Lesher
9d07a0ffc6 Don't try to build aelparse if pbx_ael is disabled in menuselect (otherwise the build breaks)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 16:47:49 +00:00
Kevin P. Fleming
123134de11 make Makefile slightly less noisy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 16:17:00 +00:00