Russell Bryant
1df50be628
Merged revisions 38288 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38288 | russell | 2006-07-26 21:58:41 -0400 (Wed, 26 Jul 2006) | 3 lines
fix a crash when MALLOC_DEBUG is enabled and the regexten is enabled. The crash
would occur when the extension got removed. (fixes issue #7484 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38291 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6d52c0b559
Merged revisions 38234 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r38234 | file | 2006-07-26 11:26:06 -0400 (Wed, 26 Jul 2006) | 2 lines
Put default callerid into contact when the one specified is either NULL or has a zero string length. (issue #7590 reported by key2)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
cbf79ca489
Start out with cleared RTP payload structures instead of defaults. This should prevent issues where if a stream (audio/stream) is not present and it's RTP payload structure is combined with the overall capability then the capability would be every codec that Asterisk supports.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
2c3bc8b1b3
move middle-of-the-block declaration at the top.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38149 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6810884f60
Only deal with getting the supported payloads on audio if an audio RTP stream exists
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38139 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
d897bd41c2
use ast_atomic_fetchadd_int in chan_zap, sip, and iax2 for usecount handling
...
and fix a couple little things in passing
- usecnt was not initialized in chan_iax2
- ast_update_use_count() was not called after incrementing the count in chan_sip
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
BJ Weschke
f2611e36c3
This corrects the crash condition present in #7575 , but I'm not really sure if it's the "right" fix. Please review and make any adjustments you see necessary.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
ca9ba719b6
Merge a new implementation of ast_inet_ntoa, our thread safe replacement for
...
inet_ntoa, which uses thread specific data (aka thread local storage) instead
of stack allocatted buffers to store the result.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1861dcdff5
Only bitmaskify the RTP payload structure for video if an RTP structure exists for it... otherwise the default values will cause codec combination madness
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
North Antara
1edb21b423
Fix a few doxygen warnings.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
6d0742fc16
merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
e8d711723a
revert this morning's incorrect indentation change
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Mark Spencer
837910062b
First pass at in-place file manipulation via manager
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
4376af0080
actually make the non-standard G726-32 behavior available for SIP clients
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ead48c38cb
Merged revisions 37531 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37531 | kpfleming | 2006-07-13 11:44:23 -0500 (Thu, 13 Jul 2006) | 2 lines
report address of peer trying to subscribe to unknown hint
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
fd9c9ec28f
allow users of RTP to use G726-32 AAL2 packing even when RFC3551 packing has been requested (Sipura/Grandstream ATAs and others will need this)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
4316a871ac
repeat after me ...
...
I WILL TYPE "make" BEFORE COMMITTING ANY CODE
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
8cd5ad1755
Re-enable RTCP quality reports
...
(Bug found in SIP Master Class, Chicago)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
7828780bb7
eliminate some pointer signedness warnings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37291 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1fb6111c18
Merged revisions 37173 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37173 | file | 2006-07-06 11:48:07 -0400 (Thu, 06 Jul 2006) | 2 lines
Instead of giving the scheduled item ID on a peer expiration, give the time until they expire (issue #7455 reported by slavon)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
c5660895a8
Draft became RFC...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
f9df5318ce
Specify digest algorithm for picky clients
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
c6ab7e7164
Increase buffer size for routing headers. When routing with enc.keys within
...
route headers, we're reaching the limimt for what's possible in one UDP packet...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2f6f0b19c5
Raise debugging level for message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
73e8e2ab1f
Blocked revisions 36725 via svnmerge
...
........
r36725 | russell | 2006-07-03 00:19:09 -0400 (Mon, 03 Jul 2006) | 4 lines
use ast_set_callerid to be more consistent and to make sure that the
"callerid" option in the conf files is always handled the same way and sets ANI
(issue #7285 , gkloepfer)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
8affb4c1f8
Issue #7421 - Hold status not working fully. Thanks jmls for a good job debugging!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4c8e3bcdca
users want code to compile, really.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
e995afbd10
Formatting and debug output fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
765e420458
tell the other side that we're using 20 ms packetization for iLBC
...
- we need to investigate support for refusing offers of 30 ms (like the Nokia
e-series) or supporting it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
b971f65978
- Make use of system name in realtime SIP peers optional
...
- Fix small issue with SIP history
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
59be0b03b7
Fix up a few log messages in chan_sip (issue #7449 reported by tgrman)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
8d4ace1a0a
Store sysname even if we do not store fullcontact (thanks tholo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a38e7f01a9
...too early in the morning for commits in Bergen, Norway...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36256 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
d92de40c2f
Add support for a=inactive in SDP for holding. This is not very well documented
...
in RFCs, as they keep referring to each other in a circular pattern in regards
to this item, but since the Nokia SIP/GSM phones use this, we might as well
start supporting it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
dd94255a69
Don't delete initid scheduled item twice... Thanks, vecher, for bugging me about this.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
f12f5b7c6c
Formatting and doxygen fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
6d86697867
issue #7033 - Don't burst pokes to peers at load or reload.
...
Open for a cool algorithm to space them out...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
6895f108bd
Inspired by issue 6742, but solved in a different way.
...
(Yes, I like the system name setting)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
6ca399c459
Don't change direction of the dialogue when we send a re-invite
...
(will confuse to/from headers and to/from tags)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0dbb924cb5
Found a missing "l" on the left side of the sofa, close to the TV.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
66786a7d53
Issue #7421 - Stop generator on both call legs (patch by tgrman)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
1cbd4effca
Issue #7429 - accessing a not allocated structure causes segfault... (tgrman, fix by myself
...
inspired by suggested fix).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
93385c0fab
fix for issue #7245
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
9863bb982c
Separate private options so we don't request bug report on those...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
8ee441b649
Update the SIP options list from IANA repository
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
b3c6e18a5e
Merged revisions 35915 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r35915 | tilghman | 2006-06-25 10:10:06 -0500 (Sun, 25 Jun 2006) | 2 lines
Bug 7425 - Size of buffer is passed in by len
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
c8ceb92a4f
revert my changes that converted the jb on the channel to be dynamically
...
allocated. These changes caused crashes when using a channel type that did
not support the jitterbuffer. Instead of fixing why it's crashing, I'm going
to implement this in a better way next week. The way I did it caused a
jitterbuffer to be allocated on every channel where the channel type supported
jitterbuffers, even if they were disabled.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
46018d5032
- dynamically allocate the ast_jb structure that is on the channel structure
...
so that channels not using a jitterbuffer don't waste as much memory
- ensure that the channel drivers that use jitterbuffers can handle a failure
from configuring a jitterbuffer on a new channel because of a memory
allocation error
- On passing through these channel drivers, configure the jitterbuffer before
starting the PBX thread instead of afterwards. If the pbx fails to start for
whatever reason, this would have caused a crash.
- Also on passing, move the increase of the usecount to after all of the
possible failure conditions in the function
- fix a place where ast_update_use_count() was not called
- ensure that the owner channel pointer of the channel pvt strcutures is set to
NULL in failure conditions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a256bcb080
Issue #7380 - Cannot put a one-legged call on hold/off hold
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
58c243a6d4
Only formatting changes... (tabs to spaces)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago