Commit Graph
654 Commits
Author SHA1 Message Date
Дилян Палаузов 99ca7436d8 [mod_commands] add completions for fsctl api_expansion and sync_clock_when_idle 2023-03-27 19:50:51 +03:00
Andrey Volk c062f85e16 [mod_commands] Fix dead nested assignments 2022-08-09 23:44:56 +03:00
Anthony Minessale 39b3caacb5 [core, mod_commands, mod_verto] small tweaks to cache stuff to allow clear from verto and allow no domain to imply the default domain 2021-10-23 22:01:02 +03:00
Andrey Volk fcaaf20c7d [Core] switch_ivr: Restrict the misuse of uuid_hold API. Add switch_hold unit-test. 2021-10-23 22:00:52 +03:00
Andrey Volk 90b85ce4cd [mod_commands] Fix leak of a timer object in timer_test 2021-10-23 22:00:46 +03:00
Chris Rienzo 60c4b62254 [core] Add SMBF_PAUSE media bug flag to pause an individual media bug.
* [core] Add SMBF_PAUSE media bug flag to pause an individual media bug.
[core] Add switch_ivr_record_session_pause() to pause a session recording.
[mod_dptools] Add record_session_pause and record_session_resume dialplan APPs.
[mod_commands] Add pause/resume sub-commands to uuid_record API.
2021-10-23 22:00:38 +03:00
Anthony Minessale fb2250df8e [mod_verto] indicate video fps and size of current layer to client 2021-10-23 22:00:20 +03:00
Michael Jerris 53b459a687 [core] add support for resolving (and ignoring) mdns style .local addresses in ice candidates 2021-10-23 21:59:54 +03:00
Andrey Volk b8be418fb8 [Core, mod_commands] Implement memory allocation statistics by adding the "memory" API command. 2021-10-20 17:53:18 +03:00
nrensen ba8aff571e [mod_commands] OpenBSD compat 2021-07-19 18:57:13 +03:00
Chris Rienzo 311e932df5 [core, mod_commands] Execute command under shell when using spawn in switch_system(). 2021-07-16 17:34:53 +03:00
Andrey Volk 9aee9b8e24 [Core, mod_commands] Add posix_spawn replacement for the system call. Add unit-tests. 2021-07-16 17:34:42 +03:00
Andrey Volk 0275ea1eb4 [Build-System] Use $(DefaultPlatformToolset) so it's easier to build using newer Microsoft Visual Studio versions. 2020-05-25 14:18:25 +04:00
Andrey Volk da31fac5a0 [Core, mod_commands] Add switch_core_pool_stats API and pool_stats command with corresponding --enable-pool-debug configure flag. 2019-12-31 02:07:22 +04:00
Anthony Minessale 3166510394 FS-11920: [mod_commands] fix typo 2019-07-18 00:47:40 +04:00
Chris Rienzo 8aa07b677d FS-11807 [mod_commands] uuid_recv_dtmf changed to report OK when well formed request is consumed by dmachine or dtmf hook 2019-07-17 23:00:44 +04:00
Chris Rienzo c776680c56 FS-11785 [core, mod_commands] update XML API to fix scan-build false positive memory leaks 2019-07-17 20:21:57 +04:00
Chris Rienzo 3f46ce1da2 FS-11785 [mod_commands] tell scan-build that exten pointer is guaranteed not to be NULL 2019-07-17 20:21:46 +04:00
Chris Rienzo d77034a304 FS-11785 [mod_commands] fix dead assignments 2019-07-17 20:21:39 +04:00
Chris Rienzo 7e1df77421 FS-11785 [mod_commands] scan-build thinks NULL parameter is being passed to function. Shouldn't actually happen. 2019-07-17 20:21:19 +04:00
joshebosh 8a87e41e09 FS-10900 [mod_commands] uuid_recv_dtmf is showing -ERR no reply 2019-07-17 20:03:20 +04:00
Andrey Volk b86ea2f5a1 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_commands 2019-07-15 23:39:38 +04:00
joshebosh 372cfc3221 FS-11719 [mod_commands] uuid_broadcast yields OK on bogus uuid 2019-06-06 11:49:22 -04:00
joshebosh 0ba26f0351 FS-11718 [mod_commands] uuid_break yields -ERR no reply 2019-06-06 11:48:16 -04: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 a4db3a4355 Merge pull request #1491 in FS/freeswitch from ~HUNYI/freeswitch:feature/FS-8900-improve-record_follow_transfer to master
* commit '069da397f5b9e7adb10c2c9d8d03f83d195dae37':
  Improve recording transfer
