Commit Graph

20845 Commits

Author SHA1 Message Date
Sergey Khripchenko 655c8a1a7b FS-11362 Attempt to rearrange verto socket shutdown sequence 2019-07-26 00:31:11 +04:00
Mike Jerris fdea350817 FS-11454: [core] Add error log when attempting to route to an invalid dialplan interface 2019-07-25 14:30:24 -06:00
Mike Jerris 090e8284b6 FS-11961: [mod_sofia] Handle request vs response in sofia_media_tech_media 2019-07-25 14:26:36 -06:00
Dragos Oancea dc1e851214 FS-9264: FS-10976: fix detect_audio, detect_silence and wait_for_silence_function dialplan apps
(thanks Sergey KHripchenko and Hervé Déprez for pointing these out)
2019-07-26 00:22:08 +04:00
Anthony Minessale d4a0040c88 FS-11417: [mod_conference] Unbounded memory growth during screen share #resolve 2019-07-26 00:17:41 +04:00
Andrey Volk 27669eda04 FS-11194: [mod_v8] Implement JavaScript Process Status with Heap statistics. 2019-07-26 00:01:22 +04:00
Seven Du fc139b7068 FS-11934 add some conference test cases 2019-07-25 23:57:34 +04:00
Anthony Minessale 1c80a83d57 fix teletone gen on multichannel 2019-07-25 23:31:08 +04:00
Anthony Minessale b644421c87 core side of vpx update 2019-07-25 23:06:59 +04:00
Mike Jerris f49279b45e .gitignore 2019-07-25 23:06:38 +04:00
Mike Jerris 8948ba694e .gitignore 2019-07-25 23:06:24 +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 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
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
Mike Jerris abdf796069 Merge pull request #1764 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11955 to master
* commit '1f4dbe50e6c29ed8b04b0af428bc49352f37664e':
  FS-11955: JB: add stats for received packets that have been NACKed previously (video)
2019-07-25 12:50:19 -05: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 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 f982b2b931 FS-11954: JB: change complete frames marker 2019-07-25 13:01:52 +00:00
Liyang 60c7235603 FS-11953: [core] set the correct cng pt after receive reinvite to avoid garbled audio 2019-07-24 22:38:08 +04:00
Andrey Volk e863053e92 Merge pull request #1761 in FS/freeswitch from bugfix/FS-11952-fix-memory-leaks to master
* commit '718d2341f7327feea52c840648e42b33eb9c69dd':
  FS-11952: [Core] Fix memory leaks.
2019-07-24 11:49:58 -05:00
Andrey Volk 692ed77cd6 Merge pull request #1760 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11809 to master
* commit '49e6449bc5119852570f693695fea2046b1028a0':
  FS-11809: scan-build: dead assignments
2019-07-24 11:49:47 -05:00
Andrey Volk d56baeb6a0 Merge pull request #1759 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11951 to master
* commit '54c589500925106ed05de3331d195a0a3cafa366':
  FS-11951: JB: rare crash in reading the chan var  (it maybe called without a session in some unit tests)
2019-07-24 11:49:23 -05:00
Andrey Volk 718d2341f7 FS-11952: [Core] Fix memory leaks. 2019-07-24 20:26:32 +04:00
Dragos Oancea 49e6449bc5 FS-11809: scan-build: dead assignments 2019-07-24 13:47:02 +00:00
Dragos Oancea 54c5895009 FS-11951: JB: rare crash in reading the chan var (it maybe called without a session in some unit tests) 2019-07-24 13:16:35 +00:00
Andrey Volk 3fa1f3b76c FS-11950: [mod_pgsql] Fix gcc8 errors replacing strncpy with snprintf. 2019-07-24 13:01:42 +04:00
Andrey Volk 4a2812aaf5 FS-11727: [mod_mariadb] Add MariaDB (MySQL) support 2019-07-23 20:07:16 +04:00
Andrey Volk 9c8de649b3 FS-11947: [Build-System] Do not install test binaries when doing make install. 2019-07-23 19:34:21 +04:00
Andrey Volk 91e99db6c8 FS-11944: [mod_sofia] Fix error: 'nh->nh_home' will always evaluate to 'true'. 2019-07-23 18:47:17 +04:00
Christopher Rienzo 6cb4c2720a Merge pull request #1754 in FS/freeswitch from fs-11931fix to master
* commit 'bbbaf7e99e2c0d049293741ddf91a56cd628fc5f':
  FS-11931: [mod_http_cache] Fix regression, use SWITCH_MOD_DECLARE() in modules instead of SWITCH_DECLARE().
2019-07-23 09:04:09 -05:00
Dragos Oancea 86a5ee3509 FS-11945: [mod_opus] don't hangup call on decoder error. 2019-07-23 18:02:52 +04:00
Andrey Volk bbbaf7e99e FS-11931: [mod_http_cache] Fix regression, use SWITCH_MOD_DECLARE() in modules instead of SWITCH_DECLARE(). 2019-07-23 12:48:31 +04:00
Chris Rienzo aa6844ae00 FS-11931 [mod_http_cache] Fix leaks in tests 2019-07-23 00:44:53 +04:00
Chris Rienzo a33877aace FS-11931 [mod_http_cache] convert tests to use switch_test 2019-07-23 00:44:33 +04:00
Andrey Volk f9a03570f4 FS-11946: [Core] Fix possible unallocated memory access. 2019-07-22 23:40:06 +04:00
Andrey Volk 00af023c19 Merge pull request #1751 in FS/freeswitch from ~QUOCBAO/freeswitch:mod/mod_http_cache to master
* commit 'cbc36d0541f3ed89ccb7611fbae6cd06284e75df':
  FS-11943 [mod_http_cache] Fix typos in warning message in aws.c
2019-07-22 07:36:59 -05:00
baonq-me cbc36d0541 FS-11943 [mod_http_cache] Fix typos in warning message in aws.c 2019-07-22 11:51:28 +07:00
Dragos Oancea f2e7e69be3 FS-11750: JB fix: avoid infinite loop when chan var rtp_nack_buffer_size is small (initial max_packet_len) 2019-07-19 02:06:26 +04:00
Dragos Oancea 385769344b FS-11549: RTCP: fix report block stats
(thanks Sergey Hripchenko)
2019-07-19 01:50:23 +04:00
Andrey Volk 5b9d0244c5 FS-11903: Fix regression on Windows in switch_utils.h 2019-07-19 00:33:21 +04:00
Mariah Yang d654faa5a9 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_sofia 2019-07-18 22:22:56 +04:00
Liyang 6f9ee4216c FS-11903: [mod_sofia] fix warnV547 Expression 'sip->sip_via' is always true. 2019-07-18 21:27:10 +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
Andrey Volk ff30de1692 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_msrp.c 2019-07-18 19:27:57 +04:00
Andrey Volk af4316d8fb FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_av 2019-07-18 19:27:46 +04:00
Andrey Volk 30f0ad63f4 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_dptools 2019-07-18 19:27:40 +04:00
Mike Jerris ebac830f52 FS-11425: [mod_av] fix build on older libav w/o H265 2019-07-18 01:53:01 +04:00
Seven Du 76d11001ce FS-11425 fix typo 2019-07-18 01:52:53 +04:00
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