summaryrefslogtreecommitdiff
path: root/rtp.c
AgeCommit message (Collapse)Author
2006-05-16mark RTP sessions that are not carrying DTMFKevin P. Fleming
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
2006-05-16clean up some compiler warnings (no reason to use signed integers for buffer ↵Kevin P. Fleming
lengths, ever) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16- Format fixesOlle Johansson
- 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
2006-05-11cast sockaddr_in to sockaddr because we need that.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11Go ahead and merge STUN mods for RTP in preparation for some STUN Mark Spencer
support in SIP. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11Set "MARK" whenever SSRC changes (bug #6934)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10Fix buglet on debugMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09Make SIP early media work more efficiently without so many reinvitesMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-02- fix typo in rtp.c, devicestate.hOlle Johansson
- 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
2006-04-27Change channel locking to API, nifty janitor project. (issue #7039 reported ↵Joshua Colp
by Mithraen) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15- use '=' to copy struct sockaddr_inLuigi Rizzo
- 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
2006-04-14- use '?' instead of if statements for assignment;Luigi Rizzo
- 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
2006-04-05Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) ↵Tilghman Lesher
rand() to threadsafe ast_random() git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31make an error message more descriptive (issue #6855)Russell Bryant
M rtp.c git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-18convert malloc+memset to ast_callocRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-15Merged revisions 13095 via svnmerge from Tilghman Lesher
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
2006-03-13Merged revisions 12792 via svnmerge from Tilghman Lesher
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
2006-02-14Bug 4377 - Initial round of loader changesTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01use string fields for some stuff in ast_channelKevin P. Fleming
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
2006-01-31define a global null_frame object so when queueing a null frame, you don'tRussell Bryant
have to allocate one on the stack git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24Whitespace change, extra <tab> added from my tab storage.Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17don't generate any message for native bridge attempts unless all the basic ↵Kevin P. Fleming
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
2006-01-07Add support for H.264 with SIP and recordingMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03update copyright headers for files changed this yearKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03fix breakage from rev 7730 (failure to unlock list in get_proto)Kevin P. Fleming
minor cleanups and simpler usage of list macros git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03Bug #6109: Fix unprotected list in RTP, implement AST_LIST macros, update ↵Olle Johansson
doxygen docs git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30update doxygen docs to specify authorsRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20Major RTP fixes for using inbound SDP on outbound connection, get rid of Mark Spencer
old local rtp stuff... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-30do not allow an rtp message with zero type (issue #5749)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29remove extraneous svn:executable propertiesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-11Fix wrap around for rtp (bug #5595)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08issue #5595Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01allow DTMF timeout to be configurable (issue #5160)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24Doxygen documentation update from oej (issue #5505)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14Make sure when the timeout occurs that we actually break the bridge (bug #5252)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14use existing sample size in frame instead of recalculating it (issue #5390)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13Fix call timeouts with rtp bridge etc (bug #5252)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-12fix some formatting and add some comments (issue #5403)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-09allow users of RTP to know when the peer endpoint is (apparently) behind a NATKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07clarify transmission failure message when RTP peer is behind NAT (issue ↵Kevin P. Fleming
#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-08-30Add SIP video fixesMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-12Fix accidental RTCP/RTP linkageMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-09bridging code cleanups:Kevin P. Fleming
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-03Improve RTP comments (bug #4792 with mods)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15add a library of timeval manipulation functions, and change a large number ↵Kevin P. Fleming
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-14ensure we record the last seqno we transmitted (bug #4659)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12send final 3 RFC2833 packets with same seqno (bug #4659)Kevin P. Fleming
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-06-18Revert silly "sipura fix" which breaks RFC compatibility (bug #4549)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-18Don't try to read from an rtcp if there isn't oneMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5934 65c4cc65-6c06-0410-ace0-fbb531ad65f3