Commit Graph

10734 Commits

Author SHA1 Message Date
Tilghman Lesher
9be4250a0e Merged revisions 59280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r59280 | tilghman | 2007-03-27 18:31:20 -0500 (Tue, 27 Mar 2007) | 2 lines

Fix a few remaining bad mmap(2) return values

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 23:32:46 +00:00
Russell Bryant
87c1d334a0 Merged revisions 59277 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r59277 | russell | 2007-03-27 18:19:41 -0500 (Tue, 27 Mar 2007) | 3 lines

Fix the check of the return value from mmap().  Thanks to Corydon for catching
this one.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 23:20:22 +00:00
Russell Bryant
b6b74d9b0a Fix app_directory to actually compile with ODBC_STORAGE, and update the code to
the latest res_odbc API.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 23:16:27 +00:00
Russell Bryant
d1403e32e2 Fix app_directory when ODBC_STORAGE is being used. The Makefile did not
properly ensure that this information got copied from what was selected
for app_voicemail.  (issue #9224)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 23:02:12 +00:00
Russell Bryant
a2fc7b9e36 Fix the check that ensures that the CHANNEL function's first argument is "rtpqos".
Thanks, Corydon.  :)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 18:17:47 +00:00
Steve Murphy
bd5967ea0c via 9373 (duplicate context in AEL crashes asterisk), kpfleming pointed on asterisk-dev, that DECLINE in this case the proper thing to do. This change now has it doing the proper thing.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 18:16:32 +00:00
Russell Bryant
8fdf6e3c47 Merged revisions 59258 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r59258 | russell | 2007-03-27 13:04:02 -0500 (Tue, 27 Mar 2007) | 4 lines

