]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
18 years agoRestore the behavior of Asterisk 1.2 where if a device was not specified in
Russell Bryant [Mon, 26 Feb 2007 20:42:21 +0000 (20:42 +0000)] 
Restore the behavior of Asterisk 1.2 where if a device was not specified in
alsa.conf, then we just use the system default, instead of creating our own
default of hw:0,0.  (issue #9139)

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

18 years agoMerged revisions 56850 via svnmerge from
Joshua Colp [Mon, 26 Feb 2007 20:07:18 +0000 (20:07 +0000)] 
Merged revisions 56850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r56850 | file | 2007-02-26 15:05:02 -0500 (Mon, 26 Feb 2007) | 2 lines

Obey the clearglobalvars option in extensions reload (or dialplan reload depending on your version). (issue #9146 reported by ramonpeek)

........

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

18 years agoFix a crash in my last change to iax2_indicate(). (issue #9150)
Russell Bryant [Mon, 26 Feb 2007 20:04:13 +0000 (20:04 +0000)] 
Fix a crash in my last change to iax2_indicate(). (issue #9150)

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

18 years agoUpdate app_record documentation to use new CLI command, core show file formats. ...
Joshua Colp [Mon, 26 Feb 2007 19:33:48 +0000 (19:33 +0000)] 
Update app_record documentation to use new CLI command, core show file formats. (issue #9151 reported by junky)

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

18 years agoUse ast_strlen_zero to see if the language and/or context argument is not present...
Joshua Colp [Mon, 26 Feb 2007 17:09:53 +0000 (17:09 +0000)] 
Use ast_strlen_zero to see if the language and/or context argument is not present for Background instead of just checking if it is NULL. (issue #9141 reported by mjagdis)

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

18 years agoDo more complete locking of the chan_iax2_pvt struct in the indicate callback.
Russell Bryant [Mon, 26 Feb 2007 16:51:18 +0000 (16:51 +0000)] 
Do more complete locking of the chan_iax2_pvt struct in the indicate callback.
(Problem brought up by Ben Smithurst on the asterisk-dev list)

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

18 years agoAllow both of the show version files and core show file versions CLI commands to...
Joshua Colp [Mon, 26 Feb 2007 16:36:08 +0000 (16:36 +0000)] 
Allow both of the show version files and core show file versions CLI commands to work. (issue #9135 reported by mvanbaak)

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

18 years agoMove a comment to be in the correct struct.
Russell Bryant [Mon, 26 Feb 2007 01:04:40 +0000 (01:04 +0000)] 
Move a comment to be in the correct struct.

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

18 years agoBlocked revisions 56729 via svnmerge
Russell Bryant [Mon, 26 Feb 2007 00:35:04 +0000 (00:35 +0000)] 
Blocked revisions 56729 via svnmerge

........
r56729 | russell | 2007-02-25 18:34:31 -0600 (Sun, 25 Feb 2007) | 4 lines

Ensure that lock.h is included in utils.c with AST_API_MODULE defined so that
the implementations will be properly included when the AST_INLINE_API functions
are not going to be inlined.  (issue #9124, festr)

........

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

18 years agoMerged revisions 56684 via svnmerge from
Tilghman Lesher [Sun, 25 Feb 2007 14:46:41 +0000 (14:46 +0000)] 
Merged revisions 56684 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r56684 | tilghman | 2007-02-25 08:38:03 -0600 (Sun, 25 Feb 2007) | 3 lines

Issue 9130 - If prev is the last item on the channel list, then evaluating
additional conditions (e.g. name prefix) will cause a NULL dereference.

........

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

18 years agoMake sure to set a speeddials parent on creation.
Jason Parker [Sat, 24 Feb 2007 02:02:53 +0000 (02:02 +0000)] 
Make sure to set a speeddials parent on creation.
Don't crash if hold is pressed when no call is active.
Don't return in places that we shouldn't..

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

18 years agoupdate to match zaptel 1.4 API change that was committed a few minutes ago
Kevin P. Fleming [Sat, 24 Feb 2007 00:53:55 +0000 (00:53 +0000)] 
update to match zaptel 1.4 API change that was committed a few minutes ago

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

18 years agoMerged revisions 56504 via svnmerge from
Russell Bryant [Fri, 23 Feb 2007 23:24:18 +0000 (23:24 +0000)] 
Merged revisions 56504 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r56504 | russell | 2007-02-23 17:20:55 -0600 (Fri, 23 Feb 2007) | 8 lines

Fix up a couple more signal handlers to not do bad things that could cause
various undesirable results.  The other day, I made Asterisk deadlock by
hitting Control-C because of a bad signal handler.  Now, signal handlers
just set a flag and write to an alert pipe for the flag to be handled.  Then,
there is another thread that is monitoring for these flags.  If being run in
console mode, it is just the main thread.  If Asterisk is in the background,
a thread is created to do it.

........

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

18 years agoChange log notice to debug. It is possible for a scheduled item to execute and be...
Joshua Colp [Fri, 23 Feb 2007 21:53:41 +0000 (21:53 +0000)] 
Change log notice to debug. It is possible for a scheduled item to execute and be deleted at close to the same time and unavoidable. If this happens this message creeps up.

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

18 years agoMerged revisions 56406 via svnmerge from
Russell Bryant [Fri, 23 Feb 2007 20:20:00 +0000 (20:20 +0000)] 
Merged revisions 56406 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r56406 | russell | 2007-02-23 14:17:56 -0600 (Fri, 23 Feb 2007) | 4 lines

Don't destroy mutexes before unregistering all of the entry points from the core.
Also, fix a potential memory leak from not destroying the locks for all of the
possible call numbers (about 32k of them).

........

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

18 years agobuild special version strings for AADK/S800i builds
Kevin P. Fleming [Fri, 23 Feb 2007 18:59:09 +0000 (18:59 +0000)] 
build special version strings for AADK/S800i builds

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

18 years agoThe IMAP storage code uses the same code to build the email that is used when
Russell Bryant [Fri, 23 Feb 2007 17:58:57 +0000 (17:58 +0000)] 
The IMAP storage code uses the same code to build the email that is used when
voicemail is sent via email using something like sendmail.  In the patch from
bug 8033 to fix various IMAP storage problems, the line endings in the email
file were changed in the code from "\n" to "\r\n".  However, this breaks
sending regular voicemail to email.  So, this change conditionally sets line
endings to "\r\n" only if IMAP_STORAGE is enabled.
(issue #9128, patch by jarjarbinks, modified by me to not break IMAP storage)

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

18 years agoBlocked revisions 56279 via svnmerge
Joshua Colp [Thu, 22 Feb 2007 23:25:32 +0000 (23:25 +0000)] 
Blocked revisions 56279 via svnmerge

........
r56279 | file | 2007-02-22 18:19:25 -0500 (Thu, 22 Feb 2007) | 2 lines

Always defer Agent logoff if any channels are up until they hang up. (issue #9123 reported by arbrandes)

........

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

18 years agoMerge changes from team/russell/sla_updates.
Russell Bryant [Thu, 22 Feb 2007 23:08:36 +0000 (23:08 +0000)] 
Merge changes from team/russell/sla_updates.

This batch of changes to the SLA code does a few different things.

* I made the SLA code event driven instead of having to act in a lot of busy
  loops while dialing things to wait for state changes.  This makes the code
  more efficient and readable at the same time.

* I have implemented a couple of new features.  The first is inbound trunk
  ringing timeouts.  This is an option that defines how long to let an incoming
  call on a trunk to ring.

* I have also implemented ring timeouts for stations.  They may be specified
  for the entire station, meaning it is how long to let the station ring before
  giving up.  You can also specify a ring timeout for a specific trunk on a
  station.  So, you can say that you only want a specific station to ring 5
  seconds if it is line1 ringing, but otherwise, there is no timeout.

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

18 years agoMerged revisions 56230 via svnmerge from
Joshua Colp [Thu, 22 Feb 2007 18:49:39 +0000 (18:49 +0000)] 
Merged revisions 56230 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r56230 | file | 2007-02-22 13:44:24 -0500 (Thu, 22 Feb 2007) | 2 lines

Only change the original or clone channel if it's the channel behind the proxy channel, not if it's just a regular bridged channel.

........

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

18 years agoUpdate OSP documentation for v1.4.
TransNexus OSP Development [Thu, 22 Feb 2007 14:06:56 +0000 (14:06 +0000)] 
Update OSP documentation for v1.4.

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

18 years agoMove message from verbose to debug
Olle Johansson [Thu, 22 Feb 2007 10:33:55 +0000 (10:33 +0000)] 
Move message from verbose to debug

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

18 years agoupdated the sound tarball versions in Makefile
Steve Murphy [Thu, 22 Feb 2007 02:39:58 +0000 (02:39 +0000)] 
updated the sound tarball versions in Makefile

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

18 years agoRestructure a little bit of code to reduce nesting. There is no functionality
Russell Bryant [Thu, 22 Feb 2007 01:24:10 +0000 (01:24 +0000)] 
Restructure a little bit of code to reduce nesting.  There is no functionality
change here.

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

18 years agoMerged revisions 56010 via svnmerge from
Russell Bryant [Thu, 22 Feb 2007 00:57:36 +0000 (00:57 +0000)] 
Merged revisions 56010 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r56010 | russell | 2007-02-21 18:53:25 -0600 (Wed, 21 Feb 2007) | 3 lines

If we receive a frame that is not in any of the negotiated formats, then drop
it.  (potentially issue #8781 and SPD-12)

........

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

18 years agoPrint out deprecation notice on usage output of CLI commands. (issue #8925 reported...
Joshua Colp [Thu, 22 Feb 2007 00:35:55 +0000 (00:35 +0000)] 
Print out deprecation notice on usage output of CLI commands. (issue #8925 reported by blitzrage)

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

18 years agodisable unloading of embedded modules... there is a fundamental problem with doing...
Kevin P. Fleming [Thu, 22 Feb 2007 00:08:54 +0000 (00:08 +0000)] 
disable unloading of embedded modules... there is a fundamental problem with doing so that will not be fixed in this version of Asterisk due to its invasiveness

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

18 years agoMerged revisions 55956 via svnmerge from
Joshua Colp [Wed, 21 Feb 2007 20:35:40 +0000 (20:35 +0000)] 
Merged revisions 55956 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55956 | file | 2007-02-21 15:32:16 -0500 (Wed, 21 Feb 2007) | 2 lines

Change naughty warning message to provide useful information. If a write now fails on a channel in meetme it will tell you the channel name instead of spitting out the wrong error message.

........

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

18 years agoFix locking issue, and accept "transport-accept" as a valid accept message.
Jason Parker [Wed, 21 Feb 2007 20:27:08 +0000 (20:27 +0000)] 
Fix locking issue, and accept "transport-accept" as a valid accept message.

This should solve issues 8970 and 8503.

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

18 years agoSimplify the last change to app_meetme, and move the call to dispose_conf()
Russell Bryant [Wed, 21 Feb 2007 20:22:33 +0000 (20:22 +0000)] 
Simplify the last change to app_meetme, and move the call to dispose_conf()
up into the block where we know a conf exists.

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

18 years agoOnly dispose of the conference if one was created.
Joshua Colp [Wed, 21 Feb 2007 20:16:34 +0000 (20:16 +0000)] 
Only dispose of the conference if one was created.

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

18 years agoOnly start playing the next file if we have not been quieted.
Joshua Colp [Wed, 21 Feb 2007 20:03:38 +0000 (20:03 +0000)] 
Only start playing the next file if we have not been quieted.

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

18 years agoAdd a flag that indicates whether a SIP dialog is an outgoing call or not. SIP_OUTGOI...
Joshua Colp [Wed, 21 Feb 2007 17:18:19 +0000 (17:18 +0000)] 
Add a flag that indicates whether a SIP dialog is an outgoing call or not. SIP_OUTGOING originally did it but it was repurposed to the direction of the last transaction, which can cause update_call_counter to falsely decrease the wrong counters. (please don't hurt me oej) (issue #8943 reported by mdu113)

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

18 years agoMerged revisions 55868 via svnmerge from
Kevin P. Fleming [Wed, 21 Feb 2007 14:06:47 +0000 (14:06 +0000)] 
Merged revisions 55868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55868 | kpfleming | 2007-02-21 08:03:11 -0600 (Wed, 21 Feb 2007) | 2 lines

use new tag version script

........

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

18 years agoIssue #8848 - Turn off lamp more quickly after transfer (decrement inuse early on...
Olle Johansson [Wed, 21 Feb 2007 08:32:34 +0000 (08:32 +0000)] 
Issue #8848 - Turn off lamp more quickly after transfer (decrement inuse early on transferer's call leg)

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

18 years agoFix segfault when buddy couldn't be found.
Jason Parker [Wed, 21 Feb 2007 02:01:36 +0000 (02:01 +0000)] 
Fix segfault when buddy couldn't be found.

Issue 7764, patch by sailer

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

18 years agoImprove the reference counting to fix bugs where people report seeing
Russell Bryant [Wed, 21 Feb 2007 01:03:25 +0000 (01:03 +0000)] 
Improve the reference counting to fix bugs where people report seeing
conferences listed that have no members.
(issue #9073)

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

18 years agoBlocked revisions 55750 via svnmerge
Russell Bryant [Wed, 21 Feb 2007 00:22:29 +0000 (00:22 +0000)] 
Blocked revisions 55750 via svnmerge

........
r55750 | russell | 2007-02-20 18:19:14 -0600 (Tue, 20 Feb 2007) | 9 lines

Fix random crashes when using the MeetMe application.  This patch converts list
handling to use the linked list macros and most importantly, implements
reference counting on the ast_conference objects.  The reference counting was
first backported from 1.4.  However, that code has some problems that caused
the reference count to never hit zero.  Those problems are fixed in this patch
and will be resolved in 1.4 and trunk next, with a different patch.

(issues #7647, #9073, #9106, BE-115).

........

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

18 years agoBetter handle dropped IMAP connections. (issue #9054 reported by bsmithurst)
Joshua Colp [Wed, 21 Feb 2007 00:11:20 +0000 (00:11 +0000)] 
Better handle dropped IMAP connections. (issue #9054 reported by bsmithurst)

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

18 years agoReturn behavior I removed. I did not remember that you could just add a localnet...
Joshua Colp [Tue, 20 Feb 2007 23:57:03 +0000 (23:57 +0000)] 
Return behavior I removed. I did not remember that you could just add a localnet entry to make it work.

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

18 years agoDon't test our own address against the localnet settings. At least one person has...
Joshua Colp [Tue, 20 Feb 2007 23:08:45 +0000 (23:08 +0000)] 
Don't test our own address against the localnet settings. At least one person has had issues as a result of this from #7051 so I'm reversing it. (issue #8821 reported by kokoskarokoska)

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

18 years agoMerged revisions 55669 via svnmerge from
Joshua Colp [Tue, 20 Feb 2007 22:47:00 +0000 (22:47 +0000)] 
Merged revisions 55669 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55669 | file | 2007-02-20 17:39:14 -0500 (Tue, 20 Feb 2007) | 2 lines

Defer clearing callback information if channels are up until they are hung up. This ensures the hangup process goes smoothly and no channels get hung in limbo. (issue #8088 reported by kebl0155)

........

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

18 years agoAdd the Asterisk version information to the Server header in HTTP
Russell Bryant [Tue, 20 Feb 2007 20:26:06 +0000 (20:26 +0000)] 
Add the Asterisk version information to the Server header in HTTP
responses.  (requested by Pari)

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

18 years agoIncrease the maximum number of manager headers to 128, at the request of Pari.
Russell Bryant [Tue, 20 Feb 2007 19:57:07 +0000 (19:57 +0000)] 
Increase the maximum number of manager headers to 128, at the request of Pari.

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

18 years agoBlocked revisions 55588 via svnmerge
Russell Bryant [Tue, 20 Feb 2007 19:53:15 +0000 (19:53 +0000)] 
Blocked revisions 55588 via svnmerge

........
r55588 | russell | 2007-02-20 13:49:50 -0600 (Tue, 20 Feb 2007) | 3 lines

Convert a tab to spaces so that the documentation is printed out properly
aligned.

........

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

18 years agoNo need to cast nor free with strdupa (thanks file)
Jason Parker [Tue, 20 Feb 2007 16:53:45 +0000 (16:53 +0000)] 
No need to cast nor free with strdupa (thanks file)

55555!

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

18 years agoChange the formatting of sla.conf.sample to make it more readable.
Russell Bryant [Tue, 20 Feb 2007 16:41:57 +0000 (16:41 +0000)] 
Change the formatting of sla.conf.sample to make it more readable.
(issue #9112, blitzrage)

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

18 years ago- Not sending arguments to an application is not "out of memory"
Olle Johansson [Mon, 19 Feb 2007 21:12:55 +0000 (21:12 +0000)] 
- Not sending arguments to an application is not "out of memory"
- Making error messages a bit more clear

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

18 years agoMerged revisions 55434 via svnmerge from
Tilghman Lesher [Mon, 19 Feb 2007 18:11:48 +0000 (18:11 +0000)] 
Merged revisions 55434 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55434 | tilghman | 2007-02-19 12:09:09 -0600 (Mon, 19 Feb 2007) | 2 lines

forcename and forcegreetings options should check to see if the recording already exists

........

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

18 years agoChanged iax2 process thread to detached to correct memory leak due to left over threa...
Doug Bailey [Mon, 19 Feb 2007 14:52:59 +0000 (14:52 +0000)] 
Changed iax2 process thread to detached to correct memory leak due to left over thread context on thread exit.
Modified module unload process to avoid deadlocks on pthread cancels

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

18 years agoMerged revisions 55277 via svnmerge from
Olle Johansson [Sun, 18 Feb 2007 12:35:54 +0000 (12:35 +0000)] 
Merged revisions 55277 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55277 | oej | 2007-02-18 13:32:13 +0100 (Sun, 18 Feb 2007) | 2 lines

Documentation update (#9053, jsmith)

........

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

18 years agoBlock patch that was made only for 1.2 (already implemented in 1.4 and trunk)
Olle Johansson [Sun, 18 Feb 2007 10:51:22 +0000 (10:51 +0000)] 
Block patch that was made only for 1.2 (already implemented in 1.4 and trunk)

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

18 years agoAdd missing membername option to AddQueueMember documentation. (issue #9088 reported...
Joshua Colp [Sat, 17 Feb 2007 17:39:32 +0000 (17:39 +0000)] 
Add missing membername option to AddQueueMember documentation. (issue #9088 reported by seanbright)

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

18 years agoFix an issue where callerid would not be displayed on some phones.
Jason Parker [Sat, 17 Feb 2007 17:10:09 +0000 (17:10 +0000)] 
Fix an issue where callerid would not be displayed on some phones.

Issue 8995, initial patch and research done by wedhorn

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

18 years agoMerged revisions 55153 via svnmerge from
Joshua Colp [Sat, 17 Feb 2007 03:55:30 +0000 (03:55 +0000)] 
Merged revisions 55153 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55153 | file | 2007-02-16 22:53:45 -0500 (Fri, 16 Feb 2007) | 2 lines

Answer the channel before recording privacy information. (issue #8926 reported by lmamane)

........

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

18 years agoMake the 'i' option of Queue actually work. (issue #8986 reported by utis)
Joshua Colp [Sat, 17 Feb 2007 02:59:50 +0000 (02:59 +0000)] 
Make the 'i' option of Queue actually work. (issue #8986 reported by utis)

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

18 years agoMerged revisions 55073 via svnmerge from
Joshua Colp [Sat, 17 Feb 2007 01:16:59 +0000 (01:16 +0000)] 
Merged revisions 55073 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55073 | file | 2007-02-16 20:09:50 -0500 (Fri, 16 Feb 2007) | 2 lines

Allow chan_sip to handle attended transfers from a SIP phone that is sitting behind chan_agent. Yes folks, all it took was one line of code. (issue #8784 reported by pzieba)

........

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

18 years agoIf the pg_config application is found, but there is probably executing it,
Russell Bryant [Sat, 17 Feb 2007 00:40:34 +0000 (00:40 +0000)] 
If the pg_config application is found, but there is probably executing it,
then consider postgres unavailable.  (issue #8637)

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

18 years agoFilter out yet another architecture that does not work with the optimizations
Russell Bryant [Sat, 17 Feb 2007 00:31:42 +0000 (00:31 +0000)] 
Filter out yet another architecture that does not work with the optimizations
in the built-in libgsm. (issue 8637, ovi)

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

18 years agoMerged revisions 55005 via svnmerge from
Russell Bryant [Fri, 16 Feb 2007 22:49:42 +0000 (22:49 +0000)] 
Merged revisions 55005 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55005 | russell | 2007-02-16 16:48:22 -0600 (Fri, 16 Feb 2007) | 9 lines

Revert the change I did in revisions 54955, 54969, and 54970, in 1.2, 1.4,
and trunk.  I decided that once a conference is created from meetme.conf,
it is acceptable behavior that the pin can not be changed until the
conference goes away.  I also added a note in meetme.conf to describe this
behavior.

We still have another issue in 1.4 and trunk where some conferences with no
users don't go away.  That is the real bug that needs to be addressed here.

........

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

18 years agoMerged revisions 54999 via svnmerge from
Joshua Colp [Fri, 16 Feb 2007 22:18:46 +0000 (22:18 +0000)] 
Merged revisions 54999 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r54999 | file | 2007-02-16 17:13:45 -0500 (Fri, 16 Feb 2007) | 2 lines

Do not send indications through ast_indicate in chan_agent but instead go directly to the technology. This way when indications are emulated they happen on the Agent channel and do not screw up formats on the channels. (issue #8439 reported by punkgode)

........

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

18 years agoMerged revisions 54955 via svnmerge from
Russell Bryant [Fri, 16 Feb 2007 21:12:18 +0000 (21:12 +0000)] 
Merged revisions 54955 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r54955 | russell | 2007-02-16 14:56:58 -0600 (Fri, 16 Feb 2007) | 5 lines

For conferences that are configured in meetme.conf, check the configuration
file every time someone joins the conference instead of only when the
conference is first created.  This is to ensure that changes to the pin
numbers in the config file are always honored.  (issue #9073)

........

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

18 years agoNeed to check macro extension as well as macro context for directed pickup.
Joshua Colp [Fri, 16 Feb 2007 18:51:15 +0000 (18:51 +0000)] 
Need to check macro extension as well as macro context for directed pickup.

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

18 years agoFix setting "autofallthrough" to yes by default. It was set to enabled in
Russell Bryant [Fri, 16 Feb 2007 18:03:41 +0000 (18:03 +0000)] 
Fix setting "autofallthrough" to yes by default.  It was set to enabled in
pbx.c.  However, if the option was not present in extensions.conf, then
pbx_config.c would set it back to disabled.

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

18 years agoClean up a few coding guidelines issues - spaces to tabs, use sizeof() to pass
Russell Bryant [Fri, 16 Feb 2007 17:40:38 +0000 (17:40 +0000)] 
Clean up a few coding guidelines issues - spaces to tabs, use sizeof() to pass
the size of a static buffer, add spaces ...

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

18 years agoClarify a restart message. It's silly, but the reporter had a very valid point.
Jason Parker [Fri, 16 Feb 2007 17:25:21 +0000 (17:25 +0000)] 
Clarify a restart message.  It's silly, but the reporter had a very valid point.

Issue 9079

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

18 years agoAllow directed pickup to pick up the real context instead of the macro context if...
Joshua Colp [Fri, 16 Feb 2007 17:02:35 +0000 (17:02 +0000)] 
Allow directed pickup to pick up the real context instead of the macro context if a Macro is used. (issue #8984 reported by jamesb63)

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

18 years agoIssue #7541 - Handle multipart attachments to SIP messages - even if boundary is...
Olle Johansson [Fri, 16 Feb 2007 12:06:23 +0000 (12:06 +0000)] 
Issue #7541 - Handle multipart attachments to SIP messages - even if boundary is quoted.

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

18 years agoMerged revisions 54771 via svnmerge from
Olle Johansson [Fri, 16 Feb 2007 11:39:55 +0000 (11:39 +0000)] 
Merged revisions 54771 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r54771 | oej | 2007-02-16 12:38:03 +0100 (Fri, 16 Feb 2007) | 2 lines

Issue #9069 - If we open with TH we should not close with /TD. (seanbright)

........

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

18 years agoDon't let dtmf leak over into the engine and let it skew the results... also give...
Joshua Colp [Fri, 16 Feb 2007 00:48:48 +0000 (00:48 +0000)] 
Don't let dtmf leak over into the engine and let it skew the results... also give DTMF results priority. (issue #9014 reported by surftek)

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

18 years agoMerged revisions 54622 via svnmerge from
Joshua Colp [Thu, 15 Feb 2007 16:19:39 +0000 (16:19 +0000)] 
Merged revisions 54622 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r54622 | file | 2007-02-15 11:14:40 -0500 (Thu, 15 Feb 2007) | 2 lines

Use a separate variable to indicate execution should continue instead of the return value. (issue #8842 reported by pluto70)

........

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

18 years agoForward begin DTMF frames as well as end. (issue #9068 reported by mhardeman)
Joshua Colp [Wed, 14 Feb 2007 21:07:23 +0000 (21:07 +0000)] 
Forward begin DTMF frames as well as end. (issue #9068 reported by mhardeman)

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

18 years agoBlock patch only needed in 1.2
Olle Johansson [Wed, 14 Feb 2007 18:44:58 +0000 (18:44 +0000)] 
Block patch only needed in 1.2

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

18 years agoMerged revisions 54373 via svnmerge from
Matthew Fredrickson [Wed, 14 Feb 2007 16:56:40 +0000 (16:56 +0000)] 
Merged revisions 54373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r54373 | mattf | 2007-02-14 10:25:49 -0600 (Wed, 14 Feb 2007) | 2 lines

When handling glare on a PRI, move the requested channel rather than hang up the old one. Fix for 8957 and 9011.

........

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

18 years agoAdd G722 to ast_best_codec. If anyone disagrees with it's placement, feel free to...
Joshua Colp [Wed, 14 Feb 2007 01:09:40 +0000 (01:09 +0000)] 
Add G722 to ast_best_codec. If anyone disagrees with it's placement, feel free to change it. (issue #9045 reported by gork)

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

18 years agoRemove a couple of leftover debug messages
Russell Bryant [Tue, 13 Feb 2007 21:31:22 +0000 (21:31 +0000)] 
Remove a couple of leftover debug messages

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

18 years agoFix the documentation on the return values from device state provider
Russell Bryant [Tue, 13 Feb 2007 20:56:50 +0000 (20:56 +0000)] 
Fix the documentation on the return values from device state provider
registration and deletion.

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

18 years agoIf we fail to create the SIP socket, then return -1 from reload_config() so
Russell Bryant [Tue, 13 Feb 2007 19:42:00 +0000 (19:42 +0000)] 
If we fail to create the SIP socket, then return -1 from reload_config() so
that load_module() will return AST_MODULE_LOAD_DECLINE.  Otherwise, the console
will just get spammed with error messages every time chan_sip tries to send a
message.

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

18 years agoBlocking patch for 1.2 only
Olle Johansson [Tue, 13 Feb 2007 18:41:15 +0000 (18:41 +0000)] 
Blocking patch for 1.2 only

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

18 years agoChange ast_set_state_callback() to ast_dial_set_state_callback()
Russell Bryant [Mon, 12 Feb 2007 19:17:08 +0000 (19:17 +0000)] 
Change ast_set_state_callback() to ast_dial_set_state_callback()

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

18 years ago- Add the ability to register a callback to monitor state changes in an
Russell Bryant [Mon, 12 Feb 2007 17:58:43 +0000 (17:58 +0000)] 
- Add the ability to register a callback to monitor state changes in an
  asynchronous dial operation.
- Rename the various references to "status" to "state" in the dial API

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

18 years agoMake the --without-oss argument work. (issue #9026 reported by puzzled)
Joshua Colp [Mon, 12 Feb 2007 16:34:45 +0000 (16:34 +0000)] 
Make the --without-oss argument work. (issue #9026 reported by puzzled)

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

18 years agoFix a typo where "vmpassword" should be "vmsecret"
Russell Bryant [Mon, 12 Feb 2007 15:38:39 +0000 (15:38 +0000)] 
Fix a typo where "vmpassword" should be "vmsecret"

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

18 years agoFix VLDTMF reception
Paul Cadach [Sat, 10 Feb 2007 09:09:49 +0000 (09:09 +0000)] 
Fix VLDTMF reception

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

18 years agoMuch simpler than previous one ;-)
Paul Cadach [Sat, 10 Feb 2007 09:08:55 +0000 (09:08 +0000)] 
Much simpler than previous one ;-)

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

18 years agoProvide correct DTMF duration
Paul Cadach [Sat, 10 Feb 2007 09:07:11 +0000 (09:07 +0000)] 
Provide correct DTMF duration

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

18 years agoBring deprecated 'debug channel <x|all>' command back
Paul Cadach [Sat, 10 Feb 2007 09:04:47 +0000 (09:04 +0000)] 
Bring deprecated 'debug channel <x|all>' command back

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

18 years agodon't display the --with-imap message unless --with-imap was specified without a...
Kevin P. Fleming [Sat, 10 Feb 2007 06:06:08 +0000 (06:06 +0000)] 
don't display the --with-imap message unless --with-imap was specified without a path
use '-n' instead of '! -z' for tests

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

18 years agoAdd some output for "show application SLAStation/SLATrunk"
Russell Bryant [Sat, 10 Feb 2007 01:02:00 +0000 (01:02 +0000)] 
Add some output for "show application SLAStation/SLATrunk"

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

18 years agoChange some text to properly state "On Hold", which was already done in trunk.
Russell Bryant [Sat, 10 Feb 2007 00:41:57 +0000 (00:41 +0000)] 
Change some text to properly state "On Hold", which was already done in trunk.

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

18 years agoMerge team/russell/sla_rewrite
Russell Bryant [Sat, 10 Feb 2007 00:35:09 +0000 (00:35 +0000)] 
Merge team/russell/sla_rewrite

This is a completely new implementation of the SLA functionality introduced in
Asterisk 1.4.  It is now functional and ready for testing.  However, I will be
adding some additional features over the next week, as well.

For information on how to set this up, see configs/sla.conf.sample
and doc/sla.txt.

In addition to the changes in app_meetme.c for the SLA implementation itself,
this merge brings in various other changes:

chan_sip:
 - Add the ability to indicate HOLD state in NOTIFY messages.
 - Queue HOLD and UNHOLD control frames even if the channel is not bridged to
   another channel.

linkedlists.h:
 - Add support for rwlock based linked lists.

dial.c:
 - Add the ability to run ast_dial_start() without a reference channel to
   inherit information from.

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

18 years agoWhen the Echo() application receives the digit '#', echo that back as well.
Russell Bryant [Sat, 10 Feb 2007 00:15:50 +0000 (00:15 +0000)] 
When the Echo() application receives the digit '#', echo that back as well.
Since we already sent the BEGIN frame for that digit, it makes sense to send
the END as well.

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

18 years agoanother dependency
Kevin P. Fleming [Fri, 9 Feb 2007 23:52:44 +0000 (23:52 +0000)] 
another dependency

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

18 years agoadd some inter-module dependencies
Kevin P. Fleming [Fri, 9 Feb 2007 23:51:41 +0000 (23:51 +0000)] 
add some inter-module dependencies

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

18 years agofix awk scripts to work when both MODULEINFO and MAKEOPTS are present in a source...
Kevin P. Fleming [Fri, 9 Feb 2007 23:51:29 +0000 (23:51 +0000)] 
fix awk scripts to work when both MODULEINFO and MAKEOPTS are present in a source file

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

18 years agoTemporarily change musicclass on channel to one specified in Dial so that the 'm...
Joshua Colp [Fri, 9 Feb 2007 19:33:31 +0000 (19:33 +0000)] 
Temporarily change musicclass on channel to one specified in Dial so that the 'm' option functions properly. (issue #8969 reported by christianbee)

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

18 years agoclarify the fact that voicemail IMAP storage cannot be built against a distro's binar...
Kevin P. Fleming [Fri, 9 Feb 2007 16:42:22 +0000 (16:42 +0000)] 
clarify the fact that voicemail IMAP storage cannot be built against a distro's binary c-client library package (at least not at this time)

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

18 years agoDon't output debug unless we asked for it
Olle Johansson [Thu, 8 Feb 2007 23:18:59 +0000 (23:18 +0000)] 
Don't output debug unless we asked for it

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

18 years agoFix timeout issue when utterance is longer then timeout itself.
Joshua Colp [Thu, 8 Feb 2007 17:54:32 +0000 (17:54 +0000)] 
Fix timeout issue when utterance is longer then timeout itself.

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

18 years agoIssue 9007 - Mutex not released on early return
Tilghman Lesher [Thu, 8 Feb 2007 13:47:54 +0000 (13:47 +0000)] 
Issue 9007 - Mutex not released on early return

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