Commit Graph

1082 Commits

Author SHA1 Message Date
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
Mike Jerris efc6515e43 Merge pull request #1567 in FS/freeswitch from rayo-exec-dialplan-app to master
* commit '01bac4cc5f02f34f2fb3af87aa0bd055c8657adb':
  FS-11316 [mod_rayo] Add FS API support
  FS-11316 [mod_rayo] Add dialplan app execution component
2018-08-08 16:40:02 +00:00
Chris Rienzo 01bac4cc5f FS-11316 [mod_rayo] Add FS API support 2018-08-07 20:08:20 -04:00
Chris Rienzo 479c8a4a4e FS-11316 [mod_rayo] Add dialplan app execution component 2018-08-07 20:07:29 -04:00
Andrey Volk 87f004bc16 FS-11271: [Build-System] Add mod_cdr_mongodb to the Windows build. 2018-08-01 00:52:01 +03:00
Andrey Volk 671da28796 FS-11263: [Build-System] Move FreeSWITCH build system to Visual Studio 2017 on Windows. 2018-07-24 07:21:55 +00:00
Brian West b3ff29eb5c FS-10908: [mod_amqp] AMQP routing key (format_fields) formation broke and invalid reads reported by valgrind #resolve 2018-07-24 07:21:48 +00:00
Andrey Volk 2e7e6221f8 FS-11083: [Build-System] Add mod_cdr_sqlite to the Windows build. 2018-07-24 07:21:46 +00:00
Andrey Volk 5c04c4ad6b FS-11082: [Build-System] Add mod_odbc_cdr to the Windows build. 2018-07-24 07:21:46 +00:00
Andrey Volk cd0fdcd58b FS-11076: [mod_cdr_pg_csv] Add mod_cdr_pg_csv to the Windows build. 2018-07-24 07:21:44 +00:00
Andrey Volk fe9f2713b4 FS-11075: [mod_amqp] Add mod_amqp to the Windows build. 2018-07-24 07:21:44 +00:00
Brian West 4fc7ee7720 FS-10908: [mod_amqp] AMQP routing key (format_fields) formation broke and invalid reads reported by valgrind #resolve 2018-07-24 07:21:39 +00:00
Brian West 243f9f33b6 FS-10749: [mod_amqp] Crash on unload after mod_amqp reloaded with command + incorrect command behavior #resolve 2018-07-24 07:21:38 +00:00
Mike Jerris 938ec99950 Merge pull request #1485 in FS/freeswitch from ~DIASBRUNO/freeswitch:bugfix/FS-10777-freeswitch-failing-to-link-to-process to master
* commit 'ab97ad0b5f3093e94377ae568aeeba0ccea5813d':
  FS-10777 [mod_erlang_event] #resolve
2018-04-06 19:52:57 +00:00
Bruno Dias ab97ad0b5f FS-10777 [mod_erlang_event] #resolve 2018-03-09 13:41:24 -03:00
Sebastian Kemper eded5965a4 FS-10939 mod_cdr_mongodb: fix format truncation warnings with gcc 7
gcc 7 complains about possible format truncation:

mod_cdr_mongodb.c: In function 'my_on_reporting':
mod_cdr_mongodb.c:242:45: error: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Werror=format-truncation=]
   snprintf(idx_buffer, sizeof(idx_buffer), "%d", callflow_idx);

The char * idx_buffer has a size of 4 Bytes, and according to gcc's
calculation it is possible that up to 11 Bytes might be copied into it
via int bson_idx.

This commit adds an extra 8 Bytes to char * idx_buffer, which silences
the warnings.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 19:00:09 +01:00
Mike Jerris 87bb7cb5fb Revert "FS-10820 [mod_kazoo] eventstream configuration"
This reverts commit bb4499ec24.

This commit breaks the build.  Please correct and re-submit
2018-01-25 15:51:44 -06:00
Mike Jerris 11f8647ec2 Merge pull request #1451 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-10820 to master
* commit 'bb4499ec24bd7a5cadb90eab1b1a05515d38eaa2':
  FS-10820 [mod_kazoo] eventstream configuration
2018-01-19 18:57:14 +00:00
lazedo bb4499ec24 FS-10820 [mod_kazoo] eventstream configuration 2018-01-11 16:03:09 +00:00
Praveen Kumar d311a06a83 FS-10833: [mod_amqp] memory leak on reconnection attempt to RabbitMQ broker
Memory leak happening during reconnection attempt after connectivity loss with
RabbitMQ broker.

With these changes, memory leak issue has been addressed and the object has
been properly freed.
2017-12-08 04:23:43 +05:30
Seven Du e99fa26257 FS-10832 #resolve 2017-12-07 23:55:29 +08:00
Praveen Kumar 97d6bee3fc FS-10805: Memory Leak fix in mod_amqp
Memory allocated to hash iterators and hash tables isn't released
during module shutdown.

With these changes, memory allocated to hash iterators and hash tables
will be freed properly.
2017-12-01 01:51:19 +05:30
Andrey Volk ea8c3be8ec FS-10541: [Build-System] Move OpenSSL to props with BaseDir on windows. 2017-10-07 22:50:48 +03:00
Anthony Minessale aef2487077 FS-10601: [freeswitch-core] accomodate should be accommodate #resolve 2017-08-21 17:09:24 -05:00
Brian West 197bbd8cab FS-10495: [Modules] firing custom event with no sub class will crash freeswitch when mod_fail2ban is loaded #resolve 2017-07-12 17:19:52 -05:00
Mike Jerris 3551e6c0d8 FS-10430: [mod_amqp] fix support for libamqp version .0.5.2. Change to api actually happend in v0.6.0 2017-07-05 13:42:33 -05:00
Mike Jerris 9600fdd1d6 FS-10457: [mod_cdr_csv] set group too when creating new csv file so other users in the group can access it 2017-06-30 17:44:05 -04:00
Mike Jerris fc1dd2a4ef Merge pull request #1321 in FS/freeswitch from ~LAZEDO/freeswitch:bug/fs-10453 to master
* commit '4631e6cdfab6e9cb70c11a0c33098ee06e09e786':
  FS-10453 [kazoo] fix dropped messages
2017-06-30 17:19:51 +00:00
lazedo 4631e6cdfa FS-10453 [kazoo] fix dropped messages 2017-06-30 12:38:32 +01:00
Trever L. Adams cdfe49ee0d FS-9785: update mod_event_multicast to work with OpenSSL 1.1.0. 2017-06-29 21:35:39 -06:00
Mike Jerris 823b5bc6f8 FS-10431: [mod_smpp] fix build on newer compilers due to malformed system headers 2017-06-27 17:06:39 -05:00
Mike Jerris 8c8a4dd0f8 FS-10430: [mod_amqp] add support for libamqp >= 0.5.2 2017-06-27 16:42:45 -05:00
Andrey Volk c877b35096 FS-10364 [mod_event_multicast] Enable encryption on windows by adding missing defines. 2017-06-02 23:19:32 +03:00
Anthony Minessale ee7a52d9b7 FS-10291: [fs_cli] fs_cli Error indicated on console loglevel debug with extra whitespace before or after debug #resolve 2017-05-08 14:01:56 -05:00
Andrey Petrov 348ce5ff09 FS-7575 Update freeradius-client to 1.1.7 2017-05-02 16:55:45 +03:00
Mike Jerris e105da0b09 Merge pull request #1236 in FS/freeswitch from ~DRAGOS_OANCEA_NX/freeswitch-dragos-nx:feature/FS-10172_mod_event_socket-err_log to master
* commit 'e02631c0a8e105d93aa7132a4d2d7c0055d26912':
  FS-10172: mod_event_socket: handle return codes from switch_queue_trypush() , more verbose logging when we cannot enqueue
2017-04-28 19:16:06 +00:00
Chris Rienzo 35d44c3fec FS-10251 [mod_rayo] fix defects found by clang-analyzer 2017-04-20 09:02:46 -04:00
Chris Rienzo e7fb58a6b6 FS-10117 [mod_rayo] allow duplicate rayo signal-type configs for call progress detector 2017-04-04 15:52:59 -04:00
Dragos Oancea e02631c0a8 FS-10172: mod_event_socket: handle return codes from switch_queue_trypush() , more verbose logging when we cannot enqueue 2017-03-27 09:21:07 +01:00
Anthony Minessale a8adc886b2 FS-10054 2017-02-17 14:43:18 -06:00
Anthony Minessale aa7fccb4ab FS-10054: [mod_smpp] mod_smpp will not reconnect if connection was interupted #resolve 2017-02-17 14:23:52 -06:00
Mike Jerris e8f6ed3d93 Merge pull request #1183 in FS/freeswitch from ~SAFAROV/freeswitch2:FS-10009 to master
* commit '6c12f69e0c893646eda0bb010873583040aa136b':
  FS-10009: mod_fail2ban - Added logging of network_ip for abandoned calls
2017-02-14 13:32:05 -06:00
Andrey Antipov cfad94f8aa FS-10032: [mod_amqp] Fix log facilities #resolve 2017-02-11 16:42:49 +03:00
Sergey Safarov 6c12f69e0c FS-10009: mod_fail2ban - Added logging of network_ip for abandoned calls 2017-02-10 13:17:45 -05:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Mike Jerris a3ee7595bb FS-10025: fix global symbol scope issue causing modules to use another modules global pointer 2017-02-09 17:23:30 -06:00