161 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
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
Sergey Safarov
df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Michael Jerris
164c6111a1 FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead 2015-08-31 10:19:10 -05:00
Michael Giagnocavo
5e456fe9a6 FS-7966. First pass at moving to Visual Studio 2015.
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04:00
Michael Giagnocavo
f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06:00
Jeff Lenk
345e50d25a FS-7644 2015-06-11 15:29:28 -05:00
Michael Jerris
2cc0348422 FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used. 2015-06-10 16:33:14 -04:00
Raymond Chandler
17f79bc2c3 CID: 1210770 2014-05-01 16:36:58 -04:00
Michael Jerris
e98045841e gracefully handle allocation failure 2014-04-30 08:55:39 -04:00
Michael Jerris
2e8572acb5 we always have the session in the dialplan function 2014-04-30 08:51:52 -04:00
Michael Jerris
b3bfa563ae we always have the caller profile at this point, if for some reason we don't just instead of crashing 2014-04-30 08:50:29 -04:00
Michael Jerris
7508481597 we always have the seesion in the app function 2014-04-30 08:46:11 -04:00
Michael Jerris
9bf98d0dd3 remove useless checks of array == 0 2014-04-30 08:43:57 -04:00
Michael Jerris
a83fde3543 block of code in here twice was writing over expanded, causing it to potentially leak 2014-04-28 13:41:48 -04:00
Anthony Minessale
7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale
5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Raymond Chandler
0ddd151a22 FS-5845 more leaks found by mikej 2014-03-25 22:44:37 -04:00
Michael Jerris
5ac9748827 FS-5845: don't leak dbh in error conditions 2014-03-24 16:10:12 -04:00
Michael Jerris
aea7800a42 fix var type warnings in mod_lcr 2014-03-15 22:23:46 -04:00
Anthony Minessale
804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Michael Jerris
bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Raymond Chandler
b0d7551c80 use newSQL 2014-03-02 03:13:01 -05:00
Raymond Chandler
f826b4b6de FS-5845 --resolve 2014-02-17 10:33:19 -05:00
Ken Rice
6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Peter Olsson
084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00
Raymond Chandler
8e0d2ee982 FS-6090 --resolve 2014-01-15 10:56:22 -05:00
Anthony Minessale
a799396239 FS-5545 try this and repeat the trace if it doesn't fix it 2013-07-17 16:35:39 -05:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Raymond Chandler
b70ac964a7 FS-5101 --resolve add option to dial lcr/[profile/]<number> 2013-02-28 01:39:41 -05:00
Raymond Chandler
f8cbbb032c FS-4351 --resolve patch tested and applied 2013-01-31 14:56:48 -05:00
Jeff Lenk
dc2c11f13f FS-4768 initial add of vs2012 build support 2012-12-29 14:57:15 -06:00
Anthony Minessale
ba625501ba fix a lock logic error in lcr endpoint 2012-11-07 14:53:47 -06:00
Jeff Lenk
3124f8226c FS-4761 --resolve 2012-10-24 19:17:15 -05:00
Anthony Minessale
e1fe289672 refactor db stuff to use single string dsn to avoid code duplication and introduce switch_sql_queue_manager api to create transactional sql queues to aggregate a bunch of sql stmts into transactions 2012-10-09 20:20:32 -05:00
Ken Rice
c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Ken Rice
cac6c262bb conf: add config files to module directories
The idea here is that the config files in the module directories will
serve as the canonical documentation of all module configuration
options.
2012-03-24 04:51:08 +00:00
Marc Olivier Chouinard
6f47fe7fe8 FS-3620 --resolve
This look to be the same parsing done in lcr_app_function.  So I would think it an expected behavior and it good to have it at both place.
2011-12-19 00:27:51 -05:00
Rupa Schomaker
51fe96281c FS-3676 --resolve mod_lcr - convert assert to log and fix check condition 2011-11-22 16:10:21 -06:00
Raymond Chandler
73da063cc9 we probably wanna skip the first one if it's over max_rate too :-P 2011-10-13 23:05:59 -04:00
Rupa Schomaker
f308f56c71 FS-3535 --resolve fix memory leak in mod_lcr 2011-09-30 18:30:35 -05:00
Raymond Chandler
649499ad7a make profile consistent from pg to my 2011-08-22 10:31:18 -04:00
Raymond Chandler
dadd3fe547 update schema 2011-08-18 14:55:33 -04:00
Raymond Chandler
ec02e275d1 update schema 2011-08-14 17:29:26 -04:00
Raymond Chandler
efb83b183c default to false instead of null 2011-08-14 17:23:58 -04:00
Raymond Chandler
baa1624e9d typo 2011-08-14 15:38:41 -04:00
Raymond Chandler
6d1d4a9c18 initial addition of very basic LRN 2011-08-09 16:48:58 -05:00
Rupa Schomaker
5fa9619fe7 mod_lcr - FS-3284 --resolve - fix malformed XML when has embedded %s 2011-05-09 11:21:04 -05:00
Rupa Schomaker
3dca2ebb00 mod_lcr - FS-3283 --resolve fix as xml for larger number of arguments 2011-05-09 11:21:03 -05:00
Marc Olivier Chouinard
ba7dc9fde8 Fix for -Wunused-but-set-variable required compiler. : mod_freetdm mod_avmd mod_cidlookup mod_ladspa mod_lcr mod_nibblebill mod_rss mod_vdm mod_dahdi_codec mod_skinny mod_cdr_pg_csv 2011-04-22 22:49:41 -04:00