1 2005-11-15 Russell Bryant <russell@digium.com>
3 * doc/README.variables: Add application exit status variables
5 2005-11-14 Josh Roberson <josh@asteirasgi.com>
7 * manager.c: Fix crash on variable passing from AMI originate (issue #5737)
9 2005-11-14 Russell Bryant <russell@digium.com>
11 * many files: Merge doxygen documentation updates. (issue #5605)
13 * apps/app_dial.c: Fix typo in RetryDial description.
15 2005-11-12 Russell Bryant <russell@digium.com>
17 * channels/chan_oss.c: Fix a typo in an error message.
19 2005-11-11 Kevin P. Fleming <kpfleming@digium.com>
21 * Asterisk 1.2.0-rc2 released.
23 2005-11-11 Kevin P. Fleming <kpfleming@digium.com>
25 * channels/chan_sip.c (thread_safe_rand): ensure that threads don't get the same random number (issue #5712)
27 * apps/app_voicemail.c (forward_message): correct bugs in message forwarding (issue #5718)
28 (copy_message): use correct path for locking (issue #5704)
30 * apps/app_dial.c (wait_for_answer): correct flag copying for automon feature (issue #5720)
32 * channels/chan_iax2.c: correct comment
34 * apps/app_voicemail.c (close_mailbox): correct previous commit (issue #5663)
35 (vm_change_password): fix password change writing (issue #5721)
37 * channels/chan_sip.c (transmit_invite): remove useless debug message; don't try to add OSP tokens to OPTIONS pings
39 * apps/app_voicemail.c (close_mailbox): properly remove deleted messages at mailbox close time (issue #5663)
41 2005-11-11 Mark Spencer <markster@digium.com>
43 * channels/chan_zap.c (zt_bridge): only enable/disable DTMF detection on SUB_REAL channels
45 2005-11-10 Kevin P. Fleming <kpfleming@digium.com>
47 * channels/chan_iax2.c: ensure that system headers that provide basic types are included first (issue #5713)
49 2005-11-11 Russell Bryant <russell@digium.com>
51 * many files in apps/: Clean up application descriptions. Clarify some wording and make sure they wrap at 80 characters.
53 2005-11-10 Mark Spencer <markster@digium.com>
55 * rtp.c (ast_rtp_raw_write): use unsigned int for return value from calc_txstamp() (issue #5595)
56 (calc_txstamp): never return a value that was less than zero before being turned into 'unsigned int' (issue #5595)
58 2005-11-10 Kevin P. Fleming <kpfleming@digium.com>
60 * include/asterisk/chanspy.h: move spy-related stuff into separate header so chan_h323 can build (issue #5590)
62 * include/asterisk/linkedlists.h (AST_LIST_HEAD_SET_NOLOCK): properly initialize tail pointer when list head is directly set (issue #5669)
64 * app.c (ast_app_parse_options): ok, so we aren't all perfect... let's make the while loop actually work properly here (issue #5684)
66 * apps/app_disa.c (disa_exec): correct password file parsing (issue #5676)
68 * apps/app_meetme.c (conf_run): don't restrict admin users from joining a locked conference (issue #5680)
70 * channels/chan_misdn.c: include stdio.h (issue #5671)
71 * channels/chan_misdn_config.c: fix prototype warning (issue #5671)
73 * pbx.c: remove apps that were deprecated before 1.0 was released (issue #5673)
75 * apps/app_striplsd.c, apps/app_substring.c: remove apps that were deprecated before 1.0 was released (issue #5673)
77 * include/asterisk/lock.h (PTHREAD_MUTEX_RECURSIVE_NP): work around header problems on Cygwin (issue #5668)
79 * pbx/pbx_ael.c: handle switch default cases inside macros properly (issue #5354)
81 * configs/voicemail.conf.sample (format): add strong warning about changing format list when mailboxes contain messages (issue #5689)
83 * many files: ensure that system headers are included before Asterisk headers (issue #5693)
85 * channels/chan_iax2.c (complete_iax2_show_peer): don't return from function without releasing lock (issue #5685)
87 * channels/iax2-provision.c (iax_provision_reload): don't leak memory (issue #5700)
89 * pbx/pbx_ael.c (handle_macro): don't leak memory (issue #5701)
90 (handle_context): ditto
92 * res/res_features.c (load_config): properly initialize referenced variable (issue #5703)
94 * apps/app_queue.c (rqm_exec): correct segfault problem (issue #5705)
97 * app.c (ast_app_parse_options): don't increment 's' until after checking for NULL (related to issue #5630)
99 * apps/app_rpt.c: solve a memory leak (config structure was not freed) (issue #5706)
101 2005-11-10 Russell Bryant <russell@digium.com>
103 * app.c (ast_app_separate_args): Don't consider the open parenthesis as part of the arguments to an option. (issue #5630)
105 * many files: Change all references to ast_separate_app_args to ast_app_separate_args
107 * many files in apps/: Clean up some application descriptions. Make sure all descriptions in changed files are wrapped at 80 characters.
109 2005-11-09 Russell Bryant <russell@digium.com>
111 * pbx.c: Clean up descriptions of built-in dialplan applications. Changes include clearer wording and not referring to return values.
113 2005-11-09 Kevin P. Fleming <kpfleming@digium.com>
115 * channels/chan_iax2.c (update_registry): don't complain about unspecifed registration expiration intervals, just use the minimum
117 2005-11-08 Kevin P. Fleming <kpfleming@digium.com>
119 * Asterisk 1.2.0-rc1 released.
121 * include/asterisk/file.h: add test to ensure that stdio.h is included before this file (issue #5658)
123 * res/res_odbc.c (odbc_prepare_and_execute): add new API call for use to properly handle prepared statements across server disconnects (issue #5563)
125 * pbx.c (pbx_substitute_variables_helper_full): use already-substituted buffer for parsing variable name (issue #5664)
127 * channels/chan_zap.c (zt_request): return AST_CAUSE_CONGESTION when a group-channel is requested and the group exists but all channels are busy (issue #3360, related fix)
128 * channels/chan_iax2.c (create_addr): treat UNREACHABLE as AST_CAUSE_UNREGISTERED so that it will generate CHANUNAVAIL from app_dial (issue #3360)
130 * res/res_features.c (ast_bridge_call_thread_launch): set SCHED_RR separately from thread creation, so it won't fail when running as non-root (issue #5601, different fix)
132 * pbx.c (pbx_builtin_pushvar_helper): add new API function for setting variables that can exist multiple times (issue #2720)
133 * apps/Makefile (APPS): add app_stack (issue #2720)
134 * apps/app_stack.c: new applications (issue #2720)
136 * apps/app_meetme.c: fix two audio delay problems related to using non-Zap channels in conferences (issues #3599 and #4252)
137 * configs/meetme.conf.sample: add documentation of new 'audiobuffers' setting to control buffering on incoming audio from non-Zap channels
139 * channels/chan_local.c (local_call): move channel variables from incoming to outgoing instead of inheriting them (issue #5604)
141 * many files: add explicit include of stdio.h (issue #5650)
143 2005-11-07 Kevin P. Fleming <kpfleming@digium.com>
145 * UPGRADE.txt (Parking): add note about new parking behavior (issue #5532)
147 * many files: more Cygwin compatibility, and proper getloadavg() prototype/macro (issue #5569)
149 * include/asterisk/lock.h (__ast_pthread_mutex_lock): correct build with DETECT_DEADLOCKS defined (issue #5570)
151 2005-11-07 Russell Bryant <russell@digium.com>
153 * apps/app_queue.c: upgrade to new arg/option API and implement priority jumping control (issue #5580)
154 * many files: Add missing include of stdio.h, and remove some duplicate and unused header includes
156 * include/asterisk/app.h: Increment the arg_index in the options structure to fix applicaiton options that have arguments to them
158 2005-11-07 Kevin P. Fleming <kpfleming@digium.com>
160 * cryptostub.c: include necessary headers
161 * include/asterisk/crypto.h: don't include unnecessary headers
163 * manager.c (action_setvar): add support for setting global variables (issue #5571)
165 * Makefile: correct cross-compilation issue introduced in Cygwin patches (issue #5572)
167 * apps/app_voicemail.c: upgrade to new arg/option API and implement priority jumping control (issue #5649)
169 * asterisk.c (main): setpriority() failure is not a reason to stop the process (issue #5581)
171 * say.c (ast_say_date_with_format_da): say hours properly (issue #5576)
173 * manager.c (astman_get_variables): restore old multiple-variable behavior for "Variable" header (issue #5585)
175 * many files: don't check for NULL before calling ast_strlen_zero, it can do it itself (issue #5648)
177 * pbx.c (handle_show_hints): use proper state-to-string function for hint state (issue #5583)
179 * rtp.c: use unsigned format for debug packet output (issue #5595)
181 * asterisk.c (main): force a dnsmgr background refresh after all other modules are initialized (issue #5599)
182 * dnsmgr.c: add ability to start a background refresh on demand (issue #5599)
184 * apps/app_dial.c (HANDLE_CAUSE): set CDR disposition to match cause code (issue #5602)
186 * asterisk.c: support 'runuser' and 'rungroup' options in asterisk.conf (issue #5621)
188 * res/Makefile, apps/Makefile, channels/Makefile, Makefile: support WITHOUT_ZAPTEL define to forcibly avoid building Zaptel support (issue #5634)
190 * Makefile: various fixes (issue #5633)
192 * apps/app_osplookup.c: upgrade to new arg/option API and implement priority jumping control
194 * channels/chan_misdn.c: various fixes (issue #5639)
195 * channels/misdn/isdn_lib.c: various fixes (issue #5639)
197 * apps/app_playback.c: upgrade to new arg/option API and implement priority jumping control
199 * apps/app_privacy.c: upgrade to new arg/option API and implement priority jumping control
201 * apps/app_sendtext.c: upgrade to new arg/option API and implement priority jumping control
203 * apps/app_transfer.c: upgrade to new arg/option API and implement priority jumping control
205 * apps/app_txtcidname.c: upgrade to new arg/option API and implement priority jumping control
207 * Makefile: restore function of 'dont-optimize'
209 * config.c (config_text_file_load): don't generate log message when stat() fails
211 * 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)
213 2005-11-06 Russell Bryant <russell@digium.com>
215 * many files: alphabetize options in applicaiton descriptions
217 * 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.
219 * sounds.txt: Add missing words from the description of the vm-opts prompt
221 * apps/app_externalivr.c: Add a space that fixes building on older versions of gcc
223 * 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.
225 * many files: Update applications to add an exit status variable, make priority jumping optional, and use new args parsing macros
227 * 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.
229 * channels/chan_agent.c: Don't loop forever on an invalid options string
231 * apps/app_disa.c apps/app_forkcdr.c: Fix to use correct arguments to ast_cdr_reset
233 2005-11-05 Kevin P. Fleming <kpfleming@digium.com>
235 * 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
236 * asterisk.c: don't include asterisk/build.h (it's unnecessary)
237 * cli.c: don't include asterisk/build.h, use extern references to buildinfo.c
238 * buildinfo.c: new file to hold version info strings
240 2005-11-04 Kevin P. Fleming <kpfleming@digium.com>
242 * apps/app_mixmonitor.c (mixmonitor_exec): correct app name in an error message
244 2005-11-04 Russell Bryant <russell@digium.com>
246 * 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 <peername>". Also, add the peer's status as an option to the IAXPEER dialplan function.
248 2005-11-04 Kevin P. Fleming <kpfleming@digium.com>
250 * include/asterisk/compiler.h: don't try to use always_inline on old compilers
252 2005-11-03 Russell Bryant <russell@digium.com>
254 * res/res_agi.c: initialize buffer for result so that the contents are always valid in the response to GET FULL VARIABLE
256 2005-11-03 Kevin P. Fleming <kpfleming@digium.com>
258 * doc/README.variables: document DYNAMIC_FEATURES
260 * res/res_features.c (ast_bridge_call): remove unused variables
262 * apps/app_dial.c (dial_exec_full): simplify options and flag usage
264 * include/asterisk/app.h: re-work application arg/option parsing APIs for consistent naming, add doxygen docs for option API
265 * many files: update to new APIs
267 2005-11-02 Kevin P. Fleming <kpfleming@digium.com>
269 * apps/app_dial.c (dial_exec_full): convert to use API calls for argument/option parsing
271 * include/asterisk/channel.h: add doxygen docs for silence generator APIs
273 * channel.c (ast_channel_bridge): simplify native-bridge return logic, remove 'unsuccessful' message since it causes too many questions :-)
275 2005-11-01 Kevin P. Fleming <kpfleming@digium.com>
277 * stdtime/localtime.c: fix build failure on uClibc systems (issue #5558)
278 * devicestate.c: same
280 * many files: make chan_misdn actually build (issue #5566)
282 * many files: more Cygwin build system support (issue #4678)
284 * apps/app_parkandannounce.c (parkandannounce_exec): supply parent channel to ast_request_and_dial so channel variables can be inherited (issue #5564)
285 * include/asterisk/channel.h: add parent_channel field
286 * channel.c (__ast_request_and_dial): use parent_channel field to inherit variables into new channel
288 * apps/app_cut.c (cut_internal): use ast_app_separate_args() instead of open code (issue #5560)
290 * apps/app_mixmonitor.c (launch_monitor_thread): ast_strlen_zero can handle NULL input (issue #5561)
291 (mixmonitor_exec): same
293 * res/res_features.c (ast_feature_request_and_dial): ensure that channel variables are inherited from the channel placing the call (issue #5499)
295 * utils.c (getloadavg): change to using _BSD_SOURCE as the indicator for whether this function is present or not (issue #5549)
297 * include/asterisk/utils.h (ast_slinear_saturated_add): force to be inlined whenever possible
298 (ast_slinear_saturated_multiply): same
299 (ast_slinear_saturated_divide): same
301 * include/asterisk/strings.h (ast_strlen_zero): force to be inlined whenever possible
302 * include/asterisk/compiler.h (force_inline): add macro to force inlining of functions
304 * app.c (ast_play_and_record): use ast_silence_generator during recording if requested
305 * asterisk.c: add global option to enable silence-during-record (issue #5135)
306 * channel.c (silence_generator_alloc): new
307 (silence_generator_release): new
308 (silence_generator_generate): new
309 (ast_channel_start_silence_generator): new API call to start generating silence on a channel
310 (ast_channel_stop_silence_generator): parallel call to stop silence generation
311 * apps/app_record.c (record_exec): use ast_silence_generator during recording if requested
313 2005-11-01 Kevin P. Fleming <kpfleming@digium.com>
315 * Asterisk 1.2.0-beta2 released.