Commit Graph

1127 Commits

Author SHA1 Message Date
lazedo ac77de715b [mod_kazoo] use globals hostname to create nodename in create_ei_cnode 2019-12-04 05:58:08 +00:00
lazedo 731b0eb8fd [mod_kazoo] add kz_set_hostname declaration 2019-12-03 23:24:47 +00:00
lazedo 1afad3413b [mod_kazoo] missing call to kz_set_hostname 2019-12-03 21:45:15 +00:00
Andrey Volk f8dc87bd18 [mod_event_socket] Fix "Listener session is null" problem - regression from previous commit to the mod. 2019-11-13 19:28:25 +04:00
Andrey Volk a288c3d969
Merge pull request #117 from lazedo/kazoo-ctx
[mod_kazoo] recurse context runtime vars
2019-11-12 01:25:14 +04:00
Vallimamod Abdullah 7f63483138 [mod_event_socket] Add null pointer checks on listener session and socket 2019-11-11 22:58:18 +04:00
lazedo 3c6d47c293 [mod_kazoo] recurse context runtime vars 2019-11-11 18:09:26 +00:00
Andrey Volk 7861ec937e
Merge pull request #64 from cdosoftei/amqp-reconnect
[mod_amqp] open logging and produced connections from within their threads
2019-11-11 20:11:59 +04:00
Andrey Volk 55afe220d3
Merge pull request #71 from cdosoftei/amqp-queue-properties
[mod_amqp] configurable commands queue properties
2019-11-11 20:11:30 +04:00
lazedo 998e322f46 [mod_kazoo] add kz-endpoint-runtime-context 2019-11-07 22:42:28 +00:00
lazedo 8d2174d707 [mod_kazoo] several fixes & code cleanup 2019-10-31 11:06:16 +00:00
cdosoftei 5244a64d4e
[mod_amqp] configurable commands queue properties 2019-10-22 15:22:00 -04:00
cdosoftei 5f628c0090
[mod_amqp] open logging and produced connections from within their respective threads 2019-10-17 15:38:38 -04:00
cdosoftei 7e91927278
[mod_amqp] Properly parse out heartbeat parameter 2019-10-15 12:37:47 -04:00
lazedo 318e5d0d6d
[mod_kazoo] fix xml leak when event-filter is not available 2019-10-13 12:21:22 +01:00
Sebastian Kemper fc41980f19 [mod_event_multicast] Fix memory leak
Taken from FS-11193:

