Sebastian Kemper
e114c6382e
FS-11783: [core] quiet gcc truncation warning
...
With -Wstringop-truncation gcc warns about calls to bounded string
manipulation function "strncpy" that may either truncate the copied
string or leave the destination unchanged. To avoid the warning when the
result is not expected to be NUL-terminated, it is suggested to call
"memcpy" instead.
src/switch_core_media.c: In function 'switch_core_media_patch_sdp':
src/switch_core_media.c:11854:4: error: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Werror=stringop-truncation]
strncpy(q, strchr(a_engine->adv_sdp_ip, ':') ? "6 " : "4 ", 2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This commit follows gcc's recommendation.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-04-14 19:12:03 +02:00
Mike Jerris
a5858c8b9f
Merge pull request #1689 in FS/freeswitch from ~RAZVANC/freeswitch:bugfix/FS-11696-fix-format_fields-init to master
...
* commit '6f15b032955299d3c38915e9e1a81078bf66743e':
FS-11696 [mod_amqp] fix format_fields initialization
2019-04-05 16:01:43 -05:00
Mike Jerris
20e59c99ec
Merge pull request #1702 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11747 to master
...
* commit '8ca01da5a02d502ca64da49b9564607c4bc309f3':
FS-11747 [mod_loopback] add option to not bowout on inner bridge
2019-04-03 15:00:47 -05:00
Mike Jerris
111d85b6cd
Merge pull request #1703 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11748 to master
...
* commit '47b2be3d2e451e8a5b862b2e31477ba5242b79ec':
FS-11748 [mod_kazoo] better handling of interaction-id
2019-04-03 14:14:38 -05:00
Mike Jerris
5f8d68dbb2
Merge pull request #1706 in FS/freeswitch from ~ANDYWOLK/freeswitch:feature/FS-11759-update-libks-to-1.2.0-and-signalwire-client-c-to-1.1.0-on-windows to master
...
* commit '1202d6e787efea365707677be810585d8006b8ea':
FS-11759: [Build-System] Update libks to 1.2.0 and signalwire-client-c to 1.1.0 on Windows
2019-04-03 11:38:33 -05:00
Andrey Volk
1202d6e787
FS-11759: [Build-System] Update libks to 1.2.0 and signalwire-client-c to 1.1.0 on Windows
2019-04-03 20:31:27 +04:00
lazedo
47b2be3d2e
FS-11748 [mod_kazoo] better handling of interaction-id
...
* transfers
* outgoing channels
* loopback
2019-04-02 17:20:19 +01:00
lazedo
8ca01da5a0
FS-11747 [mod_loopback] add option to not bowout on inner bridge
2019-04-02 17:01:36 +01:00
Mike Jerris
4dbb8f27ed
Merge pull request #1698 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11729-wix-project-fails-to-find-mergemodule-folder-due-to-incorrect-version-in-path-fixed to master
...
* commit 'a8aced2411687f677d8b317937e6497c1bce8677':
FS-11729: [Build-System] Fix Visual Studio 2017 15.9 Redist files detection.
2019-04-01 16:18:58 -05:00
Mike Jerris
13fe6ee962
Merge pull request #1700 in FS/freeswitch from ~LAZEDO/freeswitch:bug/FS-11742 to master
...
* commit '68e3eae826bdfd0a9cc29bd6073dc63fdcdac695':
FS-11742 [mod_kazoo] add Core-UUID to Runtime-Info
2019-04-01 10:13:53 -05:00
lazedo
68e3eae826
FS-11742 [mod_kazoo] add Core-UUID to Runtime-Info
2019-04-01 14:38:07 +01:00
Mike Jerris
ccfbd3eab0
Merge pull request #1699 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11741 to master
...
* commit 'ece804c9b83ced8bdd3a3f0cc5836326b38257f5':
FS-11741 [mod_kazoo] add compare to field option & json_history
FS-11741 [mod_kazoo] add kz_node api
2019-03-31 16:39:50 -05:00
lazedo
ece804c9b8
FS-11741 [mod_kazoo] add compare to field option & json_history
2019-03-31 22:17:42 +01:00
lazedo
9eba3a9b99
FS-11741 [mod_kazoo] add kz_node api
2019-03-31 22:14:23 +01:00
Andrey Volk
a8aced2411
FS-11729: [Build-System] Fix Visual Studio 2017 15.9 Redist files detection.
2019-03-29 18:45:45 +04:00
Mike Jerris
d4bc3c3c82
Merge pull request #1697 in FS/freeswitch from ~LAZEDO/freeswitch:bug/kazoo-compile-otp21 to master
...
* commit 'dc8bc06c6497f2a43993af7701ebf0b9ac4d2d24':
FS-11732 [mod_kazoo] check otp version for ei_init
2019-03-27 13:12:00 -05:00
lazedo
dc8bc06c64
FS-11732 [mod_kazoo] check otp version for ei_init
2019-03-27 18:01:46 +00:00
Chris Rienzo
049edaa84d
FS-11731 [mod_rayo] fix compile error
2019-03-27 10:29:03 -06:00
Mike Jerris
bbbc935e19
Merge pull request #1696 in FS/freeswitch from ~LAZEDO/freeswitch:features/kazoo-2 to master
...
* commit 'efafdefe07c470545fe5c2043d0380a0949b37c4':
FS-10820 [mod_kazoo] add more kazoo interactions
2019-03-27 01:46:15 -05:00
lazedo
efafdefe07
FS-10820 [mod_kazoo] add more kazoo interactions
...
* initialize ei
* defaults for definitions
* add kz endpoint
* add kz_bridge
* add setters with encoding
* add tweaks after merged core PRs
2019-03-27 06:13:32 +00:00
Mike Jerris
1dea2b2f7f
Merge pull request #1474 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-10968 to master
...
* commit '168a3c068b4c5d485afc775cc28cb06e7bfc68a5':
FS-10968 [core] create recording vars
2019-03-26 17:35:44 -05:00
lazedo
168a3c068b
FS-10968 [core] create recording vars
...
* moves channel vars starting with Recording-Variable- to record_helper
* uses record_helper variables for RECORD_START/STOP events
2019-03-26 22:28:13 +00:00
Mike Jerris
f4a7274195
Merge pull request #1682 in FS/freeswitch from ~LAZEDO/freeswitch:proxy-token-acl-port to master
...
* commit '6ceb9885d4bd10763b982255af732e3e6a8936ee':
FS-9956 [mod_sofia] retain user lookup in blind & acl auth
FS-11025 [mod_sofia] use ports for acl check
FS-11025 [core] allow/check ports in network lists
FS-10746 [mod_sofia] allow authoritative proxy to provide token
2019-03-26 17:21:02 -05:00
lazedo
6ceb9885d4
FS-9956 [mod_sofia] retain user lookup in blind & acl auth
...
* retains lookup to be used after caller context is created and
switch_ivr_set_user_xml is called
2019-03-26 22:16:28 +00:00
Mike Jerris
bdddbc7a57
Merge pull request #1686 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-9942-3 to master
...
* commit 'aca07987006bc8e6be96e06da0942d945776c99d':
FS-9942 [mod_sofia] allow intercept for other channels
2019-03-26 16:31:08 -05:00
lazedo
aca0798700
FS-9942 [mod_sofia] allow intercept for other channels
2019-03-26 21:16:11 +00:00
Mike Jerris
ba4b2dc5b7
Merge pull request #1515 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11135 to master
...
* commit '7fd7ea9a5d70a4795f780c0d89057370e7a92856':
FS-11135 [mod_loopback] runtime behaviour controlled by configuration
2019-03-26 15:36:05 -05:00
Chris Rienzo
c40af77327
FS-11706 [core] use unique mutex for stack_count
2019-03-19 23:14:47 -04:00
Chris Rienzo
d86c715694
FS-11706 [core] protect session stack count with mutex
2019-03-19 12:12:38 -04:00
Chris Rienzo
1a5ce0ebeb
FS-11706 [core] add some extra information to troubleshoot 'too many stacked extensions'
2019-03-19 12:12:26 -04:00
Piotr Gregor
c8e9eeaec9
FS-11708 Fix deadlock on 'avmd uuid stop'
2019-03-15 16:27:14 -06:00
joshebosh
70dc40e680
FS-11704 "DAEMON_OPTS=-ncwait -nonat" in freeswitch.server causing startup failure
2019-03-12 23:49:16 +04:00
Chris Rienzo
7e6206325a
FS-11693 [core] speed up switch_channel_get_log_tags() for the case when none are set
2019-03-09 15:22:03 -05:00
Chris Rienzo
fd30f1161d
FS-11693 [mod_graylog2] add support for switch_channel_set_log_tag()
2019-03-09 15:21:57 -05:00
Chris Rienzo
e4c0abf286
FS-11693 [core] Added switch_channel_set_log_tag() and switch_channel_get_log_tags() This allows you to add log tags to an active call channel. If using SWITCH_CHANNEL_SESSION_LOG, with switch_log_printf(), the tags will be added to the the log node so a logging module can send additional contextual data to a log aggregator.
2019-03-09 15:21:46 -05:00
Razvan Crainea
6f15b03295
FS-11696 [mod_amqp] fix format_fields initialization
2019-03-08 18:34:51 +02:00
Mike Jerris
2e319c41c0
Merge pull request #1688 in FS/freeswitch from fs-11691-fix-log-node-dup to master
...
* commit '10f642249e13568d2e4412a4a4e962d1a8c900bf':
FS-11691 [core] fix switch_log_node_dup() so that it completely duplicates log nodes
2019-03-06 20:52:51 -06:00
Chris Rienzo
10f642249e
FS-11691 [core] fix switch_log_node_dup() so that it completely duplicates log nodes
2019-03-06 21:43:54 -05:00
Mike Jerris
3d8e54e6f8
Merge pull request #1484 in FS/freeswitch from ~DRAGOS_OANCEA_NX/freeswitch-dragos-nx:bugfix/FS-11007/mod_conference-fixes to master
...
* commit 'de7a502d54040f27bb1f1e6a60a982325ee5ad10':
FS-11007: [mod_conference] API: reply to hup.
FS-11007: [mod_conference] fix recording counter and remove unused code
2019-03-06 18:47:02 -06:00
Dragos Oancea
de7a502d54
FS-11007: [mod_conference] API: reply to hup.
2019-03-06 12:27:39 +00:00
Dragos Oancea
aa0119ef6b
FS-11007: [mod_conference] fix recording counter and remove unused code
2019-03-06 12:26:10 +00:00
Luis Azedo
254b739b96
FS-11025 [mod_sofia] use ports for acl check
...
* optionally use port for acl check
* optionally lookup acl token from header
* optionally processed auth only by acl
2019-03-06 11:56:06 +00:00
Luis Azedo
60956d7f85
FS-11025 [core] allow/check ports in network lists
2019-03-06 11:56:03 +00:00
Luis Azedo
46c1b4217c
FS-10746 [mod_sofia] allow authoritative proxy to provide token
2019-03-06 11:55:59 +00:00
lazedo
7fd7ea9a5d
FS-11135 [mod_loopback] runtime behaviour controlled by configuration
2019-03-06 03:59:17 +00:00
Mike Jerris
d19e3bb392
Merge pull request #1679 in FS/freeswitch from ~SEBASTIAN/freeswitch:bugfix/FS-11659-fix-implicit-declaration-of-RAND_bytes to master
...
* commit 'c447f856fbd5353e27c467c3af3842c570c1cbe7':
FS-11659 [core] Fix implicit declaration of RAND_bytes
2019-03-05 16:06:23 -06:00
Mike Jerris
b26a467377
FS-10530: [mod_opusfile] fix Makefile for include path
2019-03-04 22:20:38 +04:00
Mike Jerris
159cc300f8
Merge pull request #1425 in FS/freeswitch from ~HARI/freeswitch:bugfix/FS-10720-playback_stop-event-not-sent-in to master
...
* commit '6e661cc2a3229cb9411676b7fcc42e2a7774d008':
FS-10720: [core] exit playback when eof reached and speed is set #resolve
2019-03-04 09:43:32 -06:00
Mike Jerris
40a7c72f6f
Merge pull request #1685 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11373-fix-mod_say_it-date to master
...
* commit 'c4e9995f54cf01215aa3ee3553910ac63fe6aadb':
FS-11373: [mod_say_it] fix say date
2019-02-28 19:07:31 -06:00
Mike Jerris
d4fd8acced
Merge pull request #1684 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11636-fix-say-date to master
...
* commit '6b2ad1d48d2c6b3e3477db7289be19fcb1c2aa84':
FS-11636: [mod_say_de] fix SST_CURRENT_DATE_TIME FS-11636: [mod_say_en] fix SST_CURRENT_DATE_TIME
2019-02-28 19:06:13 -06:00