Commit Graph

20845 Commits

Author SHA1 Message Date
Seven Du 8d06825bc4 FS-11425 add test config 2019-07-18 01:52:44 +04:00
Seven Du 4130184761 FS-11425 default to level 3.1 follows 459baa858679b74abe8398b4ad06e43beafd9b89 2019-07-18 01:52:30 +04:00
Seven Du a455614e14 FS-11425 comment out more deprecated params on deb9 2019-07-18 01:52:23 +04:00
Seven Du 3bd78b7a20 FS-11425 update codec defaults 2019-07-18 01:51:28 +04:00
Seven Du ddb0661e39 FS-11425 force g-profile = 0 to vp9
otherwise it complains: [8:Invalid parameter:Profile > 1 not supported in this build configuration]
2019-07-18 01:51:21 +04:00
Andrey Volk f3548c9fa0 swigall 2019-07-18 01:19:24 +04:00
Chris Rienzo 4b337f1117 FS-11878 [core] change log level of dialplan EXECUTE 2019-07-18 00:58:57 +04:00
Dragos Oancea 9485b1465b FS-11926: rename chan var to 'execute_on_fax_close_detect' to prevent it collide with 'execute_on_fax_detect'
(switch_channel_execute_on() would have run them both)
2019-07-18 00:57:34 +04:00
Dragos Oancea 216d84146e FS-11926: [mod_spandsp] execute_on_fax_detect_close 2019-07-18 00:57:27 +04:00
Mike Jerris b81cbcba3c FS-11929: [core] improve detection of when video is ready. 2019-07-18 00:55:56 +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
Mike Jerris b29fa06d20 FS-11921: [core] add switch_img_data_url_png, fix build without libpng 2019-07-18 00:51:20 +04:00
Anthony Minessale 9cb6b201a6 FS-11921: [core] add switch_img_data_url_png 2019-07-18 00:50:48 +04:00
Anthony Minessale 3166510394 FS-11920: [mod_commands] fix typo 2019-07-18 00:47:40 +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 dab7d83e94 FS-10634: [core] Fix switch_channel_wait_for_app_flag from previous commit 2019-07-18 00:33:02 +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
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 c89f200b40 FS-11896: [core] fix media bug add on outbound 2019-07-18 00:27:11 +04:00
Andrey Volk ff21989218 FS-11896: [core] Fix typos 2019-07-18 00:26:51 +04:00
Anthony Minessale 1dd4191601 FS-11896: [core] stop media bugs from being possible to add to channels with no media ready, stop transfer recordings upstream to not try to transfer recordings to channels without media ready 2019-07-18 00:26:45 +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 3588cd5c51 FS-11858 [mod_hiredis] forgot to clear argc when recycling pipelined requests 2019-07-18 00:10:55 +04:00
Chris Rienzo e73f319aec FS-11858 [mod_hiredis] allow using single-quote when setting key to a value that has spaces 2019-07-18 00:10:47 +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 6c1948e370 FS-11870 [core] fix divide by zero in previous commit 2019-07-18 00:08:02 +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
joshebosh bc52339e68 FS-11886 [mod_av] ERR avcodec.c no codec in h264 2019-07-17 23:36:29 +04:00
Shashi Kumar 7c79dd95a3 FS-11837: [Core] Add feature to allow execution of an app on audio change, execute_on_audio_change variable. 2019-07-17 23:34:16 +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
Chris Rienzo ab7c9f6f2e FS-11820 [core] check read_frame_callback in switch_ivr_sleep() 2019-07-17 23:30:41 +04:00
Chris Rienzo 295982dafa FS-11810 [mod_httapi] fix compile error 2019-07-17 23:28:51 +04:00
Chris Rienzo ddc7bda736 FS-11810 [mod_httapi] improve error message for when downloading a URL fails 2019-07-17 23:28:41 +04:00
Seven Du b8b9915912 FS-11721 add no media support to capture_text 2019-07-17 23:26:28 +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 fe53318ef4 FS-11721 fix send empty message
A request with no body MUST NOT include a Content-Type or any other
MIME-specific header fields.  A request without a body MUST contain
an end-line after the final header field.  No extra CRLF will be
present between the header section and the end-line.
2019-07-17 23:26:12 +04:00
Seven Du 23e050618d FS-11721 fix data length of stripped html 2019-07-17 23:26:05 +04:00
Seven Du daf424880a FS-11721 Content-Type must be the last header according to RFC 2019-07-17 23:25:58 +04:00
Seven Du 0bf7bb0635 FS-11721 don't automatically send unicode linefeed on MSRP 2019-07-17 23:25:51 +04:00
Seven Du b23d7f277d FS-11721 add Message-ID to msrp message 2019-07-17 23:25:44 +04:00
Seven Du 76a278b03d FS-11721 fix msrp parser when more than one messages in buffer 2019-07-17 23:25:32 +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
Seven Du 7432091fdd FS-11721 remove extra newline in uuid_send_text and improve msrp logs 2019-07-17 23:25:18 +04:00
Chris Rienzo 613a3340da FS-11805 [mod_sofia] set default session timeout for outbound calls before overriding it with NAT detection. 2019-07-17 23:11:03 +04:00
Andrey Volk 4d932281e9 FS-11813: [Build-System] Remove libtpl dependency from FreeSWITCH 2019-07-17 23:09:50 +04:00
Seven Du 7d6c90e531 FS-11754 [core] Make sure audio sync works while playing tts 2019-07-17 23:06:21 +04:00
Seven Du 4ce6620988 FS-11754 sync audio before resume detect to improve continuous detection 2019-07-17 23:06:00 +04:00
Chris Rienzo 12ce8dd34b FS-11818 [core] fix memory leak when using dial handle in switch_ivr_originate() 2019-07-17 23:04:02 +04:00
Chris Rienzo 6f2466eb35 FS-11801 [core] Update scheduler to allow destruction of running task 2019-07-17 23:02:47 +04:00
Chris Rienzo 8aa07b677d FS-11807 [mod_commands] uuid_recv_dtmf changed to report OK when well formed request is consumed by dmachine or dtmf hook 2019-07-17 23:00:44 +04:00
Mike Jerris e7dda1b027 Revert "FS-9490: [mod_sofia] add filter to SIP messages that match a regexp."
This reverts commit 53dbe5d84a.

