Olle Johansson
479181951a
Merge of the "sdpcleanup" branch. Thanks to John Martin for a lot of tests
...
and some patches (all disclaimed).
- Don't change RTP properties if we reject a re-INVITE
- Don't add video to an outbound channel if there's no video on the inbound channel
- Don't include video in the "preferred codec" list for codec selection
- Clean up and document code that parses and adds SDP attachments
Since we do not transcode video, we can't handle video the same way as audio. This is a
bug fix patch. In future releases, we need to work on a solution for video negotiation,
not codecs but formats and framerates instead.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
db528623ad
clean up various formatting issues
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
4ab449be1b
Move definition of RTP structure to rtp.h (preparing for future changes)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
2dc6947144
Issue #2863 - Improved RTCP support (John Martin, Fredrik Olsson)
...
Thanks to everyone involved in working with this!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
b42fbc09c3
- 5 is the highest used debug level, so let's stay there
...
- Change formatting of RTP debug to align better
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0d6906e107
- Doxygen fix
...
- Debug message change
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
8dbcff6f21
Merged revisions 31161 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r31161 | kpfleming | 2006-05-31 17:26:38 -0500 (Wed, 31 May 2006) | 2 lines
silence a warning message that is not a warning
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
bb7dd96cfe
Add support for using a jitterbuffer for RTP on bridged calls. This includes
...
a new implementation of a fixed size jitterbuffer, as well as support for the
existing adaptive jitterbuffer implementation. (issue #3854 , Slav Klenov)
Thank you very much to Slav Klenov of Securax and all of the people involved
in the testing of this feature for all of your hard work!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
c3dce57d95
mark RTP sessions that are not carrying DTMF
...
allow native bridging of RTP sessions that are not carrying DTMF even when the bridge needs to listen to DTMF (when SIP INFO is used for DTMF, for example)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ca8f9083c0
clean up some compiler warnings (no reason to use signed integers for buffer lengths, ever)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
ea510a4cf9
- Format fixes
...
- Adding if(option_debug) in front of complicated debug messages...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
2b8bc286ef
cast sockaddr_in to sockaddr because we need that.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Mark Spencer
c696006923
Go ahead and merge STUN mods for RTP in preparation for some STUN
...
support in SIP.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Mark Spencer
dda130c334
Set "MARK" whenever SSRC changes (bug #6934 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Mark Spencer
8e9e1ac6bc
Fix buglet on debug
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Mark Spencer
9953f4f40e
Make SIP early media work more efficiently without so many reinvites
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
7bbb6bd3aa
- fix typo in rtp.c, devicestate.h
...
- add information about subscriptions and realtime dial plans in sip.conf.sample
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6016d3703d
Change channel locking to API, nifty janitor project. (issue #7039 reported by Mithraen)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
7c1b1cc29e
- use '=' to copy struct sockaddr_in
...
- localize a variable
- replace three replicas of the same code with a much simpler construct
removing replicated var = var->next;
- use '?' instead of 'if' for an assignment
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
1417b3498d
- use '?' instead of if statements for assignment;
...
- fix indentation in a few places
- use a variable to store the 'other' channel, thus removing
the need for some duplicated code;
- use '=' instead of memcpy to copy struct sockaddr_in
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
756c7cbb12
Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
a4bbb3ff90
make an error message more descriptive (issue #6855 )
...
M rtp.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
f0a0c8eb29
convert malloc+memset to ast_calloc
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
cb73379319
Merged revisions 13095 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r13095 | tilghman | 2006-03-15 12:07:06 -0600 (Wed, 15 Mar 2006) | 2 lines
Reverting patch from bug 6667
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
fcc0ca8627
Merged revisions 12792 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r12792 | tilghman | 2006-03-13 09:28:35 -0600 (Mon, 13 Mar 2006) | 2 lines
Bug 6667 - Fix for RFC2833 issues
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12793 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
f1209276fd
Bug 4377 - Initial round of loader changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a16ae226b6
use string fields for some stuff in ast_channel
...
const-ify some more APIs
remove 'type' field from ast_channel, in favor of the one in the channel's tech structure
allow string field module users to specify the 'chunk size' for pool allocations
update chan_alsa to be compatible with recent const-ification patches
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
e01861fafd
define a global null_frame object so when queueing a null frame, you don't
...
have to allocate one on the stack
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Olle Johansson
9863ed4624
Whitespace change, extra <tab> added from my tab storage.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
21347757ef
don't generate any message for native bridge attempts unless all the basic checks have passed and we're actually going to try it
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
e2ef61814f
Add support for H.264 with SIP and recording
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a4f8d466e8
update copyright headers for files changed this year
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
815d2413ff
fix breakage from rev 7730 (failure to unlock list in get_proto)
...
minor cleanups and simpler usage of list macros
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Olle Johansson
715a220850
Bug #6109 : Fix unprotected list in RTP, implement AST_LIST macros, update doxygen docs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
a725468381
update doxygen docs to specify authors
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
0d32a85be1
Major RTP fixes for using inbound SDP on outbound connection, get rid of
...
old local rtp stuff...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
68fa778314
do not allow an rtp message with zero type (issue #5749 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
2c65582b66
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
4606d74a66
Fix wrap around for rtp (bug #5595 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
be7cdd4cd1
issue #5595
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
cb28ef70bc
allow DTMF timeout to be configurable (issue #5160 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
3453e3efa5
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
141d9f7156
Make sure when the timeout occurs that we actually break the bridge (bug #5252 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1e21c56426
use existing sample size in frame instead of recalculating it (issue #5390 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
dd11afca42
Fix call timeouts with rtp bridge etc (bug #5252 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
8e5d45f3ac
fix some formatting and add some comments (issue #5403 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
5da915dcfd
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
60ffafcc39
allow users of RTP to know when the peer endpoint is (apparently) behind a NAT
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
19a4e8fe6d
clarify transmission failure message when RTP peer is behind NAT (issue #5136 with mods to use flag bits instead of new variable)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
5d4d2fdfd4
Add SIP video fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago