Olle Johansson
2151e444e5
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
2008-01-29 09:18:42 +00:00
Olle Johansson
5059be57bf
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
2008-01-29 08:28:43 +00:00
Jason Parker
7928888ecd
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
2008-01-28 21:11:24 +00:00
Mark Michelson
f007eba6d9
Re-inserting chan_vpb into trunk.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-28 21:07:18 +00:00
Tilghman Lesher
2f44f53ea4
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
2008-01-28 21:05:29 +00:00
Jason Parker
4688907e17
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
2008-01-28 21:02:11 +00:00
Mark Michelson
eca67fe04f
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
2008-01-28 20:58:12 +00:00
Joshua Colp
a1eeabcd41
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
2008-01-28 20:40:08 +00:00
Joshua Colp
212db7a0d7
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
2008-01-28 19:04:53 +00:00
Russell Bryant
bcf72e1adb
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
2008-01-28 18:41:23 +00:00
Russell Bryant
b437d33fe5
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
2008-01-28 18:38:56 +00:00
Tilghman Lesher
8fd1e10d3d
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
2008-01-28 18:27:29 +00:00
Russell Bryant
e9de8df2fd
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
2008-01-28 18:27:08 +00:00
Jason Parker
bf800d7e25
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
2008-01-28 18:24:40 +00:00
Russell Bryant
1c74c549d7
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
2008-01-28 17:21:24 +00:00
Russell Bryant
f877028d76
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
2008-01-28 14:27:28 +00:00
Joshua Colp
9cbe2622b6
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
2008-01-28 13:57:38 +00:00
Russell Bryant
87800e1913
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
2008-01-28 04:43:14 +00:00
Russell Bryant
e8f7cbf358
- 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
2008-01-28 04:30:44 +00:00
Russell Bryant
79be2b8b0e
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
2008-01-28 00:56:14 +00:00
Tilghman Lesher
69ade72e3c
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
2008-01-27 23:14:48 +00:00
Tilghman Lesher
ac699196f5
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
2008-01-27 22:35:29 +00:00
Jason Parker
aa9c40236c
Get rid of that last little bit.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-25 22:54:01 +00:00
Jason Parker
838310187b
Remove more remnants of chan_vpb
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-25 22:47:52 +00:00
Mark Michelson
7a90863973
Removing chan_vpb from the tree
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-25 22:39:35 +00:00
Mark Michelson
4e045c9602
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
2008-01-25 22:38:24 +00:00
Jason Parker
34bdd7bf7a
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
2008-01-25 21:26:27 +00:00
Kevin P. Fleming
e6d54b68fa
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
2008-01-25 20:51:47 +00:00
Mark Michelson
81fb790419
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
2008-01-25 14:53:09 +00:00
Joshua Colp
0b898073d1
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
2008-01-25 02:52:10 +00:00
Tilghman Lesher
3d77693090
Use the set ASTDBDIR as the default, too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24 22:58:10 +00:00
Kevin P. Fleming
4668cb2d54
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
2008-01-24 22:36:19 +00:00
Kevin P. Fleming
8b7dc8e93e
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
2008-01-24 22:26:04 +00:00
James Golovich
1fd8f0fe8c
Fix simple whitespace issue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24 22:02:16 +00:00
Kevin P. Fleming
25067d32aa
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
2008-01-24 22:01:55 +00:00
Joshua Colp
65e684653d
Minor cosmetic change...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24 20:32:05 +00:00
James Golovich
8bcc2a55ae
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
2008-01-24 18:35:04 +00:00
Joshua Colp
3bf7daa0c0
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
2008-01-24 17:47:50 +00:00
Russell Bryant
ccdd466fab
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
2008-01-24 17:24:08 +00:00
Jason Parker
e88241c45b
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
2008-01-24 16:47:10 +00:00
Jason Parker
32989872dd
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
2008-01-24 16:14:07 +00:00
Joshua Colp
f44ef30a3e
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
2008-01-24 15:54:32 +00:00
Joshua Colp
1d47c036dd
Some more cosmetic changes.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24 03:34:57 +00:00
Joshua Colp
15515ec671
Add some spacing.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24 03:30:56 +00:00
Joshua Colp
9eff881130
Test hopefully over.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24 03:25:52 +00:00
Joshua Colp
828124b0b0
Testing something...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-24 03:07:34 +00:00
Kevin P. Fleming
de9e315146
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
2008-01-24 00:04:35 +00:00
Jason Parker
3bd33214b9
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
2008-01-23 23:09:11 +00:00
Russell Bryant
ef690e01eb
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
2008-01-23 22:00:35 +00:00
Olle Johansson
5fb7250511
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
2008-01-23 21:11:55 +00:00