35708 Commits

Author SHA1 Message Date
Michael Jerris
6c87ed4915 [Core] RFC 3264 says once we assign a payload number to a dynamic codec, we are stuck with it.
8.3.1 Modifying Address, Port or Transport

   The port number for a stream MAY be changed.  To do this, the offerer
   creates a new media description, with the port number in the m line
   different from the corresponding stream in the previous SDP.  If only
   the port number is to be changed, the rest of the media stream
   description SHOULD remain unchanged.  The offerer MUST be prepared to
   receive media on both the old and new ports as soon as the offer is
   sent.  The offerer SHOULD NOT cease listening for media on the old
   port until the answer is received and media arrives on the new port.
   Doing so could result in loss of media during the transition.

Co-authored-by: Anthony Minessale <anthm@signalwire.com>
2021-12-17 23:56:43 +03:00
Andrey Volk
862a19e103
Merge pull request #1480 from dragos-oancea/acl-extend
[core] extend count of acl entries (per SOFIA_MAX_ACL).
2021-12-09 17:45:56 +03:00
Dragos Oancea
77481b327c [core] extend count of acl entries (per SOFIA_MAX_ACL). 2021-12-09 11:36:39 +02:00
Clarence
e632759ae8
[mod_amqp] Fix memory leaks on command queue name and parsing configure file 2021-12-05 12:55:51 +03:00
Andrey Volk
ee1dc921fe
Merge pull request #1436 from seven1240/fix-vmd
[mod_vmd] fix shutdown function not being called
2021-12-04 01:29:14 +03:00
Minh
f3604557e5
[mod_distributor] Reload message should be same as others (+OK instead of +ok) 2021-12-01 20:48:29 +03:00
Andrey Volk
99d9c3bd65
Merge pull request #1259 from bmlkc/mod-opusfile-drain-before-closing-write
[mod_opusfile] add opc_encoder_drain before destroying handle
2021-12-01 12:38:21 +03:00
Alex Xu (Hello71)
6ece47e17f [build] skip checking unused execinfo.h
since 380fd060ef719b1d8f8781422e84d2a32066351d, execinfo.h is not used
anymore, so there is no need to check for it.
2021-11-26 11:50:48 -05:00
Alexander Udovichenko
1bab462f19
[mod_sofia] Add autocomplete options to status profile command 2021-11-26 15:18:23 +03:00
Jakub Karolczyk
4f123c4682 [mod_conference] Set conference vars from core/channel variables 2021-11-23 20:24:23 +03:00
Jakub Karolczyk
4c781e2b5f [mod_conference] Add APIs to set/get conference variables 2021-11-23 20:22:43 +03:00
Andrey Volk
4fbca5c782
Merge pull request #1451 from dragos-oancea/fix-strcmp--
[mod_event_socket] fix strcmp crash
2021-11-19 17:38:51 +03:00
Dragos Oancea
5b8e1dd88a [mod_event_socket] fix strcmp crash 2021-11-19 16:17:03 +02:00
Andrey Volk
e428be3f1a
Merge pull request #1444 from signalwire/opensipit02
[mod_sofia] fail set up of STIR/SHAKEN verification service if configured CA directory fails to load
2021-11-17 22:23:28 +03:00
Andrey Volk
3625f5c3f9
Merge pull request #1446 from signalwire/fix-rfc8760
[mod_sofia] Put more comments into the code explaining that we include switch_ssl.h into sofia_reg.c because of SHA-512-256 (RFC-8760)
2021-11-17 18:48:28 +03:00
Andrey Volk
594e42544b [mod_sofia] Put more comments into the code explaining that we include switch_ssl.h into sofia_reg.c because of SHA-512-256 (RFC-8760) 2021-11-17 18:18:52 +03:00
Chris Rienzo
d7c985afc7 [mod_sofia] fail set up of STIR/SHAKEN verification service if configured CA directory fails to load 2021-11-16 18:10:59 -05:00
Andrey Volk
d1372cd6e5
Merge pull request #1442 from dragos-oancea/jb-fix
[core] Fix jitter buffer- it is not truncating frames properly.  It's also overflowing the node packet body and is copying the packet body twice.
2021-11-16 20:06:48 +03:00
Chris Rienzo
51904df21a [core] Fix jitter buffer- it is not truncating frames properly. It is also overflowing the node packet body and is copying the packet body twice. Remove magic numbers and replace with constant. 2021-11-16 16:21:11 +02:00
Andrey Volk
ed9c039a64
Merge pull request #1441 from signalwire/fix-rfc8760
[mod_sofia] Fix regression in RFC-8760.
2021-11-15 21:42:32 +03:00
Chris Rienzo
c9fba5cf39 [mod_sofia] Fix regression in RFC-8760. SHA-512/256 was not offered because OPENSSL_VERSION_NUMBER was not defined in sofia_reg.c 2021-11-15 13:18:29 -05:00
Andrey Volk
7b1cfea705
Merge pull request #1432 from signalwire/fix-whitespace
[mod_avmd] fix formatting to match coding standards
2021-11-11 18:24:44 +03:00
Andrey Volk
fbf2da44d9 [Core] Fix use of private headers. 2021-11-10 21:46:29 +03:00
Andrey Volk
78da062bd9 [Build-System] Windows: Fix APR build dependency in unimrcp and pthread dependency in libshout. 2021-11-09 22:32:06 +03:00
Seven Du
89cb571af9 [mod_vmd] fix shutdown function not being called 2021-11-09 16:26:59 +08:00
Chris Rienzo
c4bc0bfbb4 [mod_avmd] fix formatting to match coding standards 2021-11-06 00:11:32 +00:00
Ken
f2a7891f14 [mod_dptools] Implement disable_system_app_commands global variable to make system and bgsystem dialplan apps disabled at run time.
adds a check on startup for global variable disable_system_app_commands. if the
global variable is set to true, the system and bgsystem dialplan apps will not
have their app_interface loaded via SWITCH_ADD_APP() leaving them effectively
disabled at run time.
2021-11-05 17:46:07 +03:00
Andrey Volk
038cd82948
Merge pull request #1430 from signalwire/libksconfigure
[Build-System] Add better error reporting to configure when libks or signalwire-client are missing and mod_verto or mod_signalwire enabled.
2021-11-03 23:19:48 +03:00
Andrey Volk
2663872953 [Build-System] Add better error reporting to configure when libks or signalwire-client are missing and mod_verto or mod_signalwire enabled. 2021-11-03 22:48:44 +03:00
Andrey Volk
0fdd5b6727 [Core] Fix switch_event_base_add_header leaking memory when headers are with indexes. Add a unit-test.
* [Unit-tests] Add a test provoking switch_event_add_header to memory leak.
* [Core] Fix switch_event_base_add_header leaking memory when headers are with indexes.
2021-11-03 17:01:05 +03:00
dhruvecosmob
0c8ff2fbcf [mod_test] Increasing the precision time of fst_check_duration in the tts_time function of the unit-test. 2021-11-02 10:59:56 +05:30
Clarence
b4a7cf4059 [core] fix compile error with gcc 11.1 2021-11-02 11:33:29 +08:00
Andrey Volk
3c6ffc146f
Merge pull request #1419 from micmac1/disable-libyuv
[core] fix "--disable-libyuv"
2021-11-01 21:35:06 +03:00
Sebastian Kemper
a2ce46c6fd [core] fix "--disable-libyuv"
Recent changes made it impossible to compile freeswitch without libyuv
support.

