Commit Graph

2783 Commits

Author SHA1 Message Date
Anthony Minessale fcfb34989d fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4271 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 20:06:39 +00:00
Anthony Minessale 318914124b add var that can set gmail greeting
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4270 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:47:16 +00:00
Michael Jerris 41d2d43e99 warning: ISO C does not allow extra ; outside of a function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4269 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:45:56 +00:00
Michael Jerris 7c29b64cd6 fix file object support in spidermonkey build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4268 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:42:45 +00:00
Michael Jerris fc330804ff thats not a real fd, it's a switch_socket_t *
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:31:58 +00:00
Michael Jerris 58636d9db1 warning: ISO C does not allow extra ; outside of a function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4266 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:22:42 +00:00
Michael Jerris 9dbba11035 more constification cleanups.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4265 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:15:20 +00:00
Michael Jerris 2b507706c9 switch_core_session_strdup now takes const char * arg.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4264 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:14:53 +00:00
Anthony Minessale df85aac80c timeout bug pointed out by davidnicol
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 18:47:22 +00:00
Michael Jerris a986980c0e fix typedef for switch_stream_handle_write_function_t to also use const char * fmt and match other uses of that type.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4262 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 18:08:11 +00:00
Michael Jerris c48792c61c fix potential xml handle leak from previous committ.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4261 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 17:34:16 +00:00
Michael Jerris 251723ba41 fix missing strdup in switch_ivr_menu_bind_function
change most char * values in ivr_menu functions to const char *
change switch_core_strdup to get passed const char * instead of char *
change switch_xml_find_child to get passed const char * instead of char *
change the ivr dialplan application to free the xml config as soon as it is done building the xml menu and not hold it until the menu is done being run, so that you can do a reloadxml while someone is in a menu without blocking.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 17:28:42 +00:00
Michael Jerris 81dcb65cd5 remove extra ;
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 17:22:34 +00:00
Anthony Minessale 4a48bbf0f7 the guy on the mailing list had a good idea, add a message in dingalaing announcing the caller id as a chat message, added, but not testesd...can someone test this?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4258 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 15:32:02 +00:00
Anthony Minessale fdac4282b6 add new xml call detail function to the core and a way to use it from javascript
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4257 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 15:19:01 +00:00
Anthony Minessale b0901fe4ce s.data is void *
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 15:08:49 +00:00
Michael Jerris d5f77e14d1 add mod_say_en to load by default.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4255 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 04:30:14 +00:00
Michael Jerris 11a8218db0 potential format string exploits (warning: format not a string literal and no format arguments)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4254 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:45:10 +00:00
Michael Jerris 711c59a6e0 potential format string exploit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4253 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:32:13 +00:00
Michael Jerris 2cf3ad1c6f cleanups: duplicate declarations, shadowed global names, extra paramaters, and constifications.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4252 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:24:20 +00:00
Michael Jerris 258e28dd11 constification for switch_core_hash_find and switch_event_create_subclass
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:22:43 +00:00
Michael Jerris a7cf447f93 eliminate shadowing of function level variables (functionally equivalent but redundant in this case)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4250 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 02:56:31 +00:00
Michael Jerris 95374edaab constify the fmt string on all printf like functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4249 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 02:53:23 +00:00
Anthony Minessale c3bcb585e3 add nil thing to xml func
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4248 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 01:01:58 +00:00
Michael Jerris c0a362d156 use WaitForSingleObject for the console loop to wait on stdin on the windows build, as the select was not working properly.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4247 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 00:31:11 +00:00
Michael Jerris 0c34702513 fix warnings on weird L value casts for function pointers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4246 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 22:15:24 +00:00
Michael Jerris 67a42d5a12 mod_conference use void function pointer for the caller control function table instead of a void data pointer (c99 likes to keep them separate)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4245 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 22:07:28 +00:00
Michael Jerris 055a056394 missing return;
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 21:54:16 +00:00
Michael Jerris 5694445ae2 potentially uninitialized variable.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4243 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 21:52:33 +00:00
Michael Jerris f5de340dcc some msvc warnings that I re-enabled came back due to messy header files in some libs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4242 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 21:38:12 +00:00
Michael Jerris ceafc84ca0 constify some arguments to switch_console_printf and switch_cut_path and remove improper casts for the consumers of those functions.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4241 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 21:03:06 +00:00
Michael Jerris 681b8e94eb we can't cast from apr_dso_sym_t directly to a function pointer (c99 says no no) so we must cast to intptr_t first.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4240 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 20:59:17 +00:00
Michael Jerris 64c3ecf288 use switch_log_printf instead of switch_console printf so it will hit other logger services.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 20:31:23 +00:00
Michael Jerris 66f4c25643 ssrc is a 32 bit value, not 16.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4238 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 19:46:10 +00:00
Michael Jerris ddff61c34c turn off warnings for now until they can get resolved in tree.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4237 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 19:45:32 +00:00
Anthony Minessale ebdbebc246 my preacious...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4236 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 17:39:44 +00:00
Anthony Minessale c40bed843a doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4235 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 17:27:57 +00:00
Mike Murdock 3b66035129 Fix ivr_menu, no entry is considered invalid, keying digits during audio is not an error
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4234 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 17:15:42 +00:00
Anthony Minessale bdd8f6ad73 2833 bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4233 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 17:14:39 +00:00
Anthony Minessale e1001b95db 2833 bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4232 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 17:13:57 +00:00
Michael Jerris 0dabc669b9 Don't assert when we get 2 copies of the same invite, just ignore it and do nua_client_return(cr, 900, "INVITE already in progress", msg)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4231 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 16:01:19 +00:00
Anthony Minessale a62d9fd951 lord of the rings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4230 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 15:47:15 +00:00
Anthony Minessale 9a870c5fb6 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4229 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 14:58:06 +00:00
Michael Jerris dcb452bcf7 match prototype.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4228 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 06:18:01 +00:00
Michael Jerris 2aa5aa4fe7 get rid of disabling of some warnings on windows, because we don't have those warnings anymore. Document the others that we have disabled.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4227 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 06:08:28 +00:00
Michael Jerris 07d6f12018 use "%s" format specifier for uses of switch_event_add_header that just pass a string to avoid potential issues/exploits"
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 04:43:49 +00:00
Michael Jerris f08d0e89c1 add missing prototype for switch_channel_perform_mark_ring_ready
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4225 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 04:41:28 +00:00
Michael Jerris 0a5b02999c add PRINTF_FUNCTION specifier to printf like functions to let gcc tell us when we are using the wrong format specifiers on these functions. Suggested by <MrEIso> via irc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4224 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 03:17:19 +00:00
Anthony Minessale cf24c21e86 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4223 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 03:02:52 +00:00
Michael Jerris 489354037d indirection misdirection?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4222 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 02:48:50 +00:00