Lee Howard
f43f4ee929
Enable retransmit_capable for sending faxes.
2022-06-10 12:37:32 -07:00
Lee Howard
e2acd2eafe
I'm not sure why this is necessary, but if we don't sleep/yield for a moment here then we end up with the potential for lost audio data happening. Is it because we're sending audio data to FreeSWITCH faster than it's being sent over the channel. Is it because of audio data in spandsp getting overwritten? Whatever the case, this here seems to do the trick.
2022-06-07 21:04:50 -07:00
Lee Howard
cd6cc31cdf
Read the pty one byte at a time.
...
There are two things to note: first, see https://sourceforge.net/p/iaxmodem/code/28/ The read() can block for some period of time if the other end of the pty is being written to in order for the read() to meet the requested bytes. So, in order for us to avoid those delays it's necessary to do the read()s one byte at a time. Second, the return value of t31_at_rx() must be utilized in case the t31 buffer is full. If we don't, then we risk losing bytes of data sent by the DTE which will never make it to the modem.
2022-06-07 16:49:15 -07:00
Lee Howard
dce03f3331
Set channel audio flag in order to pass the audio to the other side.
2022-06-03 21:35:34 -07:00
Andrey Volk
7f0edeafcc
Merge pull request #1668 from signalwire/unusedbuf
...
[mod_av] Remove unused buf variable in av_file_write
2022-05-23 22:53:51 +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
c134b8b73b
Merge pull request #1666 from signalwire/av_fill
...
[mod_av] Avoid using 16384 stack (or heap) bytes in av_file_write(). Remove ff_input_buffer_padding static variable.
2022-05-23 22:02:25 +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
3da5bd8587
Merge pull request #1665 from signalwire/switch_buffer_zero_fill
...
[Core] Allow switch_buffer_write() to fill in a buffer with zeros. Add switch_buffer_zero_fill()
2022-05-23 21:53:55 +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
f31dcd26f8
Merge pull request #1660 from signalwire/osx-postgres-detection
...
[build] fix postgres detection on osx
2022-05-23 20:59:44 +03:00
Mike Jerris
56ed4bbf55
[build] fix postgres detection on osx
2022-05-19 14:32:50 -06: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
f220b47a33
Merge pull request #1658 from signalwire/sqliteextensions
...
[Core] Avoid using insecure sqlite3_enable_load_extension when SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION is available.
2022-05-19 12:46:54 +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
Andrey Volk
f5a2a59758
Merge pull request #1631 from signalwire/dockerfile
...
[Docs] Add Debian 11 Dockerfile example showing how to build FreeSWITCH without repo.
2022-04-14 21:10:53 +03:00
Andrey Volk
456041982f
[Docs] Add Debian 11 Dockerfile example showing how to build FreeSWITCH without repo.
2022-04-14 21:01:12 +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
8f9f5c1c3e
Merge pull request #1602 from signalwire/bt
...
[Unit-tests] Improve back traces reported by ASAN
2022-03-28 17:56:17 +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
e14a2d9c10
[Unit-tests] Improve back traces reported by ASAN
2022-03-26 21:56:38 +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
soroshsabz
92766c7388
[Docker] Fix broken gpg --verify and Dockerfile cleanup
2022-03-21 01:18:11 +03:00
soroshsabz
4e22812eec
[Docker] Correct keyserver and key id in the Dockerfile
2022-03-21 00:34:47 +03:00
Andrey Volk
16c03f8ec8
Merge pull request #1581 from signalwire/repotoken
...
[Testing] Enable repo auth on Drone CI
2022-03-18 03:54:54 +03:00
Andrey Volk
6913ccd41b
[Testing] Enable repo auth on Drone CI
2022-03-18 03:17:33 +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
b5bc40554b
Merge pull request #1568 from signalwire/bbb
...
[mod_conference] Fix memory consumption and Media flow direction issue.
2022-03-08 02:07:35 +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
Andrey Volk
224836b5d2
Merge pull request #1551 from dragos-oancea/rtp-continue-rtcp-mux
...
[core] Handling RTCP MUX resulting in gaps
2022-02-21 21:39:31 +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
Andrey Volk
36f2e77beb
Merge pull request #1544 from signalwire/libks180
...
[Build-System] Update libks to 1.8.0 on Windows.
2022-02-09 17:57:43 +03:00
Andrey Volk
0072db0dbb
[Build-System] Update libks to 1.8.0 on Windows.
2022-02-09 15:20:16 +03: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
351b505535
Merge pull request #1528 from signalwire/multicast_overflow
...
[mod_event_multicast] Fix buffer overflow on module load.
2022-01-26 20:14:03 +03:00
Andrey Volk
989097080d
[mod_event_multicast] Fix buffer overflow on module load.
2022-01-26 19:12:28 +03:00