Commit Graph

21735 Commits

Author SHA1 Message Date
Andy Newlands 4f4d6cf321 bytes is NOT a pointer 2022-08-18 17:03:09 +01:00
Andy Newlands 235b6c030b Only hangup after too many SRTP errors if SWITCH_RTP_FLAG_SRTP_HANGUP_ON_ERROR. Remove fix-specific diagnostics 2022-08-18 16:39:38 +01:00
Andy Newlands 015b77fed7 [Core] switch_ivr: Ensure do_flush decrypts SRTP DTMF packets 2022-08-04 11:07:33 +01:00
Andy Newlands 4cc8031493 [Core] switch_ivr: Ensure do_flush decrypts SRTP DTMF packets 2022-08-03 16:51:04 +01:00
Andy Newlands 07292e0a8b [Core] switch_ivr: Ensure do_flush decrypts SRTP DTMF packets 2022-08-03 16:06:28 +01: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
FusionPBX 75e858407f
[mod_sofia] Add Fanvil to vendors allowed to update. 2022-06-16 18:00:09 +03:00
Dragos Oancea 92a336a07d [core] fix loglevel - switch_ivr_phrase_macro_event() 2022-06-08 13:25:35 +03:00
Andrey Volk a83e2f6b41 swigall 2022-06-07 19:38:29 +00:00
Ken 3b65b1bedb [Core] Change values for switch_call_cause_t to avoid SIP causecode collissions
Update values for switch_call_cause_t in switch_types.h to avoid
sip cause code collisions that can affect continue_on_fail or
failure_causes channel variables when numeric SIP or ISUP cause codes
are used.

Co-authored-by: Ken Rice <krice@sipnavigator.com>
2022-06-07 21:45:55 +03:00
Ken 04df9c12f7 [mod_sofia] on call term optionally ignore Q.850 Reason
Currently SIP termination messages with Q.850 override the SIP
reason. Add chanvar ignore_q850_reason to ignore the Q.850 reason
and keep the SIP Reason Code.

Using the chan var avoids unexpected changes in behavior.

