Commit Graph

606 Commits

Author SHA1 Message Date
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
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
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
Anthony Minessale baccbea1f1 FS-9486 #resolve [uuid_drop_dtmf switch between tone replace and digit] 2016-09-08 15:10:14 -05:00
Anthony Minessale 48cec71c76 FS-9419 #resolve [Add event_channel_broadcast api] 2016-08-11 10:41:42 -05:00
Spencer Thomason 800655f774 FS-9184: Allow show calls to be filtered by accountcode 2016-05-20 11:32:24 -07:00
Anthony Minessale 46ebf3cea7 FS-6833 #resolve [Allow Freeswitch to initiate Late offer calls.] #comment Regression from addition of custom variables 2016-02-02 17:15:27 -06:00
Dmitriy N. Borisov 9cd86722e7 FS-8694 list_users performance issue update 2015-12-29 09:01:47 +03:00
Rob Wu fabca41001 FS-8585: [mod_commands] group_call: expand {} and <> to [] for each dial string
Channel variables in dial strings can be set through <>, {} or [].
<foo=bar> applies to every channel.
{foo=bar} applies to every channel, excluding channels delimited by :_:.
[foo=bar] only applies to the channel that follows [foo=bar].

Before this patch, group_call looked up users in the directory and
replaced {} with []. This logic does not work if the user has more than
one dial string, e.g. if multiple-registrations is set to true, and more
than two devices register under the same user.

This patch fixes the issue by stripping <> and {}, and inserting the
dial string before each individual dial string for each user. The
semantics of the "local_clobber" variable and the '|', ',' and ':_:'
delimiters are fully supported.
2015-11-28 19:17:56 +01:00
Anthony Minessale eea76c8856 FS-8130
Port video buffer to also support audio and remove original STFU jitter buffer
Add some more resilience to video packet loss
Add codec control mechanism for both call-specific debug and codec/call specfic params
Make opus function better in packet loss and latent situations
Use new codec control prams to make JB lookahead FEC optionally enabled or disabled mid-call
Add Param to allow JB lookahead to be enabled.
2015-09-14 13:30:08 -05:00
Anthony Minessale 2feae3fc69 FS-6833 #comment please test this branch 2015-09-01 16:31:23 -05:00
Anthony Minessale 84ef99b55e FS-8049 #resolve [Add getenv FSAPI] 2015-08-25 17:26:38 -05:00
Dave Olszewski 9b3f870271 FS-7922 Add uuid_redirect API command
This provides the equivalent functionality of the dptools "redirect"
application as an api command
2015-07-30 13:26:05 -07:00
Michael Giagnocavo ba9c44bbd0 FS-7885 Add getcputime command 2015-07-24 02:34:00 -06:00
Brian West 1b86c73034 Merge pull request #140 in FS/freeswitch from ~ARON45/freeswitch:FS-5945 to master
* commit '2cad5a6940bb76458e909a56c5e5e35e622467ed':
  more whitespace cleanup
  fixed indentation
  cleanup
  cond api return -ERR on all syntax errors
  FS-5945 - cond api improved
  FS-5945 - cond api escape special charactars
2015-07-02 09:45:27 -05:00
Anthony Minessale 3274853b00 FS-7750 #resolve 2015-07-01 12:54:51 -05:00
Davide Colombo cfb7e3d1cd FS-7732 follow recording on other session
follow recording on other session
2015-06-29 16:21:24 +02:00
Anthony Minessale abd6943cf5 FS-7500 just send refresh and not full reset on uuid_video_refresh 2015-05-28 12:47:33 -05:00
Anthony Minessale 4a76c0f8c6 FS-7499 second pass at adding TMMBR (WIP) 2015-05-28 12:47:31 -05:00
Anthony Minessale a8a2c32ac3 FS-7499 FS-7500: combat black screen disease 2015-05-28 12:47:28 -05:00
Michael Jerris b7e811a628 CID:1271537: error check for malformed json better 2015-05-28 12:47:25 -05:00
Michael Jerris ead0e2ebd1 CID:1222597: silence incorrect coverity warning about out of bounds read 2015-05-28 12:47:25 -05:00
Michael Jerris c61be91316 CID:1294463,1294540: clean up duplicate error checking code 2015-05-28 12:47:25 -05:00
Anthony Minessale 01fda5748c FS-7500: another round of trying to make things work 2015-05-28 12:46:48 -05:00
Anthony Minessale 609c02955f fix the thing the guy mentioned on irc 2015-02-21 00:49:18 -06:00
Anthony Minessale 59a9669485 prevent crash when calling mediaStats JSON function in certian circumstances 2015-01-13 21:49:41 -06:00
Aron Podrigal 2cad5a6940 more whitespace cleanup 2014-12-29 13:24:21 -05:00
Aron Podrigal 6be85bbef5 fixed indentation 2014-12-27 23:44:03 -05:00
Aron Podrigal ff2729c370 cleanup 2014-12-27 23:10:43 -05:00
Aron Podrigal 3e11bf0d22 cond api return -ERR on all syntax errors 2014-12-25 10:34:37 -05:00
Aron Podrigal 625c95a5b1 FS-5945 - cond api improved 2014-12-24 21:22:23 -05:00
William King 0a0b9262b4 Build fix for gcc 4.9 fixing a variable set but not used error 2014-12-20 14:46:21 -08:00