Commit Graph

  • 711c59a6e0 potential format string exploit Michael Jerris 2007-02-14 03:32:13 +00:00
  • 2cf3ad1c6f cleanups: duplicate declarations, shadowed global names, extra paramaters, and constifications. Michael Jerris 2007-02-14 03:24:20 +00:00
  • 258e28dd11 constification for switch_core_hash_find and switch_event_create_subclass Michael Jerris 2007-02-14 03:22:43 +00:00
  • a7cf447f93 eliminate shadowing of function level variables (functionally equivalent but redundant in this case) Michael Jerris 2007-02-14 02:56:31 +00:00
  • 95374edaab constify the fmt string on all printf like functions Michael Jerris 2007-02-14 02:53:23 +00:00
  • c3bcb585e3 add nil thing to xml func Anthony Minessale 2007-02-14 01:01:58 +00:00
  • c0a362d156 use WaitForSingleObject for the console loop to wait on stdin on the windows build, as the select was not working properly. Michael Jerris 2007-02-14 00:31:11 +00:00
  • 0c34702513 fix warnings on weird L value casts for function pointers. Michael Jerris 2007-02-13 22:15:24 +00:00
  • 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) Michael Jerris 2007-02-13 22:07:28 +00:00
  • 055a056394 missing return; Michael Jerris 2007-02-13 21:54:16 +00:00
  • 5694445ae2 potentially uninitialized variable. Michael Jerris 2007-02-13 21:52:33 +00:00
  • f5de340dcc some msvc warnings that I re-enabled came back due to messy header files in some libs. Michael Jerris 2007-02-13 21:38:12 +00:00
  • ceafc84ca0 constify some arguments to switch_console_printf and switch_cut_path and remove improper casts for the consumers of those functions. Michael Jerris 2007-02-13 21:03:06 +00:00
  • 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. Michael Jerris 2007-02-13 20:59:17 +00:00
  • 64c3ecf288 use switch_log_printf instead of switch_console printf so it will hit other logger services. Michael Jerris 2007-02-13 20:31:23 +00:00
  • 66f4c25643 ssrc is a 32 bit value, not 16. Michael Jerris 2007-02-13 19:46:10 +00:00
  • ddff61c34c turn off warnings for now until they can get resolved in tree. Michael Jerris 2007-02-13 19:45:32 +00:00
  • ebdbebc246 my preacious... Anthony Minessale 2007-02-13 17:39:44 +00:00
  • c40bed843a doh Anthony Minessale 2007-02-13 17:27:57 +00:00
  • 3b66035129 Fix ivr_menu, no entry is considered invalid, keying digits during audio is not an error Mike Murdock 2007-02-13 17:15:42 +00:00
  • bdd8f6ad73 2833 bs Anthony Minessale 2007-02-13 17:14:39 +00:00
  • e1001b95db 2833 bs Anthony Minessale 2007-02-13 17:13:57 +00:00
  • 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) Michael Jerris 2007-02-13 16:01:19 +00:00
  • a62d9fd951 lord of the rings Anthony Minessale 2007-02-13 15:47:15 +00:00
  • 9a870c5fb6 update Anthony Minessale 2007-02-13 14:58:06 +00:00
  • dcb452bcf7 match prototype. Michael Jerris 2007-02-13 06:18:01 +00:00
  • 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. Michael Jerris 2007-02-13 06:08:28 +00:00
  • 07d6f12018 use "%s" format specifier for uses of switch_event_add_header that just pass a string to avoid potential issues/exploits" Michael Jerris 2007-02-13 04:43:49 +00:00
  • f08d0e89c1 add missing prototype for switch_channel_perform_mark_ring_ready Michael Jerris 2007-02-13 04:41:28 +00:00
  • 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. Michael Jerris 2007-02-13 03:17:19 +00:00
  • cf24c21e86 update Anthony Minessale 2007-02-13 03:02:52 +00:00
  • 489354037d indirection misdirection? Michael Jerris 2007-02-13 02:48:50 +00:00
  • 07efd559d2 add ring ready flag to core Anthony Minessale 2007-02-13 02:32:10 +00:00
  • db5557983a use const for switch_core_permanent_strdup var. Michael Jerris 2007-02-13 02:31:26 +00:00
  • 25963d7a57 doh Anthony Minessale 2007-02-13 02:31:17 +00:00
  • 87d5a3bbb4 char cast on tolower & toupper Michael Jerris 2007-02-13 02:26:39 +00:00
  • 403243980e mmkay Anthony Minessale 2007-02-13 01:58:39 +00:00
  • be118eb28a Sofia Behaviour Modification (please document) Anthony Minessale 2007-02-13 01:22:17 +00:00
  • df79b479d9 woops Brian West 2007-02-12 23:32:29 +00:00
  • e3773e1a01 We should only advertise one code per IANA number. Brian West 2007-02-12 23:32:00 +00:00
  • 3e4e15924f ignore CANCEL of incoming requests after we send a final response. Patch by me and Kai Vehmanen. Michael Jerris 2007-02-12 23:14:36 +00:00
  • e360d6500c fix mod_native_file extension thingy Anthony Minessale 2007-02-12 22:56:08 +00:00
  • 8e2c70d797 sndfile tweaks (add ul and al files and more record formats) Anthony Minessale 2007-02-12 22:42:22 +00:00
  • c133b3453d simplify wanpipe write method Anthony Minessale 2007-02-12 21:08:57 +00:00
  • 5ba24598e1 data pulled from xml needs to be duped in order for it to stay around for sure. Michael Jerris 2007-02-12 20:30:13 +00:00
  • 49f0d6152f tweaks Anthony Minessale 2007-02-12 20:03:29 +00:00
  • 88fda78ee8 avoid array out of bounds. Michael Jerris 2007-02-12 19:55:12 +00:00
  • 43e50048ca ntohs takes u_short, and we are in a 16 bit bitfield, so we can cast this. Michael Jerris 2007-02-12 19:35:09 +00:00
  • 272b78be58 add missing spec file updates Michael Jerris 2007-02-12 18:29:52 +00:00
  • f2c46f504c alternate which devices we support with the ones we don't using rfc2833 Anthony Minessale 2007-02-12 18:22:30 +00:00
  • 62a44e621f some more protection from passing around and printing null values, we are now initializing null's passed to switch_caller_profile_new as blank strings in the caller profile, if your using any caller profile values in if's, please use !switch_strlen_zero() in your check. Michael Jerris 2007-02-12 18:13:14 +00:00
  • 38cd3a8105 .update Michael Jerris 2007-02-12 16:02:55 +00:00
  • 215b751d92 merge fixes to sofia-sip including double free causing segfault or assert in sres Michael Jerris 2007-02-12 16:01:22 +00:00
  • 4099d4c351 update Anthony Minessale 2007-02-12 15:47:43 +00:00
  • 18338947a3 minor update Anthony Minessale 2007-02-11 00:39:46 +00:00
  • 16ab18935c be more flexible in what we accept for char based dtmf (ABCD and abcd), patch from George Shaw. Thanks. Michael Jerris 2007-02-10 23:28:19 +00:00
  • edbc5594af be more safe about compiler qwirkyness in initialization. Michael Jerris 2007-02-10 23:26:53 +00:00
  • 400372666d add some better returns to invite failures. Michael Jerris 2007-02-10 23:16:43 +00:00
  • 4a02e80d5e fix dtmf bug Anthony Minessale 2007-02-10 23:16:34 +00:00
  • d1d9fd9a23 adding fail_on_single_reject dialplan option that can be set, which then immediately rejects the call even when sent to multiple destinations upon one party rejecting, useful if you are doing a ring all (, separated in the dial string for multiple calls at once) and you want a single rejection to make the call flow to the next action in the dialplan (in combination w/ continue_on_fail) for example to flow to voicemail. Thanks to George Shaw for this patch. Michael Jerris 2007-02-10 21:47:12 +00:00
  • 59d4d0b071 fix no_media mode Anthony Minessale 2007-02-10 19:34:03 +00:00
  • 3b6d163b73 Update from Mike Murdock, Thanks Brian West 2007-02-10 17:26:40 +00:00
  • cd0d988e74 update Anthony Minessale 2007-02-10 01:00:02 +00:00
  • 774b4dbc2f wanpipe update Anthony Minessale 2007-02-10 00:28:50 +00:00
  • c1cf282d39 add some error checking to switch_url_encode function Michael Jerris 2007-02-09 22:56:42 +00:00
  • 712976653d fix paramater checking on switch_ivr_phrase_macro and it's consumers. Michael Jerris 2007-02-09 22:55:48 +00:00
  • d41b3e14dc Add session.sayPhrase from Mike Murdock. Michael Jerris 2007-02-09 21:56:44 +00:00
  • d1d6081d63 phrase update Anthony Minessale 2007-02-09 21:48:24 +00:00
  • be1e4e3995 I don't think this has any real effect, but it was easier for me to read while I was debugging.. will probably revert it later. Michael Jerris 2007-02-09 21:47:30 +00:00
  • 4a1cbdf81d add option to wanpipe Anthony Minessale 2007-02-09 21:32:12 +00:00
  • cb17c45280 fix causes some more Anthony Minessale 2007-02-09 20:36:01 +00:00
  • f03226debb update core Anthony Minessale 2007-02-09 20:03:07 +00:00
  • 1eacf043d2 merge sofia windows build, add ifdefed out code to avoid assert if it comes back. Michael Jerris 2007-02-09 19:14:20 +00:00
  • dccf9b3d1b updated makefiles and a missing source file from the last sofia merge Michael Jerris 2007-02-09 18:15:36 +00:00
  • 82def9a70d touch the .update so the lib is totally rebuilt Michael Jerris 2007-02-09 17:57:51 +00:00
  • 666bd3bec3 sync back up again with sofia tree prior to their release Michael Jerris 2007-02-09 17:32:17 +00:00
  • f359f847f7 fix magic emacs and vi formatting comments in the bottom of our source files to use tabs instead of spaces Michael Jerris 2007-02-09 02:36:03 +00:00
  • ea3e61f3d8 tweak the defines for memory barriers. This should fix the freebsd build, and adds proper memory barrier defines for msvc build. Michael Jerris 2007-02-09 02:05:46 +00:00
  • ed41805c17 improve core and basic flow Anthony Minessale 2007-02-09 01:34:01 +00:00
  • e6dac0923a don't use a few more blocks either. Michael Jerris 2007-02-08 21:21:12 +00:00
  • 96c0f9eaf6 don't use 169.254. auto ip's either. Michael Jerris 2007-02-08 21:16:27 +00:00
  • b227ee8521 add a more descriptive error message on no (or no usable) candidates Michael Jerris 2007-02-08 21:08:45 +00:00
  • 5327a156ee fix bug/race in core Anthony Minessale 2007-02-08 20:47:46 +00:00
  • 58310a9272 make sofia set network_addr as the address the packet was actually received from, not the address from the uri. Michael Jerris 2007-02-08 20:16:08 +00:00
  • 17d57b7142 missing ; Michael Jerris 2007-02-08 19:35:07 +00:00
  • e7d0aaef27 fix warnings and some windows compatibility issues in enum/udns Michael Jerris 2007-02-08 19:23:36 +00:00
  • d8f906850b don't print null in show commands return values. Michael Jerris 2007-02-08 18:10:21 +00:00
  • b650424da0 insist on a conference profile Anthony Minessale 2007-02-08 15:39:14 +00:00
  • 7cbfdbf5b9 update Anthony Minessale 2007-02-08 15:09:51 +00:00
  • 0d35fb0308 Fix typo in several places. Patch from Matt Klein. Michael Jerris 2007-02-08 13:50:28 +00:00
  • 4128cf7ba9 the garbage collector race/deadlock issue was fixed by the previous commit to the makefile to define JS_THREDSAFE for the spidermonkey modules. This code is unnecessary. Michael Jerris 2007-02-08 04:24:43 +00:00
  • 56e85a9458 we need to build the mods w/ JS_THREADSAFE defined so it gets the header stuff right. Michael Jerris 2007-02-08 01:56:55 +00:00
  • 46b850273c Small buglet. Brian West 2007-02-08 01:19:35 +00:00
  • 25b1d12b9e add w and W Anthony Minessale 2007-02-08 00:17:22 +00:00
  • f1ef145bcf wanpipe update Anthony Minessale 2007-02-07 23:43:04 +00:00
  • 96f207585d sync windows build with new sofia build. Michael Jerris 2007-02-07 22:29:52 +00:00
  • f6875d2984 unused variable Michael Jerris 2007-02-07 22:13:17 +00:00
  • cad28828b2 merge changes from current sofia-sip tree. Michael Jerris 2007-02-07 21:59:38 +00:00
  • 7f8c4decad udpate Anthony Minessale 2007-02-07 19:21:41 +00:00
  • cb587626ea timer mojo (cont) Anthony Minessale 2007-02-07 19:18:15 +00:00