This previous patch made logger function not reentrant so reverting until we can get a fix without that issue
2019-07-17 22:57:55 +04:00
Seven Du 671f75b246 FS-11753 tweak vad test code and add debug logs 2019-07-17 22:57:53 +04:00
Chris Rienzo 239bf913f4 FS-11785 [core] fix scan-build issues 2019-07-17 21:51:06 +04:00
Chris Rienzo bc6fe22a0b FS-11785 [mod_tone_stream] fix dead assignment 2019-07-17 21:50:56 +04:00
Chris Rienzo f612fab976 FS-11785 [mod_local_stream] fix dead assignment 2019-07-17 21:50:50 +04:00
Chris Rienzo 7d0523f084 FS-11785 [mod_format_cdr, mod_local_stream] fix dead assignment 2019-07-17 21:50:43 +04:00
Chris Rienzo 91d07accee FS-11785 [mod_event_socket] fix dead assignment 2019-07-17 21:50:36 +04:00
Chris Rienzo 7ab7e8bee8 FS-11785 [mod_httapi] Fix dead assignment and null pointer false positive 2019-07-17 21:50:29 +04:00
Mike Jerris 2f415a64e2 FS-11785: [core] fix scan-build dead assignments 2019-07-17 21:50:20 +04:00
Chris Rienzo 1a90bc20a9 FS-11785 [mod_voicemail] fix a couple other places- unused code 2019-07-17 21:50:14 +04:00
Chris Rienzo 17b88eb688 FS-11785 [mod_opus] move fec_bitrate scope to a better place 2019-07-17 21:50:07 +04:00
Chris Rienzo 681b7e28ab FS-11785 [mod_sofia] fix scan-build issues 2019-07-17 21:49:50 +04:00
Chris Rienzo 0bd5b557e5 FS-11785 [mod_rtc] fix dead assignment 2019-07-17 21:49:41 +04:00
Chris Rienzo 1f05e5e8be FS-11785 [mod_opus] fix null dereference and dead assignments 2019-07-17 21:49:35 +04:00
Chris Rienzo ddfa208177 FS-11785 [mod_voicemail] removed dead assignments and dead code 2019-07-17 21:49:29 +04:00
Chris Rienzo 8ac4ddd5bb FS-11785 [mod_spandsp] fix dead assignments 2019-07-17 21:49:23 +04:00
Chris Rienzo 517985473a FS-11785 [mod_expr] fix scan-build false positives 2019-07-17 21:49:12 +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 67578abc79 FS-11785 [mod_lua] reswig with patches for scan-build 2019-07-17 21:46:59 +04:00
Chris Rienzo ffd3778dff FS-11785 [mod_lua] we want diffs of mod_lua_wrap.cpp 2019-07-17 20:22:59 +04:00
Chris Rienzo 0171a64a76 FS-11785 [mod_dptools] fix dead assignment and potential dereference of null pointer 2019-07-17 20:22:45 +04:00
Chris Rienzo 19b09689c8 FS-11785 [mod_conference] Fix dead assignments. Removed auto-record-canvas-id param which never did anything. 2019-07-17 20:22:37 +04:00
Chris Rienzo 464490ead5 FS-11785 [mod_conference] fix memory leak on realloc failure
fix dead assignments in conference_cdr
2019-07-17 20:22:27 +04:00
Chris Rienzo c6990e7a74 FS-11785 [mod_conference] fix scan-build NULL dereferences 2019-07-17 20:22:20 +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 3f46ce1da2 FS-11785 [mod_commands] tell scan-build that exten pointer is guaranteed not to be NULL 2019-07-17 20:21:46 +04:00
Chris Rienzo d77034a304 FS-11785 [mod_commands] fix dead assignments 2019-07-17 20:21:39 +04:00
Chris Rienzo 7e1df77421 FS-11785 [mod_commands] scan-build thinks NULL parameter is being passed to function. Shouldn't actually happen. 2019-07-17 20:21:19 +04:00
Chris Rienzo 12316c8d46 FS-11785 [mod_av] fix dead assignments in test code 2019-07-17 20:21:11 +04:00
Chris Rienzo 2a8e07d6ef FS-11785 [mod_av] fix a couple dead assignments and inconsistent assumption that mm pointer could be NULL 2019-07-17 20:20:52 +04:00
Chris Rienzo 581ec1287d FS-11785 [mod_av] remove dead assignment to fps in open_encoder 2019-07-17 20:20:39 +04:00
Chris Rienzo e09e84b088 FS-11784 [mod_sofia] quiet the codec negotiation error log. It's something that is not necessarily a FS issue. 2019-07-17 20:14:33 +04:00
Sergey Khripchenko 84aab26e65 FS-11745 Add "auto-jitterbuffer-msec" param to verto.conf.xml file 2019-07-17 20:12:04 +04:00
Anthony Minessale a0ac544fa1 FS-11713: [core] fix a calls b with video, b answers with audio and then turns on video (A will have to unpause video too) 2019-07-17 20:07:49 +04:00
Anthony Minessale b8a8765991 FS-11713: [core] fix video upgrade from b to a 2019-07-17 20:07:30 +04:00
Seven Du ce90b1fc44 FS-11831 add fs_tts utility 2019-07-17 20:04:59 +04:00
joshebosh 8a87e41e09 FS-10900 [mod_commands] uuid_recv_dtmf is showing -ERR no reply 2019-07-17 20:03:20 +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
Sergey Khripchenko 1b430c76d5 FS-11726 New dialplan application to wait for video stream being ready (ICE and DTLS setup) 2019-07-17 19:53:11 +04:00
Sergey Khripchenko 24c3b8d91f FS-11669 Fix timeout in switch_wait_sock() and switch_wait_socklist() 2019-07-17 19:51:56 +04:00
Seven Du 5c78fc6fdf FS-11670 add db name and type to sql error logs 2019-07-17 19:50:31 +04:00
Mike Jerris adabceca25 FS-11676: [mod_lua] fix build error in test 2019-07-17 19:46:21 +04:00
Seven Du 813771f737 FS-11676 add JSON support to mod_lua 2019-07-17 19:46:09 +04:00
Mariah Yang 78bbe8f5d9 FS-11621: add switch_core_strndup 2019-07-17 19:44:17 +04:00
joshebosh 7aac844f43 FS-11686 [mod_logfile] have mod_logfile say filename when rotating log 2019-07-17 19:43:02 +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
Brian West 0c13b704fc FS-10913: [mod_sofia] do not mark pre_answer unless status is less than 200 2019-07-17 01:49:13 +04:00
Sergey Khripchenko 6c739b3d32 FS-11468 Try to split payload to packets evenly(with largest at the end) up to vpx_globals.rtp_slice_size,
(assume hdrlen constant across all packets of the same picture).
It keeps packets being transmitted in order.
Without it last (and thus the smallest one) packet usually arrive out of order
(before the previous one)
2019-07-17 01:14:54 +04:00
Seven Du bdff9758f8 FS-11425 use clean log for vpx debug 2019-07-17 01:08:58 +04:00
Seven Du aa7bf4c6c1 FS-11425 fix token_parts should be 0 .. 3 based on number of cpu 2019-07-17 01:08:51 +04:00
Sergey Khripchenko 921bc97ed7 FS-11189 FS-11425 Refactor vpx settings and reverse some changes 2019-07-17 01:08:36 +04:00
Seven Du 4ace287aac FS-11425 remove vp10 2019-07-17 01:00:34 +04:00
Seven Du 339f0ff252 FS-11425 add vpx command complete 2019-07-17 01:00:26 +04:00
Seven Du 6d1309c97d FS-11425 enable profile name on test case 2019-07-17 01:00:19 +04:00
Seven Du d12aeb4fff FS-11425 add video_codec_config_profile_name to conference to choose a different codec profile 2019-07-17 01:00:11 +04:00
Seven Du 48539c278d FS-11425 update example configs 2019-07-17 00:59:58 +04:00
Seven Du c06ba2ca71 FS-11425 parse codec specific profiles 2019-07-17 00:59:20 +04:00
Seven Du bd34650fff FS-11425 use specified config name 2019-07-17 00:59:13 +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
Seven Du 66f60b1c78 FS-11425 parse additional profiles codec specific 2019-07-17 00:59:00 +04:00
Seven Du 0bbea7e197 FS-11425 refactor vpx to support more profiles 2019-07-17 00:58:53 +04:00
Seven Du 2a6fb572af FS-11425 refactor to parse profiles dynamicly to possible to support more profiles 2019-07-17 00:58:42 +04:00
Seven Du 807efbd0fa FS-11183 FS-11425 refactor out parse_profile 2019-07-17 00:58:29 +04:00
Andrey Volk cd2a53b52d FS-10882 [Core] VPX: Use 4 byte header VP8 with Picture ID 2019-07-17 00:57:56 +04:00
Sergey Khripchenko b431118857 FS-11189 Properly log VPX errors (use VPX functions/abstractions instead of internal structure fields) + log decoder errors when stream already being decoded 2019-07-17 00:53:55 +04:00
Seven Du 2484de58fe FS-11301 #resolve toggle canvas auto clear 2019-07-16 23:39:20 +04:00
Seven Du c8592be1fe FS-11300 #resolve pause read to avoide decode initially vmuted members 2019-07-16 23:37:39 +04:00
Seven Du 81d81b5401 FS-11293 #resolve attach to the original canvas when coming back from vmuted 2019-07-16 23:35:58 +04:00
Seven Du d793f2f2df FS-11292 #resolve update member status on canvas change 2019-07-16 23:34:31 +04:00
Seven Du 26f4c98b21 FS-11291 #resolve fix canvas id it was impossible to watch the first canvas 2019-07-16 23:32:29 +04:00
Seven Du 68abd253fe FS-11290 #resolve add canvasID and wachingCanvasID 2019-07-16 23:30:48 +04:00
Mike Jerris 99b3162ffc FS-11680: [mod_sofia] dont treat registers from websockets received over a proxy over non websockets as nat. We should be sending to the route set and not locking on to send all requests to the websocket directly in this case 2019-07-16 23:26:20 +04:00
Mike Jerris e6dd288762 FS-11511: [mod_conference] allow conference vid-banner command to be run when you don't have video actively on the screen 2019-07-16 23:24:43 +04:00
Andrey Volk 554519f0e4 FS-11553: [core] do not discard the file if we are appending 2019-07-16 23:21:32 +04:00
Mike Jerris 8a809624cb FS-11498 build sofia into convenience lib to build mod_sofia and test code 2019-07-16 22:52:53 +04:00
Seven Du cc66bcabfd FS-11498 fix url cut off 2019-07-16 22:26:32 +04:00
Mike Jerris abec4deaa1 FS-11449: [core] add -elegant-term command line option to make SIGTERM perform an elegant shutdown 2019-07-16 21:04:39 +04:00
Anthony Minessale f4d8631c09 FS-11446: [freeswitch-core] Improve video JB scaling and fix misreported rtp stats #resolve 2019-07-16 20:54:22 +04:00
Anthony Minessale 878565e4b3 FS-11446: [freeswitch-core] Improve video JB scaling and fix misreported rtp stats #resolve 2019-07-16 20:54:17 +04:00
Brian West e06ed5ad19 FS-11504: [core] do not send reneg event if call is not answered 2019-07-16 20:33:04 +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
Chris Rienzo 8534a4b86a FS-11443 [core] reworked switch_vad.c and added voice_ms and silence_ms as parameters. 2019-07-16 20:20:10 +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
Chris Rienzo 185fe09912 FS-11903: Fix errors (again) reported by PVS-Studio Static Code Analyzer for switch_apr.c 2019-07-16 01:32:55 +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 44c38c5273 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_conference 2019-07-15 23:47:08 +04:00
Andrey Volk c952a025dd FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_spandsp 2019-07-15 23:47:05 +04:00
Andrey Volk 2bf545a18b FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_xml_config.c 2019-07-15 23:46:07 +04:00
Andrey Volk 0ac27178f8 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_xml.c 2019-07-15 23:46:03 +04:00
Andrey Volk 292d0b2ec6 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_utils.c 2019-07-15 23:46:00 +04:00
Andrey Volk 0d73ca2f51 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_time.c 2019-07-15 23:45:36 +04:00
Andrey Volk b765bd46b5 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_stun.c 2019-07-15 23:45:32 +04:00
Andrey Volk b5d8ffcb5e FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_regex.c 2019-07-15 23:44:27 +04:00
Andrey Volk 04c8e06196 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_profile.c 2019-07-15 23:43:55 +04:00
Andrey Volk 69721f8266 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_odbc.c 2019-07-15 23:43:51 +04:00
Andrey Volk 68d680eb25 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_nat.c 2019-07-15 23:43:48 +04:00
Andrey Volk 862e675ffc FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_loadable_module.c 2019-07-15 23:42:16 +04:00
Andrey Volk 0893418d8b FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_limit.c 2019-07-15 23:42:12 +04:00
Andrey Volk 8d7c70f91a FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_jitterbuffer.c 2019-07-15 23:42:09 +04:00
Andrey Volk f99f89ceb9 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_ivr_menu.c 2019-07-15 23:42:06 +04:00
Andrey Volk 457f7baa5e FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_ivr_bridge.c 2019-07-15 23:42:03 +04:00
Andrey Volk cdea1c13ae FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_ivr_async.c 2019-07-15 23:41:59 +04:00
Andrey Volk 863390ebba FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_event.c 2019-07-15 23:41:56 +04:00
Andrey Volk 6ee5ad8b83 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_estimators.c 2019-07-15 23:41:47 +04:00
Andrey Volk 42db14e68f FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_core_video.c 2019-07-15 23:41:43 +04:00
Andrey Volk cdd3b6f448 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_core_media_bug.c 2019-07-15 23:41:40 +04:00
Andrey Volk 21f9c47dd5 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_core_io.c 2019-07-15 23:41:37 +04:00
Andrey Volk f245196e82 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_core_hash.c 2019-07-15 23:41:34 +04:00
Andrey Volk b6f98bdce0 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_core_db.c 2019-07-15 23:41:31 +04:00
Andrey Volk 3018a76c10 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_core_codec.c 2019-07-15 23:41:28 +04:00
Andrey Volk 6f2568e6e8 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_core_cert.c 2019-07-15 23:41:25 +04:00
Andrey Volk e7abf29f4f FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_core.c 2019-07-15 23:41:14 +04:00
Andrey Volk 594203f9b1 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_apr.c 2019-07-15 23:41:10 +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 85d963f666 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_say_en 2019-07-15 23:41:03 +04:00
Andrey Volk cad56b3b4b FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_tone_stream 2019-07-15 23:40:58 +04:00
Andrey Volk d432f73b75 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_ssml 2019-07-15 23:40:55 +04:00
Andrey Volk daafd039ed FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_shout 2019-07-15 23:40:52 +04:00
Andrey Volk a8861e1cba FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_native_file 2019-07-15 23:40:49 +04:00
Andrey Volk e6f38bc683 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_local_stream 2019-07-15 23:40:44 +04:00
Andrey Volk e1c9f561b9 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_avmd 2019-07-15 23:39:44 +04:00
Andrey Volk b86ea2f5a1 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_commands 2019-07-15 23:39:38 +04:00
Andrey Volk f4c9048e24 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_rayo 2019-07-15 23:39:28 +04:00
Andrey Volk 7afec393c7 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_opus 2019-07-15 23:39:26 +04:00
Andrey Volk e0211e2ce1 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_event_socket 2019-07-15 23:39:26 +04:00
Andrey Volk 4ae1f1278b FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_verto 2019-07-15 23:39:25 +04:00
Andrey Volk c474824aa9 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_rtc 2019-07-15 23:39:24 +04:00
Andrey Volk 75a37ba42e FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_expr 2019-07-15 23:39:23 +04:00
Andrey Volk 05cc20e636 FS-11911: [mod_av] Fix mod_av on Debian Jessie 2019-07-15 22:24:01 +04:00
Seven Du e9c58084db FS-11911: [mod_av] Fix mod_av on Debian Buster 2019-07-15 22:23:39 +04:00
Andrey Volk a7477ed0e2 FS-11911: Fix build on Debian Buster 2019-07-15 22:23:25 +04:00
Andrey Volk 4f50a24a90 FS-10801: [Core] Use right order when loading core modules. 2019-07-15 22:20:35 +04:00
Mike Jerris 2abd5705dc FS-10801: [core] fix typo in core db interface 2019-07-15 22:19:27 +04:00
Mike Jerris 5febf075f7 FS-10801: [core] fix typo in core db interface 2019-07-15 22:19:12 +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
David Grant 3695681cf6 FS-11859 [mod_verto] mod_verto.c log for MCAST Data Sent changed to if (verto_globals.debug > 0) and other LOG_ALERT changed to LOG_DEBUG triggered by verto_globals.debug 2019-07-09 23:31:55 -05: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
Andrey Volk 359287ffe2 FS-11902: [Core] Remove duplicate database indexes. 2019-06-29 03:17:41 +04:00
Andrey Volk cc61f11427 Revert "FS-11417: [mod_conference] Unbounded memory growth during screen share #resolve"
This reverts commit 143323e6ef.
2019-06-29 02:13:34 +04:00
Andrey Volk 4306efffbe FS-11895: [build] fix test build 2019-06-29 01:02:36 +04:00
Mike Jerris 4816af2f56 FS-11895: [build] fix test build 2019-06-27 17:52:47 -04:00
Mike Jerris 69af7afd4d FS-11895: [build] fix test build 2019-06-27 16:43:04 -04:00
Mike Jerris 25192d7d24 FS-11895: [build] fix test build 2019-06-27 15:56:23 -04:00
Mike Jerris 8e129b913d FS-11906: [mod_sofia] fix NDLB-allow-bad-iananame profile param 2019-06-27 15:30:43 -04:00
Mike Jerris 03077d3133 FS-11895: [osx] fix mod_av osx test build 2019-06-27 14:20:41 -04:00
lazedo ad7db39999 FS-11732 [mod_kazoo] ei_init added in OTP 21.3 2019-06-25 14:54:47 +00:00
Mike Jerris 10a52ebe48 Merge pull request #1711 in FS/freeswitch from ~SEBASTIAN/freeswitch:bugfix/FS-11783-address-gcc8-warnings to master
* commit '3ca75eb8efa4e50ebe083a269b75fcb1762daa91':
  FS-11783: [mod_say_ja] quiet overflow warning
  FS-11783: [core] quiet gcc truncation warning
