2005-11-07 Kevin P. Fleming * many files: don't check for NULL before calling ast_strlen_zero, it can do it itself (issue #5648) * pbx.c (handle_show_hints): use proper state-to-string function for hint state (issue #5583) * rtp.c: use unsigned format for debug packet output (issue #5595) * asterisk.c (main): force a dnsmgr background refresh after all other modules are initialized (issue #5599) * dnsmgr.c: add ability to start a background refresh on demand (issue #5599) * apps/app_dial.c (HANDLE_CAUSE): set CDR disposition to match cause code (issue #5602) * asterisk.c: support 'runuser' and 'rungroup' options in asterisk.conf (issue #5621) * res/Makefile, apps/Makefile, channels/Makefile, Makefile: support WITHOUT_ZAPTEL define to forcibly avoid building Zaptel support (issue #5634) * Makefile: various fixes (issue #5633) * apps/app_osplookup.c: upgrade to new arg/option API and implement priority jumping control * channels/chan_misdn.c: various fixes (issue #5639) * channels/misdn/isdn_lib.c: various fixes (issue #5639) * apps/app_playback.c: upgrade to new arg/option API and implement priority jumping control * apps/app_privacy.c: upgrade to new arg/option API and implement priority jumping control * apps/app_sendtext.c: upgrade to new arg/option API and implement priority jumping control * apps/app_transfer.c: upgrade to new arg/option API and implement priority jumping control * apps/app_txtcidname.c: upgrade to new arg/option API and implement priority jumping control * Makefile: restore function of 'dont-optimize' * config.c (config_text_file_load): don't generate log message when stat() fails * many files: clean up application documentation to not refer to return values, since they cannot be used in the dialplan (work done by Neil Lewis) 2005-11-06 Russell Bryant * many files: alphabetize options in applicaiton descriptions * channels/chan_iax2.c: Use an enum to define iax peer/user flags as well as the pvt structure state. Use the ast_flags macros for checking or setting the state. * sounds.txt: Add missing words from the description of the vm-opts prompt * apps/app_externalivr.c: Add a space that fixes building on older versions of gcc * many files: Add doxygen updates to categorize modules into groups. Convert a lot of comments over to doxygen style. Add some text giving a basic overview of channels. * many files: Update applications to add an exit status variable, make priority jumping optional, and use new args parsing macros * pbx.c cdr.c res/res_features.c apps/app_dial.c include/asterisk/cdr.h: Convert some built-in applications to use new args parsing macros. Change ast_cdr_reset to take a pointer to an ast_flags structure instead of an integer for flags. * channels/chan_agent.c: Don't loop forever on an invalid options string * apps/app_disa.c apps/app_forkcdr.c: Fix to use correct arguments to ast_cdr_reset 2005-11-05 Kevin P. Fleming * Makefile: don't rebuild asterisk/build.h unless the asterisk binary is going to be relinked for some other reason (stops spurious recompile/link every time 'make' is issued); clean up variable substitutions to use consistent syntax * asterisk.c: don't include asterisk/build.h (it's unnecessary) * cli.c: don't include asterisk/build.h, use extern references to buildinfo.c * buildinfo.c: new file to hold version info strings 2005-11-04 Kevin P. Fleming * apps/app_mixmonitor.c (mixmonitor_exec): correct app name in an error message 2005-11-04 Russell Bryant * channels/chan_iax2.c: Create a function that stores a peer's status in a given buffer. Use this function in "iax2 show peers" and "iax2 show peer ". Also, add the peer's status as an option to the IAXPEER dialplan function. 2005-11-04 Kevin P. Fleming * include/asterisk/compiler.h: don't try to use always_inline on old compilers 2005-11-03 Russell Bryant * res/res_agi.c: initialize buffer for result so that the contents are always valid in the response to GET FULL VARIABLE 2005-11-03 Kevin P. Fleming * doc/README.variables: document DYNAMIC_FEATURES * res/res_features.c (ast_bridge_call): remove unused variables * apps/app_dial.c (dial_exec_full): simplify options and flag usage * include/asterisk/app.h: re-work application arg/option parsing APIs for consistent naming, add doxygen docs for option API * many files: update to new APIs 2005-11-02 Kevin P. Fleming * apps/app_dial.c (dial_exec_full): convert to use API calls for argument/option parsing * include/asterisk/channel.h: add doxygen docs for silence generator APIs * channel.c (ast_channel_bridge): simplify native-bridge return logic, remove 'unsuccessful' message since it causes too many questions :-) 2005-11-01 Kevin P. Fleming * stdtime/localtime.c: fix build failure on uClibc systems (issue #5558) * devicestate.c: same * many files: make chan_misdn actually build (issue #5566) * many files: more Cygwin build system support (issue #4678) * apps/app_parkandannounce.c (parkandannounce_exec): supply parent channel to ast_request_and_dial so channel variables can be inherited (issue #5564) * include/asterisk/channel.h: add parent_channel field * channel.c (__ast_request_and_dial): use parent_channel field to inherit variables into new channel * apps/app_cut.c (cut_internal): use ast_separate_app_args() instead of open code (issue #5560) * apps/app_mixmonitor.c (launch_monitor_thread): ast_strlen_zero can handle NULL input (issue #5561) (mixmonitor_exec): same * res/res_features.c (ast_feature_request_and_dial): ensure that channel variables are inherited from the channel placing the call (issue #5499) * utils.c (getloadavg): change to using _BSD_SOURCE as the indicator for whether this function is present or not (issue #5549) * include/asterisk/utils.h (ast_slinear_saturated_add): force to be inlined whenever possible (ast_slinear_saturated_multiply): same (ast_slinear_saturated_divide): same (inaddrcmp): same * include/asterisk/strings.h (ast_strlen_zero): force to be inlined whenever possible * include/asterisk/compiler.h (force_inline): add macro to force inlining of functions * app.c (ast_play_and_record): use ast_silence_generator during recording if requested * asterisk.c: add global option to enable silence-during-record (issue #5135) * channel.c (silence_generator_alloc): new (silence_generator_release): new (silence_generator_generate): new (ast_channel_start_silence_generator): new API call to start generating silence on a channel (ast_channel_stop_silence_generator): parallel call to stop silence generation * apps/app_record.c (record_exec): use ast_silence_generator during recording if requested 2005-11-01 Kevin P. Fleming * Asterisk 1.2.0-beta2 released.