Andrey Volk
e53f782456
Merge pull request #1099 from dragos-oancea/mod_tts_commandline_fix_system
...
[mod_tts_commandline] check return of switch_system() against 127 too
2021-05-07 19:03:37 +03:00
Dragos Oancea
2915d3aba8
[mod_amrwb] add cfg setting mode-set-overwrite (it will answer with just one mode-set value) - fixes audio quality issues in mod_conference with some UEs.
2021-05-07 14:29:33 +00:00
Clarence
583443e384
[mod_sofia] release nat mapping when nua create failed
2021-04-28 20:10:35 +08:00
Chris Rienzo
deecaae870
STIR/SHAKEN ( #1160 )
...
* [core] Add SWITCH_CAUSEs for STIR/SHAKEN.
[mod_sofia] Add sofia_verify_identity dialplan APP as a STIR/SHAKEN verification service. Set sip_hangup_on_verify_identity_fail=true to end calls that fail verification, otherwise check sip_verstat and sip_verstat_detailed channel variables for verification result.
* [mod_sofia] Fix stir shaken implementation issues on fail.
* fix build
* Fix given comments
* stir_shaken_passport_get_grant return does not require to be freed.
* reworked things
* [core] add switch_rfc822_datetime_to_epoch()
* [mod_sofia] fix test return code
* [mod_sofia] Add Date header when signing Identity
* [mod_sofia] Check Date - WIP doesn't work
* [mod_sofia] STIR/SHAKEN check SIP Date header
* Try to give time for sofia to clean up calls
Co-authored-by: Andrey Volk <andywolk@gmail.com>
2021-04-27 13:54:32 -06:00
Dragos Oancea
73569bb1f7
[mod_sofia] rfc8760: reorder hash algorithms by priority (strength), no matter the order provided in the cfg
2021-04-13 20:24:17 +03:00
Andrey Volk
e6b6aea6ff
[mod_sofia] Add basic INVITE test
2021-04-13 04:21:42 +00:00
Dragos Oancea
833235b941
[mod_sofia] Add RFC8760 (sha-256, sha-512)
...
enable on the sip profile, eg:
<param name="rfc8760-auth-algorithms" value="sha-256,md5"/>
2021-04-12 09:57:56 -04:00
figaro2015
ec1a0215fe
[Core, mod_conference] Fixed oscillation in conference AGC processing. Especially during volume reduction processing ( #1064 )
...
* Fixed oscillation in conference AGC processing. Especially during volume reduction processing
* Re-scaled granular volume to +/- 50 dB level change. 10 = double loudness, -10 = half loudness, 0 = no change
Co-authored-by: Chris Rienzo <chris@signalwire.com>
2021-04-02 22:18:16 +03:00
Christian Glombek
513b0fbf00
[mod_avmd, esl/python] Two build fixups ( #611 )
2021-03-24 19:30:52 +03:00
Andrey Volk
877102d4b9
swigall
2021-03-23 17:33:46 +00:00
Dragos Oancea
dd39997588
[mod_av] fix memory leak on file playing
2021-03-22 18:49:13 +03:00
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
af272f5179
[mod_conference] Bridged conference did not wait it's last member before destroy and crashed.
2021-03-19 23:31:46 +03:00
Aron Podrigal
fddc6adf8d
[mod_pgsql] Use PQcmdTuples() to get number of effected rows to support UPDATE and INSERT without RETURNING.
2021-03-19 01:13:01 +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
3134c9aa57
[mod_callcenter] Fix use of uninitialized res variable in cc_agent_update()
2021-03-17 19:38:10 +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
cfdd1d9be8
[mod_http_cache] Handle error cases to avoid using uninitialized variables in aws logic.
2021-03-17 19:35:37 +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
d127eeeecc
[mod_snom, mod_snmp] Replace strncpy with snprintf
2021-03-17 19:25:46 +03:00
Andrey Volk
be6b40b024
[mod_lcr] Fix order_by and sql_stream streams leaking in the case of a DB error in lcr_load_config()
2021-03-17 19:20:41 +03:00
Andrey Volk
c282386fdb
[mod_pgsql] Fix memory leek in the case of an empty string of err_str in pgsql_handle_exec_base_detailed()
2021-03-17 19:19:39 +03:00
Andrey Volk
e614f08c93
[mod_httapi] Fix memory leak of dup_creds in httapi_sync()
2021-03-17 19:18:33 +03:00
Andrey Volk
3e7ba04cbe
[mod_curl] Avoid passing null pointer value via data parameter of do_lookup_url()
2021-03-17 18:55:40 +03:00
Andrey Volk
29b5043904
[mod_shout] Fix memory leak in do_telecast
2021-03-17 18:49:14 +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
90c35685c3
[mod_mongo, mod_redis, mod_voicemail] Fix leaking hash iterators.
2021-03-17 18:29:20 +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 Volk
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
dbc894d959
[Core] Reuse caller profile
2021-03-17 00:52:36 +03:00
surendrasignalwire
7b8a36c2a9
[mod_sofia] Fix recovery reinvite issue
2021-03-17 00:16:32 +03:00
Andrey Volk
785d92a5f5
[mod_pgsql] Prevent a stall of PQconsumeInput().
2021-03-16 23:22:11 +03:00
Andrey Volk
167ab11006
[mod_sofia] Fix potential leak of uuid in sofia_event_callback().
2021-03-16 22:50:02 +03:00
Andrey Volk
034a7eea5e
[mod_pgsql] Fix potential hang when calling PQconsumeInput() while checking if db_is_up().
2021-03-16 20:49:22 +03:00
Seven Du
b5459fb5f5
[mod_av] remove extra space
2021-03-16 20:44:31 +03:00
Seven Du
bb6ec01d1e
[mod_sofia] fix session log
2021-03-16 20:29:04 +03:00
Seven Du
561a31d723
[mod_sndfile] fix read sndfiles with float data
2021-03-16 20:22:34 +03:00
Seven Du
9875e190aa
[mod_av] enable resampler when sample rate mismatch ( #153 )
2021-03-16 20:21:10 +03:00
Seven Du
21a536e774
[mod_video_filter] Disable waiting video ready which blocks the channel 10 seconds in early media
2021-03-16 20:16:06 +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
Dragos Oancea
b775c1f91a
[mod_enum] fix mem leak - ldns_resolver_new() - vanilla cfg.
2021-03-16 14:46:39 +00:00
Andrey Volk
2c2f2f9606
Merge pull request #1103 from dragos-oancea/amr_sync_changes_from_amrwb
...
[mod_amr] introduce new cfg setting force-oa to change between OA/BE when originating, show session in debug logs, update configs
2021-03-10 23:34:36 +03:00
Dragos Oancea
4734904d2d
[mod_amr] introduce new cfg setting force-oa to change between OA/BE when originating, show session in debug logs, update configs.
2021-03-10 15:49:10 +02:00
Dragos Oancea
9da3408d2d
[mod_tts_commandline] check return of switch_system() against 127 too
2021-03-05 11:57:25 +02:00
Dragos Oancea
1d07634d7d
[mod_amrwb] handle frame types SPEECH_LOST and NO_DATA. add unit test.
2021-03-05 11:30:52 +02:00
Dragos Oancea
752e1c3386
[mod_amr] handle frame type NO_DATA and add unit test.
2021-03-03 19:51:24 +02:00