Commit Graph
98 Commits
Author SHA1 Message Date
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
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
Chris Rienzo bd96911f4f FS-11816 [Build-System] srtp build issue 2019-07-17 22:08:51 +04:00
Chris Rienzo 4730e70b1a FS-11816 [Build-System] ignore libsrtp generated files 2019-07-17 22:07:33 +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
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
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 ca8fa0e1ff FS-11785 [esl] dead assignments in esl_event_serialize
null attribute in esl_buffer_read
	       null attribute in esl_event_base_add_header
	       null attribute in esl_recv_event
2019-07-17 20:22:11 +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
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
Chris Rienzo 892f0a289f FS-11516 [build-system] Add --enable-pool-sanitizer configure flag. This will make it easier to find memory issues when using address sanitizer. Also added -fstack-protector-strong when using --enable-address-sanitizer. 2019-07-16 23:17:47 +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
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
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
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
Chris Rienzo 1bd9fd1a86 FS-11785 [sofia] fix dead assignment in parse_payload 2019-06-06 11:25:26 -04:00
Chris Rienzo 8925519e02 FS-11785 [libteletone] Fix dead assignment in teletone_dtmf_detect 2019-06-06 11:25:19 -04:00
Chris Rienzo 7187e8ecd2 FS-11785 [libteletone] Fix unlikely divide by zero in teletone_mux_tones 2019-06-06 11:25:13 -04:00
Chris Rienzo 2d231cdff3 FS-11823 [core] clear out event queue when destroying session 2019-06-06 11:20:16 -04:00
Christopher Rienzo 9c131f2755 Merge pull request #1725 in FS/freeswitch from ~NOAHMEHL_REPER.IO/freeswitch:master to master
* commit '15c4647c8cf193f2188d1e3548a13a0ad720e710':
  FS-11796: [mod_http_cache] Fixed file seek in mod_http_cache.c
2019-05-14 10:50:10 -05:00
Christopher Rienzo 8b1d92a88d Merge pull request #1724 in FS/freeswitch from FS-11839-update-libks-to-1.3.0-and-signalwire-client-c-to-1.2.0-on-windows to master
* commit '2bec2352d77622dcac389a0aa4f3cedcf3e985d1':
  FS-11839: Update libks to 1.3.0 and signalwire-client-c to 1.2.0 on Windows
2019-05-13 08:17:25 -05:00
Chris Rienzo 049edaa84d FS-11731 [mod_rayo] fix compile error 2019-03-27 10:29:03 -06:00
Chris Rienzo c40af77327 FS-11706 [core] use unique mutex for stack_count 2019-03-19 23:14:47 -04:00
Chris Rienzo d86c715694 FS-11706 [core] protect session stack count with mutex 2019-03-19 12:12:38 -04:00
Chris Rienzo 1a5ce0ebeb FS-11706 [core] add some extra information to troubleshoot 'too many stacked extensions' 2019-03-19 12:12:26 -04:00
Chris Rienzo 7e6206325a FS-11693 [core] speed up switch_channel_get_log_tags() for the case when none are set 2019-03-09 15:22:03 -05:00
Chris Rienzo fd30f1161d FS-11693 [mod_graylog2] add support for switch_channel_set_log_tag() 2019-03-09 15:21:57 -05:00
Chris Rienzo e4c0abf286 FS-11693 [core] Added switch_channel_set_log_tag() and switch_channel_get_log_tags() This allows you to add log tags to an active call channel. If using SWITCH_CHANNEL_SESSION_LOG, with switch_log_printf(), the tags will be added to the the log node so a logging module can send additional contextual data to a log aggregator. 2019-03-09 15:21:46 -05:00
Christopher Rienzo 7e67dc3c4d Merge pull request #1507 in FS/freeswitch from ~DRAGOS_OANCEA_NX/freeswitch-dragos-nx:bugfix/FS-11105/multichannel_prebuf_datalen to master
* commit '6bc59b3b5ad681c1c9e71758d5602e72b05f7c76':
  FS-11105: core: fix in switch_core_file_write() for audio channels > 2 ( eg: for when the prebuffer size does not divide by the number of wanted channels)
