Commit Graph

21776 Commits

Author SHA1 Message Date
Joseph Nadiv 4dab426ecf [mod_sofia] Rewrite rport even if endpoint specifies port in contact
If NDLB-force-rport is enabled, we rewrite the rport regardless
of what the endpoint thinks the port should be.  We do this by
checking the status of server_rport_level before writing the port.

Fixes #1457
2022-11-20 13:49:35 -05: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
Dragos Oancea c9def5990e [core, mod_sofia] add some extra checks when creating the digest. 2022-08-08 18:56:09 +03:00
Andrey Volk d96b6a4a8f [Core] Fix possible race condition between locking a session and reading it's flags in switch_core_session_read_lock() and switch_core_session_read_lock_hangup(). 2022-07-26 01:49:31 +03:00
Andrey Volk c671ebcb88
[mod_sofia] unit-tests: Give mod_sofia time to spin up profile threads on load. Remove some fst_requires(). 2022-07-26 01:47:27 +03:00
Thiadmer 86ad85161b [mod_say_de] Let de_say_time handle short_date_time type 2022-07-11 10:21:34 +02:00
Dragos Oancea 871cc585b1 [mod_voicemail] fix vm_fsdb_msg_list 2022-07-06 15:26:43 +03:00
Dragos Oancea beffab1d68 [core] RTP: a media timeout fix + add pcap based-unit tests. 2022-06-29 18:20:27 +03:00