20676 Commits

Author SHA1 Message Date
Mike Jerris
b007a0d29c Merge pull request #1719 in FS/freeswitch from ~SILIK0N/freeswitch:master to master
* commit '7b0d25daa33f39d49cecb7e4f26b16f89e23594e':
  FS-11830 memory leak in SWITCH_STANDARD_API(enum_function)
2019-05-09 16:06:51 -05:00
Aron Podrigal
acaf903a91 FS-11159: [mod_sofia] Set transport based on our next hop, so if route_uri is present, use it. 2019-05-09 14:44:34 -06:00
Ken Rice
7b0d25daa3 FS-11830 memory leak in SWITCH_STANDARD_API(enum_function) 2019-05-06 11:19:58 -05:00
Luis Azedo
669ea98834 FS-11825 [mod_sofia] use proper flag in blind auth 403 reply 2019-05-02 01:56:12 +01:00
Andrey Volk
c86f66436e FS-11792: [core] Fix memory leak in switch_ivr_originate.c 2019-04-23 17:54:49 +04:00
Mike Jerris
743cddc947 Merge pull request #1714 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11791 to master
* commit 'fdd2acfbfef83ab5311a5b95a5a7676b62b40297':
  FS-11791 [mod_kazoo] fixes & improvements
2019-04-18 11:45:16 -05:00
lazedo
fdd2acfbfe FS-11791 [mod_kazoo] fixes & improvements
* tweak configuration
* customized att_xfer
* json_api with uuid support
2019-04-18 04:05:31 +01:00
lazedo
2b2f11d699 FS-11790 [mod_loopback] set correct values for Connecting-Legs 2019-04-18 03:39:06 +01:00
António Silva
1a4e4e2f78 FS-9894 [mod_callcenger] fix call timeout if agent contact as leg_timeout to higger value than 60 2019-04-15 16:15:43 +02:00
Sebastian Kemper
3ca75eb8ef FS-11783: [mod_say_ja] quiet overflow warning
With -Wformat-overflow gcc warns about calls to formatted input/output
function "sprintf" that might overflow the destination buffer.

In this case gcc does not know the upper bound of tm_min and assumes
that up to 11 bytes might be written to buffer (3 bytes). But we know
that tm_min can only be within the range 0 to 59.

mod_say_ja.c: In function 'ja_say_time':
mod_say_ja.c:376:35: error: '%d' directive writing between 2 and 10 bytes into a region of size 3 [-Werror=format-overflow=]
                  sprintf(buffer, "%d", tm.tm_min);
                                   ^~
mod_say_ja.c:376:34: note: directive argument in the range [11, 2147483647]
                  sprintf(buffer, "%d", tm.tm_min);
                                  ^~~~
mod_say_ja.c:376:18: note: 'sprintf' output between 3 and 11 bytes into a destination of size 3
                  sprintf(buffer, "%d", tm.tm_min);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This commits adds a hint for gcc, which silences the warning.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-04-14 19:23:52 +02:00
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
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
lazedo
68e3eae826 FS-11742 [mod_kazoo] add Core-UUID to Runtime-Info 2019-04-01 14:38:07 +01: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
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
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
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
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
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
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
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
Dragos Oancea
c4e9995f54 FS-11373: [mod_say_it] fix say date 2019-02-28 15:27:40 -05:00
Dragos Oancea
6b2ad1d48d FS-11636: [mod_say_de] fix SST_CURRENT_DATE_TIME
FS-11636: [mod_say_en] fix SST_CURRENT_DATE_TIME
2019-02-28 15:04:46 -05:00
Mike Jerris
9635c7d09c Merge pull request #1351 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:feature/FS-10530_mod_opusfile to master
* commit 'ed2b3b7bb4a6ff0251452e519ff8cf309620770f':
  FS-10530: [mod_opusfile]: multichannel
  FS-10530: [mod_opusfile] new module, read and write ogg/opus files (".opus" extension)
2019-02-27 14:47:57 -06:00
Mike Jerris
ab257d5557 Merge pull request #1656 in FS/freeswitch from ~LAZEDO/freeswitch:bug/FS-11608 to master
* commit '8ed52f4c266446e29fa040c49f55b79081054fcb':
  [FS-11609] [core] lookup values in caller profile soft variables
  [FS-11608] [core] set prefix for caller profile soft variables
2019-02-26 11:46:31 -06:00
Mike Jerris
93db053bac Merge pull request #1475 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-10969 to master
* commit '834132d1283570ec6a9cca9288a1dc82db7b1305':
  FS-10969 [mod_spandsp] increase tone limit to 128
2019-02-19 15:39:08 +00:00