34994 Commits

Author SHA1 Message Date
Andrey Volk
311a20af63 [mod_verto] Ignore not just zero but negative frame size as well. 2019-10-23 23:03:18 +04:00
Andrey Volk
284d67738a
Merge pull request #70 from signalwire/osx-catalina-build
[build] OSX Catalina configure does not support --extra-cflags and fix broken compiler option test for -Wno-extended-offsetof that was used to fix older osx clang issue
2019-10-23 03:18:54 +04:00
cdosoftei
5244a64d4e
[mod_amqp] configurable commands queue properties 2019-10-22 15:22:00 -04:00
Mike Jerris
6a900a90a3 [build] OSX Catalina configure does not support --extra-cflags and fix broken compiler option test for -Wno-extended-offsetof that was used to fix older osx clang issue 2019-10-22 10:24:14 -06:00
Sebastian Kemper
167294ea26 [mod-sofia] Fix reINVITE after T38 is rejected
From FS-11833.

After FS sends a reINVITE to T38 which gets rejected by peer it is no
longer in a state where it can properly answer a reINVITE which requests
a change of the media setup.

1. FS sends INVITE (destination is a fax machine)
2. Call connects with "8 101"
3. FS sends reINVITE to T38
4. T38 rejected (488)
5. FS receives INVITE to "8"
6. FS replies with 200 OK without SDP
7. Call fails

The bug is related to TFLAG_SDP. This flag is set when a media session
is established. And when there's a reINVITE sofia_glue_do_invite() from
sofia_glue.c is called and clears the flag again:

sofia_clear_flag_locked(tech_pvt, TFLAG_SDP);

So when FS sends a reINVITE to T38 the flag gets cleared. But when the
reINVITE is rejected with 488 the flag is not set again. It stays
cleared. So the call continues with the previously negotiated media, fax
passthrough (8 101 in this case), but TFLAG_SDP is not set.

So when FS receives a reINVITE at this point it doesn't see the need to
renegotiate anything, even though it realizes that 2833 DTMF is now off:

2019-04-30 16:42:12.478025 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2019-04-30 16:42:12.478025 [DEBUG] switch_core_media.c:5533 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2019-04-30 16:42:12.478025 [DEBUG] switch_core_media.c:5802 No 2833 in SDP. Disable 2833 dtmf and switch to INFO

When FS doesn't send a reINVITE (fax_enable_t38_request=false) and the
reINVITE to "8" is received, TFLAG_SDP is still set and then FS
understands that it needs to renegotiate and replies with a 200 OK that
includes SDP:

2019-04-30 16:41:19.358028 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2019-04-30 16:41:19.358028 [DEBUG] switch_core_media.c:5533 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2019-04-30 16:41:19.358028 [DEBUG] switch_core_media.c:5802 No 2833 in SDP. Disable 2833 dtmf and switch to INFO
2019-04-30 16:41:19.358028 [DEBUG] sofia.c:8237 skemper was here in line 8232
2019-04-30 16:41:19.358028 [DEBUG] switch_core_media.c:8390 skemper was here in line 8390.
2019-04-30 16:41:19.358028 [DEBUG] switch_core_media.c:8496 Audio params are unchanged for sofia/external/+called_number.
2019-04-30 16:41:19.358028 [DEBUG] sofia.c:8243 Processing updated SDP

This fixes the state problem after a rejected T38 reINVITE by setting
TFLAG_SDP.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-18 21:19:41 +02:00
cdosoftei
5f628c0090
[mod_amqp] open logging and produced connections from within their respective threads 2019-10-17 15:38:38 -04:00
Andrey Volk
7fdf8584e4
Merge pull request #61 from cdosoftei/amqp-heartbeat
[mod_amqp] Properly parse out heartbeat parameter
2019-10-15 20:44:53 +04:00
cdosoftei
7e91927278
[mod_amqp] Properly parse out heartbeat parameter 2019-10-15 12:37:47 -04:00
Pelle Mattsson
77cd699000 [Docs] Rename Docker README to README.md, so github recognizes that it as a Markdown file and update the git url in it 2019-10-13 21:46:36 +04:00
Ciprian
696814cb26 [Core] Disable msrp by default, only enable when listen-port or listen-ssl-port config params configured in msrp.conf 2019-10-13 21:27:58 +04:00
Andrey Volk
cec8f3b1ca
Merge pull request #56 from lazedo/patch-1
[mod_kazoo] fix xml leak when event-filter is not available
2019-10-13 20:29:34 +04:00
lazedo
318e5d0d6d
[mod_kazoo] fix xml leak when event-filter is not available 2019-10-13 12:21:22 +01:00
Andrey Volk
f6c10f8622
Merge pull request #28 from signalwire/fixup-stash-url
[build/docs] point all old stash references in docs and makefiles to new github repository
2019-10-13 01:38:02 +04:00
Andrey Volk
93691c60ce
Merge pull request #32 from cdosoftei/php7-esl
ESL adjustments for PHP 7+
2019-10-13 00:51:31 +04:00
Andrey Volk
8a80e3ad0c
Merge pull request #44 from micmac1/master-fs_cli_typo
[fs_cli] Fix typo, resolves garbled screen
2019-10-13 00:49:08 +04:00
Andrey Volk
db64a08b02
Merge pull request #45 from micmac1/master-memleak-multicast
[mod_event_multicast] Fix memory leak
2019-10-13 00:45:59 +04:00
Andrey Volk
c96479bfd6
Merge pull request #50 from bircoph/master
Add support for the Elbrus architecture
2019-10-13 00:41:51 +04:00
Sebastian Kemper
8919d581fe [fs_cli] Fix typo, resolves garbled screen
Related to FS-11309.

