ChangeLog 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. 2005-11-25 Russell Bryant <russell@digium.com>
  2. * apps/app_dial.c: Properly duplicate the string for ANI (issue #5850)
  3. 2005-11-23 Russell Bryant <russell@digium.com>
  4. * configs/voicemail.conf.sample: Add note to indicate that #include should not be used for this file. (issue #5828)
  5. * indications.c: Fix spelling of "cadence", allowing the old misspelling for backwards compatability. (issue #5826)
  6. * configs/indications.conf.sample: Fix spelling of "cadence", allowing the old misspelling for backwards compatability. (issue #5826)
  7. * include/asterisk/indications.h: Fix spelling of "cadence", allowing the old misspelling for backwards compatability. (issue #5826)
  8. * res/res_indications.c: Fix spelling of "cadence", allowing the old misspelling for backwards compatability. (issue #5826)
  9. * apps/app_voicemail.c: Remove left over "yay!" debugging message. (issue #5829)
  10. 2005-11-21 Kevin P. Fleming <kpfleming@digium.com>
  11. * apps/app_cut.c: remove unnecessary include that causes spurious rebuilding
  12. * channels/chan_sip.c (build_peer): ensure that case changes made to peer names are not ignored during reload operations
  13. (build_peer): when a peer is changed from dynamic to static mode, reset the default port number if no other has been specified
  14. * channels/chan_iax2.c (build_peer and build_user): ensure that case changes made to peer/user names are not ignored during reload operations
  15. (build_peer): when a peer is changed from dynamic to static mode, reset the default port number if no other has been specified
  16. 2005-11-21 Russell Bryant <russell@digium.com>
  17. * Makefile: Revert previous change for Darwin.
  18. * apps/app_osplookup.c: Properly populate the number of results. (issue #5789)
  19. * Makefile: Don't hard-code that poll functionality needs to be provided on Darwin.
  20. * apps/Makefile: Fix incorrect portion of the patch to fix 'make install' on Solaris.
  21. * channels/chan_iax2.c (iax2_getpeername): Return non-zero to indicate that a peer was found when using realtime (issue #5815)
  22. 2005-11-20 Russell Bryant <russell@digium.com>
  23. * Makefile apps/Makefile: Fix 'make install' for Solaris. (issue #5775)
  24. * apps/app_record.c: Don't leak a frame if writing it to the file fails. (issue #5787)
  25. * Makefile: Create the monitor spool directory when the other spool directories are created.
  26. * channels/chan_sip.c channels/chan_iax2.c: Change warning messages about the number of scheduled events happening all at once to debug messages. (issue #5794)
  27. * pbx/pbx_spool.c: Fix crash when a value is not specified with a variable on a Set: line in a call file. (issue #5806)
  28. * apps/app_meetme.c: Fix the 'X' option to the MeetMe application. (issue #5773)
  29. * apps/app_voicemail.c: Correct the use of a mailbox entered by the calling party instead of indicated as an argument to the Voicemail application. (issue #5774)
  30. * apps/app_controlplayback.c: Fix logic in checking for success when jumping to priority n+101.
  31. * apps/app_md5.c: Fix logic in checking for success when jumping to priority n+101.
  32. * apps/app_hasnewvoicemail.c: Fix a typo in the application description. Also, fix the logic in checking for success when jumping to priority n+101. (issue #5795)
  33. * UPGRADE.txt: Add a note on a second way that the IAX2 channel naming convention has changed. (issue #5792)
  34. * channels/chan_iax2.c: Fix alignment of the output for the "iax2 show peer <peer>" CLI command (issue #5792)
  35. * channels/Makefile: Re-add chan_oss to the default build. (issue #5799)
  36. * res/res_musiconhold.c: Fix incorrect argument for the buffer size to an ast_copy_string call (issue #5803)
  37. * funcs/func_enum.c: Shorten the module description (issue #5791)
  38. 2005-11-17 Russell Bryant <russell@digium.com>
  39. * Makefile: Fix the output of Makefile generated variables to doxygen
  40. * channels/chan_sip.c: Add missing carriage return and line feed to the SDP line indicating that we don't support VAD (issue #5780)
  41. 2005-11-16 Kevin P. Fleming <kpfleming@digium.com>
  42. * Asterisk 1.2.0 released.
  43. 2005-11-16 Jeremy McNamara <jj@nufone.net>
  44. * apps/app_voicemail.c (load_config): do not terminate asterisk if no voicemail config file
  45. * channels/chan_skinny: Don't register channel type until ready, code formatting updates
  46. 2005-11-16 Josh Roberson <josh@asteriasgi.com>
  47. * Makefile: Update to fix non-responsive remote console on Darwin (OSX)(issue #5757)
  48. 2005-11-16 Kevin P. Fleming <kpfleming@digium.com>
  49. * channels/Makefile: don't build chan_modem and sub-modules by default
  50. * configs/modules.conf.sample: explicitly 'noload' chan_modem.so and submodules, in case old versions exist
  51. * res/Makefile: issue mpg123 not-installed warning at 'make install' time, not 'make'
  52. * apps/app_forkcdr.c (forkcdr_exec): issue warning (and don't segfault) if ForkCDR is called on a channel that doesn't have a CDR (issue #5763)
  53. * channel.c (ast_queue_hangup): ensure that the channel lock is held before changing its fields... (issue #5770)
  54. * res/res_musiconhold.c: don't spit out incorrect log messages (and leak memory) during reload (issue #5766)
  55. * channels/chan_sip.c (process_sdp): don't pass video codec number into ast_getformatname(), it is not valid input for that function (issue #5764)
  56. * pbx/pbx_ael.c (match_assignment): properly parse equal signs surrounded by whitespace (issue #5761)
  57. * doc/README.realtime: document the limitations of using FreeTDS with Realtime (issue #5767)
  58. 2005-11-15 Kevin P. Fleming <kpfleming@digium.com>
  59. * Makefile: use -g3 for compiler to include macro information for debugger
  60. * astmm.c (__ast_vasprintf): don't re-use the ap list without copying it; that's not safe on some platforms (issue #5035)
  61. * doc/README.backtrace: add note about properly building Asterisk to be able to produce backtraces; wrap text and remove DOS line endings
  62. * channels/chan_sip.c (add_codec_to_sdp): add 'annexb=no' to G.729A SDP (issue #5539)
  63. * channels/chan_alsa.c (alsa_hangup): handle autohangup properly (issue #5672)
  64. * channels/chan_misdn.c (and other files): various fixes (issue #5739)
  65. * channels/chan_sip.c (handle_request_info): properly forward 'flash' events received via SIP INFO (issue #5751, different patch)
  66. * apps/app_disa.c (disa_exec): don't duplicate constant strings when not needed
  67. * apps/app_playback.c (playback_exec): use correct logic tests for options (issue #5752)
  68. * apps/app_disa.c (disa_exec): use standard arg parsing routines (issue #5736)
  69. 2005-11-15 Russell Bryant <russell@digium.com>
  70. * manager.c: Don't crash on a SetVar action if the channel name is not set, or variable's value is not set (issue #5760)
  71. * doc/README.variables: Add application exit status variables
  72. 2005-11-14 Josh Roberson <josh@asteriasgi.com>
  73. * manager.c: Fix crash on variable passing from AMI originate (issue #5737)
  74. 2005-11-14 Russell Bryant <russell@digium.com>
  75. * many files: Merge doxygen documentation updates. (issue #5605)
  76. * apps/app_dial.c: Fix typo in RetryDial description.
  77. 2005-11-12 Russell Bryant <russell@digium.com>
  78. * channels/chan_oss.c: Fix a typo in an error message.
  79. 2005-11-11 Kevin P. Fleming <kpfleming@digium.com>
  80. * Asterisk 1.2.0-rc2 released.
  81. 2005-11-11 Kevin P. Fleming <kpfleming@digium.com>
  82. * channels/chan_sip.c (thread_safe_rand): ensure that threads don't get the same random number (issue #5712)
  83. * apps/app_voicemail.c (forward_message): correct bugs in message forwarding (issue #5718)
  84. (copy_message): use correct path for locking (issue #5704)
  85. * apps/app_dial.c (wait_for_answer): correct flag copying for automon feature (issue #5720)
  86. * channels/chan_iax2.c: correct comment
  87. * apps/app_voicemail.c (close_mailbox): correct previous commit (issue #5663)
  88. (vm_change_password): fix password change writing (issue #5721)
  89. * channels/chan_sip.c (transmit_invite): remove useless debug message; don't try to add OSP tokens to OPTIONS pings
  90. * apps/app_voicemail.c (close_mailbox): properly remove deleted messages at mailbox close time (issue #5663)
  91. 2005-11-11 Mark Spencer <markster@digium.com>
  92. * channels/chan_zap.c (zt_bridge): only enable/disable DTMF detection on SUB_REAL channels
  93. 2005-11-10 Kevin P. Fleming <kpfleming@digium.com>
  94. * channels/chan_iax2.c: ensure that system headers that provide basic types are included first (issue #5713)
  95. 2005-11-11 Russell Bryant <russell@digium.com>
  96. * many files in apps/: Clean up application descriptions. Clarify some wording and make sure they wrap at 80 characters.
  97. 2005-11-10 Mark Spencer <markster@digium.com>
  98. * rtp.c (ast_rtp_raw_write): use unsigned int for return value from calc_txstamp() (issue #5595)
  99. (calc_txstamp): never return a value that was less than zero before being turned into 'unsigned int' (issue #5595)
  100. 2005-11-10 Kevin P. Fleming <kpfleming@digium.com>
  101. * include/asterisk/chanspy.h: move spy-related stuff into separate header so chan_h323 can build (issue #5590)
  102. * include/asterisk/linkedlists.h (AST_LIST_HEAD_SET_NOLOCK): properly initialize tail pointer when list head is directly set (issue #5669)
  103. * 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)
  104. * apps/app_disa.c (disa_exec): correct password file parsing (issue #5676)
  105. * apps/app_meetme.c (conf_run): don't restrict admin users from joining a locked conference (issue #5680)
  106. * channels/chan_misdn.c: include stdio.h (issue #5671)
  107. * channels/chan_misdn_config.c: fix prototype warning (issue #5671)
  108. * pbx.c: remove apps that were deprecated before 1.0 was released (issue #5673)
  109. * apps/app_striplsd.c, apps/app_substring.c: remove apps that were deprecated before 1.0 was released (issue #5673)
  110. * include/asterisk/lock.h (PTHREAD_MUTEX_RECURSIVE_NP): work around header problems on Cygwin (issue #5668)
  111. * pbx/pbx_ael.c: handle switch default cases inside macros properly (issue #5354)
  112. * configs/voicemail.conf.sample (format): add strong warning about changing format list when mailboxes contain messages (issue #5689)
  113. * many files: ensure that system headers are included before Asterisk headers (issue #5693)
  114. * channels/chan_iax2.c (complete_iax2_show_peer): don't return from function without releasing lock (issue #5685)
  115. * channels/iax2-provision.c (iax_provision_reload): don't leak memory (issue #5700)
  116. * pbx/pbx_ael.c (handle_macro): don't leak memory (issue #5701)
  117. (handle_context): ditto
  118. * res/res_features.c (load_config): properly initialize referenced variable (issue #5703)
  119. * apps/app_queue.c (rqm_exec): correct segfault problem (issue #5705)
  120. (aqm_exec): ditto
  121. * app.c (ast_app_parse_options): don't increment 's' until after checking for NULL (related to issue #5630)
  122. * apps/app_rpt.c: solve a memory leak (config structure was not freed) (issue #5706)
  123. 2005-11-10 Russell Bryant <russell@digium.com>
  124. * app.c (ast_app_separate_args): Don't consider the open parenthesis as part of the arguments to an option. (issue #5630)
  125. * many files: Change all references to ast_separate_app_args to ast_app_separate_args
  126. * many files in apps/: Clean up some application descriptions. Make sure all descriptions in changed files are wrapped at 80 characters.
  127. 2005-11-09 Russell Bryant <russell@digium.com>
  128. * pbx.c: Clean up descriptions of built-in dialplan applications. Changes include clearer wording and not referring to return values.
  129. 2005-11-09 Kevin P. Fleming <kpfleming@digium.com>
  130. * channels/chan_iax2.c (update_registry): don't complain about unspecifed registration expiration intervals, just use the minimum
  131. 2005-11-08 Kevin P. Fleming <kpfleming@digium.com>
  132. * Asterisk 1.2.0-rc1 released.
  133. * include/asterisk/file.h: add test to ensure that stdio.h is included before this file (issue #5658)
  134. * res/res_odbc.c (odbc_prepare_and_execute): add new API call for use to properly handle prepared statements across server disconnects (issue #5563)
  135. * pbx.c (pbx_substitute_variables_helper_full): use already-substituted buffer for parsing variable name (issue #5664)
  136. * 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)
  137. * channels/chan_iax2.c (create_addr): treat UNREACHABLE as AST_CAUSE_UNREGISTERED so that it will generate CHANUNAVAIL from app_dial (issue #3360)
  138. * 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)
  139. * pbx.c (pbx_builtin_pushvar_helper): add new API function for setting variables that can exist multiple times (issue #2720)
  140. * apps/Makefile (APPS): add app_stack (issue #2720)
  141. * apps/app_stack.c: new applications (issue #2720)
  142. * apps/app_meetme.c: fix two audio delay problems related to using non-Zap channels in conferences (issues #3599 and #4252)
  143. * configs/meetme.conf.sample: add documentation of new 'audiobuffers' setting to control buffering on incoming audio from non-Zap channels
  144. * channels/chan_local.c (local_call): move channel variables from incoming to outgoing instead of inheriting them (issue #5604)
  145. * many files: add explicit include of stdio.h (issue #5650)
  146. 2005-11-07 Kevin P. Fleming <kpfleming@digium.com>
  147. * UPGRADE.txt (Parking): add note about new parking behavior (issue #5532)
  148. * 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)
  150. 2005-11-07 Russell Bryant <russell@digium.com>
  151. * apps/app_queue.c: upgrade to new arg/option API and implement priority jumping control (issue #5580)
  152. * many files: Add missing include of stdio.h, and remove some duplicate and unused header includes
  153. * include/asterisk/app.h: Increment the arg_index in the options structure to fix applicaiton options that have arguments to them
  154. 2005-11-07 Kevin P. Fleming <kpfleming@digium.com>
  155. * cryptostub.c: include necessary headers
  156. * include/asterisk/crypto.h: don't include unnecessary headers
  157. * manager.c (action_setvar): add support for setting global variables (issue #5571)
  158. * Makefile: correct cross-compilation issue introduced in Cygwin patches (issue #5572)
  159. * apps/app_voicemail.c: upgrade to new arg/option API and implement priority jumping control (issue #5649)
  160. * asterisk.c (main): setpriority() failure is not a reason to stop the process (issue #5581)
  161. * say.c (ast_say_date_with_format_da): say hours properly (issue #5576)
  162. * manager.c (astman_get_variables): restore old multiple-variable behavior for "Variable" header (issue #5585)
  163. * many files: don't check for NULL before calling ast_strlen_zero, it can do it itself (issue #5648)
  164. * pbx.c (handle_show_hints): use proper state-to-string function for hint state (issue #5583)
  165. * rtp.c: use unsigned format for debug packet output (issue #5595)
  166. * asterisk.c (main): force a dnsmgr background refresh after all other modules are initialized (issue #5599)
  167. * dnsmgr.c: add ability to start a background refresh on demand (issue #5599)
  168. * apps/app_dial.c (HANDLE_CAUSE): set CDR disposition to match cause code (issue #5602)
  169. * asterisk.c: support 'runuser' and 'rungroup' options in asterisk.conf (issue #5621)
  170. * res/Makefile, apps/Makefile, channels/Makefile, Makefile: support WITHOUT_ZAPTEL define to forcibly avoid building Zaptel support (issue #5634)
  171. * Makefile: various fixes (issue #5633)
  172. * apps/app_osplookup.c: upgrade to new arg/option API and implement priority jumping control
  173. * channels/chan_misdn.c: various fixes (issue #5639)
  174. * channels/misdn/isdn_lib.c: various fixes (issue #5639)
  175. * apps/app_playback.c: upgrade to new arg/option API and implement priority jumping control
  176. * apps/app_privacy.c: upgrade to new arg/option API and implement priority jumping control
  177. * apps/app_sendtext.c: upgrade to new arg/option API and implement priority jumping control
  178. * apps/app_transfer.c: upgrade to new arg/option API and implement priority jumping control
  179. * apps/app_txtcidname.c: upgrade to new arg/option API and implement priority jumping control
  180. * Makefile: restore function of 'dont-optimize'
  181. * config.c (config_text_file_load): don't generate log message when stat() fails
  182. * 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)
  183. 2005-11-06 Russell Bryant <russell@digium.com>
  184. * many files: alphabetize options in applicaiton descriptions
  185. * 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.
  186. * sounds.txt: Add missing words from the description of the vm-opts prompt
  187. * apps/app_externalivr.c: Add a space that fixes building on older versions of gcc
  188. * 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.
  189. * many files: Update applications to add an exit status variable, make priority jumping optional, and use new args parsing macros
  190. * 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.
  191. * channels/chan_agent.c: Don't loop forever on an invalid options string
  192. * apps/app_disa.c apps/app_forkcdr.c: Fix to use correct arguments to ast_cdr_reset
  193. 2005-11-05 Kevin P. Fleming <kpfleming@digium.com>
  194. * 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
  195. * asterisk.c: don't include asterisk/build.h (it's unnecessary)
  196. * cli.c: don't include asterisk/build.h, use extern references to buildinfo.c
  197. * buildinfo.c: new file to hold version info strings
  198. 2005-11-04 Kevin P. Fleming <kpfleming@digium.com>
  199. * apps/app_mixmonitor.c (mixmonitor_exec): correct app name in an error message
  200. 2005-11-04 Russell Bryant <russell@digium.com>
  201. * 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.
  202. 2005-11-04 Kevin P. Fleming <kpfleming@digium.com>
  203. * include/asterisk/compiler.h: don't try to use always_inline on old compilers
  204. 2005-11-03 Russell Bryant <russell@digium.com>
  205. * res/res_agi.c: initialize buffer for result so that the contents are always valid in the response to GET FULL VARIABLE
  206. 2005-11-03 Kevin P. Fleming <kpfleming@digium.com>
  207. * doc/README.variables: document DYNAMIC_FEATURES
  208. * res/res_features.c (ast_bridge_call): remove unused variables
  209. * apps/app_dial.c (dial_exec_full): simplify options and flag usage
  210. * include/asterisk/app.h: re-work application arg/option parsing APIs for consistent naming, add doxygen docs for option API
  211. * many files: update to new APIs
  212. 2005-11-02 Kevin P. Fleming <kpfleming@digium.com>
  213. * apps/app_dial.c (dial_exec_full): convert to use API calls for argument/option parsing
  214. * include/asterisk/channel.h: add doxygen docs for silence generator APIs
  215. * channel.c (ast_channel_bridge): simplify native-bridge return logic, remove 'unsuccessful' message since it causes too many questions :-)
  216. 2005-11-01 Kevin P. Fleming <kpfleming@digium.com>
  217. * stdtime/localtime.c: fix build failure on uClibc systems (issue #5558)
  218. * devicestate.c: same
  219. * many files: make chan_misdn actually build (issue #5566)
  220. * many files: more Cygwin build system support (issue #4678)
  221. * apps/app_parkandannounce.c (parkandannounce_exec): supply parent channel to ast_request_and_dial so channel variables can be inherited (issue #5564)
  222. * include/asterisk/channel.h: add parent_channel field
  223. * channel.c (__ast_request_and_dial): use parent_channel field to inherit variables into new channel
  224. * apps/app_cut.c (cut_internal): use ast_app_separate_args() instead of open code (issue #5560)
  225. * apps/app_mixmonitor.c (launch_monitor_thread): ast_strlen_zero can handle NULL input (issue #5561)
  226. (mixmonitor_exec): same
  227. * res/res_features.c (ast_feature_request_and_dial): ensure that channel variables are inherited from the channel placing the call (issue #5499)
  228. * utils.c (getloadavg): change to using _BSD_SOURCE as the indicator for whether this function is present or not (issue #5549)
  229. * include/asterisk/utils.h (ast_slinear_saturated_add): force to be inlined whenever possible
  230. (ast_slinear_saturated_multiply): same
  231. (ast_slinear_saturated_divide): same
  232. (inaddrcmp): same
  233. * include/asterisk/strings.h (ast_strlen_zero): force to be inlined whenever possible
  234. * include/asterisk/compiler.h (force_inline): add macro to force inlining of functions
  235. * app.c (ast_play_and_record): use ast_silence_generator during recording if requested
  236. * asterisk.c: add global option to enable silence-during-record (issue #5135)
  237. * channel.c (silence_generator_alloc): new
  238. (silence_generator_release): new
  239. (silence_generator_generate): new
  240. (ast_channel_start_silence_generator): new API call to start generating silence on a channel
  241. (ast_channel_stop_silence_generator): parallel call to stop silence generation
  242. * apps/app_record.c (record_exec): use ast_silence_generator during recording if requested
  243. 2005-11-01 Kevin P. Fleming <kpfleming@digium.com>
  244. * Asterisk 1.2.0-beta2 released.