Fix the use of the "sourceaddress" option when "bindaddr" is set to 0.0.0.0
instead of having each interface explicitly listed.
(issue #7874, patch by stevens)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 18:05:46 +00:00
Russell Bryant
c0aca26f30 Convert the RTPQOS function to just be additional parameter of the CHANNEL
function.  This way, it will be possible for other RTP based channel drivers
to expose this information in the future.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59256 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 16:20:53 +00:00
Christian Richter
10760fce2c Merged revisions 59252 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r59252 | crichter | 2007-03-27 15:56:15 +0200 (Di, 27 Mär 2007) | 1 line

fixed #9355
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 15:00:10 +00:00
Tilghman Lesher
0220349ca4 Oops, this should be case insensitive
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 21:45:44 +00:00
Steve Murphy
1f08db56c5 fix for 9373 (duplicate context in AEL crashes asterisk). I turned a duplicate context from a WARNING to an ERROR. Now you get a module load failure, and asterisk just exits. That's better than a crash, right\?
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59228 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 21:41:32 +00:00
Tilghman Lesher
ec028bd1b2 Change this to a single dp function to make oej happy.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 21:37:41 +00:00
Steve Murphy
85cdf6218e Fix for 9257; by eliminating the globals in main/config.c, we make it thread-safe, which is a minimum requirement.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59225 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 20:06:12 +00:00
Joshua Colp
fd950a2955 Add ability to specify no timeout. This means as soon as the prompt is done playing it moves on to the next priority.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 19:34:14 +00:00
Russell Bryant
d036212872 Somehow the code for building the email for voicemail got out of sync. This
change makes a few tweaks to get 1.4 in sync with trunk.
(issue #9301)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 18:33:50 +00:00
Russell Bryant
3d052c0ca1 Fix some codec negotiation problems when CallerID support is not enabled in SLA.
(issue #9308, reported by twilson)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 18:28:29 +00:00
Joshua Colp
a541ea96e1 Make SpeechBackground obey the digit timeout value.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 18:13:06 +00:00
Russell Bryant
cd3238d543 Rename the new dialplan functions to match the variable name
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 17:53:07 +00:00
Russell Bryant
fa97f6c381 The AUDIORTPQOS and VIDEORTPQOS variables are not fully functional in some
because they get set in sip_hangup.  So, there are common situations where
the variables will not be available in the dialplan at all.  So, this patch
provides an alternate method for getting to this information by introducing
AUDIORTPQOS and VIDEORTPQOS dialplan functions.
(issue #9370, patch by Corydon76, with some testing by blitzrage)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 17:45:55 +00:00
Steve Murphy
19e8d3fdcb A fix for the flex input files, DONT_COMPILE, and STANDALONE_AEL
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 17:38:29 +00:00
Nadi Sarrar
980b0bc785 * mISDN >= 1.2 provides a dsp pipeline for i.e. echo cancellation modules, make chan_misdn use it.
* add a check for linux/mISDNdsp.h to configure.ac and update the autogenerated files: 'configure', 'autoconfig.h.in'
  (the 'configure' script was not in sync with the latest configure.ac, so the diff is a bit bigger than expected).


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 15:25:53 +00:00
Joshua Colp
ca9872278b Have ast_copy_string magically appear in the aelparse binary! DONT_OPTIMIZE should now work once again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 15:16:29 +00:00
Joshua Colp
3b6f376425 Merged revisions 59194 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r59194 | file | 2007-03-23 21:35:49 -0400 (Fri, 23 Mar 2007) | 2 lines

Only try to handle a response if it has a response code. (ASA-2007-011)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-24 01:39:44 +00:00
Steve Murphy
70cc3c63d3 blocking out the fix in 59187... already incorporated here
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-23 16:11:15 +00:00
Steve Murphy
23c28f5aff Merged revisions 59186 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r59186 | murf | 2007-03-23 09:57:26 -0600 (Fri, 23 Mar 2007) | 1 line

Added a few words in the Macro doc strings about the behavior of macros with hangups (et al.), as per 9337
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-23 16:09:01 +00:00
Kevin P. Fleming
cf58b2ba46 don't allow string input to overrun the buffer to hold it (ASA-2007-010)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-22 23:40:01 +00:00
Kevin P. Fleming
34f55a9bf6 remove variables that are no longer used (--enable-dev-mode is good, developers should be using it)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-22 23:34:22 +00:00
Steve Murphy
cb3e449d9b The stuff in utils was compiling with -O6 even if DONT_OPTIMIZE is set in menuconfig. Added the include to fix that
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59145 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-22 14:40:53 +00:00
Joshua Colp
27911f2128 Add svg mimetype for pari.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-21 18:08:57 +00:00
Joshua Colp
5d7bf5eb71 Merged revisions 59086 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r59086 | file | 2007-03-21 14:03:20 -0400 (Wed, 21 Mar 2007) | 2 lines

Indicate the filename changed when it is changed. (issue #9311 reported by jsmith)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-21 18:04:58 +00:00
Joshua Colp
067876afbc Until we can do media level parsing for sendrecv/etc just use the first value found. This crept up when a phone was offered audio+video and returned an inactive video stream. chan_sip thought the phone said to put the person on hold but that was totally wrong. (issue #9319 reported by benbrown)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-21 03:25:48 +00:00
Tilghman Lesher
007ee1324d Fix defines for inline stack backtraces (only used by developers anyway)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-20 21:04:52 +00:00
Joshua Colp
bfeb3bcf18 Copy len variable as well, should fix remaining IAX2 DTMF issues.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-20 20:42:46 +00:00
Steve Murphy
1d90b0dec7 Ooops. Sorry, messed up app_stack. This should return it to its previous, untouched, state.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-20 17:48:17 +00:00
Steve Murphy
6e869d135c The fix for the AEL <<security hole>> (bug 9316) is here...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-20 17:43:02 +00:00
Christian Richter
30165b1bf2 Merged revisions 58849-58850,59062-59063 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r58849 | crichter | 2007-03-13 12:58:16 +0100 (Di, 13 Mär 2007) | 1 line

added method standard_dec for dialing out on groups, to avoid conflicts, which caused issues with some ISDN providers
........
r58850 | crichter | 2007-03-13 13:58:32 +0100 (Di, 13 Mär 2007) | 1 line

fixed the crypt_keys stuff
........
r59062 | crichter | 2007-03-20 10:18:06 +0100 (Di, 20 Mär 2007) | 1 line

avoid sending a disconnect when we already received one.
........
r59063 | crichter | 2007-03-20 10:23:22 +0100 (Di, 20 Mär 2007) | 1 line

modified a loglevel
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-20 13:16:06 +00:00
Tilghman Lesher
7246207bd8 Oops, this should have been a %d all along
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-19 22:29:56 +00:00
Joshua Colp
54a94c650b Fix typo in help for CDR function. (issue #9295 reported by ajohnson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-19 15:52:28 +00:00
Tilghman Lesher
fe446989eb Fix unescaped semicolon (reported via -dev list)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-19 15:42:26 +00:00
Olle Johansson
156c178143 Issue #9313, Asterisk crash on SIP return code 0 (reported by qwerty1979) (ASA-2007-011)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-18 20:37:06 +00:00
BJ Weschke
2a609b930c Don't return a non-zero return code if the profile doesn't exist, to match what the documentation says it already does. (#9307 Reported by kkiely)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-18 16:36:44 +00:00
Joshua Colp
74ad0dbc66 Wait for the async thread to exit when hanging up all of the paged phones under all circumstances. (issue #9181 reported by PhilSmith)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 16:12:28 +00:00
Russell Bryant
31a7b4aceb fix a couple SLA documentation references
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 01:42:37 +00:00
Russell Bryant
1b8da31130 Making these documentation changes in the 1.4 branch upset various people, so
these chanes will only be done in the trunk.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 01:41:00 +00:00
Russell Bryant
2fc431b373 Add the --pdf option to the usage of rubber in prep_tarball
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 01:12:40 +00:00
Russell Bryant
fed69df9cd Add configure script checking for GTK2 and some additional Makefile targets
to support gmenuselect


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 23:53:26 +00:00
Tilghman Lesher
b6bd80b7f2 Refashion dump command to match common syntax and update the resulting appdocs TeX file
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 23:52:48 +00:00
Russell Bryant
045e66abda add a link to the rubber homepage
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58941 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 23:24:09 +00:00
Tilghman Lesher
6278d5c65b Expand deprecation warnings from simply warning on use to the builtin documentation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 23:11:33 +00:00
Russell Bryant
36aed17ca1 Add Asterisk version information to the generated PDF
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:51:29 +00:00