Commit Graph

87 Commits (bae41357596e6ec24c1d1a222bc1036c469413c7)

Author SHA1 Message Date
Joshua Colp c866263f50 Merge in my latest RTP changes. Break out RTP and RTCP callback functions so they no longer share a common one.
19 years ago
Olle Johansson f89143bd13 - Disable RTP hold timers while T.38 fax transmission happens
19 years ago
Joshua Colp b2b70adede Do not do a partial bridge for Google Talk since we need to handle STUN. (issue #8448 reported by phsultan)
19 years ago
Joshua Colp 558639ff6a Merged revisions 48106 via svnmerge from
19 years ago
Joshua Colp 090c412c27 Video will never reach Packet2Packet bridging and can do more harm then good.
19 years ago
Joshua Colp 8c0f4c8711 If we have the non standard G726-32 setting turned on we want to return G726-32 to the SDP, not our AAL2 string. (issue #8330 reported by voipgate)
19 years ago
Joshua Colp b42279c142 Only remove/destroy the RTCP I/O item if it exists.
19 years ago
Joshua Colp bc6cff37bc If NAT detection is turned on or already detected then say NAT is active when setting the remote RTP peer when doing early bridging. (issue #8365 reported by marcelbarbulescu)
19 years ago
Joshua Colp 708b84da2f Turn notice about unknown RTCP packet type into a debug message instead.
19 years ago
Tilghman Lesher 56a1e60c54 More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236)
19 years ago
Olle Johansson e93e64a005 Bind RTCP to the same IP as RTP
19 years ago
Kevin P. Fleming 6c17f1e07e add passthrough and file format support for G.722 16KHz audio (issue #5084, original patch by andrew, updated by mithraen)
19 years ago
Joshua Colp 64a875951a Don't segfault if you're using a channel driver that doesn't turn RTCP on
19 years ago
Joshua Colp faf38b71ef Remove the seqno check for RFC2833, the handler is smart enough to not need it.
19 years ago
Joshua Colp 2d3da5b500 When the sequence number rolls over then reset the recorded sequence number for DTMF (issue #8106 reported by bungalow)
19 years ago
Paul Cadach b0bb62a7e5 Allow one-way RTP streams (device->Asterisk)
19 years ago
Joshua Colp f149686e8b Compensate for out of order packets better if RFC2833 compensation is turned on.
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Joshua Colp 3c6d5053ba Totally break a P2P bridge upon going on hold, and re-establish it upon going off hold.
19 years ago
Joshua Colp 659d467720 Expand codec check so that raw formats must be equal for a Packet2Packet bridge to occur
19 years ago
Matt O'Gorman 465adf2bf1 allow for packetization on rtp channel drivers, need to add
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Joshua Colp d2a359e57f Optimize a bit
19 years ago
Joshua Colp 10e361763c It's another round of RTP updates!
19 years ago
Joshua Colp f912c9e69f Unbridge the RTP streams at the correct place
19 years ago
Joshua Colp 0be2884d80 If we are doing video and we can't reinvite, then resort to generic bridging instead of Packet2Packet since video isn't supported there yet. (reported by PCadach in #asterisk-bugs)
19 years ago
Joshua Colp f2b836ff4f Tweak the DTMF muting stuff a bit to take into account VLDTMF and compensation.
19 years ago
Joshua Colp 29ee02bfce Only write a received packet out if we are actually bridged to something
19 years ago
Joshua Colp c6977b9983 Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
19 years ago
Joshua Colp 0855df6a5a Only feed a DTMF frame into the core if we need to
19 years ago
Joshua Colp 245aa1a62d Only switch the second alert fd (which is RTCP) to callback mode if it is in use
19 years ago
Joshua Colp 12b6ec4e11 Use an API call (ast_rtp_get_bridged) to return the RTP stream we are bridged to, and also use it in chan_sip so we know to ignore the no RTP activity checking
19 years ago
Joshua Colp da7d969ae1 If the RTP stack is already being operated in callback mode, then suspend it upon switching to P2P callback bridging. Once P2P callback bridging has ended, then restore callback mode.
19 years ago
Joshua Colp ca33d2ecc6 This is the last round of RTP bridge optimizations. Basically it introduces a way that under a straight bridge (ie: no transcoding and no DTMF detection) the core is not touched at all and no frames pass through (not even null frames). This is accomplished by stealing the file descriptors from the channel and using the provided IO context with a custom callback. When a channel is placed on hold this bridge is broken so audio can flow from the core to the other side. When a channel is off hold this bridge is re-established.
19 years ago
Joshua Colp a2e2a51d8d Move the direct bridge write to after the NAT handling code
19 years ago
Joshua Colp c70ed7614a Merge in RTP-level packet bridging. Packet comes in, packet goes out - that's what RTP-level packet bridging is all about!
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago