asterisk/asterisk.git
12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 years agoRemoving chan_vpb from the tree
Mark Michelson [Fri, 25 Jan 2008 22:39:35 +0000 (22:39 +0000)]
Removing chan_vpb from the tree

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

12 years agoBlocked revisions 100418 via svnmerge
Mark Michelson [Fri, 25 Jan 2008 22:38:24 +0000 (22:38 +0000)]
Blocked revisions 100418 via svnmerge

........
r100418 | mmichelson | 2008-01-25 16:32:41 -0600 (Fri, 25 Jan 2008) | 4 lines

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

12 years agoMerged revisions 100378 via svnmerge from
Jason Parker [Fri, 25 Jan 2008 21:26:27 +0000 (21:26 +0000)]
Merged revisions 100378 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100378 | qwell | 2008-01-25 15:24:49 -0600 (Fri, 25 Jan 2008) | 2 lines

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

12 years agocorrect a real problem and silence an annoying compiler warning
Kevin P. Fleming [Fri, 25 Jan 2008 20:51:47 +0000 (20:51 +0000)]
correct a real problem and silence an annoying compiler warning

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

12 years agoInsure that we are not going to pass a NULL pointer to add_to_interfaces.
Mark Michelson [Fri, 25 Jan 2008 14:53:09 +0000 (14:53 +0000)]
Insure that we are not going to pass a NULL pointer to add_to_interfaces.

(closes issue #11840)
Reported by: junky

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

12 years agoAdd an API call that steals the answered channel so that a destruction of the dialing...
Joshua Colp [Fri, 25 Jan 2008 02:52:10 +0000 (02:52 +0000)]
Add an API call that steals the answered channel so that a destruction of the dialing structure does not hang it up.

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

12 years agoUse the set ASTDBDIR as the default, too
Tilghman Lesher [Thu, 24 Jan 2008 22:58:10 +0000 (22:58 +0000)]
Use the set ASTDBDIR as the default, too

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

12 years agoummm... might be good if this macro argument was actually used :-)
Kevin P. Fleming [Thu, 24 Jan 2008 22:36:19 +0000 (22:36 +0000)]
ummm... might be good if this macro argument was actually used :-)

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

12 years agoadd the ability to define a structure type for argument parsing when it would be...
Kevin P. Fleming [Thu, 24 Jan 2008 22:26:04 +0000 (22:26 +0000)]
add the ability to define a structure type for argument parsing when it would be useful to be able to pass it between functions

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

12 years agoFix simple whitespace issue
James Golovich [Thu, 24 Jan 2008 22:02:16 +0000 (22:02 +0000)]
Fix simple whitespace issue

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

12 years agoMerged revisions 100264 via svnmerge from
Kevin P. Fleming [Thu, 24 Jan 2008 22:01:55 +0000 (22:01 +0000)]
Merged revisions 100264 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100264 | kpfleming | 2008-01-24 15:57:41 -0600 (Thu, 24 Jan 2008) | 2 lines

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

12 years agoMinor cosmetic change...
Joshua Colp [Thu, 24 Jan 2008 20:32:05 +0000 (20:32 +0000)]
Minor cosmetic change...

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

12 years agoIncrease the size of filenames stored when astmm is used. If the path
James Golovich [Thu, 24 Jan 2008 18:35:04 +0000 (18:35 +0000)]
Increase the size of filenames stored when astmm is used.  If the path
length was long they would be truncated and grouped together with
whatever matches

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

