Commit Graph

21782 Commits

Author SHA1 Message Date
Saleh Khazaei 7f4b351d32 fix: Fixes persian say module on zero minutes in time 2022-12-22 15:16:45 +03:30
Andrey Volk f71a56022a [Core] switch_mprintf: Increase the size of loop variables in the printf() implementation. Add unit-tests disabled by default. 2022-12-09 23:11:25 +03:00
morwin1 62d3e52cf9
[mod_python3] Fix compiler warnings 2022-12-06 20:07:19 +03:00
Andrey Volk d2f84c8342
Merge pull request #1881 from signalwire/originatefence
[Core] Fix crash in enterprise originate: memory fence the handles.
2022-12-06 01:33:14 +03:00
David Villasmil 13646cc888
[mod_sofia] Parse extra headers on reINVITE 2022-12-01 21:51:17 +03:00
Andrey Volk ded2a4c1be [Core] Fix crash in enterprise originate: memory fence the handles. 2022-11-30 23:22:01 +03:00
Anthony Minessale edd36639c7 [Core] Blind pass at using a rwlock for chat_hash 2022-11-21 13:58:28 +03:00
Andrey Volk 17453e0079 [Core] Remove deprecated SWITCH_STACK_NODUP flag. Change switch_event_add_header_string() behavior to always dup. 2022-11-08 01:48:25 +03:00
Andrey Volk ffa2207926 [Core] SWITCH_STACK_NODUP flag is deprecated and will be soon removed. Introduce switch_event_add_header_string_nodup() API. 2022-11-08 01:17:08 +03:00
Andrey Volk 00f4bc5ab0 [mod_smpp] Fix use of switch_event_add_header_string with SWITCH_STACK_NODUP. 2022-11-08 00:43:17 +03:00
Royce Mitchell 1213217ccc
[mod_logfile] Continue renaming if a logfile doesn't exist
this prevents a scenario where freeswitch.log fails to get rotated and eventually fills up the hard drive causing a crash. See issue #1738
2022-11-01 19:19:15 +03:00
Dragos Oancea f7c94bc01d swigall 2022-10-28 20:22:33 +03:00
Dragos Oancea 8e59603d98 [core][mod_sofia] remove ZRTP (deemed obsolete).
[unit-tests][build-system][docs] remove references to ZRTP.
2022-10-28 20:19:42 +03:00
Andrey Volk 2ab600c71a [mod_http_cache] Fix leaking curl handle in http_get() 2022-10-28 01:00:17 +03:00
Zvonimir Bužanić 92caab3647
[core] Fix wrong reason code for group call 2022-10-26 20:53:01 +03:00
Andrey Volk 5a399a50da swigall 2022-10-14 18:11:17 +00:00
Dmitry Ukolov c6452cc8da
[mod_sofia] Add db-spin-up-wait-ms profile parameter. 2022-10-06 12:15:41 +03:00
Clock c71ed98add
[mod_shout] Replace space with tab in Makefile.am 2022-10-04 20:19:10 +03:00
Jakub Karolczyk 71aa3cb03c [mod_sofia] Fix handling of late offer 2022-09-09 11:07:19 +01:00
Brian West c999598a0a
Merge pull request #1584 from greenbea/patch-7
[mod_callcenter] Fix SWITCH_EVENT_PRESENCE_PROBE unbind
2022-09-06 10:57:26 -05:00
Andrey Volk 7c18cc08d4
Merge pull request #1777 from greenbea/patch-15
[mod_sofia] Fix PRESENCE_PROBE firing on rejection
2022-08-30 02:42:26 +03:00
Andrey Volk 91799e0fc7 [mod_ssml] Add deps rule to the Makefile.am 2022-08-30 00:17:52 +03:00
Andrey Volk dd3075a203 [Core] Fix Windows build after apr-util removal 2022-08-29 20:17:12 +03:00
Chris Rienzo 85d25e269b [core] use fspr prefixed symbols instead of apr 2022-08-29 20:17:10 +03:00
Chris Rienzo 3c7e8ff989 [core] remove unimrcp from tree 2022-08-29 20:17:06 +03:00
Chris Rienzo 01c1e74f36 [core] remove libdingaling from tree 2022-08-29 20:17:04 +03:00
Chris Rienzo 9468ff746a [core] remove apr-util from tree 2022-08-29 20:17:02 +03:00
Andrey Volk 23eeb4ae75 [Unit-tests] Improve stability of some tests. 2022-08-28 13:24:43 +03:00
agree 767b163cbd [mod_sofia] Fix PRESENCE_PROBE firing on rejection
After rejecting the subscription for authentication the function calls goto end. In the end block freeswitch fires PRESENCE_PROBE events and releases the allocated memory
* when rejecting a call for auth PRESENCE_PROBE should not get fired
* This caused all other subscribers to the same entity to get flooded with NOTIFY's because `call_id` only gets set later in the function, so when firing the PRESENCE_PROBE without `call_id` being set all subscriptions will get a notify
* this can be considered a security flaw as any unauthorized user can send
SUBSCRIBES and trigger thousands of NOTIFY's to the SUBSCRIBED endpoints

