Commit Graph

1138 Commits

Author SHA1 Message Date
Dragos Oancea ce9905cdf4 [core] don't hangup call on SRTP errors (new default behaviour) 2021-10-23 22:00:55 +03:00
Anthony Minessale 6040f3bf48 [Core] Fix ICE and media delay. 2021-10-23 22:00:52 +03:00
Andrey Volk a065460e5f [Core] Fix possible deadlock of an rtp_session in handle_ice() 2021-10-23 22:00:51 +03:00
Anthony Minessale a33062c9d8 [mod_verto] verto re-invites part 1 2021-10-23 22:00:19 +03:00
Anthony Minessale dc4bef79ec [core]speed up call setup 2021-10-23 22:00:18 +03:00
Dragos Oancea b2a8f9ce9f [core] change estimator CUSUM design params for loss to reduce oscillations. rename var. 2021-10-23 22:00:09 +03:00
Dragos Oancea af095ebb68 [core] scan-build: Dereference of null pointer (loaded from variable 'flags') 2021-10-19 20:35:09 +03:00
Ryan Mitchell 607f5db140 [core] add SEND_RTCP_MESSAGE:
toggle send rtcp events off fire_rtcp_events.
eval most common path first when checking flags.
2021-10-01 13:46:34 +00:00
Noah Mehl d24280c700 [core] Add SEND_RTCP_MESSAGE
We utilize: https://github.com/sipcapture/hepipe.js to monitor RTCP for our calls. As such, it's super helpful to get the sent RTCP data along with the received RTCP data. The new: SEND_RTCP_MESSAGE basically mirrors the existing RECV_RTCP_MESSAGE.
2021-10-01 13:46:34 +00:00
Dragos Oancea bb7bf86bb9 [core] print SRTP lib version at init. 2021-09-27 16:42:37 +03:00
Andrey Volk 9376db0aae [Core] Fix FreeSWITCH crashes caused by race conditions when working with Secure RTP. 2021-07-26 10:05:09 +03:00
Norm Brandinger 0877bd5770
[Core] switch_rtp: fix switch_rtp_set_max_missed_packets logging
Warning message about missed packets is misleading.
Message indicates greater (>) however, the conditional is greater than or equals (>=).
The message prints the value of rtp_sesstion->missed_count twice instead of printing the value of rtp_session->max_missed_packets.
2021-04-16 17:24:51 +03:00
Dragos Oancea 7fc5d9a7c3 [core] RTP: handle flush for incoming stream with DTX or packet loss. 2021-04-15 16:37:08 +03:00
Andrey Volk 0cab42bfb6 [Core] Hangup call instead of crashing system on SSL_CTX_new failure. Improve logging. 2021-03-22 18:52:04 +03:00
Dragos Oancea 2e65ca908d [core] rtp: fix #ifdef DEBUG_TS_ROLLOVER (#357) 2021-03-22 18:50:12 +03:00
Alexander Traud 48c4db71c2 [core] Allow other (D)TLS Curves/Groups beside P-256
Five years ago, commit 8e1b2ea enabled ECDHE for the DTLS server by hard-coding P-256. Released before that, OpenSSL 1.0.2, allows auto selection of the curve (P-256, P-384, and P-512). OpenSSL 1.1.x has this enabled on default, which adds groups/curves like X25519 and X448 automatically. This change here allows DTLS clients with a demand for Security Level 4 (192 bit) and 5 (256 bit) connecting to the DTLS server.
2021-03-19 01:00:56 +03:00
Andrey Volk 23321373ed [Core] Fix double close of a socket in switch_rtp 2021-03-16 22:15:33 +03:00
Seven Du 409b21b3e6 [core] debug socket sendto 2020-12-16 22:59:43 +08:00
Andrey Volk 1c0e7070bc [Core] Fix leak of BIO_METHOD *dtls_bio_filter_methods in switch_rtp_add_dtls() 2020-07-09 21:51:06 +04:00
Andrew Cassidy 3130a51182 [Core] Add AEAD_AES_128_GCM and AEAD_AES_256_GCM ciphers support. 2020-06-22 16:26:22 +04:00
Andrey Volk b630dfa79e [Core] switch_rtp: reduce end call due to SRTP failure log level from error to warning. 2020-05-07 02:54:54 +04:00
Andrey Volk 7b46e37318 [Core] switch_rtp: reduce dtls handshake failure level from error to warning. 2020-05-07 02:49:35 +04:00
surendrasignalwire 12f56e293d [Core] Fix one way audio after executing the uuid_recv_dtmf with dtmf string ending with w or W. 2020-05-07 02:08:49 +04:00
Dragos Oancea 65fa90894e [core] scan-build: Value stored to 'xcheck_jitter' is never read 2020-03-06 19:38:16 +04:00
LarryHemenway 6190fa6242
[Core] switch_rtp: update username to allow size specified in STUN RFC 5389 2020-03-04 02:37:14 +04:00
Visytel b997c4fc8b
[core] Turn DTMF logging on or off using sensitive_dtmf var 2020-02-12 23:44:35 +04:00
Andrey Volk d6094643bb [Core] Fix RTP unit-test by adding switch_rtp_get_core_session(). 2020-01-09 13:06:08 +04:00
Mike Jerris c65cb486d6 [core] change No audio stun for a long time error to warning 2019-12-31 02:32:47 +04:00
Anthony Minessale 47c5c8f3e8 [Core] Fix short-circuit in write timestamp calc 2019-12-17 00:37:07 +04:00
Christopher Rienzo 538021a6b9 Merge pull request #1781 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11919-log to master
* commit '6cfceb6e62b4461cedd712b7486c29bf6cd12fe6':
  FS-11919: change back loglevel to DEBUG1