src/switch_core_video.c: In function 'switch_img_read_from_file':
src/switch_core_video.c:3139:4: error: implicit declaration of function 'RAWToI420' [-Werror=implicit-function-declaration]
RAWToI420(data, width * 3,
^
src/switch_core_video.c:3148:4: error: implicit declaration of function 'ABGRToARGB' [-Werror=implicit-function-declaration]
ABGRToARGB(data, width * 4, img->planes[SWITCH_PLANE_PACKED], img->stride[SWITCH_PLANE_PACKED], width, height);
^

Fix this my adding/moving the checks for "SWITCH_HAVE_YUV".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-01 19:35:53 +03:00
Andrey Volk
f96f83ee3b
Merge pull request #1417 from rts-cn/fix-lua-json
[mod_lua] fix json encoding of lua number string
2021-11-01 19:00:35 +03:00
Andrey Volk
28eb8819e9
Merge pull request #1418 from micmac1/opusfile-type_error
[mod_opusfile] fix type errors
2021-11-01 18:58:31 +03:00
Chris Rienzo
62dcdff8d9 [mod_unicall] Fix array overflow 2021-11-01 14:00:52 +00:00
Chris Rienzo
5cd8a53ae8 [mod_voicemail_ivr] Fix array overflow 2021-11-01 13:50:26 +00:00
Sebastian Kemper
3128afeae7 [mod_opusfile] fix type errors
Since the last round of changes it fails to compile:

mod_opusfile.c: In function 'decode_stream_cb':
mod_opusfile.c:933:143: error: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'switch_thread_id_t' {aka 'struct __pthread *'} [-Werror=format=]
  933 |                 switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "[OGG/OPUS Stream Decode] decode_stream_cb(): switch_thread_self(): %lx\n",  switch_thread_self());
      |                                                                                                                                             ~~^      ~~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                               |      |
      |                                                                                                                                               |      switch_thread_id_t {aka struct __pthread *}
      |                                                                                                                                               long unsigned int

Address this by applying the same casts that are also used in
src/mod/formats/mod_sndfile/test/test_sndfile.c already.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-01 09:51:26 +01:00
Seven Du
fe296e4fa3 [mod_lua] fix json encoding of lua number string 2021-11-01 16:16:01 +08:00
Marc Olivier Chouinard
d13ee25735 [mod_sofia] Provide retry time for failed and waiting registration 2021-10-27 12:41:31 -04:00
shaunjstokes
9f26a15220
[mod_pgsql] Add support for postgresql 14 2021-10-26 19:25:14 +03:00
Andrey Volk
3decbb830c
Merge pull request #1403 from dragos-oancea/_big_endian_rtcp
[core] fix build SWITCH_BYTE_ORDER == __BIG_ENDIAN
2021-10-26 19:20:57 +03:00
Andrey Volk
1e805413ad
Merge pull request #1404 from dragos-oancea/test_aws_remove_check
[mod_http_cache][unit-tests] remove timestamp unit-test
2021-10-26 19:18:52 +03:00
Dragos Oancea
cfb4c3ca80 [mod_http_cache][unit-tests] remove timestamp unit-test 2021-10-26 14:27:14 +00:00
Dragos Oancea
68039d344d [core] fix build SWITCH_BYTE_ORDER == __BIG_ENDIAN 2021-10-26 08:42:58 +00:00
Andrey Volk
4555731ee3 version bump 2021-10-24 21:49:18 +03:00
Seven Du
f9994c00f9
[mod_verto] Fix leak in http_run. 2021-10-24 15:39:56 +03:00
Seven Du
408480bae0
[Unit-tests] Fix mac build
* [core] fix build err on Mac
* [mod_av] fix build on macOS
2021-10-24 15:36:52 +03:00
s3rj1k
712f05578b [Build-System] Enable applications/mod_test build by default. 2021-10-23 23:31:22 +03:00