2019-02-15 16:19:06 +00:00
Christopher Rienzo 7c4dc685fa Merge pull request #1678 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11482-crashfix-http_cache to master
* commit '6258b721c9fef73da1868eef9ff561fcf9dcf2c6':
  FS-11482: [http_cache] set pre_buffer_datalen to 0 on handle (crashfix)
2019-02-15 15:47:36 +00:00
Christopher Rienzo 0ddab77e8b Merge pull request #1344 in FS/freeswitch from ~MATT_TELTECH/freeswitch:FS-10513-ssl-verifyhost to master
* commit '0ff8db6bf887ee06802dde1e1893b524c9f08a4f':
  FS-10513 [mod_http_cache] ignores ssl-verifyhost
2019-01-30 04:18:33 +00:00
Christopher Rienzo ed9419c473 Merge pull request #1649 in FS/freeswitch from ~NETOGUIMARAES/freeswitch:fix/typo_on_login to master
* commit '6f811ca41f797c30939bb64289b5c353146ba052':
  FS-11589 [verto_communicator]: fixing a weird typo and keeps with the old behaviour when calling login with no args
2019-01-03 19:12:01 +00:00
Christopher Rienzo 4e4c2711e9 Merge pull request #1647 in FS/freeswitch from ~NETOGUIMARAES/freeswitch:fix/remove_default_value to master
* commit 'fd7c6a8afa0d8c0e4dc47828c2d02ff166b20d4a':
  FS-11589 [verto_communicator]: removing es6 use to support old browsers syntax
2019-01-02 20:47:53 +00:00
Christopher Rienzo ead79413fa Merge pull request #1644 in FS/freeswitch from ~NETOGUIMARAES/freeswitch:feat/auto_login to master
* commit '85cfd5b5ab1b4f183b23a5de627b5e3588f373f7':
  FS-11584: [verto_communicator] make user able to login using url params
2018-12-27 16:46:43 +00:00
Chris Rienzo 604690b5c8 FS-11583 [mod_sofia] fix crash when missing address in register event 2018-12-26 15:51:41 -05:00
Chris Rienzo a754d379ba FS-11442 [test] enable module runtime when loading it 2018-12-20 10:19:14 -05:00
Chris Rienzo d46f4f2149 FS-11442 [test] add fst_check_extension_apps to compare dialplan apps with expected. 2018-12-20 10:19:08 -05:00
Chris Rienzo 19eb5af90d FS-11442 [test] Fix double-free on test suite cleanup. 2018-12-20 10:19:02 -05:00
Chris Rienzo 0c8f5ed60d FS-11453 [core] remove dependency to libtap for unit tests
move all core unit tests to tests/unit
2018-12-20 10:18:28 -05:00
Chris Rienzo 2226c3c621 FS-11453 [mod_rayo] convert to fst testing 2018-12-20 10:18:14 -05:00
Chris Rienzo e0b5df10d6 FS-11453 [mod_rayo] allow text/plain grammar for non-mrcp speech recognizers. Added direction to output component to assist with testing. Fix confidence conversion to NLSML. 2018-12-20 10:18:06 -05:00
Chris Rienzo 6eb2276cd6 FS-11453 [mod_rayo] add support for FS JSON ASR result. 2018-12-20 10:17:57 -05:00
Chris Rienzo 101512ba33 FS-11442 [mod_test] new module, mod_test - mock ASR interface. 2018-12-20 10:17:50 -05:00
Chris Rienzo a4a0dd81bb FS-11442 [core] allow multiple test modules to be loaded in the same test program. 2018-12-20 10:17:39 -05:00
Chris Rienzo 5014e11eeb FS-11442 [core] Add test helpers for wall time measurements and integer/double range checks. Improve simple test log output to identify which test the failure is in. 2018-12-20 10:17:27 -05:00
Chris Rienzo 3dd0eadcc1 FS-11442 [core] added test helpers for constructing XML objects 2018-12-20 10:17:15 -05:00
Chris Rienzo e95beb8d4f FS-11442 [core] added fst_play_and_detect_app_test and fst_sched_recv_dtmf 2018-12-20 10:17:04 -05:00
Chris Rienzo 3f512c0a74 FS-11439 [core] Update switch_test.h so unprivileged users can execute tests when basedir is owned by root. 2018-12-20 10:16:53 -05:00
Chris Rienzo cae7f0fa2f FS-11562 [mod_sofia] fire register state event on changing registrar IP 2018-12-10 21:53:13 -05:00
Chris Rienzo 48aebd7365 FS-11377 [freeswitch-core] lock/unlock mutexes in consistent order. 2018-09-05 20:56:09 +00:00
Christopher Rienzo 1cf4981a82 Merge pull request #1553 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-11287-provide-option-for-user-managed to master
* commit '96af587bf325ce35459cbd82e2e79bda0133a810':
  FS-11287: Provide option for user managed streams in Verto
