Commit Graph
6031 Commits
Author SHA1 Message Date
Andrey Volk dfb9541b08 [mod_sofia] Use thread-safe alternatives when destroying nua and nua_handle references. Bump sofia-sip library requirement to version 1.13.3 2021-03-22 18:43:19 +03:00
Andrey Volk 0059f0cc1b [mod_sofia] Gateways DOWN state introduced a regression: REG gateways in DOWN state could not be killed. NOREG gateways could change state in some conditions. Register and Unregister commands will now error if a gateway is NOREG. 2021-03-18 03:07:49 +03:00
Andrey Volk f348ab9d38 [mod_sofia] Fix use of uninitialized network_ip in sofia_handle_sip_r_invite() 2021-03-17 19:37:06 +03:00
Andrey Volk 4aa1c1736f [mod_sofia] scan-build in sofia_glue_do_invite(): Null pointer passed as an argument to a 'nonnull' parameter 2021-03-17 19:34:12 +03:00
Andrey Volk f6e076507e [mod_loopback] Fix new_session leak in the case of a hangup_cause. 2021-03-17 18:34:21 +03:00
Andrey Volk e3e0c7c259 [mod_sofia] Protect insertion into profile->reg_nh_hash with a mutex. 2021-03-17 18:33:12 +03:00
Andrey Volk b78c9a115e [mod_sofia] Properly handle nua events came without nua handles. 2021-03-17 18:31:42 +03:00
Andrey Volk 96e139854e [mod_sofia] Prevent crash in sofia_handle_sip_i_state on switch_channel_set_state() when PFLAG_3PCC_PROXY flag is set. 2021-03-17 18:21:49 +03:00
Andrey VolkandMike Jerris a746d12f6c [mod_sofia] Keep noreg gateways as NOREG, mark unregistered gateways as DOWN.
Co-authored-by: Mike Jerris <mike@signalwire.com>
2021-03-17 18:20:32 +03:00
Andrey Volk 3065cb9168 [mod_sofia] Fix memory leaks caused by improper profile destroy. Add a unit-test. 2021-03-17 00:58:29 +03:00
Andrey Volk dcb75a79e3 [mod_sofia] Fix multiple memory leaks in sofia_presence_handle_sip_i_subscribe() 2021-03-17 00:56:19 +03:00
surendrasignalwire 7b8a36c2a9 [mod_sofia] Fix recovery reinvite issue 2021-03-17 00:16:32 +03:00
Andrey Volk 167ab11006 [mod_sofia] Fix potential leak of uuid in sofia_event_callback(). 2021-03-16 22:50:02 +03:00
Seven Du bb6ec01d1e [mod_sofia] fix session log 2021-03-16 20:29:04 +03:00
surendrasignalwire 16ee826e2b [mod_sofia] Url encode the sip_to_user before using in 200 ok contact 2021-03-16 20:13:39 +03:00
figaro2015 d27cd90155 Verification of the wss.pem certificate in mod_sofia application code. Display correct reason why sofia profile failed to create (#1067)
[mod_sofia] Verification of the wss.pem certificate in mod_sofia application code. Display correct reason why sofia profile failed to create.
2021-02-13 11:37:01 -05:00
Andrey Volk 212c1ec8d5 Merge pull request #1034 from seven1240/add-call-id-to-log
[mod_sofia] add call-id to log line to link with session uuid
2021-02-05 13:27:53 +03:00
Seven Du 9bb76b94dc [mod_sofia] add call-id to log line to link with session uuid 2021-01-19 11:09:19 +08:00
Ken Rice 69e9e2ec14 [mod_sofia] Add preliminary handing for SHAKEN/STIR via SIP Identity Header 2021-01-15 16:44:58 +03:00
Troy Denton ac5775b6e0 [mod_sofia] Remove 'precondition' from 'Supported:' w/ 100rel 2021-01-08 19:55:59 +03:00
Andrey Volk 940d82ef9b [Build-System] Fix build with MSBuild. 2020-12-23 00:11:37 +04:00
Andrey Volk 8045c96458 [mod_gsmopen] Fix build on Visual Studio 2019 2020-11-20 18:29:52 +04:00
FredWemyss e10126942e [mod_sofia] Add back sip Identity header into sip_i_identity variables in sofia_parse_all_invite_headers 2020-09-23 21:58:36 +04:00
Sebastian Kemper 51fba83ed3 [mod_gsmopen] Fix build with external spandsp
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-19 22:26:04 +02:00
LordPinna 145377dd8e [mod_verto] Fix modify attended transfer response 2020-08-12 21:08:07 +04:00
Chris Rienzo e82e68d182 Merge pull request #66 from micmac1/t38-reinv-fix
[mod-sofia] Fix reINVITE after T38 is rejected
2020-08-10 11:03:08 -04:00
Andrey Volk 231d5e6494 [Build-System] Remove SpanDSP library from the FreeSWITCH tree and use packages instead. 2020-08-04 19:15:28 -04:00
Andrey Volk 2fc0e3b80a [Build-System] Remove Sofia-Sip library from the FreeSWITCH tree and use packages instead. 2020-08-03 23:46:45 +04:00
Andrey Volk b06036e30f [mod_sofia] Cleanup usage of sofia-sip headers. 2020-08-03 22:15:19 +04:00
MikhailKalashnikov 90fb233ac6 [mod_sofia] Fix crash when proxy INFO without body 2020-07-17 17:58:35 +04:00
lazedo 00113c480d [mod_sofia] Verify that replaces header params exist 2020-06-29 22:46:18 +04:00
Andrey Volk 0275ea1eb4 [Build-System] Use $(DefaultPlatformToolset) so it's easier to build using newer Microsoft Visual Studio versions. 2020-05-25 14:18:25 +04:00
Andrey Volk 0072806df1 [mod_loopback] Split null_auto_answer into two variables null_enable_auto_answer and null_auto_answer_delay. Default auto_answer_delay is 0 instead of 1 ms. Auto answer is enabled by default if null_enable_auto_answer is not set. More carefully compute the delay in ms to not block channel longer than needed. 2020-05-08 01:22:48 +04:00
Seven Du 2a54e08019 [core, mod_loopback] Add test case for group confirm over loopback endpoints 2020-05-08 01:12:17 +04:00
lazedo 7264426386 [mod_loopback] clear confirm properties from a-leg 2020-05-08 01:11:52 +04:00
Mike Jerris 598d52d5fb [mod_sofia] remove blank display name that can show up in from uri 2020-05-07 03:18:16 +04:00
Andrey Volk 865de72cee [core,mod_verto,mod_xml_rpc] Fix use of deprecated CRYPTO_set_id_callback(). 2020-05-07 03:00:03 +04:00
Chris Rienzo 52a17066eb [mod_sofia] Quiet down error when registration credentials are missing 2020-05-07 02:42:01 +04:00
Anthony Minessale 55b148f1c3 [mod_verto] Fix packet o death. 2020-05-07 02:36:08 +04:00
Seven Du 16f782f979 [mod_loopback] Don't block channel too long if already hangup, also add option to hangup immediately with cause 2020-05-07 02:21:38 +04:00
lazedo ce019aa566 [mod_loopback] fix early_set_loopback_id for b leg 2020-05-07 02:10:30 +04:00
Jonas Jelten 30cf345b41 [mod_sofia] Fix rtp config ipv4/ipv6 index confusion 2020-04-28 13:13:13 +02:00
Nick Lemberger 4fa0870ef0 [mod_sofia] Fix potential buffer overrun when rewrite_multicasted_fs_path is enabled. 2020-04-01 00:11:24 +04:00
Jourdan Templeton 5805addbeb [mod_sofia] Add new gateway param 'contact-in-ping' to support for Microsoft Teams Direct Routing 2020-03-23 23:29:53 +04:00
Andrey Volk d07e1654a2 [mod_verto] Fix scan-build warnings in swig and enable scan-build on Drone 2020-03-22 14:14:14 +04:00
Andrey Volk d67d09705a [mod_verto] Fix Makefile.am and reswig 2020-03-22 01:35:58 +00:00
Andrey Volk da4068e744 Merge pull request #482 from dragos-oancea/mod_portaudio-nullptr
[mod_portaudio] scan-build: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'previous').
2020-03-12 21:03:50 +04:00
Andrey Volk abe3aea117 Merge pull request #475 from dragos-oancea/mod_skinny_vals-never-read
[mod_skinny] scan-build: Dead assignments
2020-03-12 19:28:06 +04:00
Ítalo Rossi 87a64eab18 [mod_verto] Setting transfer_disposition to recv_replace on aleg 2020-03-12 19:23:40 +04:00
Andrey Volk 64da1fd098 Merge pull request #477 from dragos-oancea/mod_verto-cur-val-never-read
[mod_verto] scan-build: Value stored to 'cur' is never read
2020-03-10 22:56:10 +04:00