This was fixed simply my moving down the end label after the code that
sends the PRESENCE_PROBE event
2022-08-26 18:09:34 -04:00
Andrey Volk 060a65601b [Core] Fix wrong switch_odbc_skip_autocommit_flip function declaration. 2022-08-26 21:47:45 +03:00
Andrey Volk 2b8f59e8ff
Merge pull request #1773 from signalwire/autocommit
[Core] ODBC: Add odbc-skip-autocommit-flip switch param.
2022-08-26 20:21:23 +03:00
Andrey Volk 9f5c2a1619 [mod_sofia] Unit-test: Fix strcmp null argument. 2022-08-26 16:21:01 +03:00
Andrey Volk a1d2f83104 [Core] ODBC: Add odbc-skip-autocommit-flip switch param. 2022-08-25 20:14:47 +03:00
Ruslan a8dee4b2ff
[mod_conference] file descriptor stays open
Solution: don't even start to play file if conference is not running.

Co-authored-by: Ruslan Andronov <randronov@outlook.com>
2022-08-23 18:07:55 +03:00
Andrey Volk 1e5e3216d8 [mod_conference] Fix dead nested assignments 2022-08-10 00:18:18 +03:00
Andrey Volk cd86de2f1f [mod_av] Fix dead nested assignments 2022-08-10 00:17:03 +03:00
Andrey Volk f3c7c4d445 [Core] scan-build: Fix false-positive bad free by switch_must_realloc() in switch_xml_proc_inst() 2022-08-10 00:15:45 +03:00
Andrey Volk 716a21b0b5 [mod_callcenter] Fix dead nested assignments in cc_config_api_function 2022-08-10 00:14:36 +03:00
Andrey Volk 19a7debc1b [mod_sofia] Fix dead nested assignments 2022-08-10 00:13:18 +03:00
Andrey Volk 884917cb11 [mod_xml_scgi] Fix dead initialization in mod_xml_scgi_shutdown() 2022-08-10 00:11:58 +03:00
Andrey Volk 1f9305098d [mod_xml_ldap] Fix potential memory leaks in xml_ldap_search() 2022-08-10 00:10:47 +03:00
Andrey Volk d38d83339d [mod_say_hr,hu,pl,sv] Fix dead nested assignments 2022-08-10 00:09:28 +03:00
Andrey Volk 1c83a92b7d [mod_video_filter] Fix dead nested assignments 2022-08-10 00:07:52 +03:00
Andrey Volk b6264e264c [mod_enum] Fix dead nested assignments 2022-08-10 00:03:52 +03:00
Andrey Volk 688984f8b9 [mod_dptools] Fix dead nested assignments. 2022-08-09 23:48:29 +03:00
Andrey Volk c062f85e16 [mod_commands] Fix dead nested assignments 2022-08-09 23:44:56 +03:00
Andrey Volk 6ef22a6f7d [mod_v8] Fix dead nested assignments 2022-08-09 23:35:13 +03:00
Andrey Volk 01844013a0 [mod_sofia] Fix potential memory leak in sofia_reg_handle_sip_r_challenge() 2022-08-09 23:33:21 +03:00
Andrey Volk 56b6e954cf [Core] Fix dead nested assignments 2022-08-09 23:29:31 +03:00
Andrey Volk c47c16b1dd Fix dead nested assignments in various modules 2022-08-09 23:20:52 +03:00