2019-06-24 09:29:12 -05:00
Andrey Volk 0d895c50f5 FS-11421: [mod_sofia] Cleanup. 2019-06-21 20:58:12 +04:00
Konstantin Molchanov 69f3dfe779 FS-11892 [switch_console] fix stream write_function 2019-06-18 12:47:39 +03:00
Dragos Oancea 813a37d844 Merge branch 'master' of https://freeswitch.org/stash/scm/fs/freeswitch into master_public 2019-06-06 17:45:18 +00:00
Dragos Oancea 279b7994ef FS-11743: video RTCP counter (fix conflicts) 2019-06-06 17:38:04 +00:00
Andrey Volk 109c5eb6ca swigall 2019-06-06 21:18:02 +04:00
Dragos Oancea cfcb8b5d2f FS-11750: don't shrink NACK table (vbw) so drastically (don't drop a frame with every added packet when complete_frames > max_frame_len) 2019-06-06 17:01:36 +00:00
Dragos Oancea 32de076b18 FS-11751: process_rtcp_packet() bounds check 2019-06-06 16:59:08 +00:00
Dragos Oancea 0a02a33023 FS-11480: revert change for FS-11424 which introduced screeching after muxing
(thanks Sergey KHripchenko)
2019-06-06 16:56:12 +00:00
Dragos Oancea 2997ceb56f FS-11678: add/fix muxing to 2 channels (when audio file is multichannel - more than 2 channels) 2019-06-06 16:54:19 +00:00
Dragos Oancea 99bd3b3c6e FS-11675: RTCP NACK at start of call too 2019-06-06 16:50:45 +00:00
Dragos Oancea 133b42b1e9 FS-11635: decrement RTCP counters on duplicate received NACKed packet which is dropped anyway
(affects cum_lost calculation)
2019-06-06 16:50:06 +00:00
Dragos Oancea a8d7c72084 FS-11666: RTCP: fix RENACK_TIME check (throttle when NACKing the same seq) 2019-06-06 16:49:13 +00:00
Dragos Oancea bd90f82e6f FS-11635: RTCP: fix SSRC in FIR, cum_lost due to dup NACKs
(thanks Artem Karukov for finding these)

