]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
17 years agoAdd missing header file and ASTERISK_FILE_VERSION usage.
Joshua Colp [Wed, 6 Feb 2008 15:43:38 +0000 (15:43 +0000)] 
Add missing header file and ASTERISK_FILE_VERSION usage.
(closes issue #11936)
Reported by: snuffy

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@102653 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoClarify setting DYNAMIC_FEATURES so that it gets inherited by outbound channels.
Russell Bryant [Wed, 6 Feb 2008 15:19:41 +0000 (15:19 +0000)] 
Clarify setting DYNAMIC_FEATURES so that it gets inherited by outbound channels.
(due to a discussion between me and a user via email)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@102651 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoensure that all remaining multi-object modules are built using their proper CFLAGS...
Kevin P. Fleming [Wed, 6 Feb 2008 11:48:48 +0000 (11:48 +0000)] 
ensure that all remaining multi-object modules are built using their proper CFLAGS and include directory paths

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@102627 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoMove around some defines to unbreak ODBC storage.
Tilghman Lesher [Wed, 6 Feb 2008 00:26:02 +0000 (00:26 +0000)] 
Move around some defines to unbreak ODBC storage.
(closes issue #11932)
 Reported by: snuffy

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@102576 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoClear the DTMF buffer on hangup.
Mark Michelson [Tue, 5 Feb 2008 20:02:44 +0000 (20:02 +0000)] 
Clear the DTMF buffer on hangup.

(closes issue #11919)
Reported by: eferro
Patches:
      mgcp_dtmfclean_on_hangup.diff uploaded by eferro (license 337)
  Tested by: eferro

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@102453 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoIf a REGISTER attempt comes in that is a retransmission of a previous REGISTER do...
Joshua Colp [Tue, 5 Feb 2008 19:52:30 +0000 (19:52 +0000)] 
If a REGISTER attempt comes in that is a retransmission of a previous REGISTER do not create a new nonce value.
(issue #BE-381)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@102450 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoensure that components of chan_misdn.so are built using any special build options...
Kevin P. Fleming [Tue, 5 Feb 2008 17:15:36 +0000 (17:15 +0000)] 
ensure that components of chan_misdn.so are built using any special build options that the configure script generated (reported by Philipp Kempgen on asterisk-dev)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@102425 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoPerform dialing asynchronously when using the originate CLI command so the CLI does...
Joshua Colp [Tue, 5 Feb 2008 15:09:29 +0000 (15:09 +0000)] 
Perform dialing asynchronously when using the originate CLI command so the CLI does not appear to block.
(closes issue #11927)
Reported by: bbhoss

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@102378 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoCross-platform fix: OS X now deprecates the use of the daemon(3) API.
Tilghman Lesher [Mon, 4 Feb 2008 21:06:09 +0000 (21:06 +0000)] 
Cross-platform fix:  OS X now deprecates the use of the daemon(3) API.
(closes issue #11908)
 Reported by: oej
 Patches:
       20080204__bug11908.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@102323 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoMissing braces.
Tilghman Lesher [Mon, 4 Feb 2008 05:10:02 +0000 (05:10 +0000)] 
Missing braces.
(closes issue #11912)
 Reported by: dimas
 Patches:
       sprintf.patch uploaded by dimas (license 88)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@102214 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoUse the same CSEQ on CANCEL as on INVITE (according to RFC 3261)
Olle Johansson [Sun, 3 Feb 2008 16:38:12 +0000 (16:38 +0000)] 
Use the same CSEQ on CANCEL as on INVITE (according to RFC 3261)

(closes issue #9492)
Reported by: kryptolus
Patches:
      bug9492.txt uploaded by oej (license 306)
Tested by: oej

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@102142 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoHandle ACK and CANCEL in an invite transaction - even if we get INFO transactions...
Olle Johansson [Sun, 3 Feb 2008 10:37:32 +0000 (10:37 +0000)] 
Handle ACK and CANCEL in an invite transaction - even if we get INFO transactions during the actual call setup.

(closes issue #10567)
Reported by: jacksch
Tested by: oej
Patch by: oej inspired by suggestions from neutrino88 in the bug tracker

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@102090 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoChange the SDP_SAMPLE_RATE macro. It turns out that even though G.722 is 16 kHz,
Russell Bryant [Fri, 1 Feb 2008 23:06:32 +0000 (23:06 +0000)] 
Change the SDP_SAMPLE_RATE macro.  It turns out that even though G.722 is 16 kHz,
it is supposed to specified as 8 kHz in the RTP, and RTP timestamps are supposed
to be calculated based on 8 kHz.  (Apparently this is due to a bug in a spec, but
people follow it anyway, because it's the spec ...)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101989 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix the VM_DUR variable for forwarded voicemail, and fixed several other bugs
Tilghman Lesher [Fri, 1 Feb 2008 21:54:28 +0000 (21:54 +0000)] 
Fix the VM_DUR variable for forwarded voicemail, and fixed several other bugs
while I'm in the area.
(closes issue #11615)
 Reported by: jamessan
 Patches:
       20071226__bug11615__2.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76, jamessan

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101942 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoChange detection of getifaddrs to use AST_C_COMPILE_CHECK, backported from trunk...
Tilghman Lesher [Fri, 1 Feb 2008 19:36:12 +0000 (19:36 +0000)] 
Change detection of getifaddrs to use AST_C_COMPILE_CHECK, backported from trunk (as suggested by kpfleming)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101894 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoRemove a needless (and incorrect) call to feof() after fgets().
Jason Parker [Fri, 1 Feb 2008 17:41:40 +0000 (17:41 +0000)] 
Remove a needless (and incorrect) call to feof() after fgets().
This would have exited the loop early if you had an authentication file with no newline at the end.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101822 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agooff by one error
Russell Bryant [Fri, 1 Feb 2008 17:27:02 +0000 (17:27 +0000)] 
off by one error

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101820 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoDon't overwrite the last character of a line if it's not a newline. This would
Russell Bryant [Fri, 1 Feb 2008 17:23:47 +0000 (17:23 +0000)] 
Don't overwrite the last character of a line if it's not a newline.  This would
happen if the last line in the file doesn't have a newline.
(pointed out by Qwell)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101818 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoCompatibility fix for OpenWRT (reported by Brian Capouch via the mailing list)
Tilghman Lesher [Fri, 1 Feb 2008 15:55:58 +0000 (15:55 +0000)] 
Compatibility fix for OpenWRT (reported by Brian Capouch via the mailing list)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101772 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd some more sanity checking on IAX2 dial strings for the case that no peer
Russell Bryant [Fri, 1 Feb 2008 00:32:49 +0000 (00:32 +0000)] 
Add some more sanity checking on IAX2 dial strings for the case that no peer
or hostname was provided, which is the one part of the dial string that is
absolutely required.  If it's not there, bail out.

(closes issue #11897)
Reported by sokhapkin
Patch by me

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101693 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFrom bugtracker: "fix totalAnalysisTime to handle periods of no channel activity"
Mark Michelson [Fri, 1 Feb 2008 00:06:37 +0000 (00:06 +0000)] 
From bugtracker: "fix totalAnalysisTime to handle periods of no channel activity"

(closes issue #9256)
Reported by: cmaj
Patches:
      amd-dont-wait-too-long-for-frames-take3.diff.txt uploaded by cmaj (license 111)
Tested by: cmaj, skygreg, ZX81, rjain

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101649 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix a couple of places where ast_frfree() was not called on a frame that came
Russell Bryant [Thu, 31 Jan 2008 23:10:06 +0000 (23:10 +0000)] 
Fix a couple of places where ast_frfree() was not called on a frame that came
from a translator.  This showed itself by g729 decoders not getting released.
Since the flag inside the translator frame never got unset by freeing the frame
to indicate it was no longer in use, the translators never got destroyed, and
thus the g729 licenses were not released.

(closes issue #11892)
Reported by: xrg
Patches:
      11892.diff uploaded by russell (license 2)
Tested by: xrg, russell

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101601 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years ago1. Prevent the addition of an extra '/' to the beginning of an absolute pathname.
Mark Michelson [Thu, 31 Jan 2008 21:00:24 +0000 (21:00 +0000)] 
1. Prevent the addition of an extra '/' to the beginning of an absolute pathname.
2. If ast_monitor_change_fname is called and the new filename is the same as the old, then exit early and don't set the
   filename_changed field in the monitor structure. Setting it in this case was causing ast_monitor_stop to erroneously
   delete them.

(closes issue #11741)
Reported by: garlew
Tested by: putnopvut

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101531 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoSolaris compat fixes for struct in_addr funkiness.
Jason Parker [Thu, 31 Jan 2008 19:52:49 +0000 (19:52 +0000)] 
Solaris compat fixes for struct in_addr funkiness.

Issue #11885, patch by snuffy.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101482 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agocloses issue #11845; that's the one where there's a 1004 byte cdr leak with every...
Steve Murphy [Thu, 31 Jan 2008 19:30:37 +0000 (19:30 +0000)] 
closes issue #11845; that's the one where there's a 1004 byte cdr leak with every AMI Redirect to a zap channel

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101480 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd more missing locking of the agents list ...
Russell Bryant [Thu, 31 Jan 2008 19:17:05 +0000 (19:17 +0000)] 
Add more missing locking of the agents list ...

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101433 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoMove the locking from find_agent() into the agent dialplan function handler to
Russell Bryant [Thu, 31 Jan 2008 19:07:46 +0000 (19:07 +0000)] 
Move the locking from find_agent() into the agent dialplan function handler to
ensure that the agent doesn't disappear while we're looking at it.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101414 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd missing locking to the find_agent() function.
Russell Bryant [Thu, 31 Jan 2008 19:04:52 +0000 (19:04 +0000)] 
Add missing locking to the find_agent() function.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101413 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix an issue where if a frame of higher sample size preceeded a frame of lower sample...
Joshua Colp [Wed, 30 Jan 2008 15:41:04 +0000 (15:41 +0000)] 
Fix an issue where if a frame of higher sample size preceeded a frame of lower sample size and ast_slinfactory_read was called with a sample size of the combined values or higher a crash would happen.
(closes issue #11878)
Reported by: stuarth

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101222 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoChange default config to use descending channel order of groups, rather than ascending.
Jason Parker [Wed, 30 Jan 2008 15:34:37 +0000 (15:34 +0000)] 
Change default config to use descending channel order of groups, rather than ascending.
Fixes a potential source of confusion in glare-type situations.

Issue 11875, reported by JimVanM.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101219 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix a logic error with regards to autofill. Prior to this change, it was possible
Mark Michelson [Wed, 30 Jan 2008 15:23:00 +0000 (15:23 +0000)] 
Fix a logic error with regards to autofill. Prior to this change, it was possible
for a caller to go out of turn if autofill were enabled and callers ahead in the queue were attempting
to call a member. This change fixes this.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101216 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoStop musiconhold on attended transfer.
Olle Johansson [Wed, 30 Jan 2008 11:20:31 +0000 (11:20 +0000)] 
Stop musiconhold on attended transfer.
(closes issue #11872)
Reported by: gareth
Patches:
      svn-101018.patch uploaded by gareth (license 208)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101152 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoupdated build_tools to handle the autotag directory structure changes; changes relate...
Dwayne M. Hubbard [Tue, 29 Jan 2008 23:50:42 +0000 (23:50 +0000)] 
updated build_tools to handle the autotag directory structure changes; changes related to BE-353.  Patch by Russell and reviewed by Me.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101080 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoRemove a memory leak from updating realtime queues
Mark Michelson [Tue, 29 Jan 2008 23:02:03 +0000 (23:02 +0000)] 
Remove a memory leak from updating realtime queues

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@101035 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFixing an erroneous return value returned when attempting to pause or unpause a queue...
Mark Michelson [Tue, 29 Jan 2008 19:39:00 +0000 (19:39 +0000)] 
Fixing an erroneous return value returned when attempting to pause or unpause a queue member
fails.

Fixes BE-366, thanks to John Bigelow for writing the patch.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100973 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoDon't forget to record the channel so we know whether it is bridged or not later.
Joshua Colp [Tue, 29 Jan 2008 17:57:05 +0000 (17:57 +0000)] 
Don't forget to record the channel so we know whether it is bridged or not later.
(closes issue #11811)
Reported by: slavon

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100934 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix the last couple of issues related to building from a path that contains spaces.
Russell Bryant [Tue, 29 Jan 2008 17:43:41 +0000 (17:43 +0000)] 
Fix the last couple of issues related to building from a path that contains spaces.

(closes issue #11834)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100932 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoInitialize an array to 0s if config option not specified.
Jason Parker [Tue, 29 Jan 2008 17:41:43 +0000 (17:41 +0000)] 
Initialize an array to 0s if config option not specified.

(closes issue #11860)
Patches:
      misdn_get_config.v1.diff uploaded by IgorG (license 20)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100930 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoUse GNU make magic instead of shell magic to escape spaces in the working directory.
Russell Bryant [Tue, 29 Jan 2008 17:21:33 +0000 (17:21 +0000)] 
Use GNU make magic instead of shell magic to escape spaces in the working directory.
(related to issue #11834)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100922 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix building Asterisk when the working path has spaces in it.
Russell Bryant [Tue, 29 Jan 2008 17:06:43 +0000 (17:06 +0000)] 
Fix building Asterisk when the working path has spaces in it.

(closes issue #11834)
Reported by: spendergrass
Patched by: me

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100882 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAllow zap groups above 30 to work properly.
Jason Parker [Tue, 29 Jan 2008 16:10:00 +0000 (16:10 +0000)] 
Allow zap groups above 30 to work properly.

(closes issue #11590)
Reported by: tbsky

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100835 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agofixed potential segfault in misdn show channels CLI command
Christian Richter [Tue, 29 Jan 2008 10:36:19 +0000 (10:36 +0000)] 
fixed potential segfault in misdn show channels CLI command

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100793 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years ago(closes issue #11736)
Olle Johansson [Tue, 29 Jan 2008 08:26:48 +0000 (08:26 +0000)] 
(closes issue #11736)
Reported by: MVF
Patches:
      bug11736-2.diff uploaded by oej (license 306)
Tested by: oej, MVF, revolution

(russellb: This was the showstopper for the release.)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100740 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoWaitExten didn't handle AbsoluteTimeout properly (went to 't' instead of 'T')
Tilghman Lesher [Mon, 28 Jan 2008 21:02:02 +0000 (21:02 +0000)] 
WaitExten didn't handle AbsoluteTimeout properly (went to 't' instead of 'T')

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100675 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoUndoing the deprecation of chan_vpb. It is alive and well.
Mark Michelson [Mon, 28 Jan 2008 20:55:56 +0000 (20:55 +0000)] 
Undoing the deprecation of chan_vpb. It is alive and well.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100673 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoWhen using ODBC_STORAGE, make sure we put greeting files into the database like we...
Jason Parker [Mon, 28 Jan 2008 20:42:43 +0000 (20:42 +0000)] 
When using ODBC_STORAGE, make sure we put greeting files into the database like we do with the others.

Issue #11795
Reported by: dimas
Patches:
      vmgreet.patch uploaded by dimas (license 88)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100672 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFor some reason, the use of this strdupa() is leading to memory corruption on
Russell Bryant [Mon, 28 Jan 2008 18:34:20 +0000 (18:34 +0000)] 
For some reason, the use of this strdupa() is leading to memory corruption on
freebsd sparc64.  This trivial workaround fixes it.

(closes issue #10300, closes issue #11857, reported by mattias04 and Home-of-the-Brave)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100629 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix a crash in ast_masq_park_call()
Russell Bryant [Mon, 28 Jan 2008 18:26:31 +0000 (18:26 +0000)] 
Fix a crash in ast_masq_park_call()

(issue #11342)
Reported by: DEA
Patches:
      res_features-park.txt uploaded by DEA (license 3)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100626 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoCorrect a comment which made little/no sense.
Jason Parker [Mon, 28 Jan 2008 18:23:09 +0000 (18:23 +0000)] 
Correct a comment which made little/no sense.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100624 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoMake some deadlock related fixes. These bugs were discovered and reported
Russell Bryant [Mon, 28 Jan 2008 17:15:41 +0000 (17:15 +0000)] 
Make some deadlock related fixes.  These bugs were discovered and reported
internally at Digium by Steve Pitts.
 - Fix up chan_local to ensure that the channel lock is held before the local
   pvt lock.
 - Don't hold the channel lock when executing the timing function, as it can
   cause a deadlock when using chan_local.  This actually changes the code back
   to be how it was before the change for issue #10765.  But, I added some other
   locking that I think will prevent the problem reported there, as well.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100581 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoWhen deleting a task from the scheduler, ignoring the return value could
Tilghman Lesher [Sun, 27 Jan 2008 21:59:53 +0000 (21:59 +0000)] 
When deleting a task from the scheduler, ignoring the return value could
possibly cause memory to be accessed after it is freed, which causes all
sorts of random memory corruption.  Instead, if a deletion fails, wait a
bit and try again (noting that another thread could change our taskid
value).
(closes issue #11386)
 Reported by: flujan
 Patches:
       20080124__bug11386.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76, flujan, stuarth`

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100465 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoDeprecating chan_vpb. It is now preferred that users of Voicetronix products
Mark Michelson [Fri, 25 Jan 2008 22:32:41 +0000 (22:32 +0000)] 
Deprecating chan_vpb. It is now preferred that users of Voicetronix products
use chan_zap in combination with their zaptel drivers.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100418 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoThis would have never been true, since we're passing (sizeof(req.data) - 1) as the...
Jason Parker [Fri, 25 Jan 2008 21:24:49 +0000 (21:24 +0000)] 
This would have never been true, since we're passing (sizeof(req.data) - 1) as the len to recvfrom().

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100378 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agomake these macros not assume that the only other field in the structure is 'argc...
Kevin P. Fleming [Thu, 24 Jan 2008 21:57:41 +0000 (21:57 +0000)] 
make these macros not assume that the only other field in the structure is 'argc'... this is true when someone uses AST_DECLARE_APP_ARGS, but it's perfectly reasonable to define your own structure as long as it has the right fields

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100264 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoUpdate main Asterisk copyright info to 2008
Russell Bryant [Thu, 24 Jan 2008 17:22:09 +0000 (17:22 +0000)] 
Update main Asterisk copyright info to 2008

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100164 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix compilation on Solaris.
Jason Parker [Thu, 24 Jan 2008 16:41:29 +0000 (16:41 +0000)] 
Fix compilation on Solaris.

(closes issue #11832)
Patches:
      bug-11832.diff uploaded by snuffy (license 35)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@100138 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoSecond attempt. Don't change invitestate when receiving 18x messages in CANCEL state.
Olle Johansson [Wed, 23 Jan 2008 21:07:16 +0000 (21:07 +0000)] 
Second attempt. Don't change invitestate when receiving 18x messages in CANCEL state.

(issue #11736)
Reported by: MVF

Patch by oej.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99978 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoMake sure we don't cancel destruction on calls in CANCEL state, even if we
Olle Johansson [Wed, 23 Jan 2008 20:58:20 +0000 (20:58 +0000)] 
Make sure we don't cancel destruction on calls in CANCEL state, even if we
get 183 while waiting for answer on our CANCEL.

(issue #11736)
Reported by: MVF
Patches:
      bug11736.txt uploaded by oej (license 306)
Tested by: MVF

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99977 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFixing a typo.
Mark Michelson [Wed, 23 Jan 2008 20:25:00 +0000 (20:25 +0000)] 
Fixing a typo.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99975 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoChanSpy issues a beep when it starts at the beginning of a list of channels to
Russell Bryant [Wed, 23 Jan 2008 17:46:55 +0000 (17:46 +0000)] 
ChanSpy issues a beep when it starts at the beginning of a list of channels to
potentially spy on.  However, if there were no matching channels, it would beep
at you over and over, which is pretty annoying.  Now, it will only beep once in
the case that there are no channels to spy on, but it will still beep again once
it reaches the beginning of the channel list again.

(closes issue #11738, patched by me)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99923 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoThese flag tests were illogical. They were testing sip_peer flags on a sip_pvt.
Mark Michelson [Wed, 23 Jan 2008 16:18:04 +0000 (16:18 +0000)] 
These flag tests were illogical. They were testing sip_peer flags on a sip_pvt.
Thanks to Russell for helping to get this odd problem figured out.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99878 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoWhen we reset the password via an external command, we should also reset the
Tilghman Lesher [Wed, 23 Jan 2008 04:31:51 +0000 (04:31 +0000)] 
When we reset the password via an external command, we should also reset the
password stored in the in-memory list, too (otherwise it doesn't really take
effect).
(closes issue #11809)
 Reported by: davetroy
 Patches:
       fix_externpass.diff uploaded by davetroy (license 384)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99777 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoOops, should have checked for a NULL obj, here, too
Tilghman Lesher [Wed, 23 Jan 2008 04:20:15 +0000 (04:20 +0000)] 
Oops, should have checked for a NULL obj, here, too

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99775 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoJust confirmed that all current platforms need this header file
Tilghman Lesher [Wed, 23 Jan 2008 00:56:06 +0000 (00:56 +0000)] 
Just confirmed that all current platforms need this header file

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99718 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoThanks to Russell's education I realize that BUFSIZ has changed since I learned the...
Olle Johansson [Tue, 22 Jan 2008 20:56:09 +0000 (20:56 +0000)] 
Thanks to Russell's education I realize that BUFSIZ has changed since I learned the C language
over 20 years ago... Resetting chan_sip to the size of BUFSIZ that I expected in my old
head to avoid to heavy memory allocations on some systems.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99652 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix the defines for OS X (and Solaris, too)
Tilghman Lesher [Tue, 22 Jan 2008 20:34:55 +0000 (20:34 +0000)] 
Fix the defines for OS X (and Solaris, too)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99643 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd more dependencies on chan_local and add a note to the description of chan_local
Olle Johansson [Tue, 22 Jan 2008 17:41:57 +0000 (17:41 +0000)] 
Add more dependencies on chan_local and add a note to the description of chan_local
so that people don't disable it in menuselect just to clean up.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99594 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd dependency on chan_local to app_dial.
Olle Johansson [Tue, 22 Jan 2008 17:31:17 +0000 (17:31 +0000)] 
Add dependency on chan_local to app_dial.

Dial still runs without chan_local, but will be missing forwarding functionality.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99592 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoEnsure that we can get an address even when we don't have a default route.
Tilghman Lesher [Tue, 22 Jan 2008 16:54:06 +0000 (16:54 +0000)] 
Ensure that we can get an address even when we don't have a default route.
(closes issue #9225)
 Reported by: junky
 Patches:
       20080122__bug9225.diff.txt uploaded by Corydon76 (license 14)
 Tested by: oej, loloski, sergee

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99540 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoCleaning up some documentation that led to confusion in a bug report
Olle Johansson [Tue, 22 Jan 2008 15:08:14 +0000 (15:08 +0000)] 
Cleaning up some documentation that led to confusion in a bug report

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99501 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFixing an issue wherein monitoring local channels was not possible. During a channel
Mark Michelson [Mon, 21 Jan 2008 23:55:26 +0000 (23:55 +0000)] 
Fixing an issue wherein monitoring local channels was not possible. During a channel
masquerade, the monitors on the two channels involved are swapped. In 99% of the cases
this results in the desired effect. However, if monitoring a local channel, this caused
the monitor which was on the local channel to get moved onto a channel which is immediately
hung up after the masquerade has completed. By swapping the monitors prior to the masquerade,
we avoid the problem by tricking the masquerade into placing the monitor back onto the channel
where we want it.

During the investigation of the issue, the channel's monitor was the only thing that was swapped
in such a manner which did not make sense to have done. All other variable swapping made sense.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99426 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoPermit the user to specify number of seconds that a connection may remain idle,
Tilghman Lesher [Mon, 21 Jan 2008 18:11:07 +0000 (18:11 +0000)] 
Permit the user to specify number of seconds that a connection may remain idle,
which fixes a crash on reconnect with the MyODBC driver.
(closes issue #11798)
 Reported by: Corydon76
 Patches:
       20080119__res_odbc__idlecheck.diff.txt uploaded by Corydon76 (license 14)
 Tested by: mvanbaak

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99341 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoBump the buffer size for Via headers up to 512. There are some exceptionally large...
Joshua Colp [Mon, 21 Jan 2008 16:01:00 +0000 (16:01 +0000)] 
Bump the buffer size for Via headers up to 512. There are some exceptionally large Via headers out there.
(closes issue #11783)
Reported by: ofirroval

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99301 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix a couple of memory leaks with frame handling. Specifically,
Russell Bryant [Sat, 19 Jan 2008 10:05:27 +0000 (10:05 +0000)] 
Fix a couple of memory leaks with frame handling.  Specifically,
ast_frame_free() needed to be called on the frame that came from the translator
to signed linear.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99187 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoRemove the __ in front of the unused variable. This causes some compilers to freak...
Joshua Colp [Fri, 18 Jan 2008 22:57:15 +0000 (22:57 +0000)] 
Remove the __ in front of the unused variable. This causes some compilers to freak out.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99127 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoRevert adding the packed attribute, as it really doesn't make sense why that
Russell Bryant [Fri, 18 Jan 2008 21:37:21 +0000 (21:37 +0000)] 
Revert adding the packed attribute, as it really doesn't make sense why that
would do any good.  Fix the real bug, which is to do the check to see if the
frame came from a translator at the beginning of ast_frame_free(), instead of
at the end.  This ensures that it always gets checked, even if none of the
parts of the frame are malloc'd, and also ensures that we aren't looking at
free'd memory in the case that it is a malloc'd frame.

(closes issue #11792, reported by explidous, patched by me)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99081 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoSince we're relying on the offset between the frame and the beginning of the translator
Russell Bryant [Fri, 18 Jan 2008 21:22:21 +0000 (21:22 +0000)] 
Since we're relying on the offset between the frame and the beginning of the translator
pvt struct, set the packed attribute to make sure we get to the right place.
(potential fix for issue #11792)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99079 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoThis should at least temporarily fix a problem where the 't' Dial
Terry Wilson [Fri, 18 Jan 2008 17:13:00 +0000 (17:13 +0000)] 
This should at least temporarily fix a problem where the 't' Dial
option is incorrectly passed to the transferee when built-in
attended transfers are used.  There is still a problem with 'T',
but better to fix some problems than no problems while we work
on it.

(closes issue #7904)
Reported by: k-egg
Patches:
      transfer-fix-b14-r97657.diff uploaded by sergee (license 138)
Tested by: sergee, otherwiseguy

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99032 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agodoh! revert a revert of a revert (changed by mistake in 99010)
Pari Nannapaneni [Thu, 17 Jan 2008 23:42:45 +0000 (23:42 +0000)] 
doh! revert a revert of a revert (changed by mistake in 99010)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99014 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agomissed that one while reverting
Pari Nannapaneni [Thu, 17 Jan 2008 23:23:25 +0000 (23:23 +0000)] 
missed that one while reverting

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99010 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoreverting 99001 - We need the Max-Age for extending the life of cookie mansession_id
Pari Nannapaneni [Thu, 17 Jan 2008 23:09:53 +0000 (23:09 +0000)] 
reverting 99001 - We need the Max-Age for extending the life of cookie  mansession_id

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99007 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoHave IAX2 optimize the codec translation path just like chan_sip does it. If
Russell Bryant [Thu, 17 Jan 2008 22:37:22 +0000 (22:37 +0000)] 
Have IAX2 optimize the codec translation path just like chan_sip does it.  If
the caller's codec is in our codec list, move it to the top to avoid transcoding.

(closes issue #10500)
Reported by: stevedavies
Patches:
      iax-prefer-current-codec.patch uploaded by stevedavies (license 184)
      iax-prefer-current-codec.1.4.patch uploaded by stevedavies (license 184)
Tested by: stevedavies, pj, sheldonh

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99004 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agowe should only send the Set-Cookie header to the browser on the first response after...
Kevin P. Fleming [Thu, 17 Jan 2008 21:31:56 +0000 (21:31 +0000)] 
we should only send the Set-Cookie header to the browser on the first response after creating a manager session, not on every response (doing so causes the browser to clear any local cookies it may have associated with the session)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@99001 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd a clarification about the immediate= option of zapata.conf
Jason Parker [Thu, 17 Jan 2008 16:19:46 +0000 (16:19 +0000)] 
Add a clarification about the immediate= option of zapata.conf

Issue 11784, patch by klaus3000.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98991 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd an unused pointer to the ast_channel struct. This makes the ast_channel structure
Russell Bryant [Wed, 16 Jan 2008 22:36:24 +0000 (22:36 +0000)] 
Add an unused pointer to the ast_channel struct.  This makes the ast_channel structure
retain the same size as it had in previous 1.4 releases.  Also, all of the offsets for
members in the structure are still the same (except for the two pointers that got replaced
for the new spy/whisper architecture.)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98982 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoBump up cleancount due to previous commit that changed the channel structure.
Joshua Colp [Wed, 16 Jan 2008 20:34:30 +0000 (20:34 +0000)] 
Bump up cleancount due to previous commit that changed the channel structure.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98973 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoReplace current spy architecture with backport of audiohooks. This should take care...
Joshua Colp [Wed, 16 Jan 2008 20:33:47 +0000 (20:33 +0000)] 
Replace current spy architecture with backport of audiohooks. This should take care of current known spy issues.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98972 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd missing NULLs at end of two ast_load_realtimes.
Joshua Colp [Wed, 16 Jan 2008 17:50:10 +0000 (17:50 +0000)] 
Add missing NULLs at end of two ast_load_realtimes.
(closes issue #11769)
Reported by: tequ
Patches:
      chaniax.patch uploaded by dimas (license 88)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98966 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFix a deadlock in chan_local in local_hangup. There was contention because
Mark Michelson [Wed, 16 Jan 2008 17:20:11 +0000 (17:20 +0000)] 
Fix a deadlock in chan_local in local_hangup. There was contention because
the local_pvt was held and it was attempting to lock a channel, which is the
incorrect locking order.

(closes issue #11730)
Reported by: UDI-Doug
Patches:
      11730.patch uploaded by putnopvut (license 60)
  Tested by: UDI-Doug

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98964 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoIntroduce a lock into the dialing API that protects it when destroying the structure.
Joshua Colp [Wed, 16 Jan 2008 15:08:24 +0000 (15:08 +0000)] 
Introduce a lock into the dialing API that protects it when destroying the structure.
(closes issue #11687)
Reported by: callguy
Patches:
      11687.diff uploaded by file (license 11)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98960 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd two more SDP names for ulaw and alaw.
Joshua Colp [Wed, 16 Jan 2008 15:03:14 +0000 (15:03 +0000)] 
Add two more SDP names for ulaw and alaw.
(closes issue #11777)
Reported by: tootai

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98958 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoDon't drop the old record route information when dealing with packets related to...
Joshua Colp [Wed, 16 Jan 2008 03:07:24 +0000 (03:07 +0000)] 
Don't drop the old record route information when dealing with packets related to a reinvite.
(closes issue #11545)
Reported by: kebl0155
Patches:
      reinvite-patch.txt uploaded by kebl0155 (license 356)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98955 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdd autoconf logic for speexdsp. Later versions use a separate library for some thing...
Joshua Colp [Wed, 16 Jan 2008 01:13:27 +0000 (01:13 +0000)] 
Add autoconf logic for speexdsp. Later versions use a separate library for some things so we need to use it if present in codec_speex.
(closes issue #11693)
Reported by: yzg

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98951 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoChange a buffer in check_auth() to be a thread local dynamically allocated
Russell Bryant [Tue, 15 Jan 2008 23:50:10 +0000 (23:50 +0000)] 
Change a buffer in check_auth() to be a thread local dynamically allocated
buffer, instead of a massive buffer on the stack.  This fixes a crash reported
by Qwell due to running out of stack space when building with LOW_MEMORY defined.

On a very related note, the usage of BUFSIZ in various places in chan_sip is
arbitrary and careless.  BUFSIZ is a system specific define.  On my machine,
it is 8192, but by definition (according to google) could be as small as 256.
So, this buffer in check_auth was 16 kB.  We don't even support SIP messages
larger than 4 kB!  Further usage of this define should be avoided, unless it
is used in the proper context.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98946 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoCommit a fix for some memory access errors pointed out by the valgrind2.txt
Russell Bryant [Tue, 15 Jan 2008 23:26:52 +0000 (23:26 +0000)] 
Commit a fix for some memory access errors pointed out by the valgrind2.txt
output on issue #11698.

The issue here is that it is possible for an instance of a translator to get
destroyed while the frame allocated as a part of the translator is still being
processed.  Specifically, this is possible anywhere between a call to ast_read()
and ast_frame_free(), which is _a lot_ of places in the code.  The reason this
happens is that the channel might get masqueraded during this time.  During a
masquerade, existing translation paths get destroyed.

So, this patch fixes the issue in an API and ABI compatible way.  (This one is
 for you, paravoid!)

It changes an int in ast_frame to be used as flag bits.  The 1 bit is still used
to indicate that the frame contains timing information.  Also, a second flag has
been added to indicate that the frame came from a translator.  When a frame with
this flag gets released and has this flag, a function is called in translate.c to
let it know that this frame is doing being processed.  At this point, the flag gets
cleared.  Also, if the translator was requested to be destroyed while its internal
frame still had this flag set, its destruction has been deffered until it finds out
that the frame is no longer being processed.

Admittedly, this feels like a hack.  But, it does fix the issue, and I was not able
to think of a better solution ...

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98943 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoBased on the boundary found move over the correct amount.
Joshua Colp [Tue, 15 Jan 2008 20:08:43 +0000 (20:08 +0000)] 
Based on the boundary found move over the correct amount.
(closes issue #11750)
Reported by: tasker

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98934 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAccept "; boundary=" not just ";boundary=" in the multipart mixed content type.
Joshua Colp [Mon, 14 Jan 2008 22:41:55 +0000 (22:41 +0000)] 
Accept "; boundary=" not just ";boundary=" in the multipart mixed content type.
(closes issue #11750)
Reported by: tasker

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98894 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoAdding in appropriate unlocks for the locks I added. Thanks to joetester on IRC
Mark Michelson [Mon, 14 Jan 2008 20:59:26 +0000 (20:59 +0000)] 
Adding in appropriate unlocks for the locks I added. Thanks to joetester on IRC
for pointing this out.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98849 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoRevert a change that introduces an unacceptable performance hit and is causing
Russell Bryant [Mon, 14 Jan 2008 17:38:38 +0000 (17:38 +0000)] 
Revert a change that introduces an unacceptable performance hit and is causing
memory leaks ... (from rev 97973)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98774 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoFixing another compilation error. I'm a bit off today :(
Mark Michelson [Mon, 14 Jan 2008 16:35:12 +0000 (16:35 +0000)] 
Fixing another compilation error. I'm a bit off today :(

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98737 65c4cc65-6c06-0410-ace0-fbb531ad65f3