12 years agoMerge in strictrtp branch. This adds a strictrtp option to rtp.conf which drops packe...
Joshua Colp [Thu, 24 Jan 2008 17:47:50 +0000 (17:47 +0000)]
Merge in strictrtp branch. This adds a strictrtp option to rtp.conf which drops packets that do not come from the remote party.
(closes issue #8952)
Reported by: amorsen

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

12 years agoMerged revisions 100164 via svnmerge from
Russell Bryant [Thu, 24 Jan 2008 17:24:08 +0000 (17:24 +0000)]
Merged revisions 100164 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100164 | russell | 2008-01-24 11:22:09 -0600 (Thu, 24 Jan 2008) | 2 lines

Update main Asterisk copyright info to 2008

........

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

12 years agoMerged revisions 100138 via svnmerge from
Jason Parker [Thu, 24 Jan 2008 16:47:10 +0000 (16:47 +0000)]
Merged revisions 100138 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100138 | qwell | 2008-01-24 10:41:29 -0600 (Thu, 24 Jan 2008) | 6 lines

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

12 years agoMove chan_local dependency into places (only one) that previously depended on res_fea...
Jason Parker [Thu, 24 Jan 2008 16:14:07 +0000 (16:14 +0000)]
Move chan_local dependency into places (only one) that previously depended on res_features, and used local channels

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

12 years agoRemove dependency on res_features from some channel drivers. It is now part of the...
Joshua Colp [Thu, 24 Jan 2008 15:54:32 +0000 (15:54 +0000)]
Remove dependency on res_features from some channel drivers. It is now part of the core and no longer exists as a module.

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

12 years agoSome more cosmetic changes.
Joshua Colp [Thu, 24 Jan 2008 03:34:57 +0000 (03:34 +0000)]
Some more cosmetic changes.

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

12 years agoAdd some spacing.
Joshua Colp [Thu, 24 Jan 2008 03:30:56 +0000 (03:30 +0000)]
Add some spacing.

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

12 years agoTest hopefully over.
Joshua Colp [Thu, 24 Jan 2008 03:25:52 +0000 (03:25 +0000)]
Test hopefully over.

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

12 years agoTesting something...
Joshua Colp [Thu, 24 Jan 2008 03:07:34 +0000 (03:07 +0000)]
Testing something...

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

12 years agofix flag bit definitions to make code from issue #11049 actually work; along the...
Kevin P. Fleming [Thu, 24 Jan 2008 00:04:35 +0000 (00:04 +0000)]
fix flag bit definitions to make code from issue #11049 actually work; along the way, clarify comments and add some dummy flag definitions for other multi-bit flags to hopefully stop this from happening in the future

(closes issue #11049)

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

12 years agoMove code from res_features into (new file) main/features.c
Jason Parker [Wed, 23 Jan 2008 23:09:11 +0000 (23:09 +0000)]
Move code from res_features into (new file) main/features.c

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

12 years agoAdd Sergey Tamkovich to CREDITS. Thank you for your contributions!
Russell Bryant [Wed, 23 Jan 2008 22:00:35 +0000 (22:00 +0000)]
Add Sergey Tamkovich to CREDITS.  Thank you for your contributions!

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

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

........
r99978 | oej | 2008-01-23 22:07:16 +0100 (Ons, 23 Jan 2008) | 7 lines

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

12 years agoMerged revisions 99977 via svnmerge from
Olle Johansson [Wed, 23 Jan 2008 21:09:56 +0000 (21:09 +0000)]
Merged revisions 99977 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99977 | oej | 2008-01-23 21:58:20 +0100 (Ons, 23 Jan 2008) | 9 lines

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

12 years agoMerged revisions 99975 via svnmerge from
Mark Michelson [Wed, 23 Jan 2008 20:26:19 +0000 (20:26 +0000)]
Merged revisions 99975 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99975 | mmichelson | 2008-01-23 14:25:00 -0600 (Wed, 23 Jan 2008) | 3 lines

Fixing a typo.

........

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

12 years agoMerged revisions 99923 via svnmerge from
Russell Bryant [Wed, 23 Jan 2008 17:48:08 +0000 (17:48 +0000)]
Merged revisions 99923 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99923 | russell | 2008-01-23 11:46:55 -0600 (Wed, 23 Jan 2008) | 8 lines

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

12 years agoFix tcptls build when openssl isn't installed
Russell Bryant [Wed, 23 Jan 2008 17:35:54 +0000 (17:35 +0000)]
Fix tcptls build when openssl isn't installed

(closes issue #11813)
Reported by: tzafrir
Patches:
      asterisk-tcptls.diff.txt uploaded by jamesgolovich (license 176)

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

12 years agosince echo canceler parameters in Zaptel are now signed integers, allow them during...
Kevin P. Fleming [Wed, 23 Jan 2008 17:27:05 +0000 (17:27 +0000)]
since echo canceler parameters in Zaptel are now signed integers, allow them during parsing

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

12 years agoBlocked revisions 99878 via svnmerge
Mark Michelson [Wed, 23 Jan 2008 16:21:13 +0000 (16:21 +0000)]
Blocked revisions 99878 via svnmerge

........
r99878 | mmichelson | 2008-01-23 10:18:04 -0600 (Wed, 23 Jan 2008) | 4 lines

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

12 years agoProgress messages don't work
Tilghman Lesher [Wed, 23 Jan 2008 15:23:51 +0000 (15:23 +0000)]
Progress messages don't work
(closes issue #10497)
 Reported by: pj
 Patches:
       h323-announces-r99483.diff uploaded by sergee (license 138)
 Tested by: pj

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

12 years ago- Add a few comments to sip_xmit
Olle Johansson [Wed, 23 Jan 2008 10:18:13 +0000 (10:18 +0000)]
- Add a few comments to sip_xmit
- Make sure that we are aware of a pending INVITE even if we're using TCP

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

12 years agoCoding guidelines fixups
Tilghman Lesher [Wed, 23 Jan 2008 05:29:28 +0000 (05:29 +0000)]
Coding guidelines fixups

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

12 years agoMerged revisions 99777 via svnmerge from
Tilghman Lesher [Wed, 23 Jan 2008 04:35:04 +0000 (04:35 +0000)]
Merged revisions 99777 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99777 | tilghman | 2008-01-22 22:31:51 -0600 (Tue, 22 Jan 2008) | 8 lines

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

12 years agoMerged revisions 99775 via svnmerge from
Tilghman Lesher [Wed, 23 Jan 2008 04:25:33 +0000 (04:25 +0000)]
Merged revisions 99775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99775 | tilghman | 2008-01-22 22:20:15 -0600 (Tue, 22 Jan 2008) | 2 lines

Oops, should have checked for a NULL obj, here, too

........

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

12 years agoCoding guidelines cleanup
Tilghman Lesher [Wed, 23 Jan 2008 03:57:31 +0000 (03:57 +0000)]
Coding guidelines cleanup

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

12 years agoMerged revisions 99718 via svnmerge from
Tilghman Lesher [Wed, 23 Jan 2008 01:06:27 +0000 (01:06 +0000)]
Merged revisions 99718 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99718 | tilghman | 2008-01-22 18:56:06 -0600 (Tue, 22 Jan 2008) | 2 lines

Just confirmed that all current platforms need this header file

........

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

12 years agoOops
Tilghman Lesher [Wed, 23 Jan 2008 00:10:45 +0000 (00:10 +0000)]
Oops

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

12 years agoAdd res_config_ldap for realtime LDAP engine.
Tilghman Lesher [Tue, 22 Jan 2008 22:33:20 +0000 (22:33 +0000)]
Add res_config_ldap for realtime LDAP engine.
(closes issue #5768)
 Reported by: mguesdon
 Patches:
       res_config_ldap-v0.7.tar.gz uploaded by mguesdon (license 121)
       res_ldap.conf.sample uploaded by suretec (license 70)
       asterisk-v3.1.4.ldif uploaded by suretec (license 70)
       asterisk-v3.1.4.schema uploaded by suretec (license 70)
 Tested by: oej, mguesdon, suretec, cthorner

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

12 years agoMerged revisions 99652 via svnmerge from
Olle Johansson [Tue, 22 Jan 2008 21:09:37 +0000 (21:09 +0000)]
Merged revisions 99652 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99652 | oej | 2008-01-22 21:56:09 +0100 (Tis, 22 Jan 2008) | 4 lines

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 too heavy memory allocations on some systems.

........

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

12 years agoDocumentation updates for BRIDGEPVTCALLID
Olle Johansson [Tue, 22 Jan 2008 20:44:56 +0000 (20:44 +0000)]
Documentation updates for BRIDGEPVTCALLID

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

12 years agoMerged revisions 99643 via svnmerge from
Tilghman Lesher [Tue, 22 Jan 2008 20:42:47 +0000 (20:42 +0000)]
Merged revisions 99643 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99643 | tilghman | 2008-01-22 14:34:55 -0600 (Tue, 22 Jan 2008) | 2 lines

Fix the defines for OS X (and Solaris, too)

........

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

12 years agoMake sure the command is not just present but is also configured to be executed
Russell Bryant [Tue, 22 Jan 2008 20:41:05 +0000 (20:41 +0000)]
Make sure the command is not just present but is also configured to be executed

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

12 years agoAdd a generic function to set the bridged call PVT unique id string
Olle Johansson [Tue, 22 Jan 2008 20:35:10 +0000 (20:35 +0000)]
Add a generic function to set the bridged call PVT unique id string
as a channel variable BRIDGEPVTCALLID

This is important for call tracing in log files and CDRs, so that
the SIP callID can be traced along servers.

The CHANNEL dialplan function won't work here, since the outbound
channel is gone when we need the Call-ID.

Other channel drivers may now implement the same function :-),
but this patch only supports chan_sip.so.

Inspired by (issue #11816)
Reported by: ctooley

Patch by oej

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

12 years agoChange the Asterisk CLI startup commands feature to read commands to run from cli...
Russell Bryant [Tue, 22 Jan 2008 20:33:16 +0000 (20:33 +0000)]
Change the Asterisk CLI startup commands feature to read commands to run from cli.conf
after a discussion on the -dev list.

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

12 years agoMerged revisions 99594 via svnmerge from
Olle Johansson [Tue, 22 Jan 2008 17:46:43 +0000 (17:46 +0000)]
Merged revisions 99594 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99594 | oej | 2008-01-22 18:41:57 +0100 (Tis, 22 Jan 2008) | 3 lines

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

12 years agoMerged revisions 99592 via svnmerge from
Olle Johansson [Tue, 22 Jan 2008 17:42:27 +0000 (17:42 +0000)]
Merged revisions 99592 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99592 | oej | 2008-01-22 18:31:17 +0100 (Tis, 22 Jan 2008) | 5 lines

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

12 years agoMerged revisions 99540 via svnmerge from
Tilghman Lesher [Tue, 22 Jan 2008 17:15:08 +0000 (17:15 +0000)]
Merged revisions 99540 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99540 | tilghman | 2008-01-22 10:54:06 -0600 (Tue, 22 Jan 2008) | 7 lines

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

12 years agoPoint out a bug in some debug counter handling
Russell Bryant [Tue, 22 Jan 2008 16:55:55 +0000 (16:55 +0000)]
Point out a bug in some debug counter handling

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

12 years agoAdd authentication options to the SIP dialstring.
Olle Johansson [Tue, 22 Jan 2008 15:25:43 +0000 (15:25 +0000)]
Add authentication options to the SIP dialstring.
Documentation follows separately

(issue #11587)
Reported by: sobomax
Patches:
      chan_sip.c-trunk.diff uploaded by sobomax (license 359)

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

12 years agoDocumentation updates
Olle Johansson [Tue, 22 Jan 2008 09:57:16 +0000 (09:57 +0000)]
Documentation updates

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

12 years agoSmall fixes
Olle Johansson [Tue, 22 Jan 2008 09:46:28 +0000 (09:46 +0000)]
Small fixes

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

12 years agoDoxygen updates
Olle Johansson [Tue, 22 Jan 2008 08:58:46 +0000 (08:58 +0000)]
Doxygen updates

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

12 years agoMerged revisions 99426 via svnmerge from
Mark Michelson [Mon, 21 Jan 2008 23:56:40 +0000 (23:56 +0000)]
Merged revisions 99426 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99426 | mmichelson | 2008-01-21 17:55:26 -0600 (Mon, 21 Jan 2008) | 12 lines

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

12 years agoFix distinctive ring detection.
Jason Parker [Mon, 21 Jan 2008 23:25:42 +0000 (23:25 +0000)]
Fix distinctive ring detection.

Reported by: milazzo
Patches:
      drings.diff uploaded by milazzo (license 383)

Closes issue #11799

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

12 years agoAdding the QUEUENAME variable to the variables set using the setqueuevar option
Mark Michelson [Mon, 21 Jan 2008 22:32:13 +0000 (22:32 +0000)]
Adding the QUEUENAME variable to the variables set using the setqueuevar option
in queues.conf.

Suggestion comes from Shaun2222 on IRC.

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

12 years agoRemove compiler warning for uninitialized variable
Olle Johansson [Mon, 21 Jan 2008 21:11:58 +0000 (21:11 +0000)]
Remove compiler warning for uninitialized variable

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

12 years agoDoxygen updates.
Olle Johansson [Mon, 21 Jan 2008 21:10:07 +0000 (21:10 +0000)]
Doxygen updates.

The TCP/TLS code was committed without any doxygen obviously. Tss tss.

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

12 years agoUpdating doxygen
Olle Johansson [Mon, 21 Jan 2008 20:41:15 +0000 (20:41 +0000)]
Updating doxygen

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

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

........
r99341 | tilghman | 2008-01-21 12:11:07 -0600 (Mon, 21 Jan 2008) | 8 lines

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

12 years agoMerged revisions 99301 via svnmerge from
Joshua Colp [Mon, 21 Jan 2008 16:02:06 +0000 (16:02 +0000)]
Merged revisions 99301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99301 | file | 2008-01-21 12:01:00 -0400 (Mon, 21 Jan 2008) | 4 lines

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

12 years agoUpdate
Olle Johansson [Mon, 21 Jan 2008 07:02:08 +0000 (07:02 +0000)]
Update

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

12 years agoChange over to using ast_debug so these debug messages don't always show up.
Joshua Colp [Mon, 21 Jan 2008 03:54:47 +0000 (03:54 +0000)]
Change over to using ast_debug so these debug messages don't always show up.

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

12 years agoAdd a "console active" CLI command, which lets you find out which console device
Russell Bryant [Sun, 20 Jan 2008 07:28:23 +0000 (07:28 +0000)]
Add a "console active" CLI command, which lets you find out which console device
is currently active for the Asterisk CLI, or to set it.  Also, knock multiple device
support off of the to-do list.

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

12 years agocorrect the name of a CLI command for getting available device names
Russell Bryant [Sun, 20 Jan 2008 06:13:22 +0000 (06:13 +0000)]
correct the name of a CLI command for getting available device names

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

12 years agoMerge changes from team/russell/console_devices
Russell Bryant [Sun, 20 Jan 2008 06:11:49 +0000 (06:11 +0000)]
Merge changes from team/russell/console_devices

 - Add support for multiple devices.  All devices are configured in console.conf.
 - Add "console list devices" CLI command to show configured devices.  Also, changed
 the old "list devices" to be "list available", which queries PortAudio for all
 audio devices that are available for use.

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

12 years agoMerged revisions 99187 via svnmerge from
Russell Bryant [Sat, 19 Jan 2008 10:06:02 +0000 (10:06 +0000)]
Merged revisions 99187 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99187 | russell | 2008-01-19 04:05:27 -0600 (Sat, 19 Jan 2008) | 4 lines

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

12 years agoAdd Cygwin as an "other" platform that is supported
Russell Bryant [Sat, 19 Jan 2008 05:28:33 +0000 (05:28 +0000)]
Add Cygwin as an "other" platform that is supported

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

12 years agoVarious README updates
Russell Bryant [Sat, 19 Jan 2008 05:26:46 +0000 (05:26 +0000)]
Various README updates

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

12 years agoBlocked revisions 99127 via svnmerge
Joshua Colp [Fri, 18 Jan 2008 22:58:50 +0000 (22:58 +0000)]
Blocked revisions 99127 via svnmerge

........
r99127 | file | 2008-01-18 18:57:15 -0400 (Fri, 18 Jan 2008) | 2 lines

Remove the __ in front of the unused variable. This causes some compilers to freak out.

........

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

12 years agoMerge changes from team/group/sip-tcptls
Russell Bryant [Fri, 18 Jan 2008 22:04:33 +0000 (22:04 +0000)]
Merge changes from team/group/sip-tcptls

This set of changes introduces TCP and TLS support for chan_sip.  There are various
new options in configs/sip.conf.sample that are used to enable these features.  Also,
there is a document, doc/siptls.txt that describes some things in more detail.

This code was implemented by Brett Bryant and James Golovich.  It was reviewed
by Joshua Colp and myself.  A number of other people participated in the testing
of this code, but since it was done outside of the bug tracker, I do not have their
names.  If you were one of them, thanks a lot for the help!

(closes issue #4903, but with completely different code that what exists there.)

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

12 years agoMerged revisions 99081 via svnmerge from
Russell Bryant [Fri, 18 Jan 2008 21:38:01 +0000 (21:38 +0000)]
Merged revisions 99081 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99081 | russell | 2008-01-18 15:37:21 -0600 (Fri, 18 Jan 2008) | 9 lines

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

12 years agoMerged revisions 99079 via svnmerge from
Russell Bryant [Fri, 18 Jan 2008 21:24:05 +0000 (21:24 +0000)]
Merged revisions 99079 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99079 | russell | 2008-01-18 15:22:21 -0600 (Fri, 18 Jan 2008) | 4 lines

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