aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
AgeCommit message (Collapse)AuthorFilesLines
2006-05-16mark RTP sessions that are not carrying DTMFkpfleming1-4/+26
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: http://svn.digium.com/svn/asterisk/trunk@27559 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-16clean up some compiler warnings (no reason to use signed integers for buffer ↵kpfleming1-5/+5
lengths, ever) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27524 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-16- Format fixesoej1-14/+19
- Adding if(option_debug) in front of complicated debug messages... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27305 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11cast sockaddr_in to sockaddr because we need that.rizzo1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26952 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11Go ahead and merge STUN mods for RTP in preparation for some STUN markster1-9/+307
support in SIP. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26920 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11Set "MARK" whenever SSRC changes (bug #6934)markster1-0/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26759 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10Fix buglet on debugmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26525 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-09Make SIP early media work more efficiently without so many reinvitesmarkster1-5/+92
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26019 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02- fix typo in rtp.c, devicestate.hoej1-1/+1
- add information about subscriptions and realtime dial plans in sip.conf.sample git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24342 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27Change channel locking to API, nifty janitor project. (issue #7039 reported ↵file1-26/+26
by Mithraen) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22905 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15- use '=' to copy struct sockaddr_inrizzo1-25/+8
- 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: http://svn.digium.com/svn/asterisk/trunk@20224 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14- use '?' instead of if statements for assignment;rizzo1-37/+16
- 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: http://svn.digium.com/svn/asterisk/trunk@20197 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) ↵tilghman1-3/+3
rand() to threadsafe ast_random() git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31make an error message more descriptive (issue #6855)russell1-2/+2
M rtp.c git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16724 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-18convert malloc+memset to ast_callocrussell1-6/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-15Merged revisions 13095 via svnmerge from tilghman1-36/+21
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: http://svn.digium.com/svn/asterisk/trunk@13096 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-13Merged revisions 12792 via svnmerge from tilghman1-21/+36
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: http://svn.digium.com/svn/asterisk/trunk@12793 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14Bug 4377 - Initial round of loader changestilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10084 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01use string fields for some stuff in ast_channelkpfleming1-1/+1
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: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31define a global null_frame object so when queueing a null frame, you don'trussell1-17/+15
have to allocate one on the stack git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9001 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24Whitespace change, extra <tab> added from my tab storage.oej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8517 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17don't generate any message for native bridge attempts unless all the basic ↵kpfleming1-0/+3
checks have passed and we're actually going to try it git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8120 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07Add support for H.264 with SIP and recordingmarkster1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7855 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03update copyright headers for files changed this yearkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7751 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03fix breakage from rev 7730 (failure to unlock list in get_proto)kpfleming1-13/+5
minor cleanups and simpler usage of list macros git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7739 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03Bug #6109: Fix unprotected list in RTP, implement AST_LIST macros, update ↵oej1-113/+108
doxygen docs git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7730 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30update doxygen docs to specify authorsrussell1-1/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20Major RTP fixes for using inbound SDP on outbound connection, get rid of markster1-30/+97
old local rtp stuff... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7551 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/trunk@7232 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@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