2019-08-01 08:24:35 -05:00
Dragos Oancea 6cfceb6e62 FS-11919: change back loglevel to DEBUG1 2019-08-01 13:21:28 +00:00
Mike Jerris 3c06e3c788 Merge pull request #1773 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11743 to master
* commit '7060d962625970804b9a3d9db4c0f89caf2b67a3':
  FS-11743: don't reset VBW on receiving PLI/FIR
2019-07-25 18:35:30 -05:00
Mike Jerris 304865f580 Merge pull request #1772 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11965 to master
* commit '4349da32142a66caac8ce38d6a710d056ff56cbb':
  FS-11965: fix build.
2019-07-25 18:34:53 -05:00
Dragos Oancea 7060d96262 FS-11743: don't reset VBW on receiving PLI/FIR 2019-07-25 23:30:16 +00:00
Dragos Oancea 4349da3214 FS-11965: fix build. 2019-07-25 23:21:47 +00:00
Mike Jerris 4abe5905e0 Merge pull request #1771 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11965 to master
* commit '9e006869e47bf60706da14c54f81c38ccaf790ca':
  FS-11965: RTC: prevent overflow on percent_fraction (patch by Sergey Khripchenko <shripchenko@intermedia.net>)
  FS-11965: NACK log debug when we get a request
  FS-11965: RTCP: fix on rtcp_report_block->fraction - "if X packets were expected and X was lost, we want 0xff to be reported, not 0" (patch by Piotr Gregor <piotr@dataandsignal.com>)
2019-07-25 18:17:11 -05:00
Dragos Oancea 9e006869e4 FS-11965: RTC: prevent overflow on percent_fraction
(patch by Sergey Khripchenko <shripchenko@intermedia.net>)
2019-07-25 23:10:53 +00:00
Dragos Oancea 2e450cd3dc FS-11965: NACK log debug when we get a request 2019-07-25 23:10:53 +00:00
Dragos Oancea 40982338a0 FS-11965: RTCP: fix on rtcp_report_block->fraction - "if X packets were expected and X was lost, we want 0xff to be reported, not 0"
(patch by Piotr Gregor <piotr@dataandsignal.com>)
2019-07-25 23:09:27 +00:00
Artem Karukov 500b4c23b0 FS-11715: sanitize negative value for pkt_lost 2019-07-25 22:38:57 +00:00
Mike Jerris 3d53f7861e Merge pull request #1765 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11957 to master
* commit '6a036e661c6d78c7f98388ff445a7df93fd286e3':
  FS-11957: destroy NACK table on SWITCH_RTP_FLAG_KILL_JB too
2019-07-25 12:53:51 -05:00
Dragos Oancea 6a036e661c FS-11957: destroy NACK table on SWITCH_RTP_FLAG_KILL_JB too 2019-07-25 16:01:59 +00:00
Dragos Oancea 1f4dbe50e6 FS-11955: JB: add stats for received packets that have been NACKed previously (video) 2019-07-25 14:28:38 +00:00
Dragos Oancea 49e6449bc5 FS-11809: scan-build: dead assignments 2019-07-24 13:47:02 +00:00
Dragos Oancea 385769344b FS-11549: RTCP: fix report block stats
(thanks Sergey Hripchenko)
2019-07-19 01:50:23 +04:00
Dragos Oancea 939b949da4 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_rtp.c 2019-07-18 20:55:16 +04:00
Brian West b23d887586 FS-11654: [core] add media_timeout, media_hold_timeout and video vs audio variants 2019-07-18 00:54:37 +04:00
Mike Jerris 7906a2054a FS-11919: [core] add api compatibility for switch_rtp_new 2019-07-17 16:43:34 -04:00
Liyang a13196c1c7 FS-11841 [core] The ts of received rtp packages for DTMF is same. so add SFF_RFC2833 flag check when write rtp package. 2019-07-18 00:29:32 +04:00
Mike Jerris 9050a08952 FS-11642: [core] add audio and video versions of the variables set for the rtp_retain_crypto_keys feature 2019-07-17 23:32:55 +04:00