2018-08-28 14:16:50 +00:00
Christopher Rienzo 928a605a8c Merge pull request #1548 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11284-fix-legacy-broken-video-constraints to master
* commit '31641749a737e71390016483a7e6bfbff9f77cea':
  FS-11284: Fix legacy/broken video constraints for specifying a video deviceId
2018-08-28 13:06:46 +00:00
Christopher Rienzo abca94578b Merge pull request #1544 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11280-allow-overriding-permissioncallback to master
* commit '36d9f7bc5e4a1644cdcf8c00df976d5283885ea3':
  FS-11280: Allow overriding permissionCallback per Verto dialog
2018-08-28 13:05:53 +00:00
Christopher Rienzo 63bf70dd24 Merge pull request #1522 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11149-playing-video-files-assigned-a-res_id to master
* commit '1fc08365659ce87e16a9e3fced7b77ab494ff36e':
  FS-11149: Playing video files assigned a res_id not correctly updated on layout change
2018-08-24 18:45:32 +00:00
Christopher Rienzo 2fd87793b9 Merge pull request #1552 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:feature/FS-11286-add-onremotestream-callback-to-verto to master
* commit '61cdf6361739f0ecaef8d2766aa0bd5bb45ed731':
  FS-11286: Add onRemoteStream callback to Verto dialogs
2018-08-24 13:16:54 +00:00
Christopher Rienzo bbca34c6b2 Merge pull request #1546 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11282-remove-ios-controls-hack-not-needed to master
* commit '5038ca7613e71d84a706a6a5d8c8359d272778e4':
  FS-11282: Remove iOS 'controls' hack, not needed
2018-08-24 13:00:27 +00:00
Christopher Rienzo 288779cda2 Merge pull request #1545 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11281-verto.newcall-dialog-callback-overrides to master
* commit '5f96f669c2fe7f133164aab735b412bef794d932':
  FS-11281: Verto.newCall dialog callback overrides should be set before invite
2018-08-24 12:57:49 +00:00
Christopher Rienzo 8b58f6bdfb Merge pull request #1572 in FS/freeswitch from bugfix/FS-11276-regression-dedicated-video-layers to master
* commit 'ecdae10548188f23a59529497e040abeb9a2e6f8':
  FS-11279: Wrap verto.clientReady message callback in check for onMessage callback function
2018-08-22 22:15:13 +00:00
Christopher Rienzo 08d54933fa Merge pull request #1549 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11285-overconstrainederror-on-some-android to master
* commit 'ef647e3e3e0510b5b9423b95d5c474441d0d4b6b':
  FS-11285: OverconstrainedError on some Android front cameras when frameRate.min is specified
2018-08-22 22:05:33 +00:00
Christopher Rienzo fc26aa9785 Merge pull request #1547 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11283-ios-doesn-t-support-beforeunload to master
* commit '954b2564b2e4582949825988f30dde3fb16d1347':
  FS-11283: iOS doesn't support beforeunload, use recommended pagehide for that platform
2018-08-22 21:41:18 +00:00
Christopher Rienzo dd5fa0f2c6 Merge pull request #884 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-9258-recursive-calls-to-speedtest to master
* commit 'c037fc8c55af9d17eec4979575c3689d1b035f9d':
  FS-9258: Recursive calls to $.verto.rpcClient.speedTest() don't work
2018-08-22 21:28:25 +00:00
Christopher Rienzo 350225a446 Merge pull request #1541 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11276-regression-dedicated-video-layers to master
* commit 'c83f7871fa8c5464c39a04b9b09938081c071155':
  FS-11276: dedicated video layers can no longer become audio floor holder
2018-08-22 21:24:44 +00:00