]>
git.ipfire.org Git - thirdparty/asterisk.git/log
BJ Weschke [Tue, 23 May 2006 15:58:24 +0000 (15:58 +0000)]
Fix a potential leak and correct (hopefully) a segfault under certain conditions. #6784 (vovan and perry testing)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29696
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 22 May 2006 21:27:12 +0000 (21:27 +0000)]
Increase the silence threshold to 128 to "fix" it, so I'm told. (issue #6595 reported by davetroy fixed by casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29555
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 22 May 2006 20:15:04 +0000 (20:15 +0000)]
Use the correct language when playing the transfer sound (issue #7109 reported by casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29512
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 22 May 2006 16:33:03 +0000 (16:33 +0000)]
Preserve presentation bit when going through chan_local (issue #7002 reported by acunningham)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29464
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 22 May 2006 14:59:59 +0000 (14:59 +0000)]
Bug 7194 - spelling fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29398
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 22 May 2006 14:34:34 +0000 (14:34 +0000)]
Bug 7196 - month range did not work
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29394
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Sun, 21 May 2006 15:16:59 +0000 (15:16 +0000)]
When an application that is executed via applicationmap and exits non-zero, make sure that we pass through the correct return value from the application to make sure a segfault doesn't occur by a bridge trying to continue when it should not. Also, when executing applications via applicationmap, make sure that the application is executed against the channel whose DTMF caused it to be fired off in the first place. (part 1/2 of #7090 - this is the only fix that will be applied to both 1.2 and /trunk) acunningham and blitzrage on testing...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29196
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 20 May 2006 19:50:41 +0000 (19:50 +0000)]
fix the possibility of writing one byte past the end of a buffer.
(issue #7189, Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29052
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sat, 20 May 2006 02:35:53 +0000 (02:35 +0000)]
don't allow queue member devices to ring longer than the total queue timeout (issue #6423, reported and patched by bcnit)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28968
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 20 May 2006 02:31:30 +0000 (02:31 +0000)]
fix a case where code made assumptions about how memory for variables is
allocatted on the stack - this patch is slightly different than the one
that went in for the trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28966
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sat, 20 May 2006 00:55:31 +0000 (00:55 +0000)]
don't try to predict where the compiler will place things on the stack... put them in the right place explicitly (issues #7029 and #7100, maybe others)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28896
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 19 May 2006 19:39:55 +0000 (19:39 +0000)]
use the specified 'subscribecontext' for a peer rather than the context found via the target domain (domain contexts are for calls, not for subscriptions) (issue #7122, reported by raarts)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28794
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 19 May 2006 19:18:41 +0000 (19:18 +0000)]
fix the build of smsq with -Werror. I learned something new about format
strings from this patch! (issue #7141, Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28790
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 19 May 2006 19:01:17 +0000 (19:01 +0000)]
This explicit poll is only needed on mac. In fact, it breaks some systems
such as some versions of Fedora, causing 'asterisk -rx' to never exit. This
has been tested on systems showing the asterisk -rx problem, as well as other
unaffected versions of linux, mac osx 10.4, and FreeBSD 6.
(issue #7071)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28754
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 19 May 2006 17:04:02 +0000 (17:04 +0000)]
Make the minidle option actually exist as documented (issue #7159 reported by imran)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28698
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 19 May 2006 16:03:33 +0000 (16:03 +0000)]
When forwarding messages use the context that the active voicemail user was found in. (issue #7010)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28651
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 19 May 2006 15:52:09 +0000 (15:52 +0000)]
Backport of fix for issue #6654 that was fixed in trunk but not here
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28630
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 19 May 2006 15:38:59 +0000 (15:38 +0000)]
Treat paused queue members as unreachable (issue #7127 reported by peterh)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28627
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 18 May 2006 20:43:42 +0000 (20:43 +0000)]
fix up a few more places to find the SDP properly (fallout from fix for #7124)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28384
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 18 May 2006 20:24:07 +0000 (20:24 +0000)]
handle incoming multipart/mixed message bodies in SIP and find the SDP, if presnet (issue #7124 reported and patched by eborgstrom, but very different fix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28380
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 18 May 2006 19:35:55 +0000 (19:35 +0000)]
use unsigned counters for handling answer/IE lengths while processing DNS results (issue #7174)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28337
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 18 May 2006 19:16:40 +0000 (19:16 +0000)]
support 'inactive' tag for SDP media streams (simple fix, proper fix will appear in 1.4 release) (issue #7130)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28335
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 18 May 2006 17:27:59 +0000 (17:27 +0000)]
Bug 7167 - HasNewVoicemail and VMCOUNT() didn't work when USE_ODBC_STORAGE was defined
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28257
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 18 May 2006 16:31:16 +0000 (16:31 +0000)]
Return -1 on error in ODBC messagecount and 0 on success (issue #7133 reported by cfieldmtm)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28212
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 18 May 2006 14:27:21 +0000 (14:27 +0000)]
Fix endless looping message by checking value of res before doing retries stuff. (issue #7140 reported by tanischen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28169
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 18 May 2006 12:13:46 +0000 (12:13 +0000)]
Video in meetme? Hmmm. Removed until we do have some code for it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@28125
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 17 May 2006 22:34:08 +0000 (22:34 +0000)]
Fix codec priority stuff during authentication (issue #6194 reported by jkoopmann)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27973
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 17 May 2006 19:27:15 +0000 (19:27 +0000)]
Issue #7176 - Crash in expire_register
(We need to find out what's causing peer to be undefined, so this
is just a bandaid, not a real fix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27927
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 17 May 2006 17:07:52 +0000 (17:07 +0000)]
Priority jumping not working on VoiceMail app with new syntax (issue #7164 reported and fixed by alvaro_palma_aste)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27847
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 17 May 2006 15:17:04 +0000 (15:17 +0000)]
OSPNext does not handle success/failure correctly (issue #7147 reported and fixed by eborgstrom)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27767
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 17 May 2006 09:21:45 +0000 (09:21 +0000)]
chan_sip did not use the TRANSFER_CONTEXT for transfers, like res_features. Now fixed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27723
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 17 May 2006 02:19:50 +0000 (02:19 +0000)]
Bug 7125 - Fix race condition between resequencing and leaving a message
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27636
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 16 May 2006 23:31:56 +0000 (23:31 +0000)]
Inherit channel variables during call forwards when going through chan_local (issue #7095 reported by raarts)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27594
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 16 May 2006 20:05:17 +0000 (20:05 +0000)]
don't leak frames when deferring DTMF or dropping duplicate ANSWER frames (issue #7041, slightly different fix, reported/patched by clausf)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27468
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sat, 13 May 2006 04:08:29 +0000 (04:08 +0000)]
Bug 7134 - File descriptor leak with ODBC storage of voicemail
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27093
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 11 May 2006 23:02:57 +0000 (23:02 +0000)]
Bug 7086 - pbx_checkcondition substitution, so that arbitrary strings are true (for regex)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@27051
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 11 May 2006 09:05:22 +0000 (09:05 +0000)]
backport fix from trunk for bug #6934, ensuring that RTP mark bit is changed when SSRC changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@26773
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 11 May 2006 08:52:46 +0000 (08:52 +0000)]
ensure that we send a response to REGISTER requests that are successfully authenticated but contain invalid Contact URIs
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@26760
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Tue, 9 May 2006 14:18:45 +0000 (14:18 +0000)]
Add the appropriate jumping behavior that is the standard for 1.2.X to SIPGetHeader that is now deprecated in /trunk. #7111 (blitzrage!!!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@26090
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Tue, 9 May 2006 13:28:39 +0000 (13:28 +0000)]
Correct memory leak in find_user_realtime #7118 (fnordian)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@26050
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 8 May 2006 15:09:55 +0000 (15:09 +0000)]
Issue 7103 - mikma
- The header is named "Require"
- Don't reply to ACK
(Not using patch against trunk)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25608
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Mon, 8 May 2006 14:12:20 +0000 (14:12 +0000)]
Don't show agents as available when they are in wrap-up time. #6726 (ZX81)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25563
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Mon, 8 May 2006 13:35:17 +0000 (13:35 +0000)]
Make QueueStatusComplete event thread safe by wrapping it inside the queue lock clause already there. #7013 (bziherl reporting)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25522
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Mon, 8 May 2006 13:15:30 +0000 (13:15 +0000)]
Oops. :(
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25520
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Mon, 8 May 2006 13:11:32 +0000 (13:11 +0000)]
Don't recheck valid_exit() after getting the result from say_position (which already checks it). Should prevent another loop if the caller hits digits during the position announcement. #6776 (tgj reporting)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25518
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 8 May 2006 11:16:10 +0000 (11:16 +0000)]
Incorrect log statement when playing transfer sounds (issue #7008 reported and fixed by nathan)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25442
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Sun, 7 May 2006 13:38:11 +0000 (13:38 +0000)]
Fix playback behavior to exit correctly when we receive a hangup during playback of the invalid pin message. #7091 (AntD reporting)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25322
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Sun, 7 May 2006 12:48:09 +0000 (12:48 +0000)]
Reset the value of ast_mainpid if we fork so future remote unix connections display the correct PID. #7098 (tzafrir reporting)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25288
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 6 May 2006 02:32:23 +0000 (02:32 +0000)]
re-add a couple of lines that I shouldn't have removed in the previous commit.
I think I should be going to bed now ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25165
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 6 May 2006 02:25:48 +0000 (02:25 +0000)]
fix a problem where the frame's data pointer is overwritten by the newly
allocated data buffer before the data can be copied from it. This is in
the ast_frisolate() function which is rarely used. (issue #6732, stefankroon)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25160
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 6 May 2006 00:05:27 +0000 (00:05 +0000)]
ensure that the appropriate manager events are sent in all of the places where
alarms are detected or cleared (issue #6866, flefoll)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25123
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 5 May 2006 20:49:53 +0000 (20:49 +0000)]
update chan_h323 to reflect the new prototype for rtp_set_peer (issue #6560, casper)
This was fixed a couple months ago in the trunk, but never in 1.2.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25015
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Fri, 5 May 2006 20:44:53 +0000 (20:44 +0000)]
Voicemail fixes along with an API change approved by russellb to fix the bug(s). (jcollie and supczinskib) #7064
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25014
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 5 May 2006 17:39:03 +0000 (17:39 +0000)]
use the correct function name ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24911
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 5 May 2006 14:44:50 +0000 (14:44 +0000)]
use pbx_checkcondition() instead of ast_true() to evaluate the condition
for MacroIf and WhileIf (issue #7086)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24837
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 4 May 2006 16:27:20 +0000 (16:27 +0000)]
Bug 7023 - reload should not unpause members
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24706
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Thu, 4 May 2006 11:17:13 +0000 (11:17 +0000)]
Make sure that only the "|" is a recognized delimiter for Verbose(), as the app documentation already specifies. #7080 (alessiof reporting)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24669
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Wed, 3 May 2006 20:58:10 +0000 (20:58 +0000)]
Correct application documentation to make users aware that certain options cannot be used in conjunction with others. #6666 (chotaire)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24567
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 3 May 2006 18:31:20 +0000 (18:31 +0000)]
fix up "make rpm"
- don't reference the gzipped man page, because we don't store them
compressed anymore
- add some files that currently were not listed
(issue #6837)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24496
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 3 May 2006 12:39:55 +0000 (12:39 +0000)]
Issue #7074 - Problem with long contact lines
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24381
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Tue, 2 May 2006 19:39:50 +0000 (19:39 +0000)]
Make certain ast_stopstream() sets the channel's stream members to NULL after closing them. #7067 (jcomellas)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24295
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 2 May 2006 02:12:52 +0000 (02:12 +0000)]
Prompt does not request '#' to end input, so the application should not require it
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24097
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 1 May 2006 20:44:24 +0000 (20:44 +0000)]
Bug 6864 - drop realtime priority on ALL external processes
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@24019
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Mon, 1 May 2006 19:34:29 +0000 (19:34 +0000)]
Correct a condition from the prior patch that could happen in rare circumstances and cause a core dump. Thanks Qwell!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23988
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Mon, 1 May 2006 19:26:43 +0000 (19:26 +0000)]
Make sure that when someone 0's out while recording a msg and then chooses to DELETE the recorded file, the .txt file isn't left around by itself to cause problems later. #7061 (dimitripietro reporting, blitzrage confirmed)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23985
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 1 May 2006 15:12:32 +0000 (15:12 +0000)]
add missing locking of the dialplan functions list in the "show functions"
CLI command
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23951
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 1 May 2006 10:45:42 +0000 (10:45 +0000)]
fix this to actually compile so people can learn from it
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23899
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 1 May 2006 10:45:24 +0000 (10:45 +0000)]
eliminate compiler warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23898
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sun, 30 Apr 2006 15:46:22 +0000 (15:46 +0000)]
remove a pointless comparison, since the buffer is smaller than the length being checked for
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23705
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sun, 30 Apr 2006 14:27:56 +0000 (14:27 +0000)]
allow top-level OPTIMIZE setting to affect builds in these subdirectories too
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23673
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sun, 30 Apr 2006 13:55:59 +0000 (13:55 +0000)]
let the compiler determine whether hardware or software floating point should be used (like we do in the editline subdirectory)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23638
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sun, 30 Apr 2006 13:38:22 +0000 (13:38 +0000)]
remove extraneous -m64 flag that is not needed
remove old 'look' target which is no longer needed
(these are coming from Debian patches <G>)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23636
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sun, 30 Apr 2006 11:19:04 +0000 (11:19 +0000)]
ensure that the script output is correctly generated when the system's character set does not use the English lowercase/uppercase character groups
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23580
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sat, 29 Apr 2006 11:40:04 +0000 (11:40 +0000)]
do installation in subdirs as a separate target (so external modules can use the Makefile more easily)
generate final messages -after- running any post-install script that may be present
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23305
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 28 Apr 2006 16:40:32 +0000 (16:40 +0000)]
note that group assignments must be from 0 to 63 (issue #7048)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23176
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 27 Apr 2006 19:11:47 +0000 (19:11 +0000)]
Queue(somequeue,,,,) -> interpreted as Queue(somequeue,,,,0) (issue #7044 reported nathan fixed by jsmith - sort of)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@22954
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Thu, 27 Apr 2006 16:12:46 +0000 (16:12 +0000)]
Fix buglet in channel reassignment on SETUP_ACK
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@22866
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Wed, 26 Apr 2006 19:18:55 +0000 (19:18 +0000)]
do not allow for users to forward voicemail to
themselves, patch from 7001
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@22596
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 21 Apr 2006 22:39:10 +0000 (22:39 +0000)]
Rolling back change until kpfleming is comfy
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@22113
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 21 Apr 2006 22:12:26 +0000 (22:12 +0000)]
Bug 7004 - release all threads waiting on a condition prior to freeing it
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@22112
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 19 Apr 2006 21:10:41 +0000 (21:10 +0000)]
support system-specific scripts in safe_asterisk, before starting Asterisk proper
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@21638
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 19 Apr 2006 18:43:17 +0000 (18:43 +0000)]
Bug 6553 - plug memory leaks when ODBC connection is down
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@21597
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 18 Apr 2006 23:31:10 +0000 (23:31 +0000)]
properly handle brace-wrapped strings in variable/function references in the dialplan
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@21237
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 18 Apr 2006 06:26:04 +0000 (06:26 +0000)]
Bug 6984 - off by one error in Random()
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@21037
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 17 Apr 2006 17:00:16 +0000 (17:00 +0000)]
Bug 6544 - when we remove a music class, the thread servicing it should die
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@20966
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 14 Apr 2006 17:21:09 +0000 (17:21 +0000)]
uncomment files that actually do exist (oops)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@20037
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 14 Apr 2006 17:00:32 +0000 (17:00 +0000)]
update text to match actual prompts being distributed (thanks to Kinsey in the support department for reviewing all the prompts!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@20034
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 13 Apr 2006 20:37:50 +0000 (20:37 +0000)]
Bug 6947 - Allow vm broadcasts to more than 256 characters worth of mailboxes
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19891
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 13 Apr 2006 17:40:21 +0000 (17:40 +0000)]
oops... let's not set a variable and then immediately overwrite it while assuming its old value will magically return
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19812
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 13 Apr 2006 15:56:35 +0000 (15:56 +0000)]
Bug 6957 - variable names beginning with CALLERID weren't substituted correctly
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19768
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 11 Apr 2006 22:39:59 +0000 (22:39 +0000)]
Bug 6490 - telco intercept should report NOANSWER instead of CHANUNAVAIL
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19397
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 11 Apr 2006 22:24:46 +0000 (22:24 +0000)]
Bug 6061 - Fix ODBC storage of VM on PGSQL and MSSQL
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19394
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 11 Apr 2006 21:58:47 +0000 (21:58 +0000)]
don't create a 'voicemail' symlink in the sounds directory; app_voicemail has not needed it since January of 2005 (issue #6613)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19353
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 11 Apr 2006 21:55:51 +0000 (21:55 +0000)]
Bug 6097 - possible descriptor leak
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19351
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 11 Apr 2006 21:50:18 +0000 (21:50 +0000)]
don't call the originating device as part of the Page() operation (issue #6932)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19348
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 11 Apr 2006 21:35:52 +0000 (21:35 +0000)]
simplify spy queue flushing logic, and always force a flush when one side gets full, even if the other side is not empty (issue #6457)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19347
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 11 Apr 2006 21:14:42 +0000 (21:14 +0000)]
don't destroy the entire dialplan during 'reload', just atomically replace it like 'extensions reload' does (issue #6047)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19345
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 11 Apr 2006 20:46:38 +0000 (20:46 +0000)]
Minor linked lists bug fix. When you're dealing with swapping entries around a lot it can cause a seg fault.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19303
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 11 Apr 2006 20:11:01 +0000 (20:11 +0000)]
handle call time limit properly when warning is requested _after_ call would hae already ended (issue #6356)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19301
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Tue, 11 Apr 2006 01:05:01 +0000 (01:05 +0000)]
When using the silence detector in ast_play_and_record() and ast_play_and_prepend(), the truncation code never gets called to remove the detected silence, because the value of res is zero when control gets to that point. #6903 w/some mods (softins)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19008
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3