Co-authored-by: Brian West <brian@freeswitch.org>
2022-06-07 19:58:43 +03:00
Andrey Volk 1f055250e1 [mod_av] Remove unused buf variable in av_file_write 2022-05-23 22:34:29 +03:00
Andrey Volk 6b4359f4ae [mod_av] Avoid using 16384 stack (or heap) bytes in av_file_write(). Remove ff_input_buffer_padding static variable. 2022-05-23 22:00:45 +03:00
Andrey Volk aa161b9e58 [Core] Allow switch_buffer_write() to fill in a buffer with zeros. Add switch_buffer_zero_fill() 2022-05-23 21:51:26 +03:00
Andrey Volk 663ac586d1
Merge pull request #1510 from signalwire/PG_VERSION_NUM
[mod_pgsql] Fix build by using PG_VERSION_NUM provided by libpq instead of using POSTGRESQL_MAJOR_VERSION detected by freeswitch configure.
2022-05-19 23:30:31 +03:00
Andrey Volk f07a442682 [Core] Avoid using insecure sqlite3_enable_load_extension when SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION is available. 2022-05-18 23:54:01 +03:00
prabhugithubme 4886383e32
[Core] Fix switch_core_media_patch_sdp parsing m=text wrongly 2022-04-07 15:22:25 +03:00
Andrey Volk 70a1761ab5
Merge pull request #1424 from dhruvecosmob/test_tts_change
[mod_test] Increase tts_time unit-test's duration window.
2022-04-01 13:27:57 +03:00
Dragos Oancea 30d5d58e6e [core] fix set rtp flag for rtcp events after flags zeroed out. 2022-03-29 15:07:50 +03:00
Andrey Volk c17a5dbc59
Merge pull request #1577 from dragos-oancea/mod_local_stream-loc-fix
[mod_local_stream] fix path with ".loc" file extension.
2022-03-28 15:45:12 +03:00
Andrey Volk 0eed5046a0
Merge pull request #1595 from azzbcc/fix_memory_leak_in_asr_feed
[core] fix memory leak in switch_core_asr_feed
2022-03-26 14:05:25 +03:00
Aron Podrigal 0365becc0d
[mod_sofia] Fix fs_path to keep `<>` so that sofia doesn't put the uri parameters as header parameters. Handle multiple `Record-Route` / `Route` and `Path` headers. 2022-03-25 19:44:25 +03:00
Clarence 3d283a989d [core] fix memory leak in switch_core_asr_feed 2022-03-23 17:05:50 +08:00
Dragos Oancea df81021a11 [core] make switch_core_media_prepare_codecs() more unit-test friendly. 2022-03-21 13:59:37 +03:00
Andrey Volk d01c427c0b [mod_conference] Fix regression made by previous commit when fixing memory consumption. 2022-03-18 01:53:38 +03:00
Dragos Oancea 24355b63ab [mod_local_stream] fix path with ".loc" file extension. 2022-03-15 18:47:06 +02:00
Dragos Oancea a40584b465 [mod_verto] fix potential memleaks at init. 2022-03-15 16:49:17 +03:00
Andrey Volk 7e0a7f0f28 [mod_verto] Fix dead nested assignments 2022-03-15 16:49:11 +03:00
Andrey Volk aabce0c3b8
Merge pull request #1423 from azzbcc/fix_error_array_parameter
[core] fix compile error with gcc 11.1
2022-03-09 16:21:50 +03:00
Andrey Volk 19e64a6501
Merge pull request #1540 from zayim/send-events-on-recording-error
[core] set completion cause upon failed recording
2022-03-08 02:29:08 +03:00
Andrey Volk c460588dfe [mod_conference] Fix memory consumption and Media flow direction issue. 2022-03-08 01:50:07 +03:00
Andrey Volk 4b580a07c4
Merge pull request #1523 from mochouinard/master
[core] Add support to phrase play-file to set a volume attribute
2022-02-25 01:26:16 +03:00
Dragos Oancea 7fb158ae6a [core] RTP: remove unfulfillable conditions involving timer. add missing LF to DEBUG log line. 2022-02-21 22:53:02 +03:00
Dragos Oancea ae272359f4 [core] Handling RTCP MUX resulting in gaps
(fix proposed by Leon de Rooij)
2022-02-21 15:18:45 +02:00
Nadin Zajimovic 90dd5bb88e [core] set completion cause upon failed recording 2022-02-03 18:15:23 +01:00
Hailin Zhou d249fb8017
[mod_json_cdr] add timeout param. 2022-01-27 16:28:09 +03:00
Emmanuel Schmidbauer 6113db7bd7
[mod_amqp] add support for ssl connections 2022-01-27 16:25:38 +03:00
Andrey Volk 989097080d [mod_event_multicast] Fix buffer overflow on module load. 2022-01-26 19:12:28 +03:00
Marc Olivier Chouinard de487b0ada [core] Add support to phrase play-file to set a volume attribute 2022-01-25 20:07:39 -05:00
Andrey Volk b9875d1ac9 [Unit-tests] Replace fst_requires with fst_check in mod_sofia unit tests. Increase timeout. 2022-01-25 19:52:20 +03:00
Andrey Volk 92d2e0b136 [mod_pgsql] Fix build by using PG_VERSION_NUM provided by libpq instead of using POSTGRESQL_MAJOR_VERSION detected by freeswitch configure. 2022-01-11 18:44:36 +03:00
xbipin f9bb8940c2
[mod_sofia] Caller ID name in contact. Introduce sip_caller_id_name_in_contact channel variable. 2021-12-29 23:30:18 +03:00
Andrey Volk e37638d526
Merge pull request #1407 from mochouinard/master
[mod_sofia] Provide retry time for failed and waiting registration
2021-12-29 13:39:01 +03:00
Andrey Volk 132d3d4f2e
Merge pull request #1421 from signalwire/unicall-array-overflow
[mod_unicall] Fix array overflow
2021-12-29 11:44:24 +03:00
Martin Paterson 083a9ab1c3
[mod_voicemail] Fix voicemail ignoring vm-a1-hash 2021-12-28 19:02:02 +03:00
Andrey Volk de70d9d493
Merge pull request #1420 from signalwire/voicemail-ivr-overflow
[mod_voicemail_ivr] Fix array overflow
2021-12-28 17:07:45 +03:00