Commit Graph

87 Commits (bae41357596e6ec24c1d1a222bc1036c469413c7)

Author SHA1 Message Date
Russell Bryant d6b8fb4dc0 gcc 4.2 has a new set of warnings dealing with cosnt pointers. This set of
18 years ago
Joshua Colp 968be2def2 (closes issue #10562)
18 years ago
Joshua Colp d13b192018 (closes issue #10526)
18 years ago
Joshua Colp 6dbbfcdc25 (closes issue #10440)
18 years ago
Joshua Colp 88b982d7ff (closes issue #10355)
18 years ago
Luigi Rizzo 19ec0f8fe1 set the sequence number in a frame for all frame types
18 years ago
Russell Bryant c83a0b2a3c cast arguments to ast_log so that it builds without warnings for me
18 years ago
Joshua Colp 396e723f17 Ensure that the pointer to STUN data does not go to unaccessible memory. (ASA-2007-017)
18 years ago
Russell Bryant d528f7791d Only output debug information related to RTCP timestamps when RTCP debug
18 years ago
Jason Parker 8a7cb1ec48 Don't dereference a pointer that may be NULL here.
18 years ago
Joshua Colp 164b3bca49 Do not Packet2Packet bridge if packetization settings do not allow it. (issue #9117 reported by phsultan)
18 years ago
Joshua Colp 00a80bcb7d Put the speex packetization values back in but disable it when setting up the smoother.
18 years ago
Joshua Colp 8b71bbd6ed Merged revisions 69992 via svnmerge from
18 years ago
Joshua Colp 8c01036a9f Merged revisions 68921 via svnmerge from
18 years ago
Joshua Colp 1f6872a45e Merged revisions 67649 via svnmerge from
18 years ago
Russell Bryant 9074935852 Add a missing \n. (pointed out by jcmoore on IRC)
18 years ago
Joshua Colp 13afc81f91 Handle cases where a frame may have no data. (issue #9519 reported by dmb)
18 years ago
Russell Bryant a2a73cde51 Make 1.4 build on my machine, too..
18 years ago
Kevin P. Fleming 521b241738 don't use uninitialized variables
18 years ago
Joshua Colp 9f88eccda6 I like it when the RTP stack compiles myself...
18 years ago
Russell Bryant f32662deb4 Fix the calculation of the RTT for RTCP. The previous code would result in
18 years ago
Jason Parker 9378347264 Avoid invalid seqno cycling detection.
18 years ago
Russell Bryant 477ff09bdf Remove a stray debug message introduced by a recent commit.
18 years ago
Olle Johansson 521e1698e1 Clean upp formatting, add some doxygen stuff while we're in cleaning mode... Thanks Kevin!
18 years ago
Olle Johansson 0ef4dad39c Issue #9554 - Improve RTCP (Dave Troy)
18 years ago
Russell Bryant 6cdc236f09 Merged revisions 59357 via svnmerge from
18 years ago
Russell Bryant fa97f6c381 The AUDIORTPQOS and VIDEORTPQOS variables are not fully functional in some
18 years ago
Joshua Colp dd1a0aa1dd Allow RFC2833 compensation to compensate for even stupider implementations by queueing up the end frame at the start, not the actual end. (issue #8963 reported by AndrewZ)
18 years ago
Joshua Colp 2b3c0dc1e4 Make early SDP seeding even smarter! We have to check codecs in the make_compatible function too. (issue #9221 reported by marcelbarbulescu)
18 years ago
Joshua Colp 240355d78b Ensure we have (or should have) at least one matching codec before attempting early bridge SDP seeding. (issue #9221 reported by marcelbarbulescu)
18 years ago
Joshua Colp 44dd29ff61 Preserve marker bit when P2P bridging. (issue #9198 reported by edgreenberg)
18 years ago
Joshua Colp 204b58a23c We can not reliably do P2P bridging with DTMF passing back with compensation if we need to listen for DTMF frames. (issue #8962 reported by caio1982)
19 years ago
Russell Bryant 2b5990387c When parsing the NTP timestamp in a sender report message, you are supposed to
19 years ago
Joshua Colp f0329105f3 Correct a copy/pasted error message line for RTCP.
19 years ago
Joshua Colp 28dacda047 When going on hold have the side that was put on hold reinvite back to Asterisk. When going off hold have the side that was taken off hold reinvited back to the other party.
19 years ago
Joshua Colp 7229c2ba48 Add more frame types to forward in the RTP bridge loops.
19 years ago
Russell Bryant 0bc7ef3b06 Merged revisions 53039 via svnmerge from
19 years ago
Russell Bryant 06a3110ed8 Fix a problem with packet-to-packet bridging and DTMF mode translation. P2P
19 years ago
Russell Bryant 33235b40d6 Merge the changes from the /team/group/vldtmf_fixup branch.
19 years ago
Joshua Colp 9461aa0027 Pass data as well for hold/unhold/vidupdate frames. (issue #8840 reported by mdu113)
19 years ago
Joshua Colp 9f0ad6093e Return the correct result when directly writing out a packet so that the core doesn't then decide to handle it the regular way again. (issue #8833 reported by rcourtna)
19 years ago
Jason Parker 1825fc3ee2 Fix issue with dtmf continuation packets when the dtmf digit is 0...
19 years ago
Joshua Colp 240ca25bea Add support to see whether NAT was detected (yay symmetric RTP) and also add a check in chan_sip so that if NAT has been detected and the reinvite behind nat option has been turned off, then just do partial bridge. (issue #8655 reported by mnicholson)
19 years ago
Joshua Colp 46700b62af Disable the more intense packet2packet bridging until the bugs can be worked out.
19 years ago
Joshua Colp 156a6cf5db If the Packet2Packet bridge is being broken because of a masquerade then attempt to read a frame in so the masquerade actually happens. Otherwise weirdness will occur. (issue #8696 reported by kjotte)
19 years ago
Kevin P. Fleming a299485952 since these variables all have static duration, none of them need initializers (they default to zero anyway)
19 years ago
Joshua Colp 9cc04e026d Add an API call that initializes an RTP structure. We need this because chan_sip is cheeky and uses a temporary RTP structure for codec purposes, and the API calls that are used rely on the lock. (Pointed out on asterisk-dev by Andy Wang)
19 years ago
Joshua Colp 8df2c7228f Turn payload_lock into bridge_lock and make it encompass all RTP structure contents that may relate to bridge information, including who we are bridged to.
19 years ago
Joshua Colp 0995fb8aeb Payload values on the RTP structure can change AFTER a bridge has started. This comes from the packet handling of the SIP response when indication that it was answered has been sent. Therefore we need to protect this data with a lock when we read/write. (issue #8232 reported by tgrman)
19 years ago
Joshua Colp 87a03da072 Remove direct RTCP bridging. I've come to the conclusion that we should handle this through the core and not just forward it on. Should solve a few bugs.
19 years ago