Asterisk Patches

Random patches - some have been applied into CVS, some not. Some might be useful to people, some not.

  • chan_sip source address update - SIP responses will come from the same address as they were sent to. Tested on linux.
  • 01-logger-misc-fix.diff <asterisk/logger.h> doesn't re-define LOG_*'s when it's already been included - bad if a header that logger.c uses includes <asterisk/logger.h> so it can use ast_log() from an inline function. Also small fix for direct string in ast_log() for being passed through %s
  • 02-memory-utils.diff Adds ast_new0, ast_snew0, ast_malloc0, ast_smalloc0, ast_free, AST_LIKELY, and AST_UNLIKEY to <asterisk/utils.h>
  • 03-ijxphone-2.6-fix.diff <linux/ijxphone.h> doesn't include <linux/sysctl.h>, which defines __user. Upstream bug, but fix it here.
  • 04-nbio-manager.diff Patch for manager to use NBIO (EXPERIMENTAL)
  • 05-nbio-makefile.diff Patch to add nbio.c into asterisk's OBJ's (EXPERIMENTAL)
  • 06-dundi-close-socket.diff Patch closes unused socket after getting HWADDR.
  • nbio.c + nbio.h Non blocking IO socket subsystem for asterisk (EXPERIMENTAL)