In "event_handler()" function, when encrypting data using openssl 1.1.0,
the context ctx is allocated by "EVP_CIPHER_CTX_new()", then data is
encrypted, and at the end, EVP_CIPHER_CTX_cleanup is called. This
function resets the context (the function itself is deprecated, and has
been renamed to "EVP_CIPHER_CTX_reset) so that it can be used again. The
correct call would be to "EVP_CIPHER_CTX_free()", which frees the
memory. The code for openssl 1.0 is OK, since the "ctx" struct is kept
in stack.  The same thing happens during decryption. "ctx" is allocated,
but never freed.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-12 21:43:14 +02:00
Sergey Safarov 6704d3aabe
FS-11917: [mod_event_socket] Added error logging if cannot parse IP address 2019-09-17 07:40:45 +03:00
Andrey Volk eee07bd95f Merge pull request #1802 in FS/freeswitch from ~ITALOROSSI/freeswitch:feature/FS-12022 to master
* commit '759783532dc7c34b4f8ab27e63438a350bfbc256':
  FS-12022: [mod_event_socket] Add Job-Owner-UUID with session uuid when using bgapi inside outbound socket
2019-08-27 12:30:43 -05:00
David Grant 7a4a988dcb FS-11993 [mod_http_cache][mod_smpp] fix gcc errors when building on rpi4 buster (strncpy to snprintf)
FS-11993 [mod_http_cache][mod_smpp] fix gcc errors when building on rpi4 buster (strncpy to snprintf)
2019-08-24 22:48:59 -05:00
Ítalo Rossi 759783532d FS-12022: [mod_event_socket] Add Job-Owner-UUID with session uuid when using bgapi inside outbound socket 2019-08-22 16:35:34 -03:00
lazedo 88448ebfba FS-11982 [mod_kazoo] add expand-headers-on-fetch 2019-08-05 15:40:42 +00:00
Dragos Oancea 4f66959ed3 FS-11973: [mod_event_multicast] add mutex and checks on hash ptrs on shutdown 2019-08-01 18:12:39 +00:00
Andrey Volk 718d2341f7 FS-11952: [Core] Fix memory leaks. 2019-07-24 20:26:32 +04:00
Andrey Volk 9c8de649b3 FS-11947: [Build-System] Do not install test binaries when doing make install. 2019-07-23 19:34:21 +04:00
Andrey Volk ccc4ae282a FS-11880: [Core,mod_pgsql] Remove native PostgreSQL support from the core, add mod_pgsql database module. 2019-07-18 00:20:50 +04:00
Chris Rienzo 7d0523f084 FS-11785 [mod_format_cdr, mod_local_stream] fix dead assignment 2019-07-17 21:50:43 +04:00
Chris Rienzo 91d07accee FS-11785 [mod_event_socket] fix dead assignment 2019-07-17 21:50:36 +04:00
Andrey Volk f4c9048e24 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_rayo 2019-07-15 23:39:28 +04:00
Andrey Volk e0211e2ce1 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_event_socket 2019-07-15 23:39:26 +04:00
Andrey Volk a7477ed0e2 FS-11911: Fix build on Debian Buster 2019-07-15 22:23:25 +04:00
lazedo ad7db39999 FS-11732 [mod_kazoo] ei_init added in OTP 21.3 2019-06-25 14:54:47 +00:00
Andrey Volk 08a6a8a2fa FS-11864: [mod_kazoo] Fix uint64_t type overflow on 32 bit platforms 2019-05-29 00:34:07 +04:00
Luis Azedo 90438ffe78 FS-11846 [mod_kazoo] fix queue cleanup 2019-05-15 13:24:12 +01:00
Luis Azedo 9bfa2fc5e4 FS-11838 [mod_kazoo] handle intercept 2019-05-10 18:41:23 +01: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
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
lazedo 47b2be3d2e FS-11748 [mod_kazoo] better handling of interaction-id
* transfers
* outgoing channels
* loopback
2019-04-02 17:20:19 +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
Razvan Crainea 6f15b03295 FS-11696 [mod_amqp] fix format_fields initialization 2019-03-08 18:34:51 +02:00
lazedo df1ac5dbe0 FS-10820 [mod_kazoo] eventstream configuration 2019-01-14 14:24:51 +00:00
Chris Rienzo 2226c3c621 FS-11453 [mod_rayo] convert to fst testing 2018-12-20 10:18:14 -05:00
Chris Rienzo e0b5df10d6 FS-11453 [mod_rayo] allow text/plain grammar for non-mrcp speech recognizers. Added direction to output component to assist with testing. Fix confidence conversion to NLSML. 2018-12-20 10:18:06 -05:00
Chris Rienzo 6eb2276cd6 FS-11453 [mod_rayo] add support for FS JSON ASR result. 2018-12-20 10:17:57 -05:00
Chris Rienzo d9d763d2a8 FS-11397 [mod_rayo] add xmlns to exec <response> to make adhearsion's life easier. 2018-09-19 15:36:19 -04:00
Anthony Minessale d3e320ef56 FS-11346: [core] add api to pass pre-parsed values instead of dial strings to switch_ivr_originate
SWITCH_DECLARE(switch_status_t) switch_dial_handle_create(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_destroy(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_add_leg_list(switch_dial_handle_t *handle, switch_dial_leg_list_t **leg_listP);
SWITCH_DECLARE(void) switch_dial_leg_list_add_leg(switch_dial_leg_list_t *parent, const char *dial_string, switch_dial_leg_t **legP);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var(switch_dial_handle_t *handle, const char *var, const char *val);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var_printf(switch_dial_handle_t *handle, const char *var, const char *fmt, ...);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var(switch_dial_leg_t *leg, const char *var, const char *val);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var_printf(switch_dial_leg_t *leg, const char *var, const char *fmt, ...);
SWITCH_DECLARE(int) switch_dial_handle_get_peers(switch_dial_handle_t *handle, int idx, char **array, int max);
SWITCH_DECLARE(int) switch_dial_handle_get_vars(switch_dial_handle_t *handle, int idx, switch_event_t **array, int max);
SWITCH_DECLARE(switch_event_t *) switch_dial_handle_get_global_vars(switch_dial_handle_t *handle);
SWITCH_DECLARE(switch_event_t *) switch_dial_leg_get_vars(switch_dial_leg_t *leg);
SWITCH_DECLARE(int) switch_dial_handle_get_total(switch_dial_handle_t *handle);
SWITCH_DECLARE(void) switch_ivr_orig_and_bridge(switch_core_session_t *session, const char *data, switch_dial_handle_t *dh);

add switch_dial_handle_t *dh to end of args for switch_ivr_originate
2018-08-22 18:20:13 +00:00