]>
git.ipfire.org Git - thirdparty/asterisk.git/log
Joshua Colp [Fri, 28 Jul 2006 18:49:00 +0000 (18:49 +0000)]
Make a copy of the request URI in check_user_full instead of modifying the one on the structure, and also strip params properly from the user portion of the SIP URI so as to preserve the domain (issue #7552 reported by dan42)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38420
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 27 Jul 2006 22:23:38 +0000 (22:23 +0000)]
use the enum that defines the option arguments, so that the likelihood of mismatched option indexes is reduced (which in this case was a bug, the volume argument was not checked properly)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38370
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 27 Jul 2006 15:40:03 +0000 (15:40 +0000)]
do a better job avoiding translation path teardown/setup when not needed
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38347
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 27 Jul 2006 04:25:41 +0000 (04:25 +0000)]
Fix crash when using the "regexten" option with MALLOC_DEBUG enabled. This was
not reported in the bug tracker but the same bug has been demonstrated in other
places in the code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38328
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 27 Jul 2006 02:43:49 +0000 (02:43 +0000)]
don't do useless translation destroy/build when the channel is already in the correct format
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38310
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 27 Jul 2006 01:58:41 +0000 (01:58 +0000)]
fix a crash when MALLOC_DEBUG is enabled and the regexten is enabled. The crash
would occur when the extension got removed. (fixes issue #7484)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38288
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 26 Jul 2006 15:26:06 +0000 (15:26 +0000)]
Put default callerid into contact when the one specified is either NULL or has a zero string length. (issue #7590 reported by key2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38234
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 25 Jul 2006 19:43:38 +0000 (19:43 +0000)]
This resolves a deadlock that a tech support customer was getting frequently
when his users would answer call waiting. If another thread is currently
holding the zt_pvt lock for the first channel, unlock both channels and let
asterisk retry the native bridge, just like what is done for the second channel
directly below these changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38200
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 24 Jul 2006 17:05:56 +0000 (17:05 +0000)]
This fixes a compile problem for s390 as reported in bug 7253.
Tested on both an s390 and non-s390 machine.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38167
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 19 Jul 2006 17:10:10 +0000 (17:10 +0000)]
ensure that global 'maxauthreq' is reset to zero during 'reload'
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37949
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 18 Jul 2006 00:41:47 +0000 (00:41 +0000)]
don't crash if the frame has no data, but has a src
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37856
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 17 Jul 2006 23:25:33 +0000 (23:25 +0000)]
if asked to duplicate a frame that has no data, don't set the frame's data
pointer past the end of the allocatted buffer for the new frame
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37828
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 17 Jul 2006 22:36:56 +0000 (22:36 +0000)]
Backport buffer increase to 1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37808
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 17 Jul 2006 15:52:15 +0000 (15:52 +0000)]
Overflow bad
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37765
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sat, 15 Jul 2006 23:29:28 +0000 (23:29 +0000)]
Bug 7513 - ensure that each time we do a query, the results are returned in the
same logical order, so that when we iterate over the list, we get all results,
not some results repeated, due to insufficient sorting.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37691
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 14 Jul 2006 13:31:11 +0000 (13:31 +0000)]
Bug 7526 - previous commit broke app_sms
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37612
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 13 Jul 2006 21:22:11 +0000 (21:22 +0000)]
don't fail/abort if the message category sound file cannot be played, just generate a warning message and continue message playback
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37571
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 13 Jul 2006 18:44:17 +0000 (18:44 +0000)]
yeah, ummm... This frame pointer should not be static. This situation only
exists in 1.2 (pointed out by Constantine Filin on the asterisk-dev mailing list)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37546
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 13 Jul 2006 16:44:23 +0000 (16:44 +0000)]
report address of peer trying to subscribe to unknown hint
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37531
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 13 Jul 2006 15:45:33 +0000 (15:45 +0000)]
Bug 7532 - Typo in enum example
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37516
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 12 Jul 2006 18:29:01 +0000 (18:29 +0000)]
Merge fixup for asterisk startup script to zaptel startup script
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37458
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 12 Jul 2006 15:53:53 +0000 (15:53 +0000)]
fix a weird case where a lock file could be left (but would happen almost never)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37442
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 12 Jul 2006 15:46:56 +0000 (15:46 +0000)]
fix a case where ast_lock_path() could leave a randomly-named lock file hanging around
make ast_unlock_path actually report when unlocking fails
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37441
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 12 Jul 2006 15:23:59 +0000 (15:23 +0000)]
Add support to have maxauthreq as a global option
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37439
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 12 Jul 2006 13:54:10 +0000 (13:54 +0000)]
remove some more bad examples of using printf
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37419
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 12 Jul 2006 13:18:21 +0000 (13:18 +0000)]
get rid of some more printf's (although most of these were ifdef-ed out)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37417
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Wed, 12 Jul 2006 03:55:36 +0000 (03:55 +0000)]
GRRR no fprintf!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37402
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 11 Jul 2006 19:00:50 +0000 (19:00 +0000)]
Add configuration option for IAX2 users that will limit the amount of outstanding AUTHREQs we are waiting for replies on.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37378
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 10 Jul 2006 21:01:35 +0000 (21:01 +0000)]
do masquerade-behind-proxy checking with better control over locks
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37361
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 7 Jul 2006 23:57:53 +0000 (23:57 +0000)]
Change message regarding marker bit forcing when SSRC changes to be shown only during debug so it doesn't overload high capacity systems
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37307
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Thu, 6 Jul 2006 21:41:23 +0000 (21:41 +0000)]
patch resolves issue with when to decide if its right time
to native bridge, feature redirect was not being checked.
patch from bug #7296
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37224
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Thu, 6 Jul 2006 20:38:45 +0000 (20:38 +0000)]
Don't do wierd things on a callback agent that has attempted logoff while still on the phone.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37212
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 6 Jul 2006 15:48:07 +0000 (15:48 +0000)]
Instead of giving the scheduled item ID on a peer expiration, give the time until they expire (issue #7455 reported by slavon)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37173
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 6 Jul 2006 13:47:23 +0000 (13:47 +0000)]
Fix spelling/grammar (issue 7493)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37143
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 5 Jul 2006 15:31:01 +0000 (15:31 +0000)]
Spell extension correctly in documentation for chan_oss dial (issue #7487 reported by flefoll)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36998
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 4 Jul 2006 14:45:44 +0000 (14:45 +0000)]
Tell clients based on old SIP standard that we only support MD5 digest authentication...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36911
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 3 Jul 2006 15:00:50 +0000 (15:00 +0000)]
issue #7470 - Need larger buffer for record-route headers...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36838
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 3 Jul 2006 05:12:03 +0000 (05:12 +0000)]
fix a race condition that caused asterisk to log a *ton* of warnings on mac
osx about poll returning an error because the polled file descriptor was bad.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36751
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 3 Jul 2006 04:19:09 +0000 (04:19 +0000)]
use ast_set_callerid to be more consistent and to make sure that the
"callerid" option in the conf files is always handled the same way and sets ANI
(issue #7285, gkloepfer)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36725
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 3 Jul 2006 03:23:36 +0000 (03:23 +0000)]
fix the build with BUSYDETECT_TONEONLY defined (issue #7414)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36697
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 30 Jun 2006 14:05:53 +0000 (14:05 +0000)]
Bug 7349 - Directory did not work correctly when USE_ODBC_STORAGE was defined.
Note: Russell agreed that this should have worked, which is why this is
classified as a bugfix.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36377
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 29 Jun 2006 19:23:18 +0000 (19:23 +0000)]
Bug 7388 - compatibility changes for Solaris
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36290
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 29 Jun 2006 07:19:54 +0000 (07:19 +0000)]
clarify documentation for 'persistentmembers' setting
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36254
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 29 Jun 2006 07:19:27 +0000 (07:19 +0000)]
add documentation for peer-specific 'outboundproxy' setting
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36253
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Wed, 28 Jun 2006 14:12:43 +0000 (14:12 +0000)]
Don't delete scheduled item twice in sip_destroy (already fixed in svn trunk)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36187
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 26 Jun 2006 17:10:12 +0000 (17:10 +0000)]
ensure that two SIP channels that exist at the same moment will not have the same channel names (issue #7245, different fix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36078
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 26 Jun 2006 15:27:58 +0000 (15:27 +0000)]
Issue 6997 maybe, but anyway - don't retransmit responses to NON-invite requests.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@36043
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 25 Jun 2006 15:10:06 +0000 (15:10 +0000)]
Bug 7425 - Size of buffer is passed in by len
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35915
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Fri, 23 Jun 2006 11:30:17 +0000 (11:30 +0000)]
We should lock the queue before we go making changes to member interface statuses.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35669
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 21 Jun 2006 19:25:34 +0000 (19:25 +0000)]
Add Venezuelan indications (issue #7402 reported by palillo)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35334
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 20 Jun 2006 15:05:23 +0000 (15:05 +0000)]
Bug 7398 - Solaris puts its zoneinfo files in a nonstandard place
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35121
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 20 Jun 2006 10:27:44 +0000 (10:27 +0000)]
Issue #6820 - Possible fix (already implemented in trunk)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@35058
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 19 Jun 2006 20:27:44 +0000 (20:27 +0000)]
Call reset_user_pw upon changing the password using externpass (issue #7395 reported by Ryan Cumming)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34911
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 19 Jun 2006 18:07:26 +0000 (18:07 +0000)]
Issue 7357 - txt file left behind when going to operator. Also, fix a possible file descriptor leak.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34875
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 18 Jun 2006 21:03:58 +0000 (21:03 +0000)]
don't set state to BUSY if the channel is already in the UP state
(issue #7376, backported from trunk)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34655
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 18 Jun 2006 20:15:15 +0000 (20:15 +0000)]
don't store multiple secrets delimited with semicolons for peers because this
is only valid for users. Instead, only keep the last specified secret for a
peer entry. Also, document how multiple secrets are handled in the sample
config. (Reported by PCadach on #asterisk-bugs)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34627
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 16 Jun 2006 03:37:05 +0000 (03:37 +0000)]
Zero out a declared structure so as to not crash if it contains invalid data (reported by Qwell on #asterisk-dev)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34400
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Thu, 15 Jun 2006 14:11:22 +0000 (14:11 +0000)]
Issue 7294 - patch by phsultan - Asterisk sends Invite instead of BYE in some cases.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34306
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 15 Jun 2006 13:30:22 +0000 (13:30 +0000)]
don't use prefixed structure names for internal structures
don't use a plural structure name for a singular object
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34274
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 15 Jun 2006 12:40:10 +0000 (12:40 +0000)]
VoicemailMain exits on any key, when the language is set to Italian, instead of
properly handling the key (issue 7353).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34242
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 14 Jun 2006 22:22:21 +0000 (22:22 +0000)]
coding style cleanups on queue interface handling code that was committed for the last release
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34160
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 14 Jun 2006 22:17:37 +0000 (22:17 +0000)]
use existing dial string parser for strings supplied to iax2_devicestate, because they can be complete dial strings, not just device names
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34159
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 14 Jun 2006 14:07:53 +0000 (14:07 +0000)]
clarify file headers that mention disclaimer usage
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34087
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 14 Jun 2006 02:20:22 +0000 (02:20 +0000)]
don't output 'no format found' when we _did_ find the format but couldn't open the desired file for some other reason
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33993
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 13 Jun 2006 13:30:06 +0000 (13:30 +0000)]
memory allocation optimizations
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33841
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 13 Jun 2006 12:40:40 +0000 (12:40 +0000)]
remove duplicate mutex_unlock
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33813
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 13 Jun 2006 04:31:19 +0000 (04:31 +0000)]
fix various places where the code returns without unlocking vmlock or
destroying loaded configuration
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33783
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 13 Jun 2006 04:20:10 +0000 (04:20 +0000)]
add a missing close of an open fd, destroy of open config, and removal of the
calling channel from the localusers list
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33781
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 13 Jun 2006 03:55:11 +0000 (03:55 +0000)]
revert a change that caused more problems than it fixed and fix the real
problem in this code. fds was declared as an array of zero size which caused
some weird problems, some of which would only be seen when compiling without
optimizations. (fixes issues #7071, #7326, and #7305)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33753
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 12 Jun 2006 21:34:38 +0000 (21:34 +0000)]
Greatly simply the mixmonitor thread, and move channel reference directly to spy structure so that the core can modify it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33724
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 12 Jun 2006 20:40:11 +0000 (20:40 +0000)]
fix a place where a frame would be free'd twice
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33693
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 12 Jun 2006 16:03:29 +0000 (16:03 +0000)]
only allow chan_local to masquerade the outbound channel onto its owner, instead of the other way around (this will ensure that group variables on the outbound channel as preserved)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33638
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 12 Jun 2006 15:27:18 +0000 (15:27 +0000)]
Move set priority up, because at this point in the code, stdout is no longer
the console. If we're unable to set priority, the error goes to Asterisk as
if it were an AGI command (issue 7335).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33615
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 11 Jun 2006 21:21:23 +0000 (21:21 +0000)]
fix another place where a frame does not get free'd
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33548
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 11 Jun 2006 21:08:04 +0000 (21:08 +0000)]
fix up five little places where frames would not be free'd and remove an
unnecessary mutex_unlock where there is no way for it to be locked at
that time
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33545
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 11 Jun 2006 20:48:41 +0000 (20:48 +0000)]
fix a place that would leak a frame (all of these fixes are in applications
that call ast_read() on a channel but have code paths in them that would not
free the frame)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33515
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 11 Jun 2006 20:45:06 +0000 (20:45 +0000)]
fix a couple places that would leak a frame
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33513
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 11 Jun 2006 20:38:39 +0000 (20:38 +0000)]
fix two places that would cause a frame to be leaked
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33510
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 11 Jun 2006 15:08:12 +0000 (15:08 +0000)]
fix a case where an HTML frame would be leaked
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33480
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 11 Jun 2006 15:02:40 +0000 (15:02 +0000)]
Free frames read from the channel when measuring noise. This resulted in about
9 or 10 seconds of leaked frames in both the TestClient and TestServer
applications
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33466
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 11 Jun 2006 14:56:55 +0000 (14:56 +0000)]
backport a couple of frame leak fixes from the trunk (revisions 33446, 33447)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33449
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 9 Jun 2006 18:52:51 +0000 (18:52 +0000)]
Allow the format outputted by meetme list to be used for meetme commands (like kick) (issue #7322 reported by darkskiez)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33300
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 9 Jun 2006 18:26:42 +0000 (18:26 +0000)]
Remove an unneeded double lock (issue #7310 reported by arkadia)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33297
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 9 Jun 2006 18:08:00 +0000 (18:08 +0000)]
Handle hangup during recording of screened name (issue #7304 reported by kulldominique)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33294
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 9 Jun 2006 16:31:29 +0000 (16:31 +0000)]
Add missing newlines (issue #7323 reported by darkskiez)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33264
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 9 Jun 2006 15:53:28 +0000 (15:53 +0000)]
Do not require a context on a domain= setting
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33235
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 8 Jun 2006 16:57:23 +0000 (16:57 +0000)]
handle out-of-memory conditions properly in ast_frisolate() (reported by Slav Kenov on asterisk-dev mailing list)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33036
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 7 Jun 2006 17:53:21 +0000 (17:53 +0000)]
fix some broken code with BRIDGE_OPTIMIZATION defined (issue #7292)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@32818
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 6 Jun 2006 16:55:23 +0000 (16:55 +0000)]
Bug 7287 - A too short voicemail with ODBC_STORAGE will cause the first voicemail to be deleted erroneously
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@32605
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 6 Jun 2006 16:02:43 +0000 (16:02 +0000)]
Bug 7268 - Callerid leaks memory on error
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@32582
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Tue, 6 Jun 2006 15:48:00 +0000 (15:48 +0000)]
clean up yesterday's security fix to not cause breakage when video mini frames are received
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@32566
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 5 Jun 2006 19:53:16 +0000 (19:53 +0000)]
ensure that the received number of bytes is included in all IAX2 incoming frame analysis checks (fixes a known vulnerability)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@32373
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sun, 4 Jun 2006 03:43:35 +0000 (03:43 +0000)]
return bridge exit logic to what it was before i broke it :-(
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31921
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 3 Jun 2006 17:02:49 +0000 (17:02 +0000)]
when using moh files mode, don't look for a file past the number of files
that have been loaded, or worse, past the size of the files array
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31775
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
BJ Weschke [Sat, 3 Jun 2006 14:48:13 +0000 (14:48 +0000)]
Fix doxygen comment about AST_LIST_HEAD_INIT_NOLOCK
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31738
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 1 Jun 2006 21:46:50 +0000 (21:46 +0000)]
remove pointless forcing of the channel into SLINEAR mode; the write format will be set later based on the file that is chosen to be played to the channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31555
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 1 Jun 2006 20:27:50 +0000 (20:27 +0000)]
handle Zap transfers behind chan_agent properly so the agent doesn't get stuck waiting for the call to hang up
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31520
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 1 Jun 2006 12:41:47 +0000 (12:41 +0000)]
remove a sample entry that never should have been added (code to support it was not merged)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31321
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 31 May 2006 23:50:00 +0000 (23:50 +0000)]
if the connection to a FastAGI server fails because of a timeout, log a more
informative log message
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31194
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 31 May 2006 22:26:38 +0000 (22:26 +0000)]
silence a warning message that is not a warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31161
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3