Commit Graph

56 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
Michael Jerris bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale bbdd77ec35 fix race condition on device state destroy 2013-06-28 14:21:04 -05:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Anthony Minessale 7b25322e46 don't need this change revert 2013-06-05 11:21:59 -05:00
Anthony Minessale 4240526ce3 add some device-state mechinism to FS to allow tracking of device-specific states where they may have more than one call from the same device 2013-06-05 11:20:11 -05:00
Anthony Minessale cb076e6b28 fucked 2013-03-31 21:27:17 -05:00
Jeff Lenk dc2c11f13f FS-4768 initial add of vs2012 build support 2012-12-29 14:57:15 -06:00
Anthony Minessale 70898c09ef run serialize test in skel 2012-09-13 17:58:25 -05:00
Ken Rice c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Jeff Lenk 2a7d6d2ec1 correct vs2010 mod_skel project 2012-01-09 16:20:32 -06:00
Brian West 3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Jeff Lenk a87429ac87 Add initial support for VS2010 2010-06-28 15:49:19 -05:00
Anthony Minessale 886e1ddb4d run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Brian West 39574eeb00 MODAPP-328
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14785 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-08 13:35:59 +00:00
Mathieu Rene 98a7172281 xml_config: Fix issue where default NULL strings were ignored on reload
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13052 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 02:26:32 +00:00
Mathieu Rene 269851a117 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-01 18:47:58 +00:00
Mathieu Rene c858724278 refactor
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12869 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-01 18:44:51 +00:00
Mathieu Rene 76383f06ef Free the node element
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12868 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-01 18:41:46 +00:00
Mathieu Rene 4ec2ff8242 update mod_skel config example
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12528 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-08 21:53:02 +00:00
Mathieu Rene c0bc34ee7e replace reloadable bool by a flags structure and add required flag
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12469 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-05 20:18:27 +00:00
Mathieu Rene fdab1b11d1 Lets make the parser free its stuff on shutdown, and let the callbacks do something if required
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-05 16:57:26 +00:00
Michael Jerris f351453271 testing switch_xml_config on windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12464 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-05 16:38:30 +00:00
Mathieu Rene b2d0d1689b Integer (min,max) and string (regex) validation options added, mod_skel is my new playground
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12459 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-05 15:03:29 +00:00
Brian West babb2f83f5 update copyright
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Brian West ae220d3341 update email
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Mathieu Rene f938fd9002 Add a couple comments to mod_skel
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11515 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-27 21:32:15 +00:00
Anthony Minessale 2ed601f934 more stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 23:31:21 +00:00
Anthony Minessale aea6a6277e typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10047 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-16 20:06:13 +00:00
Brian West 1cda796da8 spelling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-06 23:05:55 +00:00
Anthony Minessale f930eaeec7 indent pass 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8689 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:54:52 +00:00
Brian West b0ad7ab50c set tab mode properly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:14:57 +00:00
Anthony Minessale aa36c7a588 clean up skel, could use more....
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6134 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-01 19:05:16 +00:00
Michael Jerris 784c7f8c3d move some modules to use the new module interface macros.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 17:48:49 +00:00
Anthony Minessale debdfb1aab indent
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:13:31 +00:00
Anthony Minessale 3a54126261 spring cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 22:31:56 +00:00
Michael Jerris 44649c70b4 Add magic comments for emacs and vi in source and header files to properly format and display tabs vs. spaces in those editors:
/* For Emacs:
 * Local Variables:
 * mode:c
 * indent-tabs-mode:nil
 * tab-width:4
 * c-basic-offset:4
 * End:
 * For VIM:
 * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
 */


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 22:30:48 +00:00
Michael Jerris 1bc0db0db6 clarify in mod_skel. (thanks knhor).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3144 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 23:02:36 +00:00
Anthony Minessale b2477412e4 fix mod_wanpipe types
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1309 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-01 04:29:44 +00:00
Michael Jerris 026e8d39ca Set log levels on many existing log messages. A huge thanks to James Martelletti for going through all the log calls to do this.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-16 06:05:53 +00:00
Brian West 559b8ab26c Gut Logger and put it back modular style
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1117 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-11 21:13:44 +00:00
Anthony Minessale 32a7b3c2ca add mod_perl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-03 16:57:21 +00:00