- Mitglied seit
- 1 Apr 2004
- Beiträge
- 3,366
- Punkte für Reaktionen
- 0
- Punkte
- 36
changelog:
Code:
1 2008-01-30 Russell Bryant <[email protected]>
2
3 * Asterisk 1.4.18 released.
4
5 2008-01-30 15:41 +0000 [r101222] Joshua Colp <[email protected]>
6
7 * main/slinfactory.c: Fix an issue where if a frame of higher
8 sample size preceeded a frame of lower sample size and
9 ast_slinfactory_read was called with a sample size of the
10 combined values or higher a crash would happen. (closes issue
11 #11878) Reported by: stuarth
12
13 2008-01-30 15:34 +0000 [r101219] Jason Parker <[email protected]>
14
15 * configs/extensions.conf.sample: Change default config to use
16 descending channel order of groups, rather than ascending. Fixes
17 a potential source of confusion in glare-type situations. Issue
18 11875, reported by JimVanM.
19
20 2008-01-30 15:23 +0000 [r101216] Mark Michelson <[email protected]>
21
22 * apps/app_queue.c: Fix a logic error with regards to autofill.
23 Prior to this change, it was possible for a caller to go out of
24 turn if autofill were enabled and callers ahead in the queue were
25 attempting to call a member. This change fixes this.
26
27 2008-01-30 11:20 +0000 [r101152] Olle Johansson <[email protected]>
28
29 * channels/chan_sip.c: Stop musiconhold on attended transfer.
30 (closes issue #11872) Reported by: gareth Patches:
31 svn-101018.patch uploaded by gareth (license 208)
32
33 2008-01-29 23:50 +0000 [r101080] Dwayne M. Hubbard <[email protected]>
34
35 * build_tools/make_version: updated build_tools to handle the
36 autotag directory structure changes; changes related to BE-353.
37 Patch by The Russell and reviewed by The Me.
38
39 2008-01-29 23:02 +0000 [r100973-101035] Mark Michelson <[email protected]>
40
41 * apps/app_queue.c: Remove a memory leak from updating realtime
42 queues
43
44 * apps/app_queue.c: Fixing an erroneous return value returned when
45 attempting to pause or unpause a queue member fails. Fixes
46 BE-366, thanks to John Bigelow for writing the patch.
47
48 2008-01-29 17:57 +0000 [r100934] Joshua Colp <[email protected]>
49
50 * apps/app_mixmonitor.c: Don't forget to record the channel so we
51 know whether it is bridged or not later. (closes issue #11811)
52 Reported by: slavon
53
54 2008-01-29 17:43 +0000 [r100932] Russell Bryant <[email protected]>
55
56 * main/Makefile: Fix the last couple of issues related to building
57 from a path that contains spaces. (closes issue #11834)
58
59 2008-01-29 17:41 +0000 [r100930] Jason Parker <[email protected]>
60
61 * channels/misdn_config.c: Initialize an array to 0s if config
62 option not specified. (closes issue #11860) Patches:
63 misdn_get_config.v1.diff uploaded by IgorG (license 20)
64
65 2008-01-29 17:21 +0000 [r100882-100922] Russell Bryant <[email protected]>
66
67 * Makefile: Use GNU make magic instead of shell magic to escape
68 spaces in the working directory. (related to issue #11834)
69
70 * Makefile: Fix building Asterisk when the working path has spaces
71 in it. (closes issue #11834) Reported by: spendergrass Patched
72 by: me
73
74 2008-01-29 16:10 +0000 [r100835] Jason Parker <[email protected]>
75
76 * channels/chan_zap.c: Allow zap groups above 30 to work properly.
77 (closes issue #11590) Reported by: tbsky
78
79 2008-01-29 10:36 +0000 [r100793] Christian Richter <[email protected]>
80
81 * channels/chan_misdn.c: fixed potential segfault in misdn show
82 channels CLI command
83
84 2008-01-29 08:26 +0000 [r100740] Olle Johansson <[email protected]>
85
86 * channels/chan_sip.c: (closes issue #11736) Reported by: MVF
87 Patches: bug11736-2.diff uploaded by oej (license 306) Tested by:
88 oej, MVF, revolution (russellb: This was the showstopper for the
89 release.)
90
91 2008-01-28 21:02 +0000 [r100675] Tilghman Lesher <[email protected]>
92
93 * main/pbx.c: WaitExten didn't handle AbsoluteTimeout properly
94 (went to 't' instead of 'T')
95
96 2008-01-28 20:55 +0000 [r100673] Mark Michelson <[email protected]>
97
98 * channels/chan_vpb.cc, UPGRADE.txt: Undoing the deprecation of
99 chan_vpb. It is alive and well.
100
101 2008-01-28 20:42 +0000 [r100672] Jason Parker <[email protected]>
102
103 * apps/app_voicemail.c: When using ODBC_STORAGE, make sure we put
104 greeting files into the database like we do with the others.
105 Issue #11795 Reported by: dimas Patches: vmgreet.patch uploaded
106 by dimas (license 88)
107
108 2008-01-28 18:34 +0000 [r100626-100629] Russell Bryant <[email protected]>
109
110 * channels/chan_sip.c: For some reason, the use of this strdupa()
111 is leading to memory corruption on freebsd sparc64. This trivial
112 workaround fixes it. (closes issue #10300, closes issue #11857,
113 reported by mattias04 and Home-of-the-Brave)
114
115 * res/res_features.c: Fix a crash in ast_masq_park_call() (issue
116 #11342) Reported by: DEA Patches: res_features-park.txt uploaded
117 by DEA (license 3)
118
119 2008-01-28 18:23 +0000 [r100624] Jason Parker <[email protected]>
120
121 * channels/chan_zap.c: Correct a comment which made little/no
122 sense.
123
124 2008-01-28 17:15 +0000 [r100581] Russell Bryant <[email protected]>
125
126 * main/channel.c, channels/chan_local.c,
127 include/asterisk/channel.h: Make some deadlock related fixes.
128 These bugs were discovered and reported internally at Digium by
129 Steve Pitts. - Fix up chan_local to ensure that the channel lock
130 is held before the local pvt lock. - Don't hold the channel lock
131 when executing the timing function, as it can cause a deadlock
132 when using chan_local. This actually changes the code back to be
133 how it was before the change for issue #10765. But, I added some
134 other locking that I think will prevent the problem reported
135 there, as well.
136
137 2008-01-27 21:59 +0000 [r100465] Tilghman Lesher <[email protected]>
138
139 * main/rtp.c, channels/chan_mgcp.c, main/cdr.c,
140 channels/chan_misdn.c, main/dnsmgr.c, channels/chan_sip.c,
141 channels/chan_h323.c, include/asterisk/sched.h, main/file.c,
142 pbx/pbx_dundi.c, channels/chan_iax2.c: When deleting a task from
143 the scheduler, ignoring the return value could possibly cause
144 memory to be accessed after it is freed, which causes all sorts
145 of random memory corruption. Instead, if a deletion fails, wait a
146 bit and try again (noting that another thread could change our
147 taskid value). (closes issue #11386) Reported by: flujan Patches:
148 20080124__bug11386.diff.txt uploaded by Corydon76 (license 14)
149 Tested by: Corydon76, flujan, stuarth`
150
151 2008-01-25 22:32 +0000 [r100418] Mark Michelson <[email protected]>
152
153 * channels/chan_vpb.cc, UPGRADE.txt: Deprecating chan_vpb. It is
154 now preferred that users of Voicetronix products use chan_zap in
155 combination with their zaptel drivers.
156
157 2008-01-25 21:24 +0000 [r100378] Jason Parker <[email protected]>
158
159 * channels/chan_sip.c: This would have never been true, since we're
160 passing (sizeof(req.data) - 1) as the len to recvfrom().
161
162 2008-01-24 21:57 +0000 [r100264] Kevin P. Fleming <[email protected]>
163
164 * include/asterisk/app.h: make these macros not assume that the
165 only other field in the structure is 'argc'... this is true when
166 someone uses AST_DECLARE_APP_ARGS, but it's perfectly reasonable
167 to define your own structure as long as it has the right fields
168
169 2008-01-24 17:22 +0000 [r100164] Russell Bryant <[email protected]>
170
171 * main/asterisk.c: Update main Asterisk copyright info to 2008
172
173 2008-01-24 16:41 +0000 [r100138] Jason Parker <[email protected]>
174
175 * main/acl.c: Fix compilation on Solaris. (closes issue #11832)
176 Patches: bug-11832.diff uploaded by snuffy (license 35)
177
178 2008-01-23 21:07 +0000 [r99977-99978] Olle Johansson <[email protected]>
179
180 * channels/chan_sip.c: Second attempt. Don't change invitestate
181 when receiving 18x messages in CANCEL state. (issue #11736)
182 Reported by: MVF Patch by oej.
183
184 * channels/chan_sip.c: Make sure we don't cancel destruction on
185 calls in CANCEL state, even if we get 183 while waiting for
186 answer on our CANCEL. (issue #11736) Reported by: MVF Patches:
187 bug11736.txt uploaded by oej (license 306) Tested by: MVF
188
189 2008-01-23 20:25 +0000 [r99975] Mark Michelson <[email protected]>
190
191 * apps/app_externalivr.c: Fixing a typo.
192
193 2008-01-23 17:46 +0000 [r99923] Russell Bryant <[email protected]>
194
195 * apps/app_chanspy.c: ChanSpy issues a beep when it starts at the
196 beginning of a list of channels to potentially spy on. However,
197 if there were no matching channels, it would beep at you over and
198 over, which is pretty annoying. Now, it will only beep once in
199 the case that there are no channels to spy on, but it will still
200 beep again once it reaches the beginning of the channel list
201 again. (closes issue #11738, patched by me)
202
203 2008-01-23 16:18 +0000 [r99878] Mark Michelson <[email protected]>
204
205 * channels/chan_sip.c: These flag tests were illogical. They were
206 testing sip_peer flags on a sip_pvt. Thanks to Russell for
207 helping to get this odd problem figured out.
208
209 2008-01-23 04:31 +0000 [r99718-99777] Tilghman Lesher <[email protected]>
210
211 * apps/app_voicemail.c: When we reset the password via an external
212 command, we should also reset the password stored in the
213 in-memory list, too (otherwise it doesn't really take effect).
214 (closes issue #11809) Reported by: davetroy Patches:
215 fix_externpass.diff uploaded by davetroy (license 384)
216
217 * res/res_odbc.c: Oops, should have checked for a NULL obj, here,
218 too
219
220 * main/acl.c: Just confirmed that all current platforms need this
221 header file
222
223 2008-01-22 20:56 +0000 [r99652] Olle Johansson <[email protected]>
224
225 * channels/chan_sip.c: Thanks to Russell's education I realize that
226 BUFSIZ has changed since I learned the C language over 20 years
227 ago... Resetting chan_sip to the size of BUFSIZ that I expected
228 in my old head to avoid to heavy memory allocations on some
229 systems.
230
231 2008-01-22 20:34 +0000 [r99643] Tilghman Lesher <[email protected]>
232
233 * main/acl.c: Fix the defines for OS X (and Solaris, too)
234
235 2008-01-22 17:41 +0000 [r99592-99594] Olle Johansson <[email protected]>
236
237 * channels/chan_local.c, res/res_features.c, channels/chan_agent.c,
238 apps/app_followme.c: Add more dependencies on chan_local and add
239 a note to the description of chan_local so that people don't
240 disable it in menuselect just to clean up.
241
242 * apps/app_dial.c: Add dependency on chan_local to app_dial. Dial
243 still runs without chan_local, but will be missing forwarding
244 functionality.
245
246 2008-01-22 16:54 +0000 [r99540] Tilghman Lesher <[email protected]>
247
248 * main/acl.c: Ensure that we can get an address even when we don't
249 have a default route. (closes issue #9225) Reported by: junky
250 Patches: 20080122__bug9225.diff.txt uploaded by Corydon76
251 (license 14) Tested by: oej, loloski, sergee
252
253 2008-01-22 15:08 +0000 [r99501] Olle Johansson <[email protected]>
254
255 * channels/chan_sip.c: Cleaning up some documentation that led to
256 confusion in a bug report
257
258 2008-01-21 23:55 +0000 [r99426] Mark Michelson <[email protected]>
259
260 * channels/chan_local.c: Fixing an issue wherein monitoring local
261 channels was not possible. During a channel masquerade, the
262 monitors on the two channels involved are swapped. In 99% of the
263 cases this results in the desired effect. However, if monitoring
264 a local channel, this caused the monitor which was on the local
265 channel to get moved onto a channel which is immediately hung up
266 after the masquerade has completed. By swapping the monitors
267 prior to the masquerade, we avoid the problem by tricking the
268 masquerade into placing the monitor back onto the channel where
269 we want it. During the investigation of the issue, the channel's
270 monitor was the only thing that was swapped in such a manner
271 which did not make sense to have done. All other variable
272 swapping made sense.
273
274 2008-01-21 18:11 +0000 [r99341] Tilghman Lesher <[email protected]>
275
276 * res/res_odbc.c, configs/res_odbc.conf.sample,
277 include/asterisk/res_odbc.h: Permit the user to specify number of
278 seconds that a connection may remain idle, which fixes a crash on
279 reconnect with the MyODBC driver. (closes issue #11798) Reported
280 by: Corydon76 Patches: 20080119__res_odbc__idlecheck.diff.txt
281 uploaded by Corydon76 (license 14) Tested by: mvanbaak
282
283 2008-01-21 16:01 +0000 [r99301] Joshua Colp <[email protected]>
284
285 * channels/chan_sip.c: Bump the buffer size for Via headers up to
286 512. There are some exceptionally large Via headers out there.
287 (closes issue #11783) Reported by: ofirroval
288
289 2008-01-19 10:05 +0000 [r99187] Russell Bryant <[email protected]>
290
291 * main/slinfactory.c: Fix a couple of memory leaks with frame
292 handling. Specifically, ast_frame_free() needed to be called on
293 the frame that came from the translator to signed linear.
294
295 2008-01-18 22:57 +0000 [r99127] Joshua Colp <[email protected]>
296
297 * include/asterisk/channel.h: Remove the __ in front of the unused
298 variable. This causes some compilers to freak out.
299
300 2008-01-18 21:37 +0000 [r99079-99081] Russell Bryant <[email protected]>
301
302 * include/asterisk/translate.h, main/frame.c: Revert adding the
303 packed attribute, as it really doesn't make sense why that would
304 do any good. Fix the real bug, which is to do the check to see if
305 the frame came from a translator at the beginning of
306 ast_frame_free(), instead of at the end. This ensures that it
307 always gets checked, even if none of the parts of the frame are
308 malloc'd, and also ensures that we aren't looking at free'd
309 memory in the case that it is a malloc'd frame. (closes issue
310 #11792, reported by explidous, patched by me)
311
312 * include/asterisk/translate.h: Since we're relying on the offset
313 between the frame and the beginning of the translator pvt struct,
314 set the packed attribute to make sure we get to the right place.
315 (potential fix for issue #11792)
316
317 2008-01-18 17:13 +0000 [r99032] Terry Wilson <[email protected]>
318
319 * res/res_features.c: This should at least temporarily fix a
320 problem where the 't' Dial option is incorrectly passed to the
321 transferee when built-in attended transfers are used. There is
322 still a problem with 'T', but better to fix some problems than no
323 problems while we work on it. (closes issue #7904) Reported by:
324 k-egg Patches: transfer-fix-b14-r97657.diff uploaded by sergee
325 (license 138) Tested by: sergee, otherwiseguy
326
327 2008-01-17 23:42 +0000 [r99007-99014] Pari Nannapaneni <[email protected]>
328
329 * configs/cdr.conf.sample: doh! revert a revert of a revert
330 (changed by mistake in 99010)
331
332 * main/manager.c, configs/cdr.conf.sample: missed that one while
333 reverting
334
335 * main/manager.c: reverting 99001 - We need the Max-Age for
336 extending the life of cookie mansession_id
337
338 2008-01-17 22:37 +0000 [r99004] Russell Bryant <[email protected]>
339
340 * main/frame.c, channels/chan_iax2.c, include/asterisk/frame.h:
341 Have IAX2 optimize the codec translation path just like chan_sip
342 does it. If the caller's codec is in our codec list, move it to
343 the top to avoid transcoding. (closes issue #10500) Reported by:
344 stevedavies Patches: iax-prefer-current-codec.patch uploaded by
345 stevedavies (license 184) iax-prefer-current-codec.1.4.patch
346 uploaded by stevedavies (license 184) Tested by: stevedavies, pj,
347 sheldonh
348
349 2008-01-17 21:31 +0000 [r99001] Kevin P. Fleming <[email protected]>
350
351 * main/manager.c: we should only send the Set-Cookie header to the
352 browser on the first response after creating a manager session,
353 not on every response (doing so causes the browser to clear any
354 local cookies it may have associated with the session)
355
356 2008-01-17 16:19 +0000 [r98991] Jason Parker <[email protected]>
357
358 * configs/zapata.conf.sample: Add a clarification about the
359 immediate= option of zapata.conf Issue 11784, patch by klaus3000.
360
361 2008-01-16 22:36 +0000 [r98982] Russell Bryant <[email protected]>
362
363 * .cleancount, include/asterisk/channel.h: Add an unused pointer to
364 the ast_channel struct. This makes the ast_channel structure
365 retain the same size as it had in previous 1.4 releases. Also,
366 all of the offsets for members in the structure are still the
367 same (except for the two pointers that got replaced for the new
368 spy/whisper architecture.)
369
370 2008-01-16 20:34 +0000 [r98966-98973] Joshua Colp <[email protected]>
371
372 * .cleancount: Bump up cleancount due to previous commit that
373 changed the channel structure.
374
375 * apps/app_chanspy.c, apps/app_mixmonitor.c, main/rtp.c,
376 main/channel.c, apps/app_meetme.c, include/asterisk/audiohook.h
377 (added), main/Makefile, include/asterisk/chanspy.h (removed),
378 include/asterisk/channel.h, main/audiohook.c (added): Replace
379 current spy architecture with backport of audiohooks. This should
380 take care of current known spy issues.
381
382 * channels/chan_iax2.c: Add missing NULLs at end of two
383 ast_load_realtimes. (closes issue #11769) Reported by: tequ
384 Patches: chaniax.patch uploaded by dimas (license 88)
385
386 2008-01-16 17:20 +0000 [r98964] Mark Michelson <[email protected]>
387
388 * channels/chan_local.c: Fix a deadlock in chan_local in
389 local_hangup. There was contention because the local_pvt was held
390 and it was attempting to lock a channel, which is the incorrect
391 locking order. (closes issue #11730) Reported by: UDI-Doug
392 Patches: 11730.patch uploaded by putnopvut (license 60) Tested
393 by: UDI-Doug
394
395 2008-01-16 15:08 +0000 [r98951-98960] Joshua Colp <[email protected]>
396
397 * main/dial.c: Introduce a lock into the dialing API that protects
398 it when destroying the structure. (closes issue #11687) Reported
399 by: callguy Patches: 11687.diff uploaded by file (license 11)
400
401 * main/rtp.c: Add two more SDP names for ulaw and alaw. (closes
402 issue #11777) Reported by: tootai
403
404 * channels/chan_sip.c: Don't drop the old record route information
405 when dealing with packets related to a reinvite. (closes issue
406 #11545) Reported by: kebl0155 Patches: reinvite-patch.txt
407 uploaded by kebl0155 (license 356)
408
409 * build_tools/menuselect-deps.in, configure,
410 include/asterisk/autoconfig.h.in, codecs/codec_speex.c,
411 configure.ac, makeopts.in: Add autoconf logic for speexdsp. Later
412 versions use a separate library for some things so we need to use
413 it if present in codec_speex. (closes issue #11693) Reported by:
414 yzg
415
416 2008-01-15 23:50 +0000 [r98943-98946] Russell Bryant <[email protected]>
417
418 * channels/chan_sip.c: Change a buffer in check_auth() to be a
419 thread local dynamically allocated buffer, instead of a massive
420 buffer on the stack. This fixes a crash reported by Qwell due to
421 running out of stack space when building with LOW_MEMORY defined.
422 On a very related note, the usage of BUFSIZ in various places in
423 chan_sip is arbitrary and careless. BUFSIZ is a system specific
424 define. On my machine, it is 8192, but by definition (according
425 to google) could be as small as 256. So, this buffer in
426 check_auth was 16 kB. We don't even support SIP messages larger
427 than 4 kB! Further usage of this define should be avoided, unless
428 it is used in the proper context.
429
430 * main/rtp.c, include/asterisk/translate.h, main/frame.c,
431 main/translate.c, main/abstract_jb.c, channels/chan_iax2.c,
432 codecs/codec_zap.c, include/asterisk/frame.h: Commit a fix for
433 some memory access errors pointed out by the valgrind2.txt output
434 on issue #11698. The issue here is that it is possible for an
435 instance of a translator to get destroyed while the frame
436 allocated as a part of the translator is still being processed.
437 Specifically, this is possible anywhere between a call to
438 ast_read() and ast_frame_free(), which is _a lot_ of places in
439 the code. The reason this happens is that the channel might get
440 masqueraded during this time. During a masquerade, existing
441 translation paths get destroyed. So, this patch fixes the issue
442 in an API and ABI compatible way. (This one is for you,
443 paravoid!) It changes an int in ast_frame to be used as flag
444 bits. The 1 bit is still used to indicate that the frame contains
445 timing information. Also, a second flag has been added to
446 indicate that the frame came from a translator. When a frame with
447 this flag gets released and has this flag, a function is called
448 in translate.c to let it know that this frame is doing being
449 processed. At this point, the flag gets cleared. Also, if the
450 translator was requested to be destroyed while its internal frame
451 still had this flag set, its destruction has been deffered until
452 it finds out that the frame is no longer being processed.
453 Admittedly, this feels like a hack. But, it does fix the issue,
454 and I was not able to think of a better solution ...
455
456 2008-01-15 20:08 +0000 [r98894-98934] Joshua Colp <[email protected]>
457
458 * channels/chan_sip.c: Based on the boundary found move over the
459 correct amount. (closes issue #11750) Reported by: tasker
460
461 * channels/chan_sip.c: Accept "; boundary=" not just ";boundary="
462 in the multipart mixed content type. (closes issue #11750)
463 Reported by: tasker
464
465 2008-01-14 20:59 +0000 [r98849] Mark Michelson <[email protected]>
466
467 * apps/app_voicemail.c: Adding in appropriate unlocks for the locks
468 I added. Thanks to joetester on IRC for pointing this out.
469
470 2008-01-14 17:38 +0000 [r98774] Russell Bryant <[email protected]>
471
472 * main/translate.c: Revert a change that introduces an unacceptable
473 performance hit and is causing memory leaks ... (from rev 97973)
474
475 2008-01-14 16:35 +0000 [r98733-98737] Mark Michelson <[email protected]>
476
477 * apps/app_queue.c: Fixing another compilation error. I'm a bit off
478 today :(
479
480 * apps/app_queue.c: Oops. Last commit had compilation error.
481
482 * apps/app_queue.c: Adding explicit defaults for missing options to
483 init_queue. This is necessary because if a user either removes or
484 comments one of these options and reloads their queues, the
485 option will not reset to its default, instead maintaining the
486 value from prior to the reload. Thanks to John Bigelow for
487 pointing this error out to me.
488
489 2008-01-12 00:05 +0000 [r98467] Tilghman Lesher <[email protected]>
490
491 * res/res_odbc.c: Add a connection timeout attribute, as that was
492 what was intended with the login timeout, but ODBC divides it up
493 into 2 different timeouts. (Closes issue #11745)
494
495 2008-01-11 22:46 +0000 [r98390] Russell Bryant <[email protected]>
496
497 * pbx/pbx_dundi.c: Fix up setting the EID on BSD based systems.
498 (closes issue #11646) Reported by: caio1982 Patches:
499 dundi_osx_eid6.diff.txt uploaded by caio1982 (license 22)
500 dundi_osx_eid6-1.4.diff uploaded by caio1982 (license 22) Tested
501 by: caio1982, mvanbaak
502
503 2008-01-11 21:28 +0000 [r98372] Pari Nannapaneni <[email protected]>
504
505 * main/http.c: Comment explaining how to force browser to always
506 read some html files from server.
507
508 2008-01-11 19:51 +0000 [r98317-98325] Joshua Colp <[email protected]>
509
510 * main/rtp.c: If the incoming RTP stream changes codec force the
511 bridge to break if the other side does not support it. (closes
512 issue #11729) Reported by: tsearle Patches:
513 new_codec_patch_udiff.patch uploaded by tsearle (license 373)
514
515 * res/res_agi.c: If the channel is hungup during RECORD FILE send a
516 result code of -1 to be uniform with everything else. (closes
517 issue #11743) Reported by: davevg Patches: res_agi.diff uploaded
518 by davevg (license 209)
519
520 2008-01-11 19:10 +0000 [r98315] Mark Michelson <[email protected]>
521
522 * main/channel.c: Properly report the hangup cause as no answer
523 when someone does not answer (closes issue #10574, reported by
524 boch, patched by moy)
525
526 2008-01-11 18:25 +0000 [r98266] Tilghman Lesher <[email protected]>
527
528 * codecs/gsm/Makefile: Add another exception (which doesn't work)
529 for -march optimization flag. Reported by: thomasmebes Patch by:
530 tilghman (Closes issue #11563)
531
532 2008-01-11 18:25 +0000 [r98265] Russell Bryant <[email protected]>
533
534 * doc/security.txt, main/asterisk.c, configure,
535 include/asterisk/autoconfig.h.in, main/Makefile, configure.ac,
536 makeopts.in: Backport the ability to set the ToS bits on Linux
537 when not running as root. Normally, we would not backport
538 features into 1.4, but, I was convinced by the justification
539 supplied by the supplier of this patch. He pointed out that this
540 patch removes a requirement for running as root, thus reducing
541 the potential impacts of security issues. (closes issue #11742)
542 Reported by: paravoid Patches: libcap.diff uploaded by paravoid
543 (license 200)
544
545 2008-01-11 17:22 +0000 [r98219] Joshua Colp <[email protected]>
546
547 * apps/app_followme.c: Ensure the return value of ast_bridge_call
548 is passed back up as the application return value. This is needed
549 for transfers to function so the PBX core knows to continue
550 execution. (closes issue #10327) Reported by: kkiely
551
552 2008-01-11 15:52 +0000 [r98164] Tilghman Lesher <[email protected]>
553
554 * channels/chan_sip.c: Back out changes from revision 97077, since
555 it wasn't perfect
556
557 2008-01-11 03:39 +0000 [r97976-98082] Russell Bryant <[email protected]>
558
559 * main/frame.c: Fix samples vs. length calculations for g722
560
561 * main/translate.c: Simplify this code with a suggestion from Luigi
562 on the asterisk-dev list. Instead of using is16kHz(), implement a
563 format_rate() function.
564
565 * main/translate.c: Fix various timing calculations that made
566 assumptions that the audio being processed was at a sample rate
567 of 8 kHz.
568
569 2008-01-10 23:08 +0000 [r97973] Tilghman Lesher <[email protected]>
570
571 * channels/chan_sip.c, main/translate.c: 1) When we get a
572 translated frame out, clone it, because if the translator pvt is
573 freed before we use the frame, bad things happen. 2) Getting a
574 failure from ast_sched_delete means that the schedule ID is
575 currently running. Don't just ignore it. (Closes issue #11698)
576
577 2008-01-10 21:57 +0000 [r97925] Mark Michelson <[email protected]>
578
579 * apps/app_voicemail.c: Let us leave a voicemail for ourself if we
580 have logged into VoiceMailMain and chosen to leave a message.
581 (closes issue #11735, reported and patched by jamessan)
582
583 2008-01-10 21:37 +0000 [r97849-97889] Steve Murphy <[email protected]>
584
585 * pbx/ael/ael_lex.c, pbx/Makefile, pbx/ael/ael.flex: Applied the
586 same fixes for ael.flex as was done in 97849 for ast_expr2.fl;
587 overrode the normally generate yyfree func with our own version
588 that checks the pointer for non-null before passing to free().
589 Also takes care of a little problem with 2.5.33 and the use of
590 the __STDC_VERSION__ macro.
591
592 * main/ast_expr2.fl, main/Makefile, main/ast_expr2f.c: This is a
593 fix for 2 things: a problem Terry was having in OSX with null
594 pointers, which was my fault, as I probably forgot to run the sed
595 script last time I made mods. So, I moved the fix into the flex
596 input itself. Then, I found when I used flex 2.5.33, that it was
597 using __STDC_VERSION__, and that's not real good; so I added back
598 in a DIFFERENT sed script to fix that little mess. Tested
599 everything, a couple different ways. Hope I did no harm, at the
600 least.
601
602 2008-01-10 20:12 +0000 [r97847] Jason Parker <[email protected]>
603
604 * include/asterisk/frame.h: Fix a comment that is no longer true.
605
606 2008-01-10 16:19 +0000 [r97734-97753] Russell Bryant <[email protected]>
607
608 * pbx/pbx_kdeconsole.h (removed), configs/modules.conf.sample,
609 pbx/kdeconsole_main.cc (removed): Remove other remnants of
610 pbx_kdeconsole
611
612 * pbx/pbx_kdeconsole.cc (removed), build_tools/menuselect-deps.in,
613 configure, include/asterisk/autoconfig.h.in, configure.ac,
614 makeopts.in: Remove pbx_kdeconsole from the tree. It hasn't
615 worked in ages, and nobody has complained. (closes issue #11706,
616 reported by caio1982)
617
618 2008-01-10 15:07 +0000 [r97697] Joshua Colp <[email protected]>
619
620 * funcs/func_groupcount.c: Don't try to copy the category from the
621 group if no category exists. (closes issue #11724) Reported by:
622 IgorG Patches: group_count.v1.patch uploaded by IgorG (license
623 20)
624
625 2008-01-09 23:01 +0000 [r97640-97645] Russell Bryant <[email protected]>
626
627 * pbx/pbx_gtkconsole.c: Strip terminal sequences from the verbose
628 messages
629
630 * pbx/pbx_gtkconsole.c: Make pbx_gtkconsole build ... but doesn't
631 actually load on my system still (related to issue #11706)
632
633 2008-01-09 20:28 +0000 [r97618-97622] Jason Parker <[email protected]>
634
635 * main/cli.c: Correctly display a message if a command could not be
636 found. Also fix a comment which may have led to this happening.
637 Issue 11718, reported by kshumard.
638
639 * main/cli.c: Fix some locking and return value funkiness. We
640 really shouldn't be unlocking this lock inside of a function,
641 unless we locked it there too.
642
643 2008-01-09 18:48 +0000 [r97575] Mark Michelson <[email protected]>
644
645 * apps/app_queue.c: Part 2 of app_queue doxygen improvements. Some
646 smaller functions this time
647
648 2008-01-09 18:02 +0000 [r97529] Russell Bryant <[email protected]>
649
650 * res/res_features.c: Fix saying the parking space number to the
651 caller doing the parking ...
652
653 2008-01-09 17:21 +0000 [r97491] Kevin P. Fleming <[email protected]>
654
655 * codecs/codec_zap.c: report the same message whether Zaptel does
656 not have transcoder support loaded or no transcoders were found
657
658 2008-01-09 16:44 +0000 [r97489] Philippe Sultan <[email protected]>
659
660 * channels/chan_gtalk.c: Set the caller id within the gtalk_alloc
661 function. As underlined in issue #10437 by Josh, we need to
662 prevent a possible memory leak. We only set the name part of the
663 caller id, the number part is not relevant when dealing with
664 JIDs. Closes issue #11549.
665
666 2008-01-09 16:11 +0000 [r97450] Joshua Colp <[email protected]>
667
668 * apps/app_meetme.c: Don't do conferencing totally in Zaptel if
669 Monitor is running on the channel. (closes issue #11709) Reported
670 by: BigJimmy Patches: patch-meetmerec uploaded by BigJimmy
671 (license 371)
672
673 2008-01-09 15:43 +0000 [r97410-97448] Kevin P. Fleming <[email protected]>
674
675 * channels/chan_zap.c: pass the right variable to get an error
676 string... oops
677
678 * channels/chan_zap.c: add error number output to ioctl failure
679 messages to help with debugging
680
681 2008-01-09 00:44 +0000 [r97350] Tilghman Lesher <[email protected]>
682
683 * main/cli.c, main/editline/readline.c: Allow filename completion
684 on zero-length modules, remove a memory leak, remove a file
685 descriptor leak, and make filename completion thread-safe.
686 Patched and tested by tilghman. (Closes issue #11681)
687
688 2008-01-09 00:17 +0000 [r97206-97308] Mark Michelson <[email protected]>
689
690 * apps/app_queue.c: use the \retval doxygen command properly
691
692 * apps/app_queue.c: Part 1 of N of adding doxygen comments to
693 app_queue. I picked some of the most common functions used (which
694 also happen to be some the biggest/ugliest functions too) to
695 document first. I'm pretty new to doxygen so criticism is
696 welcome.
697
698 * apps/app_queue.c: Some coding guidelines-related cleanup
699
700 2008-01-08 20:48 +0000 [r97195] Joshua Colp <[email protected]>
701
702 * channels/chan_mgcp.c: Fix various DTMF issues in chan_mgcp.
703 (closes issue #11443) Reported by: eferro Patches:
704 dtmf_control_hybrid-inband-mode.patch uploaded by eferro (license
705 337)
706
707 2008-01-08 20:47 +0000 [r97194] Tilghman Lesher <[email protected]>
708
709 * main/autoservice.c, main/utils.c: Increase constants to where
710 we're less likely to hit them while debugging. (Closes issue
711 #11694)
712
713 2008-01-08 20:42 +0000 [r97192] Mark Michelson <[email protected]>
714
715 * apps/app_voicemail.c: Making some changes designed to not allow
716 for a corrupted mailstream for a vm_state. 1. Add locking to the
717 vm_state retrieval functions so that no linked list corruption
718 occurs. 2. Make sure to always grab the persistent vm_state when
719 mailstream access is necessary. 3. Correct an incorrect return
720 value in the init_mailstream function. (closes issue #11304,
721 reported by dwhite)
722
723 2008-01-08 19:53 +0000 [r97093-97152] Joshua Colp <[email protected]>
724
725 * funcs/func_groupcount.c: If no group has been provided to the
726 GROUP_COUNT dialplan function then use the first one specific to
727 the channel. (closes issue #11077) Reported by: m4him
728
729 * apps/app_queue.c: Make app_queue calls work with directed pickup.
730 (closes issue #11700) Reported by: jbauer
731
732 2008-01-08 18:02 +0000 [r97077] Tilghman Lesher <[email protected]>
733
734 * main/asterisk.c, channels/chan_sip.c: Apply multiple crash fixes,
735 found in issue #11386, but not completely closing that issue.
736
737 2008-01-07 20:47 +0000 [r96884-96932] Russell Bryant <[email protected]>
738
739 * configs/extensions.conf.sample, /: Merged revisions 96931 via
740 svnmerge from
741 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
742 r96931 | russell | 2008-01-07 14:46:22 -0600 (Mon, 07 Jan 2008) |
743 2 lines Change misery.digium.com to pbx.digium.com ........
744
745 * res/res_smdi.c: Don't crash if something happens when setting up
746 an SMDI interface and it gets destroyed before the SMDI port
747 handling thread gets created.
748
749 2008-01-07 14:34 +0000 [r96797-96815] Philippe Sultan <[email protected]>
750
751 * res/res_jabber.c: Indentation fix, makes the code easier to read
752
753 * res/res_jabber.c: Compute the base64 value over the
754 [authzid]\0authcid\0password string, thus excluding the trailing
755 NULL byte. This change has already been committed to trunk, see
756 #11644.
757
758 2008-01-05 02:09 +0000 [r96644] Russell Bryant <[email protected]>
759
760 * main/devicestate.c: Don't pass an empty string as the device
761 name.
762
763 2008-01-04 23:03 +0000 [r96575] Tilghman Lesher <[email protected]>
764
765 * main/devicestate.c: Fix the problem of notification of a device
766 state change to a device with a '-' in the name. Could probably
767 do with a better fix in trunk, but this bug has been open way too
768 long without a better solution. Reported by: stevedavies Patch
769 by: tilghman (Closes issue #9668)
770
771 2008-01-04 22:55 +0000 [r96573] Jason Parker <[email protected]>
772
773 * res/res_features.c: Properly continue in the dialplan if using
774 PARKINGEXTEN and the slot is full. Issue 11237, patch by me.
775
776 2008-01-04 19:27 +0000 [r96525] Tilghman Lesher <[email protected]>
777
778 * channels/chan_sip.c: If you change the bindaddr in sip.conf to a
779 non-bound address and reload, sip goes kablooie. Reported and
780 patched by: one47 (Closes issue #11535)
781
782 2008-01-04 16:19 +0000 [r96394-96449] Russell Bryant <[email protected]>
783
784 * channels/chan_zap.c: Make use of the temporary channel pointer
785 while the pvt is unlocked. (closes issue #11675) Reported by:
786 flefoll Patches: chan_zap.c.patch-store-owner-before-unlock
787 uploaded by flefoll (license 244)
788
789 * channels/chan_iax2.c: Don't crash if the iax2 pvt structure has
790 been destroyed before we get to this point (closes issue #11672,
791 reported by snuffy, patched by me)
792
793 2008-01-03 21:37 +0000 [r96318] Tilghman Lesher <[email protected]>
794
795 * res/res_config_pgsql.c: Missed initialization caused crash.
796 Reported and fixed by: tiziano (Closes issue #11671)
797
798 2008-01-03 12:12 +0000 [r96198-96199] Christian Richter <[email protected]>
799
800 * channels/chan_misdn.c: make sure frame is completely clean,
801 before we send it to asterisk as DTMF. If we don't make it clean,
802 it happens that one way audio occurs..
803
804 * channels/chan_misdn.c: when overlapdial was used and no number
805 was dialed, the call was dropped, now we just jump into the s
806 extension, which makes a lot more sense.
807
808 2008-01-02 23:46 +0000 [r96102] Mark Michelson <[email protected]>
809
810 * apps/app_queue.c: We need to reset the membername to NULL on each
811 iteration of this loop, otherwise the result is that multiple
812 members can have the same name, since the variable was not reset
813 on each iteration of the loop.
814
815 2008-01-02 22:14 +0000 [r96020-96024] Russell Bryant <[email protected]>
816
817 * pbx/pbx_config.c: Convert locks of the contexts list in
818 pbx_config to the appropriate rdlock or wrlock
819
820 * pbx/pbx_dundi.c: pbx_dundi only needs a rdlock on the contexts
821 list.
822
823 * apps/app_macro.c: app_macro only needs a rdlock on the contexts
824 list.