2568 Commits

Author SHA1 Message Date
Anthony Minessale
b644421c87 core side of vpx update 2019-07-25 23:06:59 +04:00
Dragos Oancea
317e197b0b FS-11959: add switch_jb_get_packets_per_frame() - gets the number of packets per video frame 2019-07-25 18:00:27 +00:00
Mike Jerris
241911817f Merge pull request #1766 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11958 to master
* commit '863189fed69b953dcf732b351124a63814a8f322':
  FS-11958: [core] add switch_core_media functions that deal with bw and bitrate
2019-07-25 12:52:54 -05:00
lazedo
a84daf95bb FS-11860 [core] allow configurable separator in event_channel and
process all parts of key
2019-07-25 21:51:50 +04:00
Dragos Oancea
863189fed6 FS-11958: [core] add switch_core_media functions that deal with bw and bitrate 2019-07-25 17:08:58 +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
Andrey Volk
5b9d0244c5 FS-11903: Fix regression on Windows in switch_utils.h 2019-07-19 00:33:21 +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
382ecb6612 FS-11922: [core] improve switch_calc_bitrate 2019-07-18 00:53:14 +04:00
Anthony Minessale
9cb6b201a6 FS-11921: [core] add switch_img_data_url_png 2019-07-18 00:50:48 +04:00
Mike Jerris
7906a2054a FS-11919: [core] add api compatibility for switch_rtp_new 2019-07-17 16:43:34 -04:00
Anthony Minessale
4926eac49d FS-11918: [core] add function to see frame buffer len switch_frame_buffer_size 2019-07-18 00:35:56 +04:00
Brian West
d355a57264 FS-10634 [mod_spandsp]: txfax failing with 488 Not Acceptable Here race 2019-07-18 00:32:53 +04:00
Dragos Oancea
38f0f0662f FS-11876 [core] getter for VAD state 2019-07-18 00:31:01 +04:00
Andrey Volk
ccc4ae282a FS-11880: [Core,mod_pgsql] Remove native PostgreSQL support from the core, add mod_pgsql database module. 2019-07-18 00:20:50 +04:00
Chris Rienzo
fb695c528e FS-11893 [core] add switch_dial_handle_create_json() and switch_dial_handle_serialize_json() for dial handle/json conversions 2019-07-18 00:09:20 +04:00
Chris Rienzo
b06c7b0831 FS-11870 [core, mod_graylog2, mod_console] Added switch_log_node_to_json() and updated mod_graylog2 to use it. This is a unified log node to JSON conversion.
Added json log mode in mod_console
2019-07-18 00:07:54 +04:00
Luis Azedo
302b409815 FS-11848 [core] add user_data to event_channel_bind
* also adds a convenience switch_event_channel_deliver for already in thread
2019-07-17 16:02:12 -04:00
Anthony Minessale
eb31e17e6c FS-11910: [mod_dptools] add native eavesdrop mode. use app native_eavesdrop args <uuid> [read|write] ... default is read with no flag. Must be same codecs 2019-07-17 23:38:23 +04:00
Seven Du
5371de231e FS-11721 refactor msrp serialize function
to be consistant with Content-Type at the end of headers if present
dynamically alloc memory to avoid buffer overflow on large message
2019-07-17 23:26:19 +04:00
Seven Du
1a95ef664b FS-11721 add a send queue to buffer msg messages before msrp socket is ready 2019-07-17 23:25:25 +04:00
Mike Jerris
3870c0fc2a FS-11785: [core] help clang static analyzer understand this macro construct 2019-07-17 21:48:59 +04:00
Chris Rienzo
c776680c56 FS-11785 [core, mod_commands] update XML API to fix scan-build false positive memory leaks 2019-07-17 20:21:57 +04:00
Chris Rienzo
c796723dd7 FS-11728 [core] add switch_ivr_play_and_collect_input(). This function plays a prompt while looking for DTMF or speech and returns whatever was heard. 2019-07-17 19:58:45 +04:00
Mariah Yang
78bbe8f5d9 FS-11621: add switch_core_strndup 2019-07-17 19:44:17 +04:00
Mike Jerris
a9e634b664 FS-11557: [mod_sofia] add support for RFC 7989 Session-ID header
(enable with sofia profile param rfc-7989=true)

FS-11557 [mod_sofia, mod_conference, core] Add support for re-INVITE when setting Session-ID in conference after call has been answered.

FS-11557 [mod_conference] Missed a spot where APP_SESSION_ID needed to be set.

FS-11557: set session id for outbound (initial requests)

FS-11557: [mod_sofia] rename vars and functions "session id" -> "session uuid" to reflect the real meaning for rfc7989.

FS-11557: fix bug - colliding chan var names (session_id)

FS-11557: check nil session uuid

FS-11557 : replace CS_NEW with CS_INIT for when originating calls, generate new uuid.

FS-11557: handle inbound (UAS mode, one leg)

FS-11557: generic param handling and filter via new sip profile option "rfc-7989-filter", eg:
<param name="rfc-7989-filter" value="logme, sec-agree, privacy" />

FS-11557: renamed chan vars (reflect meaning only for RFC7989)

FS-11557: fallback to RFC7329 - "old" Session-ID

FS-11557: distinguish between request and replies when we read the header
(to provide compatibility with old RFC7329 - section 11 of RFC7989)
FS-11557: change more vars/consts names

FS-11557: move compat flag on the channel.

FS-11557: add Session-ID header in REFER

FS-11557: needs extra condition on received initial request

FS-11557: handle NOTIFY

FS-11557: support answer() in dialplan - it was sending back a 200 OK with Session-ID invalid, eg: A=NIL;B=X

FS-11557: add Session-ID for NOTIFY (more cases)

FS-11557: handle reply to SIP INFO (add Session-ID header)

FS-11557: handle case of BYE after REFER, when the channel is destroyed already (save the uuid on sofia_private)

FS-11557: handle more SIP reply cases (eg: 202 Accepted , more negative replies)

FS-11557: handle ACK (UAS role)

FS-11557: added "rfc-7989-force-old" profile param - to enforce old rfc7329 for the UAC role. default off.
enabled with "<param name="rfc-7989-force-old" value="true" />".

FS-11557: fallback to rfc7329 fixes.

FS-11557: set flag CF_RFC7329_COMPAT on partner channel where needed

FS-11557: fix crash (mod_conference)
2019-07-17 19:13:41 +04:00
Seven Du
b591f691bb FS-11425 add config_profile_name to codec_settings to choose a specific codec config profile 2019-07-17 00:59:06 +04:00
Sergey Khripchenko
c546154d67 FS-11436 more granularly calculate 'samples' and modify requested 'fsp' accordingly
+ review all places where it used and reflect that 'fps' is (float)
2019-07-16 20:26:32 +04:00
Sergey Khripchenko
be7c5331f6 FS-11436 RTP timestamp field incorrectly calculated based on fps 2019-07-16 20:26:24 +04:00
Mike Jerris
eb84654383 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_utils.h 2019-07-16 01:33:13 +04:00
Chris Rienzo
8a8253a459 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_fct.h 2019-07-16 01:33:06 +04:00
Andrey Volk
ae64513044 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_platform.h 2019-07-15 23:47:11 +04:00
Andrey Volk
fa40e64916 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_loadable_module.h 2019-07-15 23:41:07 +04:00
Andrey Volk
a7477ed0e2 FS-11911: Fix build on Debian Buster 2019-07-15 22:23:25 +04:00
Mike Jerris
2abd5705dc FS-10801: [core] fix typo in core db interface 2019-07-15 22:19:27 +04:00
Andrey Volk
7fc9eafa74 FS-11727: [core] Add SWITCH_DATABASE_FLAG_ROW_SIZE_LIMIT for databases unable to create wide tables. 2019-07-15 22:18:30 +04:00
Andrey Volk
07e0d4f90c FS-10801: [core] Add a database interface to the FreeSWITCH Core. 2019-07-15 22:18:19 +04:00
Chris Rienzo
3c11fa9657 FS-11781 [test] try again with the test fix- need to have pool allocated sooner 2019-07-09 19:27:47 +04:00
Chris Rienzo
d4f1af83e8 FS-11781 [test] Fix memory leak in test 2019-07-09 19:27:39 +04:00
Chris Rienzo
9e57da8dfb FS-11781 [test] shut down FS core when test finishes 2019-07-09 19:27:32 +04:00
Chris Rienzo
2dcf963318 FS-11781 [test] separate basedirs for tests to allow parallel build 2019-07-09 19:27:22 +04:00
Chris Rienzo
a4ab865f65 FS-11781 [test] log reason for core load failure 2019-07-09 19:27:12 +04:00
Chris Rienzo
bc02888e51 FS-11781 [test] Add more string checks 2019-07-09 19:27:04 +04:00
Chris Rienzo
74eb2feec7 FS-11781 increase test buffer size from 256 to 2048 to prevent test log truncation. 2019-07-09 19:26:54 +04:00
Chris Rienzo
824356cc94 FS-11725 [core,test] Fix switch_core to allow MINIMAL core to load without freeswitch.xml. Fix test framework to exit if FreeSWITCH core fails to load. 2019-07-09 19:25:06 +04:00
Dragos Oancea
279b7994ef FS-11743: video RTCP counter (fix conflicts) 2019-06-06 17:38:04 +00:00
Piotr Gregor
9682d2c2c9 FS-11730 Add support for DTLSv1.2 and make default
Needed in Chrome version >= 74 as Chrome dropped support for v1.0:
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/discuss-webrtc/yr6gbAgWsKo/9X5vQb8kGAAJ

Using old v1.0 DTLS if 1.2 is not available or legacy DTLS
wanted explicitly. To request old DTLS set variable

	<action application="set" data="legacyDTLS=1"/>

Note: requires openssl 1.0.2 or later for DTLS v1.2 support
2019-06-06 12:05:11 -04:00
Chris Rienzo
0a6d87edfe FS-11824 [sofia-sip,mod_sofia,core] Added cause codes that map to SIP 600,603,604,606,607 2019-06-06 11:51:51 -04:00
Seven Du
cf7a1d47bf FS-11640 fix const char * prototype 2019-06-06 11:39:58 -04:00
Piotr Gregor
118dd796f3 FS-11421: [core,mod_sofia] Fix rtp_pass_codecs_on_stream_change to process all sdp settings in the re-invite -- add new filter_codecs app and fix some races and negotiation bugs #resolve 2019-06-06 11:08:52 -04:00