2018-09-05 22:34:38 +00:00
Brian West 3102806390 FS-11372: [mod_commands] garbage uuid on output from bgapi #resolve 2018-08-30 14:33:52 -05: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
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
Anthony Minessale 578d914b96 FS-11164: [freeswitch-core] Improve audio JB in bad conditions 2018-07-24 07:21:53 +00:00
Anthony Minessale bcd5753d17 FS-10799: [mod_commands] Add toupper and tolower api funcs #resolve 2018-07-24 07:21:35 +00:00
Mike Jerris 8f10ae54a1 FS-11139: [mod_commands] add tab completion for uuid_pause command 2018-04-26 09:09:48 -05:00
Marc Olivier Chouinard 6d1eabc7a1 FS-11108: [mod_commands] Fix segfault with list_users command 2018-04-12 19:14:17 -04:00
Mike Jerris 192a232c23 Merge pull request #1357 in FS/freeswitch from ~KOVALYSHYN/freeswitch:feature/FS-9096-implement-to-set-own-jobid-for-tap.commands to master
* commit '28db1ede0629bfa1d63650fabba8b31f4e79eb05':
  FS-9096: [mod_commands] new uuid argument for bgapi
2018-04-09 21:55:56 +00:00
Hunyadvári Péter 069da397f5 Improve recording transfer
Use the same method everywhere
Move the bug without stopping and starting the recording over
It was broken in some circumstances and also some settings were lost

FS-8900 --resolve
2018-03-20 09:20:37 +01:00
Andrey Volk 233481c32e FS-10611: [mod_commands] Add domain_data command to retrieve domain information 2018-01-19 22:50:26 +03:00
Vitaly Kovalyshyn 28db1ede06 FS-9096: [mod_commands] new uuid argument for bgapi 2017-07-28 15:01:39 +03:00
Ken Rice 53116495d1 Revert "FS-10416: [mod_commands] add new outbound channels to an in-progress originate"
This commit causes a segfault when parsing destinations that are |
delimited. This patchset needs to be tested further before inclusion
into the tree.

This reverts commit b11955db0b.
2017-07-11 17:25:48 -05:00
Mike Jerris 2a788cdefd Merge pull request #1307 in FS/freeswitch from ~HRISTO/freeswitch:feature/FS-10416-add-new-endpoints-to-be-called-while to master
* commit 'b11955db0bfdcccd5ad98fd689870153d31154f3':
  FS-10416: [mod_commands] add new outbound channels to an in-progress originate
2017-07-06 20:41:20 +00:00
Anthony Minessale db47792558 FS-10447: [freeswitch-core] Manual video refresh mode #resolve 2017-06-29 16:57:18 -05:00
Hristo Trendev b11955db0b FS-10416: [mod_commands] add new outbound channels to an in-progress originate
This allows new endpoints (outbound channels) to be called, after an originate
is already in progress, where any of the originally called endpoints need to
continue to ring.

One use case would be to convert a 302 Moved Temporarily destination to SIP
endpoint(s) and then to add the new endpoints to an in-progress originate,
without cancelling any of the other (already ringing) outbound channels.
2017-06-21 19:31:46 +02:00
Anthony Minessale c70fc7a940 FS-10328: [freeswitch-core] Add method to allow orphaned B legs during originate to transfer to another extension #resolve 2017-05-18 11:57:37 -05:00
Anthony Minessale a0d0dc2d3e FS-10286: [mod_conference] Sync member joins up with keyframes in shared encoder mode #resolve 2017-05-03 14:30:07 -05:00
Anthony Minessale db7b27317a FS-10259: [freeswitch-core,mod_commands,mod_conference] Allow uuid_video_bitrate to supersede bitrate control from the conference #resolve 2017-04-21 16:15:53 -05:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Anthony Minessale 25eab1f162 FS-9576 forgot to add positive response to uuid_send_text 2017-02-07 11:38:47 -06:00
Mike Jerris e1b3ee1efd FS-9652: improve sql sanitization 2016-11-11 11:27:35 -06:00
Chris Rienzo 120e326760 FS-9644 [mod_commands][core]
update hupall API to support multiple variables
       hupall [cause] [[var1] [val1]] [[var2] [val2]] ...

    added switch_core_session_hupall_matching_vars_ans() which will hang up all channels that match each variable(s) value
2016-10-18 15:08:07 -04:00
Seven Du 7dd872e9b8 FS-9575 #resolve [Add MRCP] 2016-09-27 16:41:04 -05:00
Anthony Minessale c409499cd9 FS-9576 #resolve [Add Realtime Text] 2016-09-27 16:40:43 -05:00