Commit bc3e1c9e7de1855eec454bba467fd2586e5e251b introduced a typo that
results in EL_REFRESH never being used, even if available. This can
cause the screen to garble.

This fixes the typo.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-12 21:46:09 +02:00
Sebastian Kemper
fc41980f19 [mod_event_multicast] Fix memory leak
Taken from FS-11193:

In "event_handler()" function, when encrypting data using openssl 1.1.0,
the context ctx is allocated by "EVP_CIPHER_CTX_new()", then data is
encrypted, and at the end, EVP_CIPHER_CTX_cleanup is called. This
function resets the context (the function itself is deprecated, and has
been renamed to "EVP_CIPHER_CTX_reset) so that it can be used again. The
correct call would be to "EVP_CIPHER_CTX_free()", which frees the
memory. The code for openssl 1.0 is OK, since the "ctx" struct is kept
in stack.  The same thing happens during decryption. "ctx" is allocated,
but never freed.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-12 21:43:14 +02:00
Andrey Volk
ea2c31f0c8
Merge pull request #48 from crienzo/fix-grammar-in-mod_sofia
[mod_sofia] Fix some incorrect word contractions.
2019-10-10 20:34:21 +04:00
Chris Rienzo
9d4f480335 [mod_sofia] Fix some incorrect word contractions. 2019-10-10 09:41:53 -04:00
Andrew Savchenko
c4ec06dc23
Add support for the Elbrus architecture
The Elbrus architecture (aka E2K, aka 2000) is LE.

Signed-off-by: Andrew Savchenko <bircoph@altlinux.org>
2019-10-10 16:21:31 +03:00
cdosoftei
d60193c1ae
ESL adjustments for PHP 7+ 2019-10-02 14:05:58 -04:00
Andrey Volk
6f8d65c348
Merge pull request #30 from mitchcapper/bug_29_slack_join_link_broken_fix_pr
Updated slack community link to the current (working) join link as old one expired. Closes #29
2019-10-02 01:49:04 +04:00
Mitch Capper
1b04ffe535 Updated slack community link to the current (working) join link as old one expired. Closes #29 2019-10-01 14:25:31 -07:00
Mike Jerris
dbec998873 [build/docs] point all old stash references in docs and makefiles to new github repository 2019-10-01 10:02:20 -06:00
Andrey Volk
34075172eb
Merge pull request #27 from andywolk/mod_av_crash
[mod_av] Fix crash on `av show codecs` and `av show formats`.
2019-10-01 19:37:12 +04:00
Andrey Volk
4a60911228
Merge pull request #26 from dvillaume/patch-1
[mod_say_fr] Fix "10" not playing in French.
2019-10-01 19:18:14 +04:00
David VILLAUME
9de281133a [mod_say_fr] Fix "10" not playing in French. 2019-10-01 17:07:29 +02:00
Andrey Volk
65c4ca072d [mod_av] Fix crash on av show codecs and av show formats. 2019-10-01 13:02:39 +04:00
Anthony Minessale
285cb60926
Merge pull request #20 from signalwire/readme4
Add initial README.md
2019-09-26 18:43:05 -05:00
Andrey Volk
1711450e98 Add initial README.md 2019-09-27 02:29:51 +04:00
Sergey Safarov
3f6b77aae5
FS-11567: freeswitch.spec - relocated modules deps. FS core not use this deps 2019-09-25 08:52:57 +03:00
Andrey Volk
15ad4c23e2 Merge pull request #1803 in FS/freeswitch from bugfix/FS-12025-freeswitch-crashes-on-reloadxml-when-spandsp-tone-detection-is-running to master
* commit 'd45e9df88349a26a18426fd98409845316d131fb':
  FS-12025: [mod_spandsp] FreeSWITCH crashes on reloadxml when spandsp tone detection is running.
2019-09-17 11:03:50 -05:00
Andrey Volk
5123b00426 Merge pull request #1746 in FS/freeswitch from ~SAFAROV/freeswitch2:FS-11917 to master
* commit '6704d3aabeacdfa9a652f700379b072b6166f5a0':
  FS-11917: [mod_event_socket] Added error logging if cannot parse IP address
2019-09-17 03:32:08 -05:00
Sergey Safarov
6704d3aabe
FS-11917: [mod_event_socket] Added error logging if cannot parse IP address 2019-09-17 07:40:45 +03:00
Andrey Volk
75cfacf4c2 Merge pull request #1813 in FS/freeswitch from bugfix/FS-12042-sofia-sip-fix-leaks-in-stun-and-a-typo-in-sresolv to master
* commit '583bf0441d8d6730d4570cad9cc6f93d3c955394':
  FS-12042: [sofia-sip] Fix typo in sresolv.
2019-09-09 13:27:39 -05:00
Andrey Volk
583bf0441d FS-12042: [sofia-sip] Fix typo in sresolv. 2019-09-09 22:12:10 +04:00
Andrey Volk
6f62194af7 Merge pull request #1812 in FS/freeswitch from bugfix/FS-12041-core-fix-memory-leak-on-msrp-shutdown to master
* commit '70831a7140343cd4bf9ae76337458a0644dde103':
  FS-12041: [Core] Fix memory leak on msrp shutdown
2019-09-06 18:37:04 -05:00
Andrey Volk
70831a7140 FS-12041: [Core] Fix memory leak on msrp shutdown 2019-09-07 03:10:20 +04:00
Andrey Volk
fc925a273b Merge pull request #1809 in FS/freeswitch from sofia-leak to master
* commit '20a893fd0683de64353ee2c111aa9c61a867886d':
  FS-12038: [mod_sofia, core] Fix potential leak and race in chat_hash, add switch_core_hash_insert_auto_free().
2019-09-06 11:28:31 -05:00
Andrey Volk
20a893fd06 FS-12038: [mod_sofia, core] Fix potential leak and race in chat_hash, add switch_core_hash_insert_auto_free(). 2019-09-06 20:22:20 +04:00
Christopher Rienzo
8880c4f469 Merge pull request #1811 in FS/freeswitch from bugfix/FS-12040-mod_sofia-fix-potential-leak-if-realloc-fails to master
* commit '7ee53a6ec1753204d5f17e1f7d2b9429b8ab1342':
  FS-12040: [mod_sofia] Fix potential leak if realloc fails.
2019-09-06 09:37:37 -05:00
Andrey Volk
7ee53a6ec1 FS-12040: [mod_sofia] Fix potential leak if realloc fails. 2019-09-06 18:01:55 +04:00
Christopher Rienzo
468e2e06d1 Merge pull request #1810 in FS/freeswitch from bugfix/FS-12039-core-fix-memory-leak-on-ssl-shutdown to master
* commit 'f00d285b5eef6c697ba8bc3ecfde82fc7c2dba65':
  FS-12039: [Core] Fix memory leak on ssl shutdown.
2019-09-06 08:54:54 -05:00
Andrey Volk
f00d285b5e FS-12039: [Core] Fix memory leak on ssl shutdown. 2019-09-06 17:50:16 +04:00
Andrey Volk
d0c6b30c15 Merge pull request #1244 in FS/freeswitch from ~DRAGOS_OANCEA_NX/freeswitch-dragos-nx:fix/FS-10191/disable_video_floor_event_for_audio to master
* commit '4d4afbeb5d9a6aa2d8fced093aeba9b27c1e5623':
  FS-10191: don't send "video-floor-change" event for audio-only conference
2019-09-05 12:24:23 -05:00
Andrey Volk
d45e9df883 FS-12025: [mod_spandsp] FreeSWITCH crashes on reloadxml when spandsp tone detection is running. 2019-08-30 02:20:18 +04:00
Dragos Oancea
4d4afbeb5d FS-10191: don't send "video-floor-change" event for audio-only conference 2019-08-28 17:54:24 +01:00
Andrey Volk
eee07bd95f Merge pull request #1802 in FS/freeswitch from ~ITALOROSSI/freeswitch:feature/FS-12022 to master
* commit '759783532dc7c34b4f8ab27e63438a350bfbc256':
  FS-12022: [mod_event_socket] Add Job-Owner-UUID with session uuid when using bgapi inside outbound socket
2019-08-27 12:30:43 -05:00