FS-11635: include received Nacked to the expected packet count.
2019-06-06 16:47:29 +00:00
Dragos Oancea 8185aadb5e FS-11631: [core] RTCP: set RTP timestamp for video in SR (sender info block)
FS-11631: [core] fix introduced by minor change of behavior, rtcp & ice (FS-11549) -keep rtcp disabled during ICE
2019-06-06 16:42:28 +00:00
Dragos Oancea f5a736f037 FS-11549: don't send the reception report block when we need to send fast feedback (do like Chrome does it, don't confuse peer's stats).
FS-11549: don't send RTCP RR unless we're receiver only.
2019-06-06 16:41:43 +00:00
Dragos Oancea d6169a3845 FS-11561: [core] RTCP: attempt to avoid race cond on calculating DLSR (stats->last_recv_lsr_local) 2019-06-06 16:38:58 +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
Liyang a095c83ecc FS-11832 [core] clear the old pmap when codec negotiated 2019-06-06 11:59:16 -04:00
joshebosh e972499e4f FS-11775 [core] wait_for_silence debug messages showing as ERR 2019-06-06 11:57:41 -04:00
Mike Jerris c786efa9aa FS-11774: [mod_conference] Quiet down logs from conference moderator command over verto 2019-06-06 11:54:27 -04:00
Chris Rienzo e47879604c FS-11824 [mod_sofia] map SIP 607 to SWITCH_CAUSE_CALL_REJECTED 2019-06-06 11:52:07 -04:00
Chris Rienzo 641300893f FS-11824 [core] add NOT_ACCEPTABLE string to cause mapping 2019-06-06 11:52:01 -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
joshebosh 552d3d8b02 FS-11694 [mod_conference] conference vid-res showing -ERR no reply 2019-06-06 11:50:05 -04:00
joshebosh 372cfc3221 FS-11719 [mod_commands] uuid_broadcast yields OK on bogus uuid 2019-06-06 11:49:22 -04:00
joshebosh 0ba26f0351 FS-11718 [mod_commands] uuid_break yields -ERR no reply 2019-06-06 11:48:16 -04:00
Dragos Oancea c82f093419 FS-11711: fix overflow on reading ICE candidates (found with ASAN) 2019-06-06 11:47:13 -04:00
Mike Jerris 90ea0b7a1f FS-11624: [Build] Fix paralell build of rayo, ssml, digaling can cause iksemel lib build error. 2019-06-06 11:45:21 -04:00
Seven Du cf7a1d47bf FS-11640 fix const char * prototype 2019-06-06 11:39:58 -04:00
Mariah Yang 463eb7294e FS-11671 fix potential devided by zero error 2019-06-06 11:39:05 -04:00
Brian West 60be42008c FS-11660 [mod_sofia] Not parsing sdp after first video reject. 2019-06-06 11:36:26 -04:00
Andrey Volk 2192d5de3b FS-11644: [core] Fix send_dtmf containing w or W 2019-06-06 11:29:21 -04:00
Brian West 96c8cb0473 FS-11625: [core]: Do not hangup sessions that have transfer or park after bridge set. 2019-06-06 11:22:37 -04:00
Liyang 0c73aa82da FS-11822 [core] reset the codec_string when stream changed 2019-06-06 11:21:19 -04:00
Chris Rienzo 2d231cdff3 FS-11823 [core] clear out event queue when destroying session 2019-06-06 11:20:16 -04:00
Seven Du 20e370aa2a FS-11573 fix seg when missing conference layout config 2019-06-06 11:18:56 -04:00
Mike Jerris a255bd3d62 FS-11668: [verto] Fix polling of secure verto sockets 2019-06-06 11:17:22 -04:00
Sergey Khripchenko 8dd5373db4 FS-11467: [mod_verto] Properly handle poll() EINTR and separate `poll()==0` / timeout case 2019-06-06 11:17:00 -04:00