summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-01-28Reintroduce more chan_vpb stuff that was removed in r100421 and r100422Jason Parker
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-28Re-inserting chan_vpb into trunk.Mark Michelson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-28Merged revisions 100675 via svnmerge from Tilghman Lesher
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
2008-01-28Merged revisions 100672 via svnmerge from Jason Parker
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
2008-01-28Blocked revisions 100673 via svnmergeMark Michelson
........ 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
2008-01-28Fix up some T38 state change issues.Joshua Colp
(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
2008-01-28Fix up two scheduling issues. In one instance a scheduled item was not ↵Joshua Colp
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
2008-01-28Merge rev 100626 from Asterisk 1.4. The svnmerge of this commit was a NoOp, ↵Russell Bryant
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
2008-01-28Merged revisions 100629 via svnmerge from Russell Bryant
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
2008-01-28Normalize the detection for execinfo, so that Linux (glibc) and other platformsTilghman Lesher
with libexecinfo will generate inline stack backtraces correctly. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-28Merged revisions 100626 via svnmerge from Russell Bryant
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
2008-01-28Merged revisions 100624 via svnmerge from Jason Parker
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
2008-01-28Merged revisions 100581 via svnmerge from Russell Bryant
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
2008-01-28Clean up some formatting, and simplify a bit of code using ast_strRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-28Don't do a network byte order conversion when setting the socket's port ↵Joshua Colp
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
2008-01-28Make a couple more uses of ARRAY_LEN, and convert some spaces to tabsRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-28 - Simplify a line with ARRAY_LEN()Russell Bryant
- Make a few little formatting changes git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-28These readlocks always fail for me on my mac, and I saw it happen againRussell Bryant
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
2008-01-27With the switch to the ast_sched_replace* API in trunk, we lose the correctionTilghman Lesher
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
2008-01-27Merged revisions 100465 via svnmerge from Tilghman Lesher
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
2008-01-25Get rid of that last little bit.Jason Parker
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-25Remove more remnants of chan_vpbJason Parker
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-25Removing chan_vpb from the treeMark Michelson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-25Blocked revisions 100418 via svnmergeMark Michelson
........ 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
2008-01-25Merged revisions 100378 via svnmerge from Jason Parker
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
2008-01-25correct a real problem and silence an annoying compiler warningKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-25Insure that we are not going to pass a NULL pointer to add_to_interfaces.Mark Michelson
(closes issue #11840) Reported by: junky git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-25Add an API call that steals the answered channel so that a destruction of ↵Joshua Colp
the dialing structure does not hang it up. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24Use the set ASTDBDIR as the default, tooTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24ummm... might be good if this macro argument was actually used :-)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24add the ability to define a structure type for argument parsing when it ↵Kevin P. Fleming
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
2008-01-24Fix simple whitespace issueJames Golovich
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24Merged revisions 100264 via svnmerge from Kevin P. Fleming
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
2008-01-24Minor cosmetic change...Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24Increase the size of filenames stored when astmm is used. If the path James Golovich
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
2008-01-24Merge in strictrtp branch. This adds a strictrtp option to rtp.conf which ↵Joshua Colp
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
2008-01-24Merged revisions 100164 via svnmerge from Russell Bryant
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
2008-01-24Merged revisions 100138 via svnmerge from Jason Parker
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
2008-01-24Move chan_local dependency into places (only one) that previously depended ↵Jason Parker
on res_features, and used local channels git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24Remove dependency on res_features from some channel drivers. It is now part ↵Joshua Colp
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
2008-01-24Some more cosmetic changes.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24Add some spacing.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24Test hopefully over.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24Testing something...Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24fix flag bit definitions to make code from issue #11049 actually work; along ↵Kevin P. Fleming
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
2008-01-23Move code from res_features into (new file) main/features.cJason Parker
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-23Add Sergey Tamkovich to CREDITS. Thank you for your contributions!Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-23Merged revisions 99978 via svnmerge from Olle Johansson
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
2008-01-23Merged revisions 99977 via svnmerge from Olle Johansson
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
2008-01-23Merged revisions 99975 via svnmerge from Mark Michelson
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