Joshua Colp
28464199ee
Bring RTP back to Asterisk at the end of a native bridge no matter what.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@68921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 14:18:57 +00:00
Joshua Colp
76fdb9418b
Reinvite the RTP back to the Asterisk machine when the timeout happens. (issue #9888 reported by gasparz)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@67649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-06 13:28:34 +00:00
Russell Bryant
9956c33fec
If an error occurs when reading from an RTP socket, and the error code does not
...
indicate that we should try again, then return NULL instead of a "null frame".
This will prevent Asterisk from trying over and over again, and eventually
causing the system to crash. (issue #8285 , john)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@59357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-29 17:14:33 +00:00
Russell Bryant
ccce21be4f
Use the proper format string to print unsigned values in the rtp debug output.
...
(issue #8954 , wmis)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 17:41:51 +00:00
Joshua Colp
d707910edb
If the frame was duplicated before writing out then we need to free it. (issue #8429 reported by edguy3)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-29 16:47:10 +00:00
Olle Johansson
0449e24db1
Bind rtcp to proper IP address
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 16:00:57 +00:00
Kevin P. Fleming
abb4e3a3a4
put in proper fix for issue #7294 instead of the broken partial fix that was committed, and thereby also fix issue #7438
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-01 17:35:06 +00:00
Russell Bryant
1d8f732f3f
yeah, ummm... This frame pointer should not be static. This situation only
...
exists in 1.2 (pointed out by Constantine Filin on the asterisk-dev mailing list)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13 18:44:17 +00:00
Joshua Colp
f1b2416353
Change message regarding marker bit forcing when SSRC changes to be shown only during debug so it doesn't overload high capacity systems
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 23:57:53 +00:00
Kevin P. Fleming
dbfbe2c679
silence a warning message that is not a warning
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@31161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 22:26:38 +00:00
Kevin P. Fleming
bb0812be95
backport fix from trunk for bug #6934 , ensuring that RTP mark bit is changed when SSRC changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@26773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 09:05:22 +00:00
Tilghman Lesher
eb1b6f313e
Reverting patch from bug 6667
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@13095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-15 18:07:06 +00:00
Tilghman Lesher
b2bd6c27db
Bug 6667 - Fix for RFC2833 issues
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@12792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-13 15:28:35 +00:00
Kevin P. Fleming
e0db36550e
revert yesterday's temporary fix for issue #6052
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 18:23:13 +00:00
Kevin P. Fleming
b5111fb985
don't try to use peer's dynamic codec numbers, it leads to duplication (issue #6052 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 00:46:00 +00:00
Russell Bryant
45c15e8561
do not allow an rtp message with zero type (issue #5749 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-30 14:27:59 +00:00
Kevin P. Fleming
a563eab49a
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
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
2005-11-11 04:07:03 +00:00
Kevin P. Fleming
be7cdd4cd1
issue #5595
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 01:44:47 +00:00
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
2005-11-01 00:06:43 +00:00
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
2005-10-24 20:12:06 +00:00
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
2005-10-14 17:02:20 +00:00
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
2005-10-14 00:03:41 +00:00
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
2005-10-13 18:27:54 +00:00
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
2005-10-12 20:45:18 +00:00
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
2005-09-14 20:46:50 +00:00
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
2005-09-09 19:54:34 +00:00
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
2005-09-07 20:33:30 +00:00
Mark Spencer
5d4d2fdfd4
Add SIP video fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 02:12:09 +00:00
Mark Spencer
8b7e1054fe
Fix accidental RTCP/RTP linkage
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-12 18:59:43 +00:00
Kevin P. Fleming
ce7a1e4768
bridging code cleanups:
...
code style, formatting
use enum/symbolic constants for return codes
efficiency improvements
(zaptel) only disable DTMF detection once per bridge, not every frame
(zaptel) ensure VPM DTMF detector is turned off during native bridge
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-09 01:59:59 +00:00
Mark Spencer
a384e30271
Improve RTP comments (bug #4792 with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 05:00:42 +00:00
Kevin P. Fleming
22b0f5d306
add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 23:00:47 +00:00
Kevin P. Fleming
990bba90a7
ensure we record the last seqno we transmitted (bug #4659 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-14 23:58:36 +00:00
Kevin P. Fleming
5b11473088
send final 3 RFC2833 packets with same seqno (bug #4659 )
...
don't reprocess incoming RFC2833 event when packets received out of order (bug #4659 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 23:36:00 +00:00
Mark Spencer
02998cb285
Revert silly "sipura fix" which breaks RFC compatibility (bug #4549 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-18 17:13:01 +00:00
Mark Spencer
01c96e65f6
Don't try to read from an rtcp if there isn't one
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-18 16:46:44 +00:00
Kevin P. Fleming
2b8338cb52
more file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming
0e6762dd5f
remove experimental module version tags
...
add per-file revision tags and 'show version files' CLI command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 20:27:51 +00:00
Jeremy McNamara
59e98b5540
fix wordwrap
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5810 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-02 00:50:38 +00:00
Jeremy McNamara
ed447c9cfe
Spell noise correctly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-02 00:49:41 +00:00
Russell Bryant
0dc3f6ee76
add comments, fix typos, and add note on default values (bug #4284 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 13:22:34 +00:00
Kevin P. Fleming
5c88a00280
fix RTP DTMF for Sipura SPA-3000 (bug #3675 , yet again)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:06:16 +00:00
Kevin P. Fleming
6cd4f9a8d3
correct some signed/unsigned issues found by GCC 4 (bug #4237 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:21:51 +00:00
Mark Spencer
c936fc827c
Add remainder of rtp fixes, iax2 patch (bug #3961 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 23:57:44 +00:00
Kevin P. Fleming
23d7376f4d
properly strip incoming padded RTP frames (bug #4264 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 23:41:12 +00:00
Kevin P. Fleming
9bd5c1d95b
don't report EAGAIN as an error (bug #4128 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:43:30 +00:00
Kevin P. Fleming
1f9ab2380a
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Kevin P. Fleming
35f2e4b8ae
ensure that sequential DTMF sent via RTP has some 'dead air' between digits (bug #3675 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-20 16:46:25 +00:00
Kevin P. Fleming
228f03ae87
use more efficient code to produce non-codec-capability list (bug #3960 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06 03:43:59 +00:00