Commit Graph

33585 Commits

Author SHA1 Message Date
Mike Jerris 13e40b6951 Merge pull request #1721 in FS/freeswitch from ~LAZEDO/freeswitch:bug/FS-11838 to master
* commit '9bfa2fc5e47c96b1699299bd336f8de967061f4a':
  FS-11838 [mod_kazoo] handle intercept
2019-05-10 12:44:03 -05:00
Luis Azedo 9bfa2fc5e4 FS-11838 [mod_kazoo] handle intercept 2019-05-10 18:41:23 +01:00
Mike Jerris 89379c38e1 Merge pull request #1716 in FS/freeswitch from ~LWAHLMEIER/freeswitch:bugfix/FS-11342-hep-and-hep3-has-incorrect-capture_id to master
* commit '2ba80c056ef7e5c4ad928d15c60193374cb7bc77':
  FS-11342: fixed hep3 capture_id
2019-05-09 16:23:03 -05:00
Mike Jerris 84ee84930c Merge pull request #1717 in FS/freeswitch from ~LAZEDO/freeswitch:bug/FS-11825 to master
* commit '669ea988340056ea313bdb718a5c93e2bcf3cf4c':
  FS-11825 [mod_sofia] use proper flag in blind auth 403 reply
2019-05-09 16:13:21 -05:00
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
Luke Wahlmeier 2ba80c056e FS-11342: fixed hep3 capture_id 2019-04-24 15:07:32 -06: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
Mike Jerris c9ab6c75bd Merge pull request #1713 in FS/freeswitch from ~LAZEDO/freeswitch:bug/FS-11790 to master
* commit '2b2f11d6993ba31428b0ad9a23b5828239ca6ef4':
  FS-11790 [mod_loopback] set correct values for Connecting-Legs
2019-04-18 11:44:17 -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
Mike Jerris 8df9ac43c5 Merge pull request #1712 in FS/freeswitch from ~ANTONIO/freeswitch:bugfix/FS-9894-mod_callcenter-timeout-to-call-an to master
* commit '1a4e4e2f78b434455e9fbabda0dc334a992ec7bb':
  FS-9894 [mod_callcenger] fix call timeout if agent contact as leg_timeout to higger value than 60
2019-04-15 12:23:18 -05: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
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