Commit Graph

135 Commits (a42ff13c97fc4c975dd1f531ea120f4c20fe90db)

Author SHA1 Message Date
Mark Michelson 590408dca3 Allow for media to arrive from an alternate source when responding to a reinvite with 491.
17 years ago
Joshua Colp ac71a26c0f Fix a bug where the codecs of the called party leg were not properly sent back to the caller call leg when reinvited.
17 years ago
Joshua Colp 0a55b56dc8 Fix RFC2833 issues with DTMF getting duplicated and with duration wrapping over.
17 years ago
Kevin P. Fleming 5436d8709f Fix problems when RTP packet frame size is changed
17 years ago
Russell Bryant da0d84c3e4 Only set dtmfcount on BEGIN, and ensure it gets reset to 0 properly.
17 years ago
Russell Bryant aa5a927b69 Fix infinite DTMF when a BEGIN is received without an END.
17 years ago
Russell Bryant bfaa341f58 Don't send DTMF for infinite time if we do not receive an END event.
17 years ago
Joshua Colp 70f7c7e9cb Revert RTP changes for continuation of DTMF. Proxy commit by russell via SMS.
17 years ago
Russell Bryant 1d4e4ff3d1 Clear out the current event after forcing the end of a digit
17 years ago
Russell Bryant 9dff8995b4 Fixify infinite DTMF in the case that no RFC2833 END event is ever received
17 years ago
Joshua Colp 3ff70ed000 Don't crash if RTCP is not enabled on an RTP structure but statistics are output.
17 years ago
Joshua Colp 3a354c3500 Only care about a compatible codec for early bridging if we are actually bridging to another channel. If we are not we actually want to bring the audio back to us.
17 years ago
Joshua Colp a6edd8ba5f Increment the sequence number on the end packets for RFC2833. After reading the RFC some more and doing some testing I agree with this change.
17 years ago
Joshua Colp 114c659195 Make sure that the timestamp for DTMF is not the same as the previous voice frame and do not send audio when transmitting DTMF as this confuses some equipment.
17 years ago
Joshua Colp 7209e0e173 Take video into account when early bridging RTP.
17 years ago
Jeff Peeler ba3f49c71f (closes issue #13835)
18 years ago
Tilghman Lesher 9f7707dae8 Remove the potential for a division by zero error.
18 years ago
Mark Michelson af35ef7d73 Allow for "G.729" if offered in an SDP even though
18 years ago
Mark Michelson b48adf96dc Since adding the AST_CONTROL_SRCUPDATE frame type,
18 years ago
Mark Michelson e5c3ba2e73 Fix a problem where inbound rfc2833 audio would be sent to the
18 years ago
Tilghman Lesher 9b4a5d8310 Check for rtcp structure before trying to delete schedule.
18 years ago
Russell Bryant 4b2a679f9e Add ast_assert(), which can be used to handle fatal errors. It is only compiled
18 years ago
Russell Bryant b3a211bdc3 I thought I was going to be able to leave 1.4 alone, but that was not the case.
18 years ago
Joshua Colp 19b8841503 Don't change the SSRC when a new source comes into play, this might happen quite often and depending on the remote side... they might not like this.
18 years ago
Joshua Colp 65767b4290 Disable Packet2Packet bridging when we need to feed DTMF frames into the core. Some implementations do not like how we switch between things.
18 years ago
Joshua Colp 996d3a1c2e Make sure that the mark bit does not incorrectly cause video frame timestamps to be calculated as if they are audio frames.
18 years ago
Joshua Colp 5fda7910c6 Put a maximum limit on the number of payloads accepted, and also make sure a given payload does not exceed our maximum value.
18 years ago
Tilghman Lesher 072171ef5d Properly initialize rtp->schedid
18 years ago
Joshua Colp cd703523db Add a control frame to indicate the source of media has changed. Depending on the underlying technology it may need to change some things.
18 years ago
Russell Bryant d564404d73 Fix a bug that I just noticed in the RTP code. The calculation for setting the
18 years ago
Joshua Colp be005c60d6 In addition to setting the marker bit let's change our ssrc so they know for sure it is a different source.
18 years ago
Joshua Colp 36bb1f9d46 When a new source of audio comes in (such as music on hold) make sure the marker bit gets set.
18 years ago
Tilghman Lesher 4306df31b1 When a SIP channel is being auto-destroyed, it's possible for it to still be
18 years ago
Tilghman Lesher 7060a6888d When deleting a task from the scheduler, ignoring the return value could
18 years ago
Joshua Colp fa640604de Replace current spy architecture with backport of audiohooks. This should take care of current known spy issues.
18 years ago
Joshua Colp 1379764f4c Add two more SDP names for ulaw and alaw.
18 years ago
Russell Bryant 7a007060bd Commit a fix for some memory access errors pointed out by the valgrind2.txt
18 years ago
Joshua Colp aa95b890ea If the incoming RTP stream changes codec force the bridge to break if the other side does not support it.
18 years ago
Joshua Colp bff4a0aa3c Add G729A as another possible payload name for G729. Some devices use this instead of G729, which is perfectly normal since the payload number itself is defined and can't be used by anything else so the name doesn't matter that much.
19 years ago
Tilghman Lesher af01697791 At the end of a call, when we're reporting, RTCP may already be partially torn down, so check for NULL dereference
19 years ago
Joshua Colp bae731053f Do not create a smoother for G723.1 frames, they need to be left alone to their native 20/24 byte size.
19 years ago
Olle Johansson 0c3ec937ce If we get a codec offer using a well-known payload type, but using it for another
19 years ago
Joshua Colp 0f3e461074 Bring both DTMF begin and end frames up through to the core for DTMF feature handling.
19 years ago
Joshua Colp 3cc997694d If Monitor or a spy was added to a P2P or native bridged channel bring the channel back to the generic bridging core so the monitor or spy operations work.
19 years ago
Joshua Colp ba0bb743e6 Only update codec information if the channel has a technology private structure.
19 years ago
Joshua Colp 3dcf938f73 Update codec information as well as address when doing hold reinvites.
19 years ago
Joshua Colp 35ed1f7148 Update the remembered RTP peer information when putting an endpoint on hold or taking it off hold so that the RTP stack does not initiate a needless reinvite.
19 years ago
Tilghman Lesher 1e9edf1338 When an RFC 2833 event is sent that we don't recognize, ignore it, don't queue a NULL digit (closes issue #10877)
19 years ago
Russell Bryant d6b8fb4dc0 gcc 4.2 has a new set of warnings dealing with cosnt pointers. This set of
19 years ago
Joshua Colp 968be2def2 (closes issue #10562)
19 years ago