asterisk/asterisk.git
15 years agoRemove an extra debug message I left in
Mark Michelson [Wed, 6 Feb 2008 00:08:58 +0000 (00:08 +0000)]
Remove an extra debug message I left in

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

15 years agoGet rid of any remaining ast_verbose calls in the code in favor of
Mark Michelson [Tue, 5 Feb 2008 23:00:15 +0000 (23:00 +0000)]
Get rid of any remaining ast_verbose calls in the code in favor of
ast_verb

(closes issue #11934)
Reported by: mvanbaak
Patches:
      20080205_astverb-2.diff.txt uploaded by mvanbaak (license 7)

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

15 years agoChange verbose messages to use the ast_verb macro.
Mark Michelson [Tue, 5 Feb 2008 20:54:53 +0000 (20:54 +0000)]
Change verbose messages to use the ast_verb macro.

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

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

15 years agoChange where priority of a goto is adjusted.
Jason Parker [Tue, 5 Feb 2008 20:51:50 +0000 (20:51 +0000)]
Change where priority of a goto is adjusted.
Partially reverts 102272.

Closes issue #11929
(credit to file for fix suggestion - we still <3 you)

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

15 years agoMerged revisions 102453 via svnmerge from
Mark Michelson [Tue, 5 Feb 2008 20:03:54 +0000 (20:03 +0000)]
Merged revisions 102453 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102453 | mmichelson | 2008-02-05 14:02:44 -0600 (Tue, 05 Feb 2008) | 8 lines

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/trunk@102454 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoYeah yeah, I broke building on trunk. Shoot me.
Joshua Colp [Tue, 5 Feb 2008 19:58:19 +0000 (19:58 +0000)]
Yeah yeah, I broke building on trunk. Shoot me.

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

15 years agoMerged revisions 102450 via svnmerge from
Joshua Colp [Tue, 5 Feb 2008 19:54:05 +0000 (19:54 +0000)]
Merged revisions 102450 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102450 | file | 2008-02-05 15:52:30 -0400 (Tue, 05 Feb 2008) | 3 lines

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/trunk@102451 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 102378 via svnmerge from
Joshua Colp [Tue, 5 Feb 2008 15:10:36 +0000 (15:10 +0000)]
Merged revisions 102378 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102378 | file | 2008-02-05 11:09:29 -0400 (Tue, 05 Feb 2008) | 4 lines

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/trunk@102379 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 102323 via svnmerge from
Tilghman Lesher [Mon, 4 Feb 2008 21:15:18 +0000 (21:15 +0000)]
Merged revisions 102323 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102323 | tilghman | 2008-02-04 15:06:09 -0600 (Mon, 04 Feb 2008) | 7 lines

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/trunk@102329 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd line numbers to warning/error messages (and pretty up some existing ones).
Jason Parker [Mon, 4 Feb 2008 18:39:30 +0000 (18:39 +0000)]
Add line numbers to warning/error messages (and pretty up some existing ones).

(closes issue #11894)
Reported by: jmls
Patches:
      chan_zap.patch uploaded by jmls (license 141)

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

15 years agoUpdate handling of asyncgoto so it properly works on channels that are currently...
Joshua Colp [Mon, 4 Feb 2008 15:16:05 +0000 (15:16 +0000)]
Update handling of asyncgoto so it properly works on channels that are currently executing a PBX.
(closes issue #11914)
Reported by: arnd
(closes issue #11753)
Reported by: johan

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

15 years agoChange examples to use G here also.
Jason Parker [Mon, 4 Feb 2008 14:37:11 +0000 (14:37 +0000)]
Change examples to use G here also.

Closes issue #11875

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

15 years agoMerged revisions 102214 via svnmerge from
Tilghman Lesher [Mon, 4 Feb 2008 05:32:00 +0000 (05:32 +0000)]
Merged revisions 102214 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102214 | tilghman | 2008-02-03 23:10:02 -0600 (Sun, 03 Feb 2008) | 6 lines

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/trunk@102238 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoCoreSettings and CoreStatus are missing the terminating "\r\n". Also, some
Tilghman Lesher [Sun, 3 Feb 2008 17:40:48 +0000 (17:40 +0000)]
CoreSettings and CoreStatus are missing the terminating "\r\n".  Also, some
miscellaneous spacing and initialization issues.
(closes issue #11909)
 Reported by: srt
 Patches:
       patch-11909-2.diff uploaded by srt (license 378)
 Tested by: srt

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

15 years agoMerged revisions 102142 via svnmerge from
Olle Johansson [Sun, 3 Feb 2008 16:46:39 +0000 (16:46 +0000)]
Merged revisions 102142 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102142 | oej | 2008-02-03 17:38:12 +0100 (Sön, 03 Feb 2008) | 8 lines

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/trunk@102143 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 102090 via svnmerge from
Olle Johansson [Sun, 3 Feb 2008 10:47:05 +0000 (10:47 +0000)]
Merged revisions 102090 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102090 | oej | 2008-02-03 11:37:32 +0100 (Sön, 03 Feb 2008) | 8 lines

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/trunk@102091 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoChange the version number in the configure script from 1.4 to 1.6
Russell Bryant [Sun, 3 Feb 2008 06:43:57 +0000 (06:43 +0000)]
Change the version number in the configure script from 1.4 to 1.6

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

15 years agoThe documentation page has to be in its own comment block to work, apparently.
Russell Bryant [Sat, 2 Feb 2008 06:10:20 +0000 (06:10 +0000)]
The documentation page has to be in its own comment block to work, apparently.
Fix it up!

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

15 years agoMerged revisions 101989 via svnmerge from
Russell Bryant [Fri, 1 Feb 2008 23:08:28 +0000 (23:08 +0000)]
Merged revisions 101989 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101989 | russell | 2008-02-01 17:06:32 -0600 (Fri, 01 Feb 2008) | 5 lines

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/trunk@101990 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 101942 via svnmerge from
Tilghman Lesher [Fri, 1 Feb 2008 22:12:55 +0000 (22:12 +0000)]
Merged revisions 101942 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101942 | tilghman | 2008-02-01 15:54:28 -0600 (Fri, 01 Feb 2008) | 8 lines

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/trunk@101943 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 101894 via svnmerge from
Tilghman Lesher [Fri, 1 Feb 2008 19:44:39 +0000 (19:44 +0000)]
Merged revisions 101894 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101894 | tilghman | 2008-02-01 13:36:12 -0600 (Fri, 01 Feb 2008) | 2 lines

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/trunk@101895 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix multi, when using the LIKE query.
Tilghman Lesher [Fri, 1 Feb 2008 18:45:31 +0000 (18:45 +0000)]
Fix multi, when using the LIKE query.
(closes issue #11889)
 Reported by: jmls
 Patches:
       res_config_curl.patch uploaded by jmls (license 141)
 Tested by: jmls

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

15 years agoComparison, not set :) Thanks mvanbaak.
Jason Parker [Fri, 1 Feb 2008 18:24:52 +0000 (18:24 +0000)]
Comparison, not set :)  Thanks mvanbaak.

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

15 years agoClarify the pooling functionality by changing the config file keyword
Tilghman Lesher [Fri, 1 Feb 2008 18:08:44 +0000 (18:08 +0000)]
Clarify the pooling functionality by changing the config file keyword

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

15 years agoMove an feof() call to before the fgets().
Jason Parker [Fri, 1 Feb 2008 17:44:32 +0000 (17:44 +0000)]
Move an feof() call to before the 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/trunk@101823 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoBlocked revisions 101820 via svnmerge
Russell Bryant [Fri, 1 Feb 2008 17:28:06 +0000 (17:28 +0000)]
Blocked revisions 101820 via svnmerge

........
r101820 | russell | 2008-02-01 11:27:02 -0600 (Fri, 01 Feb 2008) | 1 line

off by one error
........

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

15 years agoMerged revisions 101818 via svnmerge from
Russell Bryant [Fri, 1 Feb 2008 17:26:31 +0000 (17:26 +0000)]
Merged revisions 101818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101818 | russell | 2008-02-01 11:23:47 -0600 (Fri, 01 Feb 2008) | 4 lines

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/trunk@101819 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 101772 via svnmerge from
Tilghman Lesher [Fri, 1 Feb 2008 16:01:22 +0000 (16:01 +0000)]
Merged revisions 101772 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101772 | tilghman | 2008-02-01 09:55:58 -0600 (Fri, 01 Feb 2008) | 2 lines

Compatibility fix for OpenWRT (reported by Brian Capouch via the mailing list)

........

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

15 years agosimplify some code, tweak formatting, and reduce indentation
Russell Bryant [Fri, 1 Feb 2008 06:27:41 +0000 (06:27 +0000)]
simplify some code, tweak formatting, and reduce indentation

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

15 years agoreduce a level of indentation
Russell Bryant [Fri, 1 Feb 2008 06:20:24 +0000 (06:20 +0000)]
reduce a level of indentation

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

15 years agoGet rid of a goto where there was no extra cleanup happening at the exit point
Russell Bryant [Fri, 1 Feb 2008 06:14:29 +0000 (06:14 +0000)]
Get rid of a goto where there was no extra cleanup happening at the exit point

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

15 years agoMerged revisions 101693 via svnmerge from
Russell Bryant [Fri, 1 Feb 2008 00:34:11 +0000 (00:34 +0000)]
Merged revisions 101693 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101693 | russell | 2008-01-31 18:32:49 -0600 (Thu, 31 Jan 2008) | 8 lines

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/trunk@101694 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 101649 via svnmerge from
Mark Michelson [Fri, 1 Feb 2008 00:08:17 +0000 (00:08 +0000)]
Merged revisions 101649 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101649 | mmichelson | 2008-01-31 18:06:37 -0600 (Thu, 31 Jan 2008) | 9 lines

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/trunk@101650 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 101601 via svnmerge from
Russell Bryant [Thu, 31 Jan 2008 23:14:57 +0000 (23:14 +0000)]
Merged revisions 101601 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101601 | russell | 2008-01-31 17:10:06 -0600 (Thu, 31 Jan 2008) | 12 lines

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/trunk@101611 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoForgot an !
Mark Michelson [Thu, 31 Jan 2008 22:12:50 +0000 (22:12 +0000)]
Forgot an !

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

15 years agoA change I made to accommodate the "linear" strategy in trunk caused queue strategies to
Mark Michelson [Thu, 31 Jan 2008 22:04:52 +0000 (22:04 +0000)]
A change I made to accommodate the "linear" strategy in trunk caused queue strategies to
not be loaded from realtime queues. This commit fixes that.

Thanks to jmls for pointing this problem out to me on IRC.

This also contains some changes to S_OR where it should be used. Thanks to Qwell for pointing
these out.

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

15 years agoFix a simple deadlock that was introduced _right_ before this code got merged
Russell Bryant [Thu, 31 Jan 2008 21:33:33 +0000 (21:33 +0000)]
Fix a simple deadlock that was introduced _right_ before this code got merged
into trunk.

(closes issue #11895, reported by pj, patched by me)

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

15 years agoHandle the case of a NULL state_interface when checking a realtime member.
Mark Michelson [Thu, 31 Jan 2008 21:31:15 +0000 (21:31 +0000)]
Handle the case of a NULL state_interface when checking a realtime member.

Thanks to jmls for finding this issue.

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

15 years agoMerged revisions 101531 via svnmerge from
Mark Michelson [Thu, 31 Jan 2008 21:02:12 +0000 (21:02 +0000)]
Merged revisions 101531 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101531 | mmichelson | 2008-01-31 15:00:24 -0600 (Thu, 31 Jan 2008) | 10 lines

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/trunk@101532 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 101482 via svnmerge from
Jason Parker [Thu, 31 Jan 2008 19:54:46 +0000 (19:54 +0000)]
Merged revisions 101482 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101482 | qwell | 2008-01-31 13:52:49 -0600 (Thu, 31 Jan 2008) | 4 lines

Solaris compat fixes for struct in_addr funkiness.

Issue #11885, patch by snuffy.

........

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

15 years agoMerged revisions 101480 via svnmerge from
Steve Murphy [Thu, 31 Jan 2008 19:43:40 +0000 (19:43 +0000)]
Merged revisions 101480 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101480 | murf | 2008-01-31 12:30:37 -0700 (Thu, 31 Jan 2008) | 1 line

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/trunk@101481 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 101433 via svnmerge from
Russell Bryant [Thu, 31 Jan 2008 19:20:52 +0000 (19:20 +0000)]
Merged revisions 101433 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101433 | russell | 2008-01-31 13:17:05 -0600 (Thu, 31 Jan 2008) | 2 lines

Add more missing locking of the agents list ...

........

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

15 years agoMerged revisions 101413-101414 via svnmerge from
Russell Bryant [Thu, 31 Jan 2008 19:13:20 +0000 (19:13 +0000)]
Merged revisions 101413-101414 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101413 | russell | 2008-01-31 13:04:52 -0600 (Thu, 31 Jan 2008) | 2 lines

Add missing locking to the find_agent() function.

........
r101414 | russell | 2008-01-31 13:07:46 -0600 (Thu, 31 Jan 2008) | 3 lines

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/trunk@101416 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd missing braces.
Joshua Colp [Thu, 31 Jan 2008 15:36:11 +0000 (15:36 +0000)]
Add missing braces.
(closes issue #11886)
Reported by: sergee
Patches:
      func_realtime_fix-r101392.diff uploaded by sergee (license 138)

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

15 years agoremove entry that is no longer in the tree
Russell Bryant [Thu, 31 Jan 2008 05:28:42 +0000 (05:28 +0000)]
remove entry that is no longer in the tree

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

15 years agoThe deprecation of "username" in favor of "defaultuser" for SIP peers unfortunately
Mark Michelson [Wed, 30 Jan 2008 23:10:23 +0000 (23:10 +0000)]
The deprecation of "username" in favor of "defaultuser" for SIP peers unfortunately
broke realtime configurations which still used the "username" field. This was taken
care of properly when reading from realtime but was not handled properly when updating
a realtime peer. This change also adds a deprecation NOTICE CLI message that will print
if using the deprecated "username" field.

(closes issue #11880)
Reported by: cabal95
Patches:
      11880.patch uploaded by putnopvut (license 60)
  Tested by: cabal95

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

15 years agoClarify configuration file that can be misunderstood
Olle Johansson [Wed, 30 Jan 2008 20:08:58 +0000 (20:08 +0000)]
Clarify configuration file that can be misunderstood

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

15 years agoAllow disabling the default ffwd/rewind keys in the ControlPlayback application.
Jason Parker [Wed, 30 Jan 2008 19:03:16 +0000 (19:03 +0000)]
Allow disabling the default ffwd/rewind keys in the ControlPlayback application.
This is done in a backward compat way.
If the "default" key for ffwd/rew is used for another option (such as stop), the "default" is removed.

(closes issue #11754)
Reported by: johan
Patches:
      app_controlplayback.c.option3.patch uploaded by johan (license 334)
Tested by: johan, qwell

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

15 years agoRemoving applications that wasn't ready for svn trunk, as trunk now has
Olle Johansson [Wed, 30 Jan 2008 17:12:06 +0000 (17:12 +0000)]
Removing applications that wasn't ready for svn trunk, as trunk now has
pre-release status.

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

15 years agoMake the VoicemailUsersList AMI command consistent with other manager list functions.
Tilghman Lesher [Wed, 30 Jan 2008 16:54:20 +0000 (16:54 +0000)]
Make the VoicemailUsersList AMI command consistent with other manager list functions.
(closes issue #11874)
 Reported by: srt
 Patches:
       voicemail_ami-11847.patch uploaded by srt (license 378)

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

15 years ago- doxygen fixes
Olle Johansson [Wed, 30 Jan 2008 16:39:14 +0000 (16:39 +0000)]
- doxygen fixes
- change function to void because it always returned the same value and no one read it.

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

15 years agoFormatting fixes
Olle Johansson [Wed, 30 Jan 2008 16:22:06 +0000 (16:22 +0000)]
Formatting fixes

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

15 years agoGet trunk to compile
Mark Michelson [Wed, 30 Jan 2008 15:42:54 +0000 (15:42 +0000)]
Get trunk to compile

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

15 years agoMerged revisions 101222 via svnmerge from
Joshua Colp [Wed, 30 Jan 2008 15:42:29 +0000 (15:42 +0000)]
Merged revisions 101222 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101222 | file | 2008-01-30 11:41:04 -0400 (Wed, 30 Jan 2008) | 4 lines

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/trunk@101223 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoUpdate CHANGES with rtppage
Olle Johansson [Wed, 30 Jan 2008 15:36:58 +0000 (15:36 +0000)]
Update CHANGES with rtppage

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

15 years agoMerged revisions 101219 via svnmerge from
Jason Parker [Wed, 30 Jan 2008 15:35:28 +0000 (15:35 +0000)]
Merged revisions 101219 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11875)
........
r101219 | qwell | 2008-01-30 09:34:37 -0600 (Wed, 30 Jan 2008) | 5 lines

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/trunk@101220 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoAdd rtppage() application to do multicast or unicast RTP paging to SIP phones.
Olle Johansson [Wed, 30 Jan 2008 15:30:38 +0000 (15:30 +0000)]
Add rtppage() application to do multicast or unicast RTP paging to SIP phones.

(closes issue #11797)
Reported by: macbrody
Patches:
      app_rtppage-20080130.c uploaded by macbrody (license 352)

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

15 years agoMerged revisions 101216 via svnmerge from
Mark Michelson [Wed, 30 Jan 2008 15:27:14 +0000 (15:27 +0000)]
Merged revisions 101216 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101216 | mmichelson | 2008-01-30 09:23:00 -0600 (Wed, 30 Jan 2008) | 5 lines

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/trunk@101217 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agosimplify this code and eliminate the return value cast that is no longer necessary
Kevin P. Fleming [Wed, 30 Jan 2008 12:48:32 +0000 (12:48 +0000)]
simplify this code and eliminate the return value cast that is no longer necessary

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

15 years agoConstifying the interface to get pvt_ids in the bridge, based on
Olle Johansson [Wed, 30 Jan 2008 11:27:56 +0000 (11:27 +0000)]
Constifying the interface to get pvt_ids in the bridge, based on
suggestion from (const char *) Kevin. Thanks!

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

15 years agoMerged revisions 101152 via svnmerge from
Olle Johansson [Wed, 30 Jan 2008 11:21:52 +0000 (11:21 +0000)]
Merged revisions 101152 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101152 | oej | 2008-01-30 12:20:31 +0100 (Ons, 30 Jan 2008) | 7 lines

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/trunk@101153 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoFix a typo
Jason Parker [Wed, 30 Jan 2008 00:58:23 +0000 (00:58 +0000)]
Fix a typo

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

15 years agoAdd the 'n' option to SpeechBackground, which has the application not answer the
Russell Bryant [Wed, 30 Jan 2008 00:04:17 +0000 (00:04 +0000)]
Add the 'n' option to SpeechBackground, which has the application not answer the
channel if it has not already been answered.

(closes SPD-51)

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

15 years agoMerged revisions 101080 via svnmerge from
Dwayne M. Hubbard [Tue, 29 Jan 2008 23:59:41 +0000 (23:59 +0000)]
Merged revisions 101080 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101080 | dhubbard | 2008-01-29 17:50:42 -0600 (Tue, 29 Jan 2008) | 1 line

updated build_tools to handle the autotag directory structure changes; changes related to BE-353.  Patch by The Russell and reviewed by The Me.
........

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

15 years agoMerged revisions 101035 via svnmerge from
Mark Michelson [Tue, 29 Jan 2008 23:02:48 +0000 (23:02 +0000)]
Merged revisions 101035 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101035 | mmichelson | 2008-01-29 17:02:03 -0600 (Tue, 29 Jan 2008) | 3 lines

Remove a memory leak from updating realtime queues

........

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

15 years agoOops, a sizeof error
Tilghman Lesher [Tue, 29 Jan 2008 22:04:15 +0000 (22:04 +0000)]
Oops, a sizeof error

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

15 years agoMerged revisions 100973 via svnmerge from
Mark Michelson [Tue, 29 Jan 2008 19:41:42 +0000 (19:41 +0000)]
Merged revisions 100973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100973 | mmichelson | 2008-01-29 13:39:00 -0600 (Tue, 29 Jan 2008) | 6 lines

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/trunk@100974 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoBlocked revisions 100934 via svnmerge
Joshua Colp [Tue, 29 Jan 2008 17:58:37 +0000 (17:58 +0000)]
Blocked revisions 100934 via svnmerge

........
r100934 | file | 2008-01-29 13:57:05 -0400 (Tue, 29 Jan 2008) | 4 lines

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/trunk@100935 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 100932 via svnmerge from
Russell Bryant [Tue, 29 Jan 2008 17:44:05 +0000 (17:44 +0000)]
Merged revisions 100932 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100932 | russell | 2008-01-29 11:43:41 -0600 (Tue, 29 Jan 2008) | 4 lines

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/trunk@100933 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 100930 via svnmerge from
Jason Parker [Tue, 29 Jan 2008 17:42:48 +0000 (17:42 +0000)]
Merged revisions 100930 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100930 | qwell | 2008-01-29 11:41:43 -0600 (Tue, 29 Jan 2008) | 6 lines

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/trunk@100931 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 100922 via svnmerge from
Russell Bryant [Tue, 29 Jan 2008 17:22:47 +0000 (17:22 +0000)]
Merged revisions 100922 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100922 | russell | 2008-01-29 11:21:33 -0600 (Tue, 29 Jan 2008) | 3 lines

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/trunk@100928 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 100882 via svnmerge from
Russell Bryant [Tue, 29 Jan 2008 17:16:34 +0000 (17:16 +0000)]
Merged revisions 100882 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100882 | russell | 2008-01-29 11:06:43 -0600 (Tue, 29 Jan 2008) | 6 lines

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/trunk@100900 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 100835 via svnmerge from
Jason Parker [Tue, 29 Jan 2008 16:14:08 +0000 (16:14 +0000)]
Merged revisions 100835 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100835 | qwell | 2008-01-29 10:10:00 -0600 (Tue, 29 Jan 2008) | 5 lines

Allow zap groups above 30 to work properly.

(closes issue #11590)
Reported by: tbsky

........

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

15 years agoMake externip work as documented. If no port is specified it will use the value of...
Joshua Colp [Tue, 29 Jan 2008 15:30:19 +0000 (15:30 +0000)]
Make externip work as documented. If no port is specified it will use the value of bindport instead of always being 5060.
(closes issue #11858)
Reported by: hmodes

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

15 years agoMerged revisions 100793 via svnmerge from
Christian Richter [Tue, 29 Jan 2008 10:50:29 +0000 (10:50 +0000)]
Merged revisions 100793 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100793 | crichter | 2008-01-29 11:36:19 +0100 (Di, 29 Jan 2008) | 1 line

fixed potential segfault in misdn show channels CLI command
........

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

15 years agoMerged revisions 96199 via svnmerge from
Christian Richter [Tue, 29 Jan 2008 10:47:06 +0000 (10:47 +0000)]
Merged revisions 96199 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96199 | crichter | 2008-01-03 13:12:27 +0100 (Do, 03 Jan 2008) | 1 line

make sure frame is completely clean, before we send it to asterisk as DTMF. If we don't make it clean, it happens that one way audio occurs..
........

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

15 years agoMerged revisions 100740 via svnmerge from
Olle Johansson [Tue, 29 Jan 2008 09:18:42 +0000 (09:18 +0000)]
Merged revisions 100740 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100740 | oej | 2008-01-29 09:26:48 +0100 (Tis, 29 Jan 2008) | 8 lines

(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/trunk@100767 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoRemoving code that wasn't supposed to be there at all, only at an experimental stage
Olle Johansson [Tue, 29 Jan 2008 08:28:43 +0000 (08:28 +0000)]
Removing code that wasn't supposed to be there at all, only at an experimental stage
before I found another solution. Thanks Kevin, for reminding me.

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

15 years agoReintroduce more chan_vpb stuff that was removed in r100421 and r100422
Jason Parker [Mon, 28 Jan 2008 21:11:24 +0000 (21:11 +0000)]
Reintroduce more chan_vpb stuff that was removed in r100421 and r100422

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

15 years agoRe-inserting chan_vpb into trunk.
Mark Michelson [Mon, 28 Jan 2008 21:07:18 +0000 (21:07 +0000)]
Re-inserting chan_vpb into trunk.

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

15 years agoMerged revisions 100675 via svnmerge from
Tilghman Lesher [Mon, 28 Jan 2008 21:05:29 +0000 (21:05 +0000)]
Merged revisions 100675 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100675 | tilghman | 2008-01-28 15:02:02 -0600 (Mon, 28 Jan 2008) | 2 lines

WaitExten didn't handle AbsoluteTimeout properly (went to 't' instead of 'T')

........

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

15 years agoMerged revisions 100672 via svnmerge from
Jason Parker [Mon, 28 Jan 2008 21:02:11 +0000 (21:02 +0000)]
Merged revisions 100672 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11795)
........
r100672 | qwell | 2008-01-28 14:42:43 -0600 (Mon, 28 Jan 2008) | 7 lines

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/trunk@100676 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoBlocked revisions 100673 via svnmerge
Mark Michelson [Mon, 28 Jan 2008 20:58:12 +0000 (20:58 +0000)]
Blocked revisions 100673 via svnmerge

........
r100673 | mmichelson | 2008-01-28 14:55:56 -0600 (Mon, 28 Jan 2008) | 3 lines

Undoing the deprecation of chan_vpb. It is alive and well.

........

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

15 years agoFix up some T38 state change issues.
Joshua Colp [Mon, 28 Jan 2008 20:40:08 +0000 (20:40 +0000)]
Fix up some T38 state change issues.
(closes issue #11630)
Reported by: dimas
Patches:
      v2-sip-t38state.patch uploaded by dimas (license 88)

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

15 years agoFix up two scheduling issues. In one instance a scheduled item was not deleted when...
Joshua Colp [Mon, 28 Jan 2008 19:04:53 +0000 (19:04 +0000)]
Fix up two scheduling issues. In one instance a scheduled item was not deleted when it should have been and in the other it was scheduled again when it shouldn't have been.

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

15 years agoMerge rev 100626 from Asterisk 1.4. The svnmerge of this commit was a NoOp, since
Russell Bryant [Mon, 28 Jan 2008 18:41:23 +0000 (18:41 +0000)]
Merge rev 100626 from Asterisk 1.4.  The svnmerge of this commit was a NoOp, since
res_features doesn't exist in trunk.  Thanks to qwell for pointing it out!

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

15 years agoMerged revisions 100629 via svnmerge from
Russell Bryant [Mon, 28 Jan 2008 18:38:56 +0000 (18:38 +0000)]
Merged revisions 100629 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100629 | russell | 2008-01-28 12:34:20 -0600 (Mon, 28 Jan 2008) | 5 lines

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/trunk@100630 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoNormalize the detection for execinfo, so that Linux (glibc) and other platforms
Tilghman Lesher [Mon, 28 Jan 2008 18:27:29 +0000 (18:27 +0000)]
Normalize the detection for execinfo, so that Linux (glibc) and other platforms
with libexecinfo will generate inline stack backtraces correctly.

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

15 years agoMerged revisions 100626 via svnmerge from
Russell Bryant [Mon, 28 Jan 2008 18:27:08 +0000 (18:27 +0000)]
Merged revisions 100626 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100626 | russell | 2008-01-28 12:26:31 -0600 (Mon, 28 Jan 2008) | 7 lines

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/trunk@100627 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 100624 via svnmerge from
Jason Parker [Mon, 28 Jan 2008 18:24:40 +0000 (18:24 +0000)]
Merged revisions 100624 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100624 | qwell | 2008-01-28 12:23:09 -0600 (Mon, 28 Jan 2008) | 1 line

Correct a comment which made little/no sense.
........

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

15 years agoMerged revisions 100581 via svnmerge from
Russell Bryant [Mon, 28 Jan 2008 17:21:24 +0000 (17:21 +0000)]
Merged revisions 100581 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100581 | russell | 2008-01-28 11:15:41 -0600 (Mon, 28 Jan 2008) | 9 lines

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/trunk@100582 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoClean up some formatting, and simplify a bit of code using ast_str
Russell Bryant [Mon, 28 Jan 2008 14:27:28 +0000 (14:27 +0000)]
Clean up some formatting, and simplify a bit of code using ast_str

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

15 years agoDon't do a network byte order conversion when setting the socket's port variable...
Joshua Colp [Mon, 28 Jan 2008 13:57:38 +0000 (13:57 +0000)]
Don't do a network byte order conversion when setting the socket's port variable to that of bindaddr's. It is already in the correct network byte order.
(closes issue #11800)
Reported by: hmodes

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

15 years agoMake a couple more uses of ARRAY_LEN, and convert some spaces to tabs
Russell Bryant [Mon, 28 Jan 2008 04:43:14 +0000 (04:43 +0000)]
Make a couple more uses of ARRAY_LEN, and convert some spaces to tabs

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

15 years ago - Simplify a line with ARRAY_LEN()
Russell Bryant [Mon, 28 Jan 2008 04:30:44 +0000 (04:30 +0000)]
 - Simplify a line with ARRAY_LEN()
 - Make a few little formatting changes

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

15 years agoThese readlocks always fail for me on my mac, and I saw it happen again
Russell Bryant [Mon, 28 Jan 2008 00:56:14 +0000 (00:56 +0000)]
These readlocks always fail for me on my mac, and I saw it happen again
today on another mac.  We ignore the return value of locking operations almost
everywhere in Asterisk.  So, ignore these, as well, so Asterisk will actually
work on systems where this is occurring while I look into what the issue is.

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

15 years agoWith the switch to the ast_sched_replace* API in trunk, we lose the correction
Tilghman Lesher [Sun, 27 Jan 2008 23:14:48 +0000 (23:14 +0000)]
With the switch to the ast_sched_replace* API in trunk, we lose the correction
that was just merged from 1.4, so this is a changeover to those APIs to use the
macro versions, so that we properly detect errors from ast_sched_del, instead
of simply ignoring the return values.

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

15 years agoMerged revisions 100465 via svnmerge from
Tilghman Lesher [Sun, 27 Jan 2008 22:35:29 +0000 (22:35 +0000)]
Merged revisions 100465 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100465 | tilghman | 2008-01-27 15:59:53 -0600 (Sun, 27 Jan 2008) | 11 lines

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/trunk@100488 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoGet rid of that last little bit.
Jason Parker [Fri, 25 Jan 2008 22:54:01 +0000 (22:54 +0000)]
Get rid of that last little bit.

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

15 years agoRemove more remnants of chan_vpb
Jason Parker [Fri, 25 Jan 2008 22:47:52 +0000 (22:47 +0000)]
Remove more remnants of chan_vpb

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