aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
AgeCommit message (Collapse)AuthorFilesLines
2007-03-29If an error occurs when reading from an RTP socket, and the error code does notrussell1-4/+8
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: http://svn.digium.com/svn/asterisk/branches/1.2@59357 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-31Use the proper format string to print unsigned values in the rtp debug output.russell1-1/+1
(issue #8954, wmis) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53039 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-29If the frame was duplicated before writing out then we need to free it. ↵file1-0/+2
(issue #8429 reported by edguy3) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48106 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30Bind rtcp to proper IP addressoej1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46430 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01put in proper fix for issue #7294 instead of the broken partial fix that was ↵kpfleming1-4/+10
committed, and thereby also fix issue #7438 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@41716 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-13yeah, ummm... This frame pointer should not be static. This situation onlyrussell1-1/+2
exists in 1.2 (pointed out by Constantine Filin on the asterisk-dev mailing list) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@37546 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07Change message regarding marker bit forcing when SSRC changes to be shown ↵file1-2/+2
only during debug so it doesn't overload high capacity systems git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@37307 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31silence a warning message that is not a warningkpfleming1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@31161 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11backport fix from trunk for bug #6934, ensuring that RTP mark bit is changed ↵kpfleming1-0/+10
when SSRC changes git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@26773 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-15Reverting patch from bug 6667tilghman1-36/+21
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@13095 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-13Bug 6667 - Fix for RFC2833 issuestilghman1-21/+36
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@12792 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14revert yesterday's temporary fix for issue #6052kpfleming1-1/+12
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@9953 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14don't try to use peer's dynamic codec numbers, it leads to duplication ↵kpfleming1-12/+1
(issue #6052) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@9818 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-30do not allow an rtp message with zero type (issue #5749)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7233 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11Fix wrap around for rtp (bug #5595)markster1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7069 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5595kpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7009 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01allow DTMF timeout to be configurable (issue #5160)kpfleming1-1/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6918 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-14Make sure when the timeout occurs that we actually break the bridge (bug #5252)markster1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6791 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-14use existing sample size in frame instead of recalculating it (issue #5390)kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6781 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-13Fix call timeouts with rtp bridge etc (bug #5252)markster1-4/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6759 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-12fix some formatting and add some comments (issue #5403)russell1-37/+81
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6752 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-6/+17
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-09allow users of RTP to know when the peer endpoint is (apparently) behind a NATkpfleming1-9/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6558 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07clarify transmission failure message when RTP peer is behind NAT (issue ↵kpfleming1-10/+30
#5136 with mods to use flag bits instead of new variable) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6534 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30Add SIP video fixesmarkster1-1/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6448 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-12Fix accidental RTCP/RTP linkagemarkster1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6325 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-09bridging code cleanups:kpfleming1-11/+9
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: http://svn.digium.com/svn/asterisk/trunk@6312 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-03Improve RTP comments (bug #4792 with mods)markster1-8/+29
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6270 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15add a library of timeval manipulation functions, and change a large number ↵kpfleming1-53/+22
of usses to use the new functions (bug #4504) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-14ensure we record the last seqno we transmitted (bug #4659)kpfleming1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6129 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12send final 3 RFC2833 packets with same seqno (bug #4659)kpfleming1-9/+32
don't reprocess incoming RFC2833 event when packets received out of order (bug #4659) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6116 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-18Revert silly "sipura fix" which breaks RFC compatibility (bug #4549)markster1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5935 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-18Don't try to read from an rtcp if there isn't onemarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5934 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06remove experimental module version tagskpfleming1-0/+4
add per-file revision tags and 'show version files' CLI command git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-02fix wordwrapjeremy1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5810 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-02Spell noise correctlyjeremy1-4/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5809 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-16add comments, fix typos, and add note on default values (bug #4284)russell1-20/+27
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5696 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15fix RTP DTMF for Sipura SPA-3000 (bug #3675, yet again)kpfleming1-8/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5666 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15correct some signed/unsigned issues found by GCC 4 (bug #4237)kpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5664 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-14Add remainder of rtp fixes, iax2 patch (bug #3961)markster1-117/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5654 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-14properly strip incoming padded RTP frames (bug #4264)kpfleming1-0/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5652 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-04don't report EAGAIN as an error (bug #4128)kpfleming1-6/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5570 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-12/+12
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-20ensure that sequential DTMF sent via RTP has some 'dead air' between digits ↵kpfleming1-3/+4
(bug #3675) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5489 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-06use more efficient code to produce non-codec-capability list (bug #3960)kpfleming1-4/+18
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5421 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-05report non-codec capabilities in 'sip debug' properly (bug #3960)kpfleming1-2/+23
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5416 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-04fix breakage from slin endianness commit earlier today (sorry :-()kpfleming1-7/+19
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5375 f38db490-d61c-443f-a65b-d21fe96a405b