1 2008-09-09 Russell Bryant <russell@digium.com>
3 * Asterisk 1.4.22-rc5 released.
5 2008-09-09 15:40 +0000 [r142063] Russell Bryant <russell@digium.com>
7 * res/res_features.c: Ensure that the stored CDR reference is still
8 valid after the bridge before poking at it. Also, keep the
9 channel locked while messing with this CDR. (fixes crashes
10 reported in issue #13409)
12 2008-09-08 21:10 +0000 [r141809] Mark Michelson <mmichelson@digium.com>
14 * channels/chan_sip.c: Fix pedantic mode of chan_sip to only check
15 the remote tag of an endpoint once a dialog has been confirmed.
16 Up until that point, it is possible and legal for the far-end to
17 send provisional responses with a different To: tag each time.
18 With this patch applied, these provisional messages will not
19 cause a matching problem. (closes issue #11536) Reported by: ibc
20 Patches: 11536v2.patch uploaded by putnopvut (license 60)
22 2008-09-08 21:02 +0000 [r141806] Russell Bryant <russell@digium.com>
24 * main/pbx.c: When doing an async goto, detect if the channel is
25 already in the middle of a masquerade. This can happen when
26 chan_local is trying to optimize itself out. If this happens,
27 fail the async goto instead of bursting into flames. (closes
28 issue #13435) Reported by: geoff2010
30 2008-09-08 20:15 +0000 [r141741] Jason Parker <jparker@digium.com>
32 * Makefile, redhat (removed): Remove RPM package targets from
33 Makefile (and all associated parts). This has never worked in
34 1.4, and we decided that it makes no sense to be done here. There
35 are many distros out there that already have "proper" spec files
36 that can be (re)used. Closes issue #13113 Closes issue #10950
39 2008-09-08 Russell Bryant <russell@digium.com>
41 * Asterisk 1.4.22-rc4 released.
43 2008-09-08 20:15 +0000 [r141741] Jason Parker <jparker@digium.com>
45 * Makefile, redhat (removed): Remove RPM package targets from
46 Makefile (and all associated parts). This has never worked in
47 1.4, and we decided that it makes no sense to be done here. There
48 are many distros out there that already have "proper" spec files
49 that can be (re)used. Closes issue #13113 Closes issue #10950
52 2008-09-08 16:26 +0000 [r141678] Russell Bryant <russell@digium.com>
54 * configure, configure.ac: Actually use Zaptel CFLAGS if using
55 Zaptel instead of DAHDI This fixes building against Zaptel when
58 2008-09-06 20:13 +0000 [r141565] Steve Murphy <murf@digium.com>
60 * channels/chan_sip.c: This fix comes from Joshua Colp The
61 Brilliant, who, given the trace, came up with a solution. This
62 will most likely will close 13235 and 13409. I'll wait till
63 Monday to verify, and then close these bugs.
65 2008-09-06 15:23 +0000 [r141503] Tilghman Lesher <tlesher@digium.com>
67 * res/res_agi.c: Reverting behavior change (AGI should not exit
68 non-zero on SUCCESS) (closes issue #13434) Reported by:
71 2008-09-05 21:10 +0000 [r141217-141366] Mark Michelson <mmichelson@digium.com>
73 * channels/chan_agent.c: Agent's should not try to call a channel's
74 indicate callback if the channel has been hung up. It will likely
75 crash otherwise ABE-1159
77 * apps/app_voicemail.c: Since greetings are not stored in IMAP, we
78 should not be DISPOSE'ing of them the same way we do with other
79 messages. (closes issue #13414) Reported by: mthomasslo Patches:
80 13414v2.patch uploaded by putnopvut (license 60) Tested by:
83 * channels/chan_sip.c: Commit 140417 had a logic flaw in it which
84 caused port 5060 to always be used when dialing a peer if no
85 explicit port was specified. This broke the behavior of
86 implicitly using the port from which the peer registered if no
87 port is specified. This commit fixes the logic flaw. (closes
88 issue #13424) Reported by: mdu113 Patches: 13424.patch uploaded
89 by putnopvut (license 60) Tested by: mdu113
91 2008-09-05 14:15 +0000 [r141094-141156] Steve Murphy <murf@digium.com>
93 * main/channel.c: A small change to prevent double-posting of
94 CDR's; thanks to Daniel Ferrer for bringing it to our attention
96 * pbx/ael/ael-test/ref.ael-vtest25 (added),
97 pbx/ael/ael-test/ael-vtest25/extensions.ael (added),
98 pbx/ael/ael-test/ael-vtest25 (added), pbx/ael/ael_lex.c,
99 pbx/ael/ael-test/ref.ael-test6, pbx/ael/ael.flex: (closes issue
100 #13357) Reported by: pj Tested by: murf (closes issue #13416)
101 Reported by: yarns Tested by: murf If you find this message
102 overly verbose, relax, it's probably not meant for you. This
103 message is meant for probably only two people in the whole world:
104 me, or the poor schnook that has to maintain this code because
105 I'm either dead or unavailable at the moment. This fix solves two
106 reports, both having to do with embedding a function call in a
107 ${} construct. It was tricky because the funccall syntax has
108 parenthesis () in it. And up till now, the 'word' token in the
109 flex stuff didn't allow that, because it would tend to steal the
110 LP and RP tokens. To be truthful, the "word" token was the
111 trickiest, most unstable thing in the whole lexer. I was lucky it
112 made this long without complaints. I had to choose every
113 character in the pattern with extreme care, and I knew that
114 someday I'd have to revisit it. Well, the day has come. So, my
115 brilliant idea (and I'm being modest), was to use the surrounding
116 ${} construct to make a state machine and capture everything in
117 it, no matter what it contains. But, I have to now treat the word
118 token like I did with comments, in that I turn the whole thing
119 into a state-machine sort of spec, with new contexts
120 "curlystate", "wordstate", and "brackstate". Wait a minute,
121 "brackstate"? Yes, well, it didn't take very many regression
122 tests to point out if I do this for ${} constructs, I also have
123 to do it with the $[] constructs, too. I had to create a separate
124 pcbstack2 and pcbstack3 because these constructs can occur inside
125 macro argument lists, and when we have two state machines
126 operating on the same structures we'd get problems otherwise. I
127 guess I could have stopped at pcbstack2 and had the brackstate
128 stuff share it, but it doesn't hurt to be safe. So, the pcbpush
129 and pcbpop routines also now have versions for "2" and "3". I had
130 to add the {KEYWORD} construct to the initial pattern for "word",
131 because previously word would match stuff like "default7",
132 because it was a longer match than the keyword "default". But,
133 not any more, because the word pattern only matches only one or
134 two characters now, and it will always lose. So, I made it the
135 winner again by making an optional match on any of the keywords
136 before it's normal pattern. I added another regression test to
137 make sure we don't lose this in future edits, and had to fix just
138 one regression, where it no longer reports a 'cascaded' error,
139 which I guess is a plus. I've given some thought as to whether to
140 apply these fixes to 1.4 and the 1.6.x releases, vs trunk; I
141 decided to put it in 1.4 because one of the bug reports was
142 against 1.4; and it is unexpected that AEL cannot handle this
143 situation. It actually reduced the amount of useless "cascade"
144 error messages that appeared in the regressions (by one line,
145 ehhem). There is a possible side-effect in that it does now do
146 more careful checking of what's in those ${} constructs, as far
147 as matching parens, and brackets are concerned. Some users may
148 find a an insidious problem and correct it this way. This should
149 be exceedingly rare, I hope.
151 2008-09-04 17:00 +0000 [r141028] Jeff Peeler <jpeeler@digium.com>
153 * res/res_features.c, res/res_agi.c: (closes issue #11979) Fixes
154 multiple parking problems: Crash when executing a park on an
155 extension dialed by AGI due to not returning the proper return
156 code. Crash when using a builtin feature that was a subset of a
157 enabled dynamic feature. Crash due to always hanging up the peer
158 despite the fact that the peer was supposed to be parked.
160 2008-09-03 Russell Bryant <russell@digium.com>
162 * Asterisk 1.4.22-rc3 released.
164 2008-09-03 14:29 +0000 [r140850] Mark Michelson <mmichelson@digium.com>
166 * apps/app_voicemail.c: Fix voicemail forwarding when using ODBC
167 storage. (closes issue #13387) Reported by: moliveras Patches:
168 13387.patch uploaded by putnopvut (license 60) Tested by:
171 2008-09-03 13:24 +0000 [r140816] Russell Bryant <russell@digium.com>
173 * main/poll.c: Don't freak out if the poll emulation receives NULL
174 for the pollfds array (closes issue #13307) Reported by: jcovert
176 2008-09-02 23:47 +0000 [r140751] Mark Michelson <mmichelson@digium.com>
178 * apps/app_voicemail.c: After adding the context checking to
179 app_voicemail for IMAP storage, I left out a crucial place to
180 copy the context to the vm_state structure. This is the
183 2008-09-02 23:36 +0000 [r140670-140747] Steve Murphy <murf@digium.com>
185 * main/cdr.c: I am turning the warnings generated in ast_cdr_free
186 and post_cdr into verbose level 2 messages. Really, they matter
187 little to end users. You either get the CDR's you wanted, or you
188 don't, and it is a bug.
190 * main/channel.c: After reconsidering, with respect to 13409,
191 ast_cdr_detach should be OK, better in fact, than ast_cdr_free,
192 which generates lots of useless warnings that will undoubtably
195 * main/channel.c, main/pbx.c: (closes issue #13409) Reported by:
196 tomaso Patches: asterisk-1.6.0-rc2-cdrmemleak.patch uploaded by
197 tomaso (license 564) I basically spent the day, verifying that
198 this patch solves the problem, and doesn't hurt in non-problem
199 cases. Why valgrind did not plainly reveal this leak absolutely
200 mystifies and stuns me. Many, many thanks to tomaso for finding
201 and providing the fix.
203 2008-09-02 18:14 +0000 [r140605] Sean Bright <sean.bright@gmail.com>
205 * channels/chan_iax2.c: Make sure to use the correct length of the
206 mohinterpret and mohsuggest buffers when copying configuration
207 values. (closes issue #13336) Reported by:
208 decryptus_proformatique Patches:
209 chan_iax2_mohinterpret_mohsuggest_general_settings.patch uploaded
210 by decryptus (license 555)
212 2008-08-29 17:34 +0000 [r140417-140488] Mark Michelson <mmichelson@digium.com>
214 * main/manager.c, apps/app_queue.c, channels/chan_iax2.c: After
215 working on the ao2_containers branch, I noticed something a bit
216 strange. In all cases where we provide a callback function to
217 ao2_container_alloc, the callback function would only return 0 or
218 CMP_MATCH. After inspecting the ao2_callback() code carefully, I
219 found that if you're only looking for one specific item, then you
220 should return CMP_MATCH | CMP_STOP. Otherwise, astobj2 will
221 continue traversing the current bucket until the end searching
222 for more matches. In cases like chan_iax2 where in 1.4, all the
223 peers are shoved into a single bucket, this makes for potentially
224 terrible performance since the entire bucket will be traversed
225 even if the peer is one of the first ones come across in the
226 bucket. All the changes I have made were for cases where the
227 callback function defined was passed to ao2_container_alloc so
228 that calls to ao2_find could find a unique instance of whatever
229 object was being stored in the container.
231 * apps/app_voicemail.c: Add context checking when retrieving a
232 vm_state. This was causing a problem for people who had
233 identically named mailboxes in separate voicemail contexts. This
234 commit affects IMAP storage only. (closes issue #13194) Reported
235 by: moliveras Patches: 13194.patch uploaded by putnopvut (license
236 60) Tested by: putnopvut, moliveras
238 * channels/chan_sip.c: Fix SIP's parsing so that if a port is
239 specified in a string to Dial(), it is not ignored. (closes issue
240 #13355) Reported by: acunningham Patches: 13355v2.patch uploaded
241 by putnopvut (license 60) Tested by: acunningham
243 2008-08-27 19:49 +0000 [r140299] Mark Michelson <mmichelson@digium.com>
245 * channels/chan_sip.c: Fix tag checking in get_sip_pvt_byid_locked
246 when in pedantic mode. The problem was that the wrong tags would
247 be compared depending on the direction of the call. (closes issue
248 #13353) Reported by: flefoll Patches:
249 chan_sip.c.br14.139015.patch-refer-pedantic uploaded by flefoll
252 2008-08-26 16:49 +0000 [r140115] Jeff Peeler <jpeeler@digium.com>
254 * channels/chan_dahdi.c: add HAVE_PRI if define around
257 2008-08-26 16:07 +0000 [r140060] Russell Bryant <russell@digium.com>
259 * channels/chan_sip.c: Fix some bogus scheduler usage in chan_sip.
260 This code used the return value of a completely unrelated
261 function to determine whether the scheduler should be run or not.
262 This would have caused the scheduler to not run in cases where it
263 should have. Also, leave a note about another scheduler issue
264 that needs to be addressed at some point.
266 2008-08-26 15:57 +0000 [r140056] Jeff Peeler <jpeeler@digium.com>
268 * channels/chan_dahdi.c: (closes issue #12071) Reported by: tzafrir
269 Patches: dahdi_close.diff uploaded by tzafrir (license 46) Tested
270 by: tzafrir, jpeeler This patch fixes closing open file
271 descriptors in the case of an error.
273 2008-08-26 15:27 +0000 [r140051] Russell Bryant <russell@digium.com>
275 * channels/chan_iax2.c: Fix a race condition with the IAX scheduler
276 thread. A lock and condition are used here to allow newly
277 scheduled tasks to wake up the scheduler just in case the new
278 task needs to run sooner than the current wakeup time when the
279 thread is sleeping. However, there was a race condition such that
280 a newly scheduled task would not properly wake up the scheduler
281 or affect the wake up period. The order of execution would have
282 been: 1) Scheduler thread determines wake up time of N ms. 2)
283 Another thread schedules a task and signals the condition, with
284 an execution time of < N ms. 3) Scheduler thread locks and goes
285 to sleep for N ms. By moving the sleep time determination to
286 inside the critical section, this possibility is avoided.
288 2008-08-26 15:22 +0000 [r140050] Terry Wilson <twilson@digium.com>
290 * Makefile: sounds/Makefile installs sounds using the "new"
291 language directory structure, but languageprefix needs to be set
292 = yes for sounds in subdirectories (digits/1, etc.) to play as
293 the correct language. Fix the generation of asterisk.conf to
294 include languageprefix=yes
296 2008-08-26 14:09 +0000 [r140029] Kevin P. Fleming <kpfleming@digium.com>
298 * channels/chan_dahdi.c: correct a file location in an error
301 2008-08-25 21:47 +0000 [r139927] Jeff Peeler <jpeeler@digium.com>
303 * main/manager.c: Fix a typo I made. Lesson learned, apply the
306 2008-08-25 21:31 +0000 [r139909] Sean Bright <sean.bright@gmail.com>
308 * build_tools/get_moduleinfo, build_tools/get_makeopts: Some
309 versions of awk (nawk, for example) don't like empty regular
310 expressions so be slightly more verbose. (closes issue #13374)
311 Reported by: dougm Patches: 13374.diff uploaded by seanbright
312 (license 71) Tested by: dougm
314 2008-08-25 20:46 +0000 [r139869] Terry Wilson <twilson@digium.com>
316 * channels/chan_sip.c: Make SIPADDHEADER() propagate indefinitely
318 2008-08-25 15:52 +0000 [r139769] Mark Michelson <mmichelson@digium.com>
320 * main/config.c: Fix the logic in config_text_file_save so that if
321 an UpdateConfig manager action is issued and the file specified
322 in DstFileName does not yet exist, an error is not returned.
323 (closes issue #13341) Reported by: vadim Patches: 13341.patch
324 uploaded by putnopvut (license 60) (with small modification from
327 2008-08-25 15:33 +0000 [r139764] Steve Murphy <murf@digium.com>
329 * main/pbx.c, res/res_features.c: This patch reverts the changes
330 made via 139347, and 139635, as users are seeing adverse
331 difference. I will un-close 13251. Back to the drawing board/
332 concept/ beginning/ whatever!
334 2008-08-22 22:24 +0000 [r139635] Steve Murphy <murf@digium.com>
336 * res/res_features.c: I found some problems with the code I
337 committed earlier, when I merged them into trunk, so I'm coming
338 back to clean up. And, in the process, I found an error in the
339 code I added to trunk and 1.6.x, that I'll fix using this patch
342 2008-08-22 21:36 +0000 [r139621] Jeff Peeler <jpeeler@digium.com>
344 * main/manager.c: (closes issue #13359) Reported by: Laureano
345 Patches: originate_channel_check.patch uploaded by Laureano
348 2008-08-22 19:45 +0000 [r139456-139553] Mark Michelson <mmichelson@digium.com>
350 * include/asterisk/threadstorage.h: Fix compilation when
351 DEBUG_THREAD_LOCALS is selected (closes issue #13298) Reported
352 by: snuffy Patches: bug13298_20080822.diff uploaded by snuffy
355 * main/frame.c: Remove show_frame_stats_deprecated since it is not
356 used anywhere and causes build errors if building under dev-mode
357 with TRACE_FRAMES selected in menuselect. (closes issue #13362)
360 * channels/chan_iax2.c: Fix the build. Thanks, mvanbaak!
362 * channels/chan_iax2.c: Prevent a deadlock in chan_iax2 resulting
363 from incorrect locking order between iax2_pvt and ast_channel
366 2008-08-21 23:39 +0000 [r139387] Jeff Peeler <jpeeler@digium.com>
368 * channels/chan_dahdi.c: Fixes loop that could possibly never exit
369 in the event of a channel never being able to be opened or
370 specify after a restart. (closes issue #11017)
372 2008-08-21 23:03 +0000 [r139347] Steve Murphy <murf@digium.com>
374 * main/pbx.c, res/res_features.c: (closes issue #13251) Reported
375 by: sergee Tested by: murf THis is a bold move for a static
376 release fix, but I wouldn't have made it if I didn't feel
377 confident (at least a *bit* confident) that it wouldn't mess
378 everyone up. The reasoning goes something like this: 1. We simply
379 cannot do anything with CDR's at the current point (in pbx.c,
380 after the __ast_pbx_run loop). It's way too late to have any
381 affect on the CDRs. The CDR is already posted and gone, and the
382 remnants have been cleared. 2. I was very much afraid that moving
383 the running of the 'h' extension down into the bridge code (where
384 it would be now practical to do it), would result in a lot more
385 calls to the 'h' exten, so I implemented it as another exten
386 under another name, but found, to my pleasant surprise, that
387 there was a 1:1 correspondence to the running of the 'h' exten in
388 the pbx_run loop, and the new spot at the end of the bridge. So,
389 I ifdef'd out the current 'h' loop, and moved it into the bridge
390 code. The only difference I can see is the stuff about the
391 AST_PBX_KEEPALIVE, and hopefully, if this is still an important
392 decision point, I can replicate it if there are complaints. To be
393 perfectly honest, the KEEPALIVE situation is not totally clear to
394 me, and how it relates to a post-bridge situation is less clear.
395 I suspect the users will point out everything in total clarity if
396 this steps on anyone's toes! 3. I temporarily swap the bridge_cdr
397 into the channel before running the 'h' exten, which makes it
398 possible for users to edit the cdr before it goes out the door.
399 And, of course, with the endbeforehexten config var set, the
400 users can also get at the billsec/duration vals. After the h
401 exten finishes, the cdr is swapped back and processing continues
402 as normal. Please, all who deal with CDR's, please test this
403 version of Asterisk, and file bug reports as appropriate!
405 2008-08-21 10:11 +0000 [r139283] Philippe Sultan <philippe.sultan@gmail.com>
407 * channels/chan_gtalk.c: Apply fix for issue #13310 to branch 1.4,
410 2008-08-20 22:14 +0000 [r139213] Russell Bryant <russell@digium.com>
412 * apps/app_chanspy.c: Fix a crash in the ChanSpy application. The
413 issue here is that if you call ChanSpy and specify a spy group,
414 and sit in the application long enough looping through the
415 channel list, you will eventually run out of stack space and the
416 application with exit with a seg fault. The backtrace was always
417 inside of a harmless snprintf() call, so it was tricky to track
418 down. However, it turned out that the call to snprintf() was just
419 the biggest stack consumer in this code path, so it would always
420 be the first one to hit the boundary. (closes issue #13338)
423 2008-08-20 19:52 +0000 [r139151] Shaun Ruffell <sruffell@digium.com>
425 * codecs/codec_dahdi.c: Fix bug where the samples were not accurate
426 when in G723 mode, which would cause the timestamp field of the
427 RTP header to be invalid.
429 2008-08-20 19:35 +0000 [r139145] Kevin P. Fleming <kpfleming@digium.com>
431 * channels/chan_dahdi.c, configure,
432 include/asterisk/autoconfig.h.in, configure.ac: Backport support
433 for Zaptel/DAHDI channel-level alarms from trunk/1.6, because not
434 doing so just makes it difficult for people with channels that
435 are in alarm when Asterisk starts up to get them going once the
436 alarm is cleared (closes issue #12160) Reported by: tzafrir
437 Patches: asterisk-chanalarms_14.patch uploaded by tzafrir
438 (license 46) Tested by: tzafrir
440 2008-08-20 17:14 +0000 [r139074] Steve Murphy <murf@digium.com>
442 * main/cdr.c: (closes issue #13263) Reported by: brainy Tested by:
443 murf The specialized reset routine is tromping on the flags field
444 of the CDR. I made a change to not reset the DISABLED bit. This
445 should get rid of this problem.
447 2008-08-20 15:37 +0000 [r139015] Mark Michelson <mmichelson@digium.com>
449 * channels/chan_sip.c: sip_read should properly handle a NULL
450 return from sip_rtp_read. (closes issue #13257) Reported by:
453 2008-08-19 23:22 +0000 [r138949] Jeff Peeler <jpeeler@digium.com>
455 * include/asterisk/dahdi_compat.h: add DAHDI_POLICY_WHEN_FULL
456 compatability define for Zaptel
458 2008-08-19 23:17 +0000 [r138942] Mark Michelson <mmichelson@digium.com>
460 * channels/chan_agent.c: Reset agent_pvt variables back to the
461 values in agents.conf (from what the corresponding channel
462 variables were set to) when the agent logs out. (closes issue
463 #13098) Reported by: davidw Patches:
464 20080731__issue13098_agent_ackcall_not_reset.diff uploaded by
465 bbryant (license 36) Tested by: davidw
467 2008-08-19 22:56 +0000 [r138938] Jeff Peeler <jpeeler@digium.com>
469 * channels/chan_dahdi.c: Add configuration option to
470 chan_dahdi.conf to allow buffering policy and number of buffers
471 to be configured per channel. Syntax: buffers=<num of
472 buffers>,<policy> Where the number of buffers is some
473 non-negative integer and the policy is either "full", "half", or
476 2008-08-19 18:50 +0000 [r138685-138886] Mark Michelson <mmichelson@digium.com>
478 * apps/app_chanspy.c: Add a lock and unlock prior to the
479 destruction of the chanspy_ds lock to ensure that no other
480 threads still have it locked. While this should not happen under
481 normal circumstances, it appears that if the spyer and spyee hang
482 up at nearly the same time, the following may occur. 1.
483 ast_channel_free is called on the spyee's channel. 2. The chanspy
484 datastore is removed from the spyee's channel in
485 ast_channel_free. 3. In the spyer's thread, the spyer attempts to
486 remove and destroy the datastore from the spyee channel, but the
487 datastore has already been removed in step 2, so the spyer
488 continues in the code. 4. The spyee's thread continues and calls
489 the datastore's destroy callback, chanspy_ds_destroy. This
490 involves locking the chanspy_ds. 5. Now the spyer attempts to
491 destroy the chanspy_ds lock. The problem is that in step 4, the
492 spyee has locked this lock, meaning that the spyer is attempting
493 to destroy a lock which is currently locked by another thread.
494 The backtrace provided in issue #12969 supports the idea that
495 this is possible (and has even occurred). This commit does not
496 close the issue, but should help in preventing one type of crash
497 associated with the use of app_chanspy.
499 * apps/app_queue.c: Change the inequalities used in app_queue with
500 regards to timeouts from being strict to non-strict for more
501 accuracy. (closes issue #13239) Reported by: atis Patches:
502 app_queue_timeouts_v2.patch uploaded by atis (license 242)
504 2008-08-18 16:57 +0000 [r138663] Kevin P. Fleming <kpfleming@digium.com>
506 * codecs/codec_dahdi.c: look for transcoder in proper place based
507 on build against Zaptel or DAHDI
509 2008-08-18 11:57 +0000 [r138569] Sean Bright <sean.bright@gmail.com>
511 * channels/chan_dahdi.c: You know what's awesome? Code that
514 2008-08-18 02:05 +0000 [r138516] Jeff Peeler <jpeeler@digium.com>
516 * channels/chan_dahdi.c: fix compilation warnings
518 2008-08-16 01:12 +0000 [r138309-138360] Jeff Peeler <jpeeler@digium.com>
520 * channels/chan_dahdi.c: fixes use count to properly decrement if
521 an active dahdi channel is destroyed allowing module to be
524 * channels/chan_dahdi.c: add forgotten locks around ss_thread_count
525 in ss_thread for dahdi restart
527 2008-08-15 22:33 +0000 [r138258] Tilghman Lesher <tlesher@digium.com>
529 * channels/chan_sip.c, configs/sip.conf.sample: More fixes for
530 realtime peers. (closes issue #12921) Reported by: Nuitari
531 Patches: 20080804__bug12921.diff.txt uploaded by Corydon76
532 (license 14) 20080815__bug12921.diff.txt uploaded by Corydon76
533 (license 14) Tested by: Corydon76
535 2008-08-15 21:28 +0000 [r138119-138238] Jeff Peeler <jpeeler@digium.com>
537 * channels/chan_dahdi.c: initialize condition variable
538 ss_thread_complete using ast_cond_init
540 * channels/chan_dahdi.c: declared static mutexes using
541 AST_MUTEX_DEFINE_STATIC macro
543 * channels/chan_dahdi.c: Fixes the dahdi restart functionality.
544 Dahdi restart allows one to restart all DAHDI channels, even if
545 they are currently in use. This is different from unloading and
546 then loading the module since unloading requires the use count to
547 be zero. Reloading the module is different in that the signalling
548 is not changed from what it was originally configured. Also, this
549 fixes not closing all the file descriptors for D-channels upon
550 module unload (which would prevent loading the module
551 afterwards). (closes issue #11017)
553 2008-08-15 15:07 +0000 [r138027] Russell Bryant <russell@digium.com>
555 * main/autoservice.c: Ensure that when a hangup occurs in
556 autoservice, that a hangup frame gets properly deferred to be
557 read from the channel owner when it gets taken out of
558 autoservice. (closes issue #12874) Reported by: dimas Patches:
559 v1-12874.patch uploaded by dimas (license 88)
561 2008-08-15 14:51 +0000 [r137847-138023] Tilghman Lesher <tlesher@digium.com>
563 * funcs/func_strings.c: Additional check for more string specifiers
564 than arguments. (closes issue #13299) Reported by: adomjan
565 Patches: 20080813__bug13299.diff.txt uploaded by Corydon76
566 (license 14) func_strings.c-sprintf.patch uploaded by adomjan
567 (license 487) Tested by: adomjan
569 * channels/chan_dahdi.c: Oops, wrong direction
571 * channels/chan_dahdi.c: When creating the secondary subchannel
572 name, it is necessary to compare to the existing channel name
573 without the "Zap/" or "DAHDI/" prefix, since our test string is
574 also without that prefix. (closes issue #13027) Reported by:
575 dferrer Patches: chan_zap-1.4.21.1_fix2.patch uploaded by dferrer
576 (license 525) (Slightly modified by me, to compensate for both
579 2008-08-14 14:05 +0000 [r137731] Russell Bryant <russell@digium.com>
581 * configs/sip.conf.sample: Comments in this config file were
582 aligned only if your tab size was set to 8. So, convert tabs to
583 spaces so that things should be aligned regardless of what tab
584 size you use in your editor.
586 2008-08-14 02:03 +0000 [r137677-137679] Kevin P. Fleming <kpfleming@digium.com>
588 * Zaptel-to-DAHDI.txt: forgot one module name that changed
590 * include/asterisk/dahdi_compat.h, channels/chan_dahdi.c,
591 build_tools/menuselect-deps.in, configure, configure.ac,
592 codecs/codec_dahdi.c: add support for Zaptel versions that
593 contain the new transcoder interface
595 2008-08-13 21:35 +0000 [r137580] Jeff Peeler <jpeeler@digium.com>
597 * channels/chan_dahdi.c: Register DAHDISendKeypadFacility
598 application if dahdi_chan_mode is set to DAHDI + Zap. Mark
599 ZapSendKeypadFacility application as deprecated on usage.
601 2008-08-13 20:46 +0000 [r137527-137530] Kevin P. Fleming <kpfleming@digium.com>
603 * Zaptel-to-DAHDI.txt (added): add document describing what users
604 will need to be aware of when upgrading to this version and using
607 * apps/app_meetme.c: remove some more chan_zap references
609 * doc/asterisk-conf.txt, channels/chan_dahdi.c: document
610 dahdichanname option in doc/asterisk-conf.txt make chan_dahdi
611 read its configuration from zapata.conf if dahdichanname has been
614 2008-08-13 14:33 +0000 [r137348-137405] Sean Bright <sean.bright@gmail.com>
616 * doc/cdrdriver.txt: Update docs to reflect the change to cdr_tds
618 * cdr/cdr_tds.c: Bring cdr_tds in line with the other CDR backends
619 and have it try to store CDR(userfield) if it is set. The new
620 behavior is to check for the userfield column on module load, and
621 if it exists, we will store CDR(userfield) when CDRs are written.
622 A similar patch already went into trunk and 1.6.0. (closes issue
623 #13290) Reported by: falves11
625 2008-08-11 13:33 +0000 [r137188] Kevin P. Fleming <kpfleming@digium.com>
627 * apps/app_meetme.c: convert this module to be able to handle DAHDI
628 or Zaptel (reported on asterisk-users, don't know how this got
631 2008-08-11 00:20 +0000 [r137138] Tilghman Lesher <tlesher@digium.com>
633 * res/res_odbc.c: Deallocate database connection handle on
634 disconnect, as we allocate another one on connect. (closes issue
635 #13271) Reported by: dveiga
637 2008-08-09 17:11 +0000 [r136999] Russell Bryant <russell@digium.com>
639 * configure, configure.ac: Ensure PBX_DAHDI_TRANSCODE will evaluate
640 to 0 if not found instead of empty. pointed out by tzafrir on
643 2008-08-09 15:25 +0000 [r136946] Tilghman Lesher <tlesher@digium.com>
645 * /, include/asterisk/compat.h, include/asterisk/astobj2.h: Merged
646 revisions 136945 via svnmerge from
647 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
648 r136945 | tilghman | 2008-08-09 10:24:36 -0500 (Sat, 09 Aug 2008)
649 | 2 lines Regression fixes for Solaris ........
651 2008-08-08 00:15 +0000 [r136726] Steve Murphy <murf@digium.com>
653 * pbx/ael/ael-test/ref.ael-test8, pbx/ael/ael-test/ref.ael-test18,
654 pbx/ael/ael-test/ref.ael-vtest13,
655 pbx/ael/ael-test/ref.ael-ntest10, pbx/pbx_ael.c,
656 include/asterisk/ael_structs.h: (closes issue #13236) Reported
657 by: korihor Wow, this one was a challenge! I regrouped and ran a
658 new strategy for setting the ~~MACRO~~ value; I set it once per
659 extension, up near the top. It is only set if there is a switch
660 in the extension. So, I had to put in a chunk of code to detect a
661 switch in the pval tree. I moved the code to insert the set of
662 ~~exten~~ up to the beginning of the gen_prios routine, instead
663 of down in the switch code. I learned that I have to push the
664 detection of the switches down into the code, so everywhere I
665 create a new exten in gen_prios, I make sure to pass onto it the
666 values of the mother_exten first, and the exten next. I had to
667 add a couple fields to the exten struct to accomplish this, in
668 the ael_structs.h file. The checked field makes it so we don't
669 repeat the switch search if it's been done. I also updated the
672 2008-08-07 18:25 +0000 [r136560] Kevin P. Fleming <kpfleming@digium.com>
674 * build_tools/menuselect-deps.in, configure, configure.ac: change
675 the required dependency for codec_dahdi to only be satisfied by
676 DAHDI and not Zaptel, as the new transcoder interface is only in
679 2008-08-07 18:14 +0000 [r136544] Shaun Ruffell <sruffell@digium.com>
681 * codecs/codec_dahdi.c: Updated codec_dahdi to use the new
682 transcoder interface in the first DAHDI release. Codec dahdi no
683 longer functions with the transcoder interface in zaptel at this
684 time (which the last zaptel release was 1.4.11). NOTE: Still
685 needs an update to the configure script to make sure that
686 codec_dahdi is only built if the new transcoder interface is
687 present in the drivers. (Issue: DAHDI-42)
689 2008-08-07 16:50 +0000 [r136488] Tilghman Lesher <tlesher@digium.com>
691 * apps/app_queue.c: Update persistent state on all exit conditions.
692 (closes issue #12916) Reported by: sgenyuk Patches:
693 app_queue.patch.txt uploaded by neutrino88 (license 297) Tested
696 2008-08-07 16:30 +0000 [r136404-136484] Kevin P. Fleming <kpfleming@digium.com>
698 * include/asterisk/doxyref.h: add a raw list of all libraries that
699 any part of Asterisk links directly to
701 * apps/app_voicemail.c: work around a bug in gcc-4.2.3 that
702 incorrectly ignores the casting away of 'const' for pointers when
703 the developer knows it is safe to do so
705 * Makefile: remove config.cache during distclean, in case the user
706 is using autoconf caching
708 2008-08-07 01:31 +0000 [r136304-136348] Tilghman Lesher <tlesher@digium.com>
710 * channels/chan_dahdi.c: Also, parse
711 useincomingcalleridonzaptransfer (and add appropriate deprecation
714 * channels/chan_dahdi.c: For backwards compatibility with previous
715 1.4 versions which used "zapchan" in users.conf, ensure that we
718 2008-08-06 21:18 +0000 [r136241] Richard Mudgett <rmudgett@digium.com>
720 * channels/misdn_config.c, channels/chan_misdn.c,
721 configs/misdn.conf.sample: * The allowed_bearers setting in
722 misdn.conf misspelled one of its options: digital_restricted. *
723 Fixed some other spelling errors and typos.
725 2008-08-06 20:42 +0000 [r136238] Mark Michelson <mmichelson@digium.com>
727 * apps/app_queue.c: We only need to unregister the QueueStatus
728 manager command once on an unload
730 2008-08-06 20:14 +0000 [r136190] Tilghman Lesher <tlesher@digium.com>
732 * contrib/init.d/rc.redhat.asterisk: -C option takes a filename,
733 not a directory path. (closes issue #13007) Reported by:
736 2008-08-06 18:58 +0000 [r136168] Russell Bryant <russell@digium.com>
738 * Makefile: Remove the use of --no-print-directory when compiling
739 subdirectories. This allows vim :make functionality to work
740 properly when errors have occurred in the build. Without printing
741 the directories, vim did not know how to find the file that the
742 error occurred in. If the extra bit of build noise annoys anyone,
743 just let me know, and I'll make this optional.
745 2008-08-06 15:58 +0000 [r136062] Mark Michelson <mmichelson@digium.com>
747 * main/rtp.c, channels/chan_skinny.c: Since adding the
748 AST_CONTROL_SRCUPDATE frame type, there are places where
749 ast_rtp_new_source may be called where the tech_pvt of a channel
750 may not yet have an rtp structure allocated. This caused a crash
751 in chan_skinny, which was fixed earlier, but now the same crash
752 has been reported against chan_h323 as well. It seems that the
753 best solution is to modify ast_rtp_new_source to not attempt to
754 set the marker bit if the rtp structure passed in is NULL. This
755 change to ast_rtp_new_source also allows the removal of what is
756 now a redundant pointer check from chan_skinny. (closes issue
757 #13247) Reported by: pj
759 2008-08-06 03:53 +0000 [r135899-135949] Tilghman Lesher <tlesher@digium.com>
761 * main/channel.c: Fix a longstanding bug in channel walking logic,
762 and fix the explanation to make sense. (Closes issue #13124)
764 * main/translate.c: Since powerof() can return an error condition,
765 it's foolhardy not to detect and deal with that condition.
766 (Related to issue #13240)
768 * include/asterisk/threadstorage.h, include/asterisk/utils.h: 1)
769 Bugfix for debugging code 2) Reduce compiler warnings for another
770 section of debugging code (Closes issue #13237)
772 2008-08-06 00:29 +0000 [r135841-135850] Mark Michelson <mmichelson@digium.com>
774 * /: Remove properties that should not be here
776 * apps/app_skel.c: Revert inadvertent changes to app_skel that
777 occurred when I was testing for a memory leak
779 * include/asterisk/abstract_jb.h, main/channel.c, /,
780 apps/app_skel.c, main/abstract_jb.c, main/fixedjitterbuf.h:
781 Merging the issue11259 branch. The purpose of this branch was to
782 take into account "burps" which could cause jitterbuffers to
783 misbehave. One such example is if the L option to Dial() were
784 used to inject audio into a bridged conversation at regular
785 intervals. Since the audio here was not passed through the
786 jitterbuffer, it would cause a gap in the jitterbuffer's
787 timestamps which would cause a frames to be dropped for a brief
788 period. Now ast_generic_bridge will empty and reset the
789 jitterbuffer each time it is called. This causes injected audio
790 to be handled properly. ast_generic_bridge also will empty and
791 reset the jitterbuffer if it receives an AST_CONTROL_SRCUPDATE
792 frame since the change in audio source could negatively affect
793 the jitterbuffer. All of this was made possible by adding a new
794 public API call to the abstract_jb called ast_jb_empty_and_reset.
795 (closes issue #11259) Reported by: plack Tested by: putnopvut
797 2008-08-05 23:13 +0000 [r135799] Steve Murphy <murf@digium.com>
799 * apps/app_dial.c, main/cdr.c, main/channel.c, res/res_features.c,
800 include/asterisk/cdr.h: (closes issue #12982) Reported by: bcnit
801 Tested by: murf I discovered that also, in the previous bug fixes
802 and changes, the cdr.conf 'unanswered' option is not being
803 obeyed, so I fixed this. And, yes, there are two 'answer' times
804 involved in this scenario, and I would agree with you, that the
805 first answer time is the time that should appear in the CDR. (the
806 second 'answer' time is the time that the bridge was begun). I
807 made the necessary adjustments, recording the first answer time
808 into the peer cdr, and then using that to override the bridge
809 cdr's value. To get the 'unanswered' CDRs to appear, I purposely
810 output them, using the dial cmd to mark them as DIALED (with a
811 new flag), and outputting them if they bear that flag, and you
812 are in the right mode. I also corrected one small mention of the
813 Zap device to equally consider the dahdi device. I heavily tested
814 10-sec-wait macros in dial, and without the macro call; I tested
815 hangups while the macro was running vs. letting the macro
816 complete and the bridge form. Looks OK. Removed all the
817 instrumentation and debug.
819 2008-08-05 21:34 +0000 [r135747] Tilghman Lesher <tlesher@digium.com>
821 * channels/chan_iax2.c: In a conversion to use ast_strlen_zero, the
822 meaning of the flag IAX_HASCALLERID was perverted. This change
823 reverts IAX2 to the original meaning, which was, that the
824 callerid set on the client should be overridden on the server,
825 even if that means the resulting callerid is blank. In other
826 words, if you set "callerid=" in the IAX config, then the
827 callerid should be overridden to blank, even if set on the
828 client. Note that there's a distinction, even on realtime,
829 between the field not existing (NULL in databases) and the field
830 existing, but set to blank (override callerid to blank).
832 2008-08-05 13:25 +0000 [r135597] Sean Bright <sean.bright@gmail.com>
834 * main/cli.c: Use PATH_MAX for filenames
836 2008-08-04 20:15 +0000 [r135536] Russell Bryant <russell@digium.com>
838 * configs/chan_dahdi.conf.sample: fix a config sample typo
840 2008-08-04 17:07 +0000 [r135479-135482] Tilghman Lesher <tlesher@digium.com>
842 * contrib/init.d/rc.mandrake.asterisk: Define ASTSBINDIR for script
844 * apps/app_voicemail.c: Memory leak on unload (closes issue #13231)
845 Reported by: eliel Patches: app_voicemail.leak.patch uploaded by
848 2008-08-04 16:26 +0000 [r135473] Russell Bryant <russell@digium.com>
850 * configs/chan_dahdi.conf.sample: Add a minor clarification to the
851 documentation of mohinterpret and mohsuggest
853 2008-08-01 11:43 +0000 [r135055-135058] Michiel van Baak <michiel@vanbaak.info>
855 * apps/app_ices.c: make app_ices compile on OpenBSD.
857 * channels/chan_skinny.c: fix some potential deadlocks in
858 chan_skinny (closes issue #13215) Reported by: qwell Patches:
859 2008080100_bug13215.diff.txt uploaded by mvanbaak (license 7)
862 2008-07-31 22:18 +0000 [r134983] Kevin P. Fleming <kpfleming@digium.com>
864 * main/http.c: accomodate users who seem to lack a sense of humor
867 2008-07-31 21:53 +0000 [r134976] Tilghman Lesher <tlesher@digium.com>
869 * sample.call, main/manager.c, pbx/pbx_spool.c: Specify codecs in
870 callfiles and manager, to allow video calls to be set up from
871 callfiles and AMI. (closes issue #9531) Reported by: Geisj
872 Patches: 20080715__bug9531__1.4.diff.txt uploaded by Corydon76
873 (license 14) 20080715__bug9531__1.6.0.diff.txt uploaded by
874 Corydon76 (license 14) Tested by: Corydon76
876 2008-07-31 19:37 +0000 [r134915] Russell Bryant <russell@digium.com>
878 * apps/app_ices.c: Get app_ices working again (closes issue #12981)
879 Reported by: dlogan Patches:
880 20080709__app_ices_v2_update_trunk.diff uploaded by bbryant
881 (license 36) 20080709__app_ices_v2_update_14.diff uploaded by
882 bbryant (license 36) Tested by: bbryant
884 2008-07-31 19:23 +0000 [r134883] Steve Murphy <murf@digium.com>
886 * res/res_features.c: (closes issue #11849) Reported by: greyvoip
887 Tested by: murf OK, a few days of debugging, a bunch of
888 instrumentation in chan_sip, main/channel.c, main/pbx.c, etc. and
889 5 solid notebook pages of notes later, I have made the small
890 tweek necc. to get the start time right on the second CDR when: A
891 Calls B B answ. A hits Xfer button on sip phone, A dials C and
892 hits the OK button, A hangs up C answers ringing phone B and C
893 converse B and/or C hangs up But does not harm the scenario
894 where: A Calls B B answ. B hits xfer button on sip phone, B dials
895 C and hits the OK button, B hangs up C answers ringing phone A
896 and C converse A and/or C hangs up The difference in start times
897 on the second CDR is because of a Masquerade on the B channel
898 when the xfer number is sent. It ends up replacing the CDR on the
899 B channel with a duplicate, which ends up getting tossed out. We
900 keep a pointer to the first CDR, and update *that* after the
901 bridge closes. But, only if the CDR has changed. I hope this
902 change is specific enough not to muck up any current CDR-based
903 apps. In my defence, I assert that the previous information was
904 wrong, and this change fixes it, and possibly other similar
905 scenarios. I wonder if I should be doing the same thing for the
906 channel, as I did for the peer, but I can't think of a scenario
907 this might affect. I leave it, then, as an exersize for the
908 users, to find the scenario where the chan's CDR changes and
909 loses the proper start time.
911 2008-07-31 16:45 +0000 [r134814] Russell Bryant <russell@digium.com>
913 * channels/iax2-parser.c: In case we have some processing threads
914 that free more frames than they allocate, do not let the frame
915 cache grow forever. (closes issue #13160) Reported by: tavius
916 Tested by: tavius, russell
918 2008-07-31 15:56 +0000 [r134758] Mark Michelson <mmichelson@digium.com>
920 * apps/app_queue.c: Add more timeout checks into app_queue,
921 specifically targeting areas where an unknown and potentially
922 long time has just elapsed. Also added a check to try_calling()
923 to return early if the timeout has elapsed instead of potentially
924 setting a negative timeout for the call (thus making it have *no*
925 timeout at all). (closes issue #13186) Reported by:
926 miquel_cabrespina Patches: 13186.diff uploaded by putnopvut
927 (license 60) Tested by: miquel_cabrespina
929 2008-07-30 22:39 +0000 [r134704] Tilghman Lesher <tlesher@digium.com>
931 * main/sched.c, include/asterisk/sched.h: Oops, wrong define
933 2008-07-30 22:02 +0000 [r134652] Steve Murphy <murf@digium.com>
935 * pbx/pbx_ael.c: (closes issue #13197) Reported by: pj (closes
936 issue #13051) Reported by: pj This patch substitutes commas in
937 the expr supplied to the if () statement, as in if ( expr ) ...
938 This solves both the bugs above, and makes the source symmetric
939 with switch statements, which were earlier reported to need this
940 sort of treatment. I tested this using the examples, both for the
941 compiler and at run time. Looks good.
943 2008-07-30 21:38 +0000 [r134649] Tilghman Lesher <tlesher@digium.com>
945 * configure, configure.ac: Qwell pointed out, via IRC, that the
946 previous fix only worked when explicitly set. When nothing is
947 set, and the option is implied, it breaks, because configure sets
948 the prefix to 'NONE'. Fixing.
950 2008-07-30 20:37 +0000 [r134540-134595] Russell Bryant <russell@digium.com>
952 * pbx/pbx_dundi.c: Reduce stack consumption by 12.5% of the max
953 stack size to fix a crash when compiled with LOW_MEMORY. (closes
954 issue #13154) Reported by: edantie
956 * funcs/func_curl.c: Fix a memory leak in func_curl. Every thread
957 that used this function leaked an allocation the size of a
958 pointer. (reported by jmls in #asterisk-dev)
960 2008-07-30 19:47 +0000 [r134480-134536] Tilghman Lesher <tlesher@digium.com>
962 * configure, configure.ac: Only override sysconfdir and mandir when
963 prefix=/usr (closes issue #13093) Reported by: pabelanger
965 * res/res_agi.c: launch_netscript sometimes returns -1, which fails
966 to set AGISTATUS. Map failure to -1, so that AGISTATUS is always
967 set. (closes issue #13199) Reported by: smw1218
969 2008-07-30 18:31 +0000 [r134475] Mark Michelson <mmichelson@digium.com>
971 * main/app.c: Fix a spot where a function could return without
972 bringing a channel out of autoservice.
974 2008-07-30 15:29 +0000 [r134254-134352] Kevin P. Fleming <kpfleming@digium.com>
976 * Makefile: use the proper method for building version.h
978 * include/asterisk/dahdi_compat.h, apps/app_dahdibarge.c,
979 channels/chan_dahdi.c, apps/app_meetme.c, apps/app_flash.c,
980 apps/app_dahdiscan.c, apps/app_dahdiras.c, codecs/codec_dahdi.c:
981 build against the now-typedef-free dahdi/user.h
983 2008-07-29 15:54 +0000 [r134223] Mark Michelson <mmichelson@digium.com>
985 * apps/app_voicemail.c: Merging the imap_consistency branch. The
986 main aim of this branch was to make the IMAP code function in the
987 same manner as the ODBC code does, eliminating the need for so
988 many IMAP-specific code chunks. The focal point of all of this
989 work was to make the various macros (e.g. RETRIEVE, DISPOSE)
990 functionally equivalent. While doing the above work, I also fixed
991 a few bugs that I came across in my testing. Among these were 1.
992 Fixed message forwarding. This was completely broken when using
993 IMAP. 2. Fixed the inability to save new messages as old and vice
994 versa. 3. Fixed the "delete" options in voicemail.conf when using
995 IMAP storage. Even though a few bugs were fixed and the code is a
996 lot more consistent, the one thing that was *not* improved in
997 this branch was performance. The merge of this to trunk may not
998 come immediately due to the amount of work it will probably
999 involve. (closes issue #12764) Reported by: balsamcn
1001 2008-07-28 21:50 +0000 [r134161] Tilghman Lesher <tlesher@digium.com>
1003 * apps/app_voicemail.c: Detect when sox fails to raise the volume,
1004 because sox can't read the file. (closes issue #12939) Reported
1005 by: rickbradley Patches: 20080728__bug12939.diff.txt uploaded by
1006 Corydon76 (license 14) Tested by: rickbradley
1008 2008-07-26 15:31 +0000 [r133980] Russell Bryant <russell@digium.com>
1010 * main/asterisk.c, include/asterisk/doxyref.h: Add the licensing
1011 section to the docs in 1.4, as well, so that we can work on
1012 having an accurate list for each version of Asterisk that is
1015 2008-07-25 18:00 +0000 [r133649-133709] Tilghman Lesher <tlesher@digium.com>
1017 * apps/app_voicemail.c: Remove unnecessary mmap flag (Closes issue
1020 * main/channel.c, channels/chan_agent.c, main/devicestate.c: Fix
1021 some errant device states by making the devicestate API more
1022 strict in terms of the device argument (only without the unique
1023 identifier appended). (closes issue #12771) Reported by: davidw
1024 Patches: 20080717__bug12771.diff.txt uploaded by Corydon76
1025 (license 14) Tested by: davidw, jvandal, murf
1027 2008-07-25 15:00 +0000 [r133578] Russell Bryant <russell@digium.com>
1029 * /, LICENSE: Merged revisions 133577 via svnmerge from
1030 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
1031 r133577 | russell | 2008-07-25 10:00:13 -0500 (Fri, 25 Jul 2008)
1032 | 2 lines Fix the IAX2 URI for calling Digium ........
1034 2008-07-25 14:40 +0000 [r133572] Mark Michelson <mmichelson@digium.com>
1036 * channels/chan_sip.c: We need to make sure to null-terminate the
1037 "name" portion of SIP URI parameters so that there are no bogus
1038 comparisons. Thanks to bbryant for pointing this out.
1040 2008-07-24 21:17 +0000 [r133361-133488] Tilghman Lesher <tlesher@digium.com>
1042 * channels/chan_sip.c: Fix rtautoclear and rtcachefriends (Closes
1045 * /: Blocked revisions 133360 via svnmerge ........ r133360 |
1046 tilghman | 2008-07-23 22:46:01 -0500 (Wed, 23 Jul 2008) | 2 lines
1047 This part was not correctly patched for AST-2008-010. ........
1049 2008-07-23 21:49 +0000 [r133295] Jason Parker <jparker@digium.com>
1051 * channels/chan_dahdi.c: inbandrelease is gone - it's now
1054 2008-07-23 21:05 +0000 [r133226-133237] Kevin P. Fleming <kpfleming@digium.com>
1056 * include/asterisk/stringfields.h, main/utils.c: revert an
1057 optimization that broke ABI... thanks russell!
1059 * apps/app_chanspy.c, include/asterisk/options.h, main/asterisk.c,
1060 apps/app_dahdibarge.c, channels/chan_dahdi.c,
1061 apps/app_dahdiras.c: make some more changes to the dahdi/zap
1062 channel name support stuff to ensure allthe globals are 'const',
1063 and clean up mmichelson's changes to app_chanspy to simplify the
1066 2008-07-23 19:39 +0000 [r132974-133169] Mark Michelson <mmichelson@digium.com>
1068 * apps/app_chanspy.c, include/asterisk/options.h, main/asterisk.c,
1069 channels/chan_dahdi.c: As suggested by seanbright, the
1070 PSEUDO_CHAN_LEN in app_chanspy should be set at load time, not at
1071 compile time, since dahdi_chan_name is determined at load time.
1072 Also changed the next_unique_id_to_use to have the static
1073 qualifier. Also added the dahdi_chan_name_len variable so that
1074 strlen(dahdi_chan_name) isn't necessary. Thanks to seanbright for
1077 * apps/app_chanspy.c: Zap/pseudo is ten characters, but
1078 DAHDI/pseudo is twelve. The strncmp call in next_channel should
1081 * apps/app_chanspy.c: Update the "last" channel in next_channel in
1082 app_chanspy so that the same pseudo channel isn't constantly
1083 returned. related to issue #13124
1085 * channels/chan_dahdi.c: Small cleanup. Move the declaration of the
1086 DAHDI_SPANINFO variable to the block where it is used. This
1087 allows one less #ifdef HAVE_PRI to clutter things up. Thanks to
1088 Tzafrir for pointing this out on #asterisk-dev
1090 * channels/chan_dahdi.c: Fix building of chan_dahdi when HAVE_PRI
1093 2008-07-23 15:52 +0000 [r132872-132942] Kevin P. Fleming <kpfleming@digium.com>
1095 * channels/chan_dahdi.c: ensure that after a channel is created, if
1096 it happened to be in 'channel alarm' state, when that alarm
1097 clears we won't generate a spurious 'alarm cleared' message
1098 (closes issue #12160) Reported by: tzafrir
1100 * include/asterisk/stringfields.h, main/utils.c: minor optimization
1101 for stringfields: when a field is being set to a larger value
1102 than it currently contains and it happens to be the most recent
1103 field allocated from the currentl pool, it is possible to 'grow'
1104 it without having to waste the space it is currently using (or
1105 potentially even allocate a new pool)
1107 2008-07-23 11:37 +0000 [r132826] Christian Richter <christian.richter@beronet.com>
1109 * channels/misdn/isdn_lib.c: another Fix because of r119585, this
1110 commit has broken high frequented BRI Ports, there was a
1111 possibility that a channel, that was marked as in_use would be
1112 reused later, the corresponding port could got stuck then. So it
1113 is recommended to upgrade for chan_misdn users.
1115 2008-07-22 22:14 +0000 [r132790] Mark Michelson <mmichelson@digium.com>
1117 * channels/chan_sip.c: Allow Spiraled INVITEs to work correctly
1118 within Asterisk. Prior to this change, a spiraled INVITE would
1119 cause a 482 Loop Detected to be sent to the caller. With this
1120 change, if a potential loop is detected, the Request-URI is
1121 inspected to see if it has changed from what was originally
1122 received. If pedantic mode is on, then this inspection is fully
1123 RFC 3261 compliant. If pedantic mode is not on, then a string
1124 comparison is used to test the equality of the two R-URIs. This
1125 has been tested by using OpenSER to rewrite the R-URI and send
1126 the INVITE back to Asterisk. (closes issue #7403) Reported by:
1129 2008-07-22 22:11 +0000 [r132784-132787] Kevin P. Fleming <kpfleming@digium.com>
1131 * include/asterisk/options.h, main/asterisk.c,
1132 apps/app_dahdibarge.c, channels/chan_dahdi.c, apps/app_flash.c,
1133 apps/app_dahdiras.c: fix up namespace pollution for
1134 dahdi_chan_mode enum correct registration of AMI actions in
1135 chan_dahdi; in zap-only mode, only register the Zap flavors of
1136 the actions (and use Zap prefixes for headers and acks), but in
1137 dahdi+zap mode, register both Zap and DAHDI flavors of actions
1139 * Makefile.rules: add rules to create preprocessor output... useful
1140 for debugging macros
1142 2008-07-22 21:19 +0000 [r132713] Tilghman Lesher <tlesher@digium.com>
1144 * configs/iax.conf.sample, /, channels/chan_iax2.c: Merged
1145 revisions 132711 via svnmerge from
1146 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
1147 r132711 | tilghman | 2008-07-22 16:14:10 -0500 (Tue, 22 Jul 2008)
1148 | 2 lines Fixes for AST-2008-010 and AST-2008-011 ........
1150 2008-07-22 21:17 +0000 [r132704-132712] Kevin P. Fleming <kpfleming@digium.com>
1152 * channels/chan_dahdi.c: ensure that if any alarms exist at channel
1153 creation time, they are handled identically to if they occurred
1154 later, so that later alarm clearing will work properly and 'make
1155 sense' (closes issue #12160) Reported by: tzafrir
1157 * configure, configure.ac, acinclude.m4: make AST_C_COMPILE_CHECK
1158 able to print a 'pretty' description of what it is doing
1160 2008-07-22 20:10 +0000 [r132645] Olle Johansson <oej@edvina.net>
1162 * channels/chan_sip.c, doc/sip-retransmit.txt (added): The most
1163 common question on the #asterisk iRC channel and on mailing lists
1164 seems to be in regards to an error message when retransmit fails.
1165 This is frequently misunderstood as a failure of Asterisk, not a
1166 failure of the network to reach the other party. This document
1167 tries to assist the Asterisk user in sorting out these issues by
1168 explaining the logic and pointing at some possible causes.
1169 Hopefully, we will get other questions now :-)
1171 2008-07-22 19:57 +0000 [r132571-132642] Kevin P. Fleming <kpfleming@digium.com>
1173 * channels/chan_dahdi.c: correct wording in comment
1175 * channels/chan_dahdi.c, configs/chan_dahdi.conf.sample, configure,
1176 include/asterisk/autoconfig.h.in, configure.ac: use renamed
1177 libpri API call for controlling this feature (was improperly
1180 * channels/chan_dahdi.c: teach chan_dahdi how to find the D-channel
1181 on BRI spans, and don't attempt to use channel 24 as a D-channel
1182 on spans of unexpected sizes
1184 2008-07-21 20:51 +0000 [r132506-132507] Brett Bryant <bbryant@digium.com>
1186 * apps/app_sendtext.c: Fix a bug where SENDTEXTSTATUS isn't set
1187 properly when it isn't supported on a channel (yet _another_
1188 useful patch by eliel). (issue #13081) Reported by: eliel
1189 Patches: app_sendtext1.4.c uploaded by eliel (license 64) Tested
1192 * channels/chan_iax2.c: Fix a bug in 1.4 branch with iax2 channels
1193 not being removed when a call was rejected (from the calling box,
1194 not the box that denied the registration). Related to revisions
1195 132466 in trunk, and 132467 in 1.6.0. Earlier I had accidently
1196 tested 1.4 with a backport from those revisions, so I didn't see
1197 this problem (oops).
1199 2008-07-19 16:45 +0000 [r132311] Kevin P. Fleming <kpfleming@digium.com>
1201 * LICENSE: grant a license exception to allow distribution of
1202 Asterisk binaries that use the UW IMAP Toolkit (which is licensed
1203 under a non-GPL-compatible license)
1205 2008-07-18 19:06 +0000 [r131970-132112] Tilghman Lesher <tlesher@digium.com>
1207 * main/say.c: Fix for Taiwanese number syntax (closes issue #12319)
1208 Reported by: CharlesWang Patches: saynumber-tw-1.4.18.1.patch
1209 uploaded by CharlesWang (license 444)
1211 * main/config.c: Textual clarification (closes issue #13106)
1212 Reported by: flefoll Patches:
1213 config.c.br14.120173.patch-unknown-directive uploaded by flefoll
1216 * include/asterisk/sched.h, channels/chan_iax2.c: Spinlock within
1217 the destroy, to allow a scheduled job to continue, if it's
1218 waiting on the mutex which the destroy thread has.
1220 * main/sched.c: Oops
1222 * main/sched.c, include/asterisk/sched.h: Preserve ABI
1223 compatibility with last change
1225 * main/sched.c, include/asterisk/sched.h, channels/chan_iax2.c:
1226 Make the ast_assert call within ast_sched_del report something
1229 2008-07-18 16:15 +0000 [r131921] Kevin P. Fleming <kpfleming@digium.com>
1231 * main/dlfcn.c (removed), main/loader.c, main/Makefile,
1232 include/asterisk/dlfcn-compat.h (removed): remove the dlfcn
1233 compatibility stuff, because no platforms that Asterisk currently
1234 runs on it use it, and it doesn't build anyway
1236 2008-07-18 15:34 +0000 [r131915] Brett Bryant <bbryant@digium.com>
1238 * res/res_features.c: Fix a bug in blind transfers where the
1239 BLINDTRANSFER variable isn't always set to the other end of the
1240 blind transfer. (closes issue #12586)
1242 2008-07-17 20:35 +0000 [r131790] Tilghman Lesher <tlesher@digium.com>
1244 * channels/chan_dahdi.c: Revert part of issue #5620 (revision 6965)
1245 as it appears that it was in error. This should fix talk call
1246 progress on analog lines. (closes issue #12178) Reported by:
1247 michael-fig Patches: 20080717__bug12178.diff.txt uploaded by
1248 Corydon76 (license 14)
1250 2008-07-16 22:17 +0000 [r131491] Brett Bryant <bbryant@digium.com>
1252 * channels/chan_iax2.c: Fix a bug in iax2 registration that allowed
1253 peers to register with case-insensitive names (user_cmp_cb and
1254 peer_cmp_cb are now both case-sensitive). (closes issue #13091)
1256 2008-07-16 21:46 +0000 [r131480] Tilghman Lesher <tlesher@digium.com>
1258 * channels/chan_iax2.c: Apparently, in certain cases, a callno is
1259 already destroyed when iax2_destroy is called.
1261 2008-07-16 20:47 +0000 [r131421] Russell Bryant <russell@digium.com>
1263 * channels/chan_iax2.c: Always ensure that the channel's tech_pvt
1264 reference is NULL after calling the destroy callback. (closes
1265 issue #13060) Reported by: jpgrayson Patches:
1266 chan_iax2_tech_pvt_crash.patch uploaded by jpgrayson (license
1269 2008-07-16 20:23 +0000 [r131299-131369] Mark Michelson <mmichelson@digium.com>
1271 * apps/app_queue.c: Move the init_queue call back to where it used
1272 to be (changed Sept 12 last year). It was moved then to prevent a
1273 memory leak. Since then, the same memory leak recurred and was
1274 fixed in a better way. Now it has been found that the placement
1275 of this init_queue call can cause problems if a realtime queue
1276 has values changed to an empty string. The problem is that the
1277 default value for that queue parameter would not be set. (closes
1278 issue #13084) Reported by: elbriga
1280 * apps/app_queue.c: Apparently, "thread safety" is important,
1281 whatever that means. :P (Thanks Russell!)
1283 * apps/app_queue.c: Make absolutely certain that the transfer
1284 datastore is removed from the calling channel once the caller is
1285 finished in the queue. This could have weird con- sequences when
1286 dialing local queue members when multiple transfers occur on a
1287 single call. Also fixed a memory leak that would occur when an
1288 attended transfer occurred from a queue member. (closes issue
1289 #13047) Reported by: festr
1291 2008-07-16 17:53 +0000 [r131242] Steve Murphy <murf@digium.com>
1293 * pbx/pbx_ael.c: (closes issue #13090) Reported by: murf The
1294 problem was that, esoteric as it is, because the hangerupper
1295 context immediately preceded the std-priv-extent macro, that the
1296 checking code accidentally would fall from traversing hangerupper
1297 into the std-priv-exten macro, where it would hit the hangerupper
1298 in the 'includes', and proceed into an infinite recursion. A
1299 small fix to traverse into the statements of the context instead
1300 of the context solves this issue. I also added some commented out
1301 printfs for debug, which were pretty handy in the face of a dorky
1302 gdb. This was a problem around since the package was first
1303 written; but evidently pretty rare in turning up in the field.
1305 2008-07-15 17:47 +0000 [r131012] Michiel van Baak <michiel@vanbaak.info>
1307 * main/cdr.c: remove 4 lines of redundant code. (closes issue
1308 #13080) Reported by: gknispel_proformatique Patches:
1309 trunk_ast_cdr_setapp.patch uploaded by gknispel (license 261)
1311 2008-07-15 17:19 +0000 [r130889-130959] Tilghman Lesher <tlesher@digium.com>
1313 * main/manager.c, channels/chan_sip.c: astman_send_error does not
1314 need a newline appended -- the API takes care of that for us.
1315 (closes issue #13068) Reported by: gknispel_proformatique
1316 Patches: asterisk_1_4_astman_send.patch uploaded by gknispel
1317 (license 261) asterisk_trunk_astman_send.patch uploaded by
1318 gknispel (license 261)
1320 * channels/chan_iax2.c: Override the callerid in all cases when the
1321 callerid is set in the user, not just when a remote callerid is
1322 set. Also, if not set in the user, allow the remote CallerID to
1323 pass through. (closes issue #12875) Reported by: dimas Patches:
1324 20080714__bug12875.diff.txt uploaded by Corydon76 (license 14)
1326 2008-07-14 17:50 +0000 [r130792] Mark Michelson <mmichelson@digium.com>
1328 * apps/app_dial.c: Add a check to the CAN_EARLY_BRIDGE macro in
1329 app_dial to be sure there are no audiohooks present on the
1330 channels involved. This fixed a one-way audio situation I had in
1331 my test setup. I couldn't find any open issues that suggested
1332 one-way audio with regards to mixmonitor (or other audiohook)
1335 2008-07-14 17:10 +0000 [r130735] Michiel van Baak <michiel@vanbaak.info>
1337 * main/dnsmgr.c: notify the user that dnsmgr refresh wont work when
1338 dnsmgr is not enabled. Previously this command would
1339 automagically appear and disappear. This was confusing. (closes
1340 issue #12796) Reported by: chappell Patches:
1341 dnsmgr_refresh_3.diff uploaded by chappell (license 8) Tested by:
1342 russell, chappell, mvanbaak
1344 2008-07-14 10:38 +0000 [r130634] Russell Bryant <russell@digium.com>
1346 * main/audiohook.c: Bump up the debug level for a message.
1348 2008-07-13 22:48 +0000 [r130573] Michiel van Baak <michiel@vanbaak.info>
1350 * main/manager.c: fix memory leak when originate from manager
1351 cannot create a thread (closes issue #13069) Reported by:
1352 gknispel_proformatique Patches:
1353 asterisk_trunk_action_originate.patch uploaded by gknispel
1354 (license 261) Tested by: gknispel_proformatique, mvanbaak
1356 2008-07-13 17:56 +0000 [r130514] Tilghman Lesher <tlesher@digium.com>
1358 * channels/chan_iax2.c: Reverting 2 changesets, as it breaks
1359 incoming IAX2 calls (Related to issue #12963) Reported by:
1362 2008-07-12 10:25 +0000 [r130373] Michiel van Baak <michiel@vanbaak.info>
1364 * pbx/pbx_ael.c: in 1.4 the functions still have | as argument
1365 seperator. This commit fixes the use of RAND in the ael random
1366 function. (closes issue #13061) Reported by: danpwi
1368 2008-07-11 22:23 +0000 [r130298-130317] Kevin P. Fleming <kpfleming@digium.com>
1370 * Makefile: forcibly remove the modules that are changing names
1372 * include/asterisk/options.h, main/asterisk.c, cdr/cdr_csv.c,
1373 Makefile, main/channel.c, apps/app_dahdibarge.c,
1374 channels/chan_dahdi.c, doc/hardware.txt, apps/app_flash.c,
1375 apps/app_dahdiras.c, main/file.c,
1376 contrib/utils/zones2indications.c, include/asterisk/channel.h,
1377 channels/chan_iax2.c: a whole pile of Zaptel/DAHDI compatibility
1378 work, with lots more to come... this tree is not yet ready for
1379 users to be easily upgrading or switching, but it needs to be :-)
1381 2008-07-11 20:03 +0000 [r130173-130236] Mark Michelson <mmichelson@digium.com>
1383 * main/audiohook.c: Remove redundant logic
1385 * main/audiohook.c: Fix a typo in audiohook_read_frame_both. While
1386 this change has not been proven to fix any specific issue, it is
1387 incorrect and could cause unforeseen problems.
1389 2008-07-11 18:51 +0000 [r130102-130169] Tilghman Lesher <tlesher@digium.com>
1391 * channels/chan_iax2.c: Ensure that a destination callno of 0 will
1392 not match for frames that do not start a dialog (new, lagrq, and
1393 ping). (closes issue #12963) Reported by: russellb Patches:
1394 chan_iax2_dup_new_fix4.patch uploaded by jpgrayson (license 492)
1396 * channels/chan_agent.c: Pass the devicestate from an underlying
1397 channel up through the Agent channel. This should make the Agent
1398 always report the correct device state, even when the underlying
1399 channel is used for other purposes. (closes issue #12773)
1400 Reported by: davidw Patches: 20080710__bug12773.diff.txt uploaded
1401 by Corydon76 (license 14) Tested by: davidw
1403 2008-07-11 16:08 +0000 [r130039-130042] Kevin P. Fleming <kpfleming@digium.com>
1405 * doc/configuration.txt, configs/extensions.conf.sample,
1406 configs/sla.conf.sample, configs/zapata.conf.sample (removed),
1407 contrib/scripts/autosupport, README,
1408 configs/chan_dahdi.conf.sample (added), channels/chan_dahdi.c,
1409 include/asterisk/doxyref.h, doc/sla.tex, doc/ael.txt,
1410 configs/extensions.ael.sample, configs/smdi.conf.sample: new
1411 installations should be using DAHDI instead of Zaptel, so the
1412 sample config file is now chan_dahdi.conf instead of zapata.conf
1413 also, convert remaining references to zapata.conf in various
1416 * configs/zapata.conf.sample, channels/chan_dahdi.c, configure,
1417 include/asterisk/autoconfig.h.in, configure.ac: add support for a
1418 configuration parameter for 'inband audio during RELEASE', which
1419 is currently mandatory in libpri-1.4.4 but will become
1420 configurable in libpri-1.4.5 later today (related to issue
1423 2008-07-11 14:18 +0000 [r129970] Russell Bryant <russell@digium.com>
1425 * include/asterisk/astobj.h: add a simple ASTOBJ_TRYWRLOCK macro
1428 2008-07-11 14:14 +0000 [r129907-129967] Kevin P. Fleming <kpfleming@digium.com>
1430 * main/astmm.c: simplify calculation
1432 * main/astmm.c: fix a flaw found while experimenting with structure
1433 alignment and padding; low-fence checking would not work properly
1434 on 64-bit platforms, because the compiler was putting 4 bytes of
1435 padding between the fence field and the allocation memory block
1436 added a very obvious runtime warning if this condition reoccurs,
1437 so the developer who broke it can be chastised into fixing it :-)
1439 * sounds/Makefile: don't attempt to set user/group ownership of
1440 extracted sound files (reported on asterisk-users) (closes issue
1443 2008-07-10 21:57 +0000 [r129741-129803] Tilghman Lesher <tlesher@digium.com>
1445 * channels/chan_iax2.c: Correctly deal with duplicate NEW frames
1446 (due to retransmission). Also, fixup the destination call number
1447 matching to be more strict and reliable. (closes issue #12963)
1448 Reported by: jpgrayson Patches: chan_iax2_dup_new_fix3.patch
1449 uploaded by jpgrayson (license 492) Tested by: jpgrayson,
1452 * res/res_config_odbc.c: Oops
1454 2008-07-10 16:03 +0000 [r129567] Russell Bryant <russell@digium.com>
1456 * sample.call: Note that pbx_spool.so is the module used for call
1457 files (inspired by a question in #asterisk)
1459 2008-07-10 13:57 +0000 [r129505] Sean Bright <sean.bright@gmail.com>
1461 * main/editline: Update svn:ignore
1463 2008-07-09 19:32 +0000 [r129436] Mark Michelson <mmichelson@digium.com>
1465 * main/rtp.c: Fix a problem where inbound rfc2833 audio would be
1466 sent to the core instead of being P2P bridged. When the core
1467 regenerated the rfc2833 packet for the outbound leg, the SSRC
1468 would be different than the RTP audio on the call leg causing
1469 DTMF detection issues on the far end. (closes issue #12955)
1470 Reported by: tonyredstone Patches: dynamic_rtp.patch uploaded by
1471 tsearle (license 373) Tested by: tonyredstone
1473 2008-07-09 13:41 +0000 [r129343] Sean Bright <sean.bright@gmail.com>
1475 * main/editline/makelist (removed), main/editline/makelist.in
1476 (added), main/editline/configure, main/editline/Makefile.in,
1477 main/editline/configure.in: Look for the system installed awk
1478 instead of assuming it's at /usr/bin/awk. Pointed out by jmls via
1481 2008-07-08 21:31 +0000 [r129158-129208] Mark Michelson <mmichelson@digium.com>
1483 * doc/imapstorage.txt: Update documentation to have the correct
1486 * apps/app_voicemail.c, doc/imapstorage.txt: Backport TCP-related
1487 timeouts to IMAP voicemail in 1.4 since it should solve bugs
1488 people are experiencing. Specifically, there are times where
1489 communication with the IMAP server causes system calls to block
1490 forever. If this should happen when querying the mailbox so that
1491 chan_sip's do_monitor thread can send MWI to a phone, it means
1492 that SIP calls cannot be processed any more. The timeout options
1493 are outlined in doc/imapstorage.txt. Defaults for the timeouts
1494 are sixty seconds. (closes issue #12987) Reported by: mthomasslo
1496 2008-07-08 20:27 +0000 [r129047-129149] Tilghman Lesher <tlesher@digium.com>
1498 * apps/app_dial.c, channels/chan_sip.c, include/asterisk/causes.h:
1499 Cause SIP to return a 480 instead of a 404 when a sip peer
1500 exists, but is not registered. (closes issue #12885) Reported by:
1501 ibc Patches: 20080701__bug12885__2.diff.txt uploaded by Corydon76
1502 (license 14) Tested by: ibc
1504 * channels/chan_iax2.c: Timestamp decoding for video mini-frames is
1505 bogus, because the timestamp only includes 15 bits, unlike voice
1506 frames, which contain a 16-bit timestamp. (closes issue #13013)
1507 Reported by: jpgrayson Patches: chan_iax2_unwrap_ts.patch
1508 uploaded by jpgrayson (license 492)
1510 2008-07-08 09:52 +0000 [r128912-128950] Olle Johansson <oej@edvina.net>
1512 * channels/chan_sip.c: Don't hangup the call if we can't resolve
1513 the Contact if there's a proxy route set for the call. ---- This
1514 comment was added a while ago and today it hit me badly. /* OEJ:
1515 Possible issue that may need a check: If we have a proxy route
1516 between us and the device, should we care about resolving the
1517 contact or should we just send it? */
1519 * channels/chan_sip.c: Fix issues where repeated messages where
1520 ignored, but retransmitted reliably instead of unreliably.
1521 Reported by: johan Patches: 12746.txt uploaded by oej (license
1522 306) Tested by: johan (issue #12746)
1524 2008-07-08 00:01 +0000 [r128812-128856] Tilghman Lesher <tlesher@digium.com>
1526 * apps/app_voicemail.c: Check for non-NULL before stripping
1527 characters. (closes issue #12954) Reported by: bfsworks Patches:
1528 20080701__bug12954.diff.txt uploaded by Corydon76 (license 14)
1531 * apps/app_voicemail.c: Stop using deprecated method, as requested
1534 2008-07-07 22:41 +0000 [r128795] Russell Bryant <russell@digium.com>
1536 * channels/chan_iax2.c: Fix handling of when a pvt disappears.
1537 Properly return the pvt locked and don't hold the pvt lock while
1538 destroying the ast_channel. (closes issue #13014) Reported by:
1539 jpgrayson Patches: chan_iax2_ast_iax2_new2.patch uploaded by
1540 jpgrayson (license 492)
1542 2008-07-07 20:47 +0000 [r128737] Sean Bright <sean.bright@gmail.com>
1544 * channels/chan_iax2.c: Remove spurious trailing whitespace from
1545 log messages and fix a spelling error in a log message. (closes
1546 issue #13017) Reported by: jpgrayson Patches:
1547 chan_iax2_space_after_newline.patch uploaded by jpgrayson
1548 (license 492) chan_iax2_spelling.patch uploaded by jpgrayson
1551 2008-07-07 17:02 +0000 [r128639] Mark Michelson <mmichelson@digium.com>
1553 * channels/chan_iax2.c: By using the iaxdynamicthreadcount to
1554 identify a thread, it was possible for thread identifiers to be
1555 duplicated. By using a globally-unique monotonically- increasing
1556 integer, this is now avoided. (closes issue #13009) Reported by:
1557 jpgrayson Patches: chan_iax2_dyn_threadnum.patch uploaded by
1558 jpgrayson (license 492)
1560 2008-07-07 16:51 +0000 [r128637] Kevin P. Fleming <kpfleming@digium.com>
1562 * configure, configure.ac: use tzafrir's patch to fix this problem
1563 properly... i made the previous set of changes without thoroughly
1564 testing them, doh! (closes issue #12911) Reported by: tzafrir
1565 Patches: custum_dahdi_configure_2.diff uploaded by tzafrir
1566 (license 46) Tested by: tzafrir
1568 2008-07-04 16:11 +0000 [r127973-128029] Tilghman Lesher <tlesher@digium.com>
1570 * pbx/pbx_config.c: Move the free down one
1572 * main/pbx.c, include/asterisk/pbx.h, pbx/pbx_config.c: Fix the
1573 'dialplan remove extension' logic, so that it a) works with
1574 cidmatch, and b) completes contexts correctly when the extension
1575 is ambiguous. (closes issue #12980) Reported by: licedey Patches:
1576 20080703__bug12980.diff.txt uploaded by Corydon76 (license 14)
1577 Tested by: Corydon76
1579 2008-07-03 22:20 +0000 [r127754-127895] Kevin P. Fleming <kpfleming@digium.com>
1581 * apps/Makefile: remove this, it has been moved to the main
1584 * Makefile, main/editline/np/vis.c: a couple of small
1585 Solaris-related fixes (closes issue #11885) Reported by: snuffy,
1588 * configure, main/Makefile, configure.ac, acinclude.m4: ensure that
1589 DAHDI_INCLUDE and ZAPTEL_INCLUDE are added in all the places
1590 needed improve AST_EXT_LIB_CHECK to accept (and remember)
1591 additional CFLAGS data like it does in trunk already (closes
1592 issue #12911) Reported by: tzafrir
1594 2008-07-03 00:16 +0000 [r127663] Steve Murphy <murf@digium.com>
1596 * main/cdr.c, main/channel.c, channels/chan_dahdi.c, main/pbx.c,
1597 channels/chan_sip.c, res/res_features.c, include/asterisk/cdr.h:
1598 The CDRfix4/5/6 omnibus cdr fixes. (closes issue #10927) Reported
1599 by: murf Tested by: murf, deeperror (closes issue #12907)
1600 Reported by: falves11 Tested by: murf, falves11 (closes issue
1601 #11849) Reported by: greyvoip As to 11849, I think these changes
1602 fix the core problems brought up in that bug, but perhaps not the
1603 more global problems created by the limitations of CDR's
1604 themselves not being oriented around transfers. Reopen if necc,
1605 but bug reports are not the best medium for enhancement
1606 discussions. We need to start a second-generation CDR
1607 standardization effort to cover transfers. (closes issue #11093)
1608 Reported by: rossbeer Tested by: greyvoip, murf
1610 2008-07-02 20:47 +0000 [r127560] Mark Michelson <mmichelson@digium.com>
1612 * channels/chan_agent.c: Fix thread-safety of some of the
1613 pbx_builtin_getvar_helper calls
1615 2008-07-02 19:47 +0000 [r127501] Tilghman Lesher <tlesher@digium.com>
1617 * main/acl.c: Merged revisions 127466 via svnmerge from
1618 https://origsvn.digium.com/svn/asterisk/trunk ........ r127466 |
1619 tilghman | 2008-07-02 13:31:11 -0500 (Wed, 02 Jul 2008) | 6 lines
1620 Solaris fix (closes issue #12949) Reported by: snuffy Patches:
1621 bug_12949.diff uploaded by snuffy (license 35) ........
1623 2008-07-01 23:36 +0000 [r127244] Mark Michelson <mmichelson@digium.com>
1625 * apps/app_voicemail.c: Add error message to failed open(2) calls
1626 inside the copy() function of app_voicemail. This idea came as
1627 part of my work in helping to resolve issue #12764.
1629 2008-07-01 20:25 +0000 [r126999-127133] Tilghman Lesher <tlesher@digium.com>
1631 * build_tools/cflags.xml, channels/chan_iax2.c: Disable the old,
1632 slow search for matching callno in chan_iax2 (but allow it to be
1633 reenabled for debugging)
1635 * channels/chan_iax2.c: Oops
1637 * channels/chan_iax2.c: Change around how we schedule pings and
1638 lagrqs, and fix a reason why the jobs were not getting properly
1639 cancelled. (closes issue #12903) Reported by: stevedavies
1640 Patches: 20080620__bug12903__2.diff.txt uploaded by Corydon76
1641 (license 14) Tested by: stevedavies
1643 * channels/chan_iax2.c: Suppress annoying warning by finding the
1644 remaining cases where the callno is not in the hash.
1646 2008-07-01 14:59 +0000 [r126735-126902] Olle Johansson <oej@edvina.net>
1648 * channels/chan_sip.c: Use domain part of SIP uri in register=
1649 configuration as fromdomain. Reported by: one47 Patches:
1650 sip-reg-fromdom2.dpatch uploaded by one47 (license 23) (closes
1653 * channels/chan_sip.c: Handle escaped URI's in call pickups. Patch
1654 by oej and IgorG. Reported by: IgorG Patches:
1655 bug12299-11062-v2.patch uploaded by IgorG (license 20) Tested by:
1656 IgorG, oej (closes issue #12299)
1658 * configs/sip.conf.sample: Clear up documentation on "domain="
1659 setting in sip.conf Reported by: davidw (closes issue #12413)
1661 * channels/chan_sip.c: Report 200 OK to all in-dialog OPTIONs
1662 requests (to confirm that the dialog exist). Don't bother
1663 checking the request URI. (closes issue #11264) Reported by: ibc
1665 * channels/chan_sip.c: Fix bad XML for hold notification. Reported
1666 by: gowen72 Patches: hold.patch uploaded by gowen72 (license 432)
1667 (closes issue #12942)
1669 2008-06-30 23:11 +0000 [r126680] Jeff Peeler <jpeeler@digium.com>
1671 * channels/chan_dahdi.c: Load the proper channel configuration file
1672 based on which driver was detected.
1674 2008-06-30 22:30 +0000 [r126674] Tilghman Lesher <tlesher@digium.com>
1676 * configs/zapata.conf.sample: Add note about other names for
1679 2008-06-30 16:05 +0000 [r126573] Russell Bryant <russell@digium.com>
1681 * include/asterisk/lock.h: Fix a typo in the non-DEBUG_THREADS
1682 version of the recently added DEADLOCK_AVOIDANCE() macro. This
1683 caused the lock to not actually be released, and as a result, not
1684 avoid deadlocks at all. This resolves the issues reported in the
1685 last while about Asterisk locking up all over the place (and most
1686 commonly, in chan_iax2). (closes issue #12927) (closes issue
1687 #12940) (closes issue #12925) (potentially closes others ...)
1689 2008-06-30 12:50 +0000 [r126516] Olle Johansson <oej@edvina.net>
1691 * channels/chan_sip.c: Send all responses to an INVITE reliably, so
1692 that we retransmit if we don't get an ACK and also fail if we
1693 don't get the very same precious ACK. Based on patch by tsearle,
1694 with my own additions. (closes issue #12951) Reported by: tsearle
1695 Patches: busy_retransmit.patch uploaded by tsearle (license 373)
1697 2008-06-29 18:05 +0000 [r126395] Kevin P. Fleming <kpfleming@digium.com>
1699 * pbx/Makefile: ignore warnings for prototypes in GTK headers
1701 2008-06-27 22:01 +0000 [r125740-126056] Tilghman Lesher <tlesher@digium.com>
1703 * channels/chan_sip.c: When we get a 408 Timeout, don't stop trying
1704 to re-register. (closes issue #12863) Reported by: ricvil
1706 * include/asterisk/tonezone_compat.h: Since HAVE_DAHDI is defined
1707 to HAVE_ZAPTEL in dahdi_compat.h, we must first check for
1708 HAVE_ZAPTEL. (closes issue #12938) Reported by: opticron Patches:
1709 tonezone_compat.diff uploaded by opticron (license 267)
1711 * main/utils.c, include/asterisk/lock.h: In this debugging
1712 function, copy to a buffer instead of using potentially unsafe
1715 * channels/chan_local.c: Add proper deadlock avoidance. (closes
1716 issue #12914) Reported by: ozan Patches:
1717 20080625__bug12914.diff.txt uploaded by Corydon76 (license 14)
1720 2008-06-26 23:03 +0000 [r125587] Jason Parker <jparker@digium.com>
1722 * main/utils.c: Make sure to unlock the lock_info lock (huh?).
1725 2008-06-26 22:52 +0000 [r125476-125585] Mark Michelson <mmichelson@digium.com>
1727 * apps/app_queue.c: Add the interface of a queue member to the
1728 output of the "queue show" command so that it can easily be
1729 associated with a queue member's name. This helps so that the
1730 appropriate queue member can be removed or paused since the
1731 interface is required, not the member's name. (closes issue
1732 #12783) Reported by: davevg Patches: app_queue.diff uploaded by
1733 davevg (license 209) with small mod from me
1735 * apps/app_queue.c: Backport of attended transfer queue_log patch
1736 from trunk. This patch allows for attended transfers to be logged
1737 in the queue_log the same way that blind transfers have always
1738 been. It was decided by popular opinion on the asterisk-dev
1739 mailing list that this should be backported to 1.4. Thanks to
1740 everyone who gave an opinion.
1742 * apps/app_queue.c: Prior to this patch, the "queue show" command
1743 used cached information for realtime queues instead of giving
1744 up-to-date info. Now realtime is queried for the latest and
1745 greatest in queue info. (closes issue #12858) Reported by: bcnit
1746 Patches: queue_show.patch uploaded by putnopvut (license 60)
1748 2008-06-26 16:32 +0000 [r125384] Olle Johansson <oej@edvina.net>
1750 * channels/chan_sip.c: Add support for peer realm based auth (a few
1751 missing lines, the rest is well documented but never worked)
1753 2008-06-26 15:30 +0000 [r125327] Kevin P. Fleming <kpfleming@digium.com>
1755 * channels/chan_dahdi.c: ensure that (whenever possible) if we
1756 generate a log message because an ioctl() call to DAHDI/Zaptel
1757 failed, that we include the reason it failed by including the
1758 stringified error number (issue AST-80)
1760 2008-06-26 11:01 +0000 [r125218-125276] Tilghman Lesher <tlesher@digium.com>
1762 * main/rtp.c: Check for rtcp structure before trying to delete
1763 schedule. (closes issue #12872) Reported by: destiny6628 Patches:
1764 20080621__bug12872.diff.txt uploaded by Corydon76 (license 14)
1765 Tested by: destiny6628
1767 * configs/agents.conf.sample: Document ackcall=always. (closes
1768 issue #12852) Reported by: davidw
1770 2008-06-25 22:21 +0000 [r125132] Kevin P. Fleming <kpfleming@digium.com>
1772 * apps/app_rpt.c, include/asterisk/dahdi_compat.h,
1773 channels/chan_dahdi.c, configure,
1774 include/asterisk/tonezone_compat.h (added), configure.ac: allow
1775 tonezone to live in a different place than DAHDI/Zaptel, since
1776 dahdi-tools and dahdi-linux are now separate packages and can be
1777 installed in different places don't include tonezone.h in
1778 dahdi_compat.h, because only a couple of modules need it get
1779 app_rpt building again after the DAHDI changes (closes issue
1780 #12911) Reported by: tzafrir
1782 2008-06-25 00:46 +0000 [r124908-124965] Tilghman Lesher <tlesher@digium.com>
1784 * channels/chan_dahdi.c: Pvt deadlock causes some channels to get
1785 stuck in Reserved status. (closes issue #12621) Reported by:
1786 fabianoheringer Patches: 20080612__bug12621.diff.txt uploaded by
1787 Corydon76 (license 14) Tested by: fabianoheringer
1789 * apps/app_voicemail.c: Occasionally control characters find their
1790 way into CallerID. These need to be stripped prior to placing
1791 CallerID in the headers of an email. (closes issue #12759)
1792 Reported by: RobH Patches: 20080602__bug12759__2.diff.txt
1793 uploaded by Corydon76 (license 14) Tested by: RobH
1795 * channels/chan_sip.c: Don't access the pvt structure if unable to
1796 acquire the lock. (closes issue #12162) Reported by: norman
1797 Patches: 12162-lockfail.diff uploaded by qwell (license 4)
1799 2008-06-23 21:22 +0000 [r124743] Kevin P. Fleming <kpfleming@digium.com>
1801 * channels/chan_iax2.c: emit a warning if the old IAX2 call
1802 searching code finds a call when the new code did not... so that
1803 we can get rid of the old code in 2-3 months
1805 2008-06-22 02:54 +0000 [r124540] Steve Murphy <murf@digium.com>
1807 * apps/app_forkcdr.c: (closes issue #12910) Reported by: chris-mac
1808 Sorry, my testing did not contain the simple case of forkCDR(v),
1809 I am much embarrassed to admit. If I had, I would have more
1810 solidly initialized the opts element for varset.
1812 2008-06-20 23:12 +0000 [r124395-124450] Tilghman Lesher <tlesher@digium.com>
1814 * apps/app_rpt.c: usleep with a value over 1,000,000 is
1815 nonportable. Changing to use sleep() instead. (closes issue
1816 #12814) Reported by: pputman Patches: app_rtp_sleep.patch
1817 uploaded by pputman (license 81)
1819 * main/app.c: If the last character in a string to be parsed is the
1820 delimiter, then we should count that final empty string as an
1821 additional argument.
1823 2008-06-20 21:14 +0000 [r124372] Jeff Gehlbach <jeffg@opennms.org>
1825 * doc/asterisk-mib.txt, doc/digium-mib.txt: Fix issues in
1826 digium-mib.txt and asterisk-mib.txt to placate smilint - bug
1829 2008-06-20 20:16 +0000 [r124182-124315] Tilghman Lesher <tlesher@digium.com>
1831 * channels/chan_local.c: When using a Local channel, started by a
1832 call file, with a destination of an AGI script, the AGI script
1833 does not always get notified of a hangup if the underlying
1834 channel hangs up early. (closes issue #11833) Reported by: IgorG
1835 Patches: local_hangup-v1.diff uploaded by IgorG (license 20)
1837 * channels/chan_dahdi.c: It's possible for a hangup to be received,
1838 even just after the initial cid spill. (closes issue #12453)
1839 Reported by: Alex728 Patches: 20080604__bug12453.diff.txt
1840 uploaded by Corydon76 (license 14)
1842 2008-06-19 20:28 +0000 [r124112] Mark Michelson <mmichelson@digium.com>
1844 * apps/app_voicemail.c: Fix IMAP forwarding so that messages are
1845 sent to the proper mailbox. (closes issue #12897) Reported by:
1846 jaroth Patches: destination_forward.patch uploaded by jaroth
1849 2008-06-19 19:55 +0000 [r124066] Brett Bryant <bbryant@digium.com>
1851 * main/utils.c: Merge revision 124064 from trunk. Add errors that
1852 report any locks held by threads when they are being closed.
1854 2008-06-19 16:58 +0000 [r123710-123930] Tilghman Lesher <tlesher@digium.com>
1856 * main/channel.c: Change informative messages to use the _multiple
1857 variant when multiple formats are possible. (Closes issue #12848)
1858 Reported by klaus3000
1860 * build_tools/strip_nonapi: Only process 40 arguments (20 files) at
1861 once with xargs, because some older shells may force xargs to
1862 separate on an odd boundary. (Closes issue #12883) Reported by
1865 * configs/sip.conf.sample: Correct description of notifyringing
1866 option. (Closes issue #12890) Reported by gminet
1868 * main/asterisk.c: The RDTSC instruction was introduced on the
1869 Pentium line of microprocessors, and is not compatible with
1870 certain 586 clones, like Cyrix. Hence, asking for i386
1871 compatibility was always incorrect. See
1872 http://en.wikipedia.org/wiki/RDTSC (Closes issue #12886) Reported
1875 * main/say.c, doc/lang (added), doc/lang/hebrew.ods (added): Add
1876 support for saying numbers in Hebrew. (closes issue #11662)
1877 Reported by: greenfieldtech Patches: say.c.patch-12042008
1878 uploaded by greenfieldtech (license 369) Hebrew-Sounds.ods
1879 uploaded by greenfieldtech (with signficant changes to the
1882 * pbx/pbx_spool.c: Set the variables top-down, so that if a script
1883 sets a variable more than once, the last one will take
1884 precedence. (closes issue #12673) Reported by: phber Patches:
1885 20080519__bug12673.diff.txt uploaded by Corydon76 (license 14)
1887 2008-06-17 20:26 +0000 [r123485] Mark Michelson <mmichelson@digium.com>
1889 * channels/chan_sip.c: Make chan_sip build under dev mode with
1890 compilers >= GCC 4.2 Thanks to jpeeler for alerting me of this
1892 2008-06-17 18:56 +0000 [r123391] Tilghman Lesher <tlesher@digium.com>
1894 * channels/chan_iax2.c: Fix 3 more places where not locking the
1895 structure could cause the wrong lock to be unlocked. (Closes
1898 2008-06-17 18:09 +0000 [r123274-123333] Mark Michelson <mmichelson@digium.com>
1900 * channels/chan_sip.c: Cisco BTS sends SIP responses with a tab
1901 between the Cseq number and SIP request method in the Cseq:
1902 header. Asterisk did not handle this properly, but with this
1903 patch, all is well. (closes issue #12834) Reported by: tobias_e
1904 Patches: 12834.patch uploaded by putnopvut (license 60) Tested
1907 * apps/app_queue.c: davidw pointed out that the holdtime
1908 calculation used by app_queue does not use "boxcar" filtering as
1909 the comments say. The term "boxcar" means that the number of
1910 samples used to calculate stays constant, with new samples
1911 replacing the oldest ones. The queue holdtime calculation uses
1912 all holdtime samples collected since the queue was loaded, so the
1913 comment has been changed to be accurate. (closes issue #12781)
1916 2008-06-17 15:48 +0000 [r123271] Russell Bryant <russell@digium.com>
1918 * main/astobj2.c: Fix a memory leak in astobj2 that was pointed out
1919 by seanbright. When a container got destroyed, the underlying
1920 bucket list entry for each object that was in the container at
1921 that time did not get free'd.
1923 2008-06-16 19:50 +0000 [r123110-123113] Tilghman Lesher <tlesher@digium.com>
1925 * channels/chan_mgcp.c, channels/chan_dahdi.c,
1926 channels/chan_skinny.c, channels/chan_h323.c,
1927 channels/chan_iax2.c: Port "hasvoicemail" change from SIP to
1928 other channel drivers
1930 * channels/chan_sip.c: People expect that if "hasvoicemail" is set
1931 in users.conf, even if "mailbox" isn't set, that SIP will detect
1932 a mailbox. (closes issue #12855) Reported by: PLL Patches:
1933 20080614__bug12855__2.diff.txt uploaded by Corydon76 (license 14)
1936 2008-06-16 12:31 +0000 [r122869-122919] Joshua Colp <jcolp@digium.com>
1938 * channels/chan_sip.c: Only compare the first 15 characters so that
1939 even if the charset is specified we still accept it as SDP.
1940 (closes issue #12803) Reported by: lanzaandrea Patches:
1941 chan_sip.c.diff uploaded by lanzaandrea (license 496)
1943 * channels/chan_sip.c: Don't send a BYE on a dialog that is already
1944 gone during a REFER. (closes issue #12865) Reported by: flefoll
1945 Patches: chan_sip.c.br14.121495.patch-ALREADYGONE uploaded by
1946 flefoll (license 244)
1948 2008-06-13 21:44 +0000 [r122713] Mark Michelson <mmichelson@digium.com>
1950 * main/autoservice.c: Short circuit the loop in autoservice_run if
1951 there are no channels to poll. If we continued, then the result
1952 would be calling poll() with a NULL pollfd array. While this is
1953 fine with POSIX's poll(2) system call, those who use Asterisk's
1954 internal poll mechanism (Darwin systems) would have a failed
1955 assertion occur when poll is called. (related to issue #10342)
1957 2008-06-13 18:57 +0000 [r122663] Jeff Peeler <jpeeler@digium.com>
1959 * include/asterisk/dahdi_compat.h, res/res_musiconhold.c: fixed
1960 dahdi compatability header from assuming either dahdi or zaptel
1961 is installed (may not have either)
1963 2008-06-13 17:45 +0000 [r122617] Terry Wilson <twilson@digium.com>
1965 * apps/app_dial.c: Remove extra option from previous solution
1968 2008-06-13 17:36 +0000 [r122613] Jeff Peeler <jpeeler@digium.com>
1970 * configure, configure.ac: (closes issue #12846) Reported by:
1971 Netview Tested by: jpeeler Use correct location to search for
1974 2008-06-13 16:29 +0000 [r122589] Terry Wilson <twilson@digium.com>
1976 * apps/app_dial.c, res/res_features.c: This should fix the behavior
1977 of the 'T' dial feature being passed incorrectly to the
1978 transferee when builtin_atxfers are used. Also, doing a
1979 builtin_atxfer to parking was broken and is fixed here as well.
1980 (closes issue #11898) Reported by: sergee Tested by: otherwiseguy
1982 2008-06-12 19:08 +0000 [r122314] Jeff Peeler <jpeeler@digium.com>
1984 * main/indications.c, include/asterisk/dahdi_compat.h (added),
1985 main/loader.c, main/channel.c, channels/chan_dahdi.c (added),
1986 configure, apps/app_zapscan.c (removed), apps/app_zapras.c
1987 (removed), main/app.c, include/asterisk/options.h,
1988 apps/app_rpt.c, channels/chan_mgcp.c, apps/app_read.c,
1989 channels/chan_zap.c (removed), apps/app_page.c,
1990 include/asterisk/indications.h, apps/app_dahdiras.c (added),
1991 configure.ac, apps/app_disa.c, include/asterisk/channel.h,
1992 apps/app_getcpeid.c, apps/app_queue.c, apps/app_zapbarge.c
1993 (removed), channels/chan_misdn.c, apps/app_flash.c,
1994 build_tools/menuselect-deps.in, funcs/func_channel.c,
1995 main/file.c, res/snmp/agent.c, contrib/utils/zones2indications.c,
1996 codecs/codec_dahdi.c (added), res/res_indications.c,
1997 pbx/pbx_config.c, makeopts.in, apps/app_chanspy.c,
1998 main/asterisk.c, apps/app_dahdibarge.c (added),
1999 apps/app_meetme.c, include/asterisk/autoconfig.h.in,
2000 apps/app_dahdiscan.c (added), acinclude.m4,
2001 res/res_musiconhold.c, codecs/codec_zap.c (removed),
2002 channels/chan_iax2.c: Adds DAHDI support alongside Zaptel. DAHDI
2003 usage favored, but all Zap stuff should continue working. Release
2004 announcement to follow.
2006 2008-06-12 18:50 +0000 [r122311] Mark Michelson <mmichelson@digium.com>
2008 * apps/app_queue.c: Properly play a holdtime message if the
2009 announce-holdtime option is set to "once." (closes issue #12842)
2010 Reported by: ramonpeek Patches: patch001.diff uploaded by
2011 ramonpeek (license 266)
2013 2008-06-12 18:22 +0000 [r122259] Russell Bryant <russell@digium.com>
2015 * channels/chan_iax2.c: Fix some race conditions that cause
2016 ast_assert() to report that chan_iax2 tried to remove an entry
2017 that wasn't in the scheduler
2019 2008-06-12 15:46 +0000 [r122208] Jeff Peeler <jpeeler@digium.com>
2021 * apps/app_parkandannounce.c, res/res_features.c: (closes issue
2022 #12193) Reported by: davidw Patch by: Corydon76, modified by me
2023 to work properly with ParkAndAnnounce app
2025 2008-06-12 15:18 +0000 [r122130-122137] Tilghman Lesher <tlesher@digium.com>
2027 * apps/app_meetme.c: Flipflop the sections for two options, since
2028 the section for 'X' (exit context) may otherwise absorb
2029 keypresses meant for 's' (admin/user menu). (closes issue #12836)
2030 Reported by: blitzrage Patches: 20080611__bug12836.diff.txt
2031 uploaded by Corydon76 (license 14) Tested by: blitzrage
2033 * main/channel.c: Occasionally, the alertpipe loses its nonblocking
2034 status, so detect and correct that situation before it causes a
2035 deadlock. (Reported and tested by ctooley via #asterisk-dev)
2037 2008-06-12 14:51 +0000 [r122127] Steve Murphy <murf@digium.com>
2039 * main/cdr.c, apps/app_forkcdr.c: Arkadia tried to warn me, but the
2040 code added to ast_cdr_busy, _failed, and _noanswer was redundant.
2041 Didn't spot it until I was resolving conflicts in trunk. Ugh.
2042 Redundant code removed. It wasn't harmful. Just dumb.
2044 2008-06-12 Russell Bryant <russell@digium.com>
2046 * Asterisk 1.4.21 released.
2048 2008-06-06 Russell Bryant <russell@digium.com>
2050 * Asterisk 1.4.21-rc2 released.
2052 2008-06-05 18:03 +0000 [r120731-120735] Russell Bryant <russell@digium.com>
2054 * UPGRADE-1.2.txt: fix filename
2056 * UPGRADE-1.2.txt (added), UPGRADE.txt: Add the UPGRADE.txt file
2057 from Asterisk 1.2, for handy reference.
2059 2008-06-05 16:56 +0000 [r120675] Philippe Sultan <philippe.sultan@gmail.com>
2061 * res/res_jabber.c: Ignore appended resource when comparing JIDs.
2063 2008-06-05 16:38 +0000 [r120671] Russell Bryant <russell@digium.com>
2065 * doc/smdi.txt, res/res_smdi.c: It turns out that searching on the
2066 forwarding station isn't very useful for most people, so pull in
2067 the changes that allow searching for SMDI messages based on other
2068 components of the SMDI message. Also, update the SMDI
2071 2008-06-04 22:05 +0000 [r120513] Mark Michelson <mmichelson@digium.com>
2073 * apps/app_queue.c: Make sure that the string we set will survive
2074 the unref of the queue member. Thanks to Russell, who pointed
2077 2008-06-04 18:35 +0000 [r120425] Tilghman Lesher <tlesher@digium.com>
2079 * channels/chan_zap.c: If we fail to setup the PRI request channel,
2080 don't continue, exit with an error. (closes issue #11989)
2081 Reported by: Corydon76 Patches: 20080213__zap_memleak.diff.txt
2082 uploaded by Corydon76 (license 14)
2084 2008-06-04 16:26 +0000 [r120371] Russell Bryant <russell@digium.com>
2086 * pbx/pbx_config.c: Make the "dialplan remove include" CLI command
2087 actually work. Also, tweak some formatting, and make the success
2088 message a little bit more clear. (closes AST-52)
2090 2008-06-04 14:11 +0000 [r120285] Mark Michelson <mmichelson@digium.com>
2092 * apps/app_queue.c: Tab completion when removing a member should
2093 give the member's interface, not the name, since the interface is
2094 what is expected for the command. (closes issue #12783) Reported
2097 2008-06-04 13:31 +0000 [r120282] Joshua Colp <jcolp@digium.com>
2099 * main/pbx.c, pbx/pbx_config.c: Fix a log message and add a message
2100 for when the dialplan is done reloading. (closes issue #12716)
2101 Reported by: chappell Patches: dialplan_reload_2.diff uploaded by
2102 chappell (license 8)
2104 2008-06-03 22:41 +0000 [r120226] Tilghman Lesher <tlesher@digium.com>
2106 * pbx/pbx_loopback.c: Due to incorrect use of the
2107 AST_LIST_INSERT_HEAD() macro the loopback switch cannot perform
2108 any translation on the extension number before searching for it
2109 in the target context. (closes issue #12473) Reported by:
2110 chappell Patches: pbx_loopback.c.diff uploaded by chappell
2113 2008-06-03 22:15 +0000 [r120173] Jeff Peeler <jpeeler@digium.com>
2115 * main/config.c: (closes issue #11594) Reported by: yem Tested by:
2116 yem This change decreases the buffer size allocated on the stack
2117 substantially in config_text_file_load when LOW_MEMORY is turned
2118 on. This change combined with the fix from revision 117462
2119 (making mkintf not copy the zt_chan_conf structure) was enough to
2122 2008-06-03 21:34 +0000 [r120168] Russell Bryant <russell@digium.com>
2124 * channels/chan_iax2.c: Fix another place where peer->callno could
2125 change at a very bad time, and also fix a place where a peer was
2126 used after the reference was released. (inspired by rev 120001)
2128 2008-06-03 Russell Bryant <russell@digium.com>
2130 * Asterisk 1.4.21-rc1 released.
2132 2008-06-03 18:23 +0000 [r120001-120061] Tilghman Lesher <tlesher@digium.com>
2134 * main/manager.c: When listing the manager users, managers in
2135 users.conf are not shown, even though they are allowed to
2136 connect. (closes issue #12594) Reported by: bkruse Patches:
2137 12594-managerusers-2.diff uploaded by qwell (license 4) Tested
2140 * channels/chan_iax2.c: Save the callno when we're poking, because
2141 our peer structure could change during deadlock avoidance (and
2142 thus we unlock the wrong callno, causing a cascade failure).
2143 (closes issue #12717) Reported by: gewfie Patches:
2144 20080525__bug12717.diff.txt uploaded by Corydon76 (license 14)
2147 2008-06-03 15:26 +0000 [r119929-119966] Steve Murphy <murf@digium.com>
2149 * pbx/ael/ael-test/ref.ael-test8, pbx/ael/ael-test/ref.ael-test18,
2150 pbx/ael/ael-test/ref.ael-vtest13,
2151 pbx/ael/ael-test/ref.ael-vtest17,
2152 pbx/ael/ael-test/ref.ael-ntest10, pbx/ael/ael-test/ref.ael-test1,
2153 pbx/ael/ael-test/ref.ael-test3, pbx/ael/ael-test/ref.ael-test5,
2154 pbx/ael/ael-test/ref.ael-test15: Updated the regressions on AEL.
2155 Hadn't updated this for the changes I made to preserve ${EXTEN}
2156 in switches, which affected several tests because it adds extra
2157 priorities, and at least one needed to be updated because of the
2158 removal of the empty extension warning message.
2160 * pbx/pbx_ael.c: as per
2161 http://lists.digium.com/pipermail/asterisk-users/2008-June/212934.html,
2162 which is a message from Philipp Kempgen, requesting that the
2163 WARNING that an extension is empty be reduced to a NOTICE or
2164 less, as empty extensions are syntactically possible, and no big
2165 deal. With which I agree, and have removed that WARNING message
2166 entirely. I think it is not necessary to see this message. It
2167 didn't state that a NoOp() was inserted automatically on your
2168 behalf, and really, as users, who cares? Why freak out dialplan
2169 writers with unnecessary warnings? The details of the
2170 machinations a compiler goes thru to produce working assembly
2171 code is of little interest to most programmers-- we will follow
2172 the unix principal of doing our work silently.
2174 2008-06-03 14:46 +0000 [r119926] Joshua Colp <jcolp@digium.com>
2176 * channels/chan_sip.c: Treat ECONNREFUSED as an error that will
2177 stop further retransmissions. (issue #AST-58, patch from
2180 2008-06-02 20:08 +0000 [r119742-119838] Russell Bryant <russell@digium.com>
2182 * channels/chan_iax2.c: Revert a change made for issue #12479. This
2183 change caused a regression such that a dial string such as
2184 (IAX2/foo) did not automatically fall back to dialing the 's'
2185 extension anymore. (closes issue #12770) Reported by: dagmoller
2187 * main/manager.c: Improve CLI command blacklist checking for the
2188 command manager action. Previously, it did not handle case or
2189 whitespace properly. This made it possible for blacklisted
2190 commands to get executed anyway. (closes issue #12765)
2192 2008-06-02 14:32 +0000 [r119740] Philippe Sultan <philippe.sultan@gmail.com>
2194 * channels/chan_gtalk.c, res/res_jabber.c: Do not link the guest
2195 account with any configured XMPP client (in jabber.conf). The
2196 actual connection is made when a call comes in Asterisk. Fix the
2197 ast_aji_get_client function that was not able to retrieve an XMPP
2198 client from its JID. (closes issue #12085) Reported by: junky
2201 2008-06-02 12:30 +0000 [r119687] Russell Bryant <russell@digium.com>
2203 * channels/chan_iax2.c: Even of the first PING or LAGRQ doesn't get
2204 sent because it comes up too soon, make sure to reschedule so it
2207 2008-06-02 09:29 +0000 [r119585-119636] Christian Richter <christian.richter@beronet.com>
2209 * channels/misdn/isdn_lib.c: fixed compile issue when dev-mode is
2212 * channels/misdn/isdn_lib.c, channels/misdn/isdn_lib.h: Added
2213 counter for unhandled_bmsg Print, this prevents the logs to be
2214 flooded to fast and save CPU in this error scenario. Added
2215 'last_used' element to bc structure, when a bchannel changes from
2216 used to free this exact time will be marked in last_used. When a
2217 new channel is requested the find_free_chan function will check
2218 if the new empty channel was used within the last second, if yes
2219 it will search for the next channel, if no it will return this
2220 channel. This simple mechanism has prooven to prevent race
2221 conditions where the NT and TE tried to allocate the exact same
2222 channel at the same time (RELEASE cause: 44).
2224 2008-06-02 01:06 +0000 [r119530-119533] Russell Bryant <russell@digium.com>
2226 * channels/chan_iax2.c: Change a debug message to an actual debug
2229 * apps/app_dial.c: Fix another typo in documentation
2231 2008-06-01 20:47 +0000 [r119478] Michiel van Baak <michiel@vanbaak.info>
2233 * apps/app_dial.c: small typo fix 'retires' => 'retries'
2235 2008-05-30 21:17 +0000 [r119404] Tilghman Lesher <tlesher@digium.com>
2237 * apps/app_queue.c: When joinempty=strict, it only failed on join
2238 if there were busy members. If all members were logged out OR
2239 paused, then it (incorrectly) let callers join the queue. (closes
2240 issue #12451) Reported by: davidw
2242 2008-05-30 19:46 +0000 [r119354] Joshua Colp <jcolp@digium.com>
2244 * main/autoservice.c: Fix a bug I found while testing for another
2247 2008-05-30 16:44 +0000 [r119301] Michiel van Baak <michiel@vanbaak.info>
2249 * contrib/scripts/safe_asterisk, contrib/init.d/rc.suse.asterisk,
2250 contrib/init.d/rc.debian.asterisk,
2251 contrib/init.d/rc.mandrake.asterisk,
2252 contrib/init.d/rc.redhat.asterisk,
2253 contrib/init.d/rc.gentoo.asterisk,
2254 contrib/init.d/rc.slackware.asterisk: dont use a bashism way to
2255 check the $VERSION variable. The rc/init.d scripts, and
2256 safe_asterisk work on normal sh now again. Tested on: OpenBSD 4.2
2257 (me) Debian etch (me) Ubuntu Hardy (me and loloski) FC9 (loloski)
2258 (closes issue #12687) Reported by: loloski Patches:
2259 20080529-12687-safe_asterisk-fixversion.diff.txt uploaded by
2260 mvanbaak (license 7) Tested by: loloski, mvanbaak
2262 2008-05-30 12:55 +0000 [r119076-119238] Russell Bryant <russell@digium.com>
2264 * /, channels/chan_iax2.c: Merged revisions 119237 via svnmerge
2265 from https://origsvn.digium.com/svn/asterisk/branches/1.2
2266 ........ r119237 | russell | 2008-05-30 07:49:39 -0500 (Fri, 30
2267 May 2008) | 7 lines - Instead of only enforcing destination call
2268 number checking on an ACK, check all full frames except for PING
2269 and LAGRQ, which may be sent by older versions too quickly to
2270 contain the destination call number. (As suggested by Tim Panton
2271 on the asterisk-dev list) - Merge changes from
2272 team/russell/iax2-frame-race, which prevents PING and LAGRQ from
2273 being sent before the destination call number is known. ........
2275 * main/autoservice.c: Fix a race condition in channel autoservice.
2276 There was still a small window of opportunity for a DTMF frame,
2277 or some other deferred frame type, to come in and get dropped.
2278 (closes issue #12656) (closes issue #12656) Reported by: dimas
2279 Patches: v3-12656.patch uploaded by dimas (license 88) -- with
2280 some modifications by me
2282 * include/asterisk/audiohook.h: Oddly enough, all of the contents
2283 of audiohook.h were in there twice. I have removed the second
2286 2008-05-29 20:24 +0000 [r119071] Tilghman Lesher <tlesher@digium.com>
2288 * channels/chan_zap.c: Call waiting tone occurs too often, because
2289 it's getting serviced by both subchannels. (closes issue #11354)
2290 Reported by: cahen Patches: 20080512__bug11354.diff.txt uploaded
2291 by Corydon76 (license 14)
2293 2008-05-29 19:04 +0000 [r118956-119012] Russell Bryant <russell@digium.com>
2295 * apps/app_milliwatt.c: - Fix a typo in the argument to Playtones -
2296 use ast_safe_sleep() instead of calling the wait application
2297 (thanks to tilghman for pointing these out!)
2299 * /, channels/chan_iax2.c: Merged revisions 119008 via svnmerge
2300 from https://origsvn.digium.com/svn/asterisk/branches/1.2
2301 ........ r119008 | russell | 2008-05-29 13:45:21 -0500 (Thu, 29
2302 May 2008) | 7 lines Merge changes from
2303 team/russell/iax2-another-fix-to-the-fix As described in the
2304 following post to the asterisk-dev mailing list, only enforce
2305 destination call numbers when processing an ACK.
2306 http://lists.digium.com/pipermail/asterisk-dev/2008-May/033217.html
2307 (closes issue #12631) ........
2309 * apps/app_milliwatt.c: - Mark app_milliwatt dependent on
2310 res_indications (thanks to jsmith) - fix a typo in a log message
2313 * apps/app_milliwatt.c: Change milliwatt to use the proper tone by
2314 default (1004 Hz) instead of 1000 Hz. An option is there to use
2315 1000 Hz for anyone that might want it.
2317 2008-05-29 17:33 +0000 [r118953-118954] Tilghman Lesher <tlesher@digium.com>
2319 * include/asterisk/lock.h: Define also when not DEBUG_THREADS
2321 * channels/chan_mgcp.c, channels/chan_zap.c, channels/chan_sip.c,
2322 channels/chan_agent.c, channels/chan_alsa.c, main/utils.c,
2323 include/asterisk/lock.h, channels/chan_iax2.c: Add some debugging
2324 code that ensures that when we do deadlock avoidance, we don't
2325 lose the information about how a lock was originally acquired.
2327 2008-05-29 00:25 +0000 [r118858] Steve Murphy <murf@digium.com>
2329 * main/cdr.c, apps/app_forkcdr.c: (closes issue #10668) (closes
2330 issue #11721) (closes issue #12726) Reported by: arkadia Tested
2331 by: murf These changes: 1. revert the changes made via bug 10668;
2332 I should have known that such changes, even tho they made sense
2333 at the time, seemed like an omission, etc, were actually integral
2334 to the CDR system via forkCDR. It makes sense to me now that
2335 forkCDR didn't natively end any CDR's, but rather depended on
2336 natively closing them all at hangup time via traversing and
2337 closing them all, whether locked or not. I still don't completely
2338 understand the benefits of setvar and answer operating on locked
2339 cdrs, but I've seen enough to revert those changes also, and stop
2340 messing up users who depended on that behavior. bug 12726 found
2341 reverting the changes fixed his changes, and after a long review
2342 and working on forkCDR, I can see why. 2. Apply the suggested
2343 enhancements proposed in 10668, but in a completely compatible
2344 way. ForkCDR will behave exactly as before, but now has new
2345 options that will allow some actions to be taken that will
2346 slightly modify the outcome and side-effects of forkCDR. Based on
2347 conversations I've had with various people, these small tweaks
2348 will allow some users to get the behavior they need. For
2349 instance, users executing forkCDR in an AGI script will find the
2350 answer time set, and DISPOSITION set, a situation not covered
2351 when the routines were first written. 3. A small problem in the
2352 cdr serializer would output answer and end times even when they
2353 were not set. This is now fixed.
2355 2008-05-28 16:10 +0000 [r118716] Brett Bryant <bbryant@digium.com>
2357 * channels/chan_iax2.c: merge revision 118702 from trunk to 1.4 --
2358 Fixes a bug in chan_iax that uses send_command to poke a peer
2359 while a channel is unlocked in some cases, and because it can
2360 cause seemingly random failures could be related to some bugs in
2363 2008-05-28 14:23 +0000 [r118558-118646] Joshua Colp <jcolp@digium.com>
2365 * channels/chan_sip.c, configs/sip.conf.sample, CHANGES: Add an
2366 option to use the source IP address of RTP as the destination IP
2367 address of UDPTL when a specific option is enabled. If the remote
2368 side is properly configured (ports forwarded) then UDPTL will
2369 flow. (closes issue #10417) Reported by: cstadlmann
2371 * channels/chan_sip.c: Fix an issue where codec preferences were
2372 not set on dialogs that were not authenticated via a user or peer
2373 and allow framing to work without rtpmap in the SDP. (closes
2374 issue #12501) Reported by: slimey
2376 2008-05-27 19:15 +0000 [r118551] Tilghman Lesher <tlesher@digium.com>
2378 * main/cli.c: When showing an error message for a command, don't
2379 shorten the command output, as it tends to confuse the user (it's
2380 fine for suggesting other commands, however). Reported by:
2381 seanbright (on #asterisk-dev) Fixed by: me
2383 2008-05-27 19:07 +0000 [r118509] Mark Michelson <mmichelson@digium.com>
2385 * apps/app_chanspy.c: Russell noted to me that in the case that
2386 separate threads use their own addressing system, the fix I made
2387 for issue 12376 does not guarantee uniqueness to the datastores'
2388 uids. Though I know of no system that works this way, I am going
2389 to change this right now to prevent trying to track down some
2390 future bug that may occur and cause untold hours of debugging
2391 time to track down. The change involves using a global counter
2392 which increases with each new chanspy_ds which is created. This
2393 guarantees uniqueness.
2395 2008-05-27 18:58 +0000 [r118465] Tilghman Lesher <tlesher@digium.com>
2397 * main/asterisk.c: NULL character should terminate only commands
2398 back to the core, not log messages to the console. (closes issue
2399 #12731) Reported by: seanbright Patches:
2400 20080527__bug12731.diff.txt uploaded by Corydon76 (license 14)
2401 Tested by: seanbright
2403 2008-05-27 17:17 +0000 [r118416] Michiel van Baak <michiel@vanbaak.info>
2405 * apps/app_voicemail.c: small update to the g() option of
2406 app_voicemail to note that gain changes only work on zap channels
2407 right now. issue #12578 shows it's not clear right now.
2409 2008-05-27 16:38 +0000 [r118365] Mark Michelson <mmichelson@digium.com>
2411 * apps/app_chanspy.c: Add a unique id to the datastore allocated in
2412 app_chanspy since it is possible that multiple spies may be
2413 listening to the same channel. (closes issue #12376) Reported by:
2414 DougUDI Patches: 12376_chanspy_uid.diff uploaded by putnopvut
2415 (license 60) Tested by: destiny6628 (closes issue #12243)
2418 2008-05-27 15:45 +0000 [r118358] Tilghman Lesher <tlesher@digium.com>
2420 * configs/queues.conf.sample: Add a note that pbx_config.so is
2421 needed for Local channels. (Closes issue #12671)
2423 2008-05-25 16:02 +0000 [r118251] Tilghman Lesher <tlesher@digium.com>
2425 * channels/chan_sip.c: Realtime flag affects construction in
2426 multiple ways, so consulting whether rtcachefriends was set was
2427 done too soon (needed to be done inside build_peer, not just as a
2428 flag to build_peer). Also, fullcontact needed to be
2429 reconstructed, because realtime separates the embedded ';' into
2430 multiple fields. (closes issue #12722) Reported by: barthpbx
2431 Patches: 20080525__bug12722.diff.txt uploaded by Corydon76
2432 (license 14) Tested by: barthpbx (Much of the discussion happened
2433 on #asterisk-dev for diagnosing this issue)
2435 2008-05-23 21:21 +0000 [r118163] Jeff Peeler <jpeeler@digium.com>
2437 * channels/chan_zap.c: Fix a few things I missed to ensure
2438 zt_chan_conf structure is not modified in mkintf
2440 2008-05-23 13:18 +0000 [r118052-118055] Tilghman Lesher <tlesher@digium.com>
2442 * include/asterisk/utils.h: Add format type checking for recently
2445 * doc/cli.txt (added), doc/00README.1st: Add information on using
2446 the Asterisk console, including tab command line completion.
2447 (Closes issue #12681)
2449 2008-05-23 12:30 +0000 [r118048] Russell Bryant <russell@digium.com>
2451 * include/asterisk/utils.h, main/utils.c: Don't declare a function
2452 that takes variable arguments as inline, because it's not valid,
2453 and on some compilers, will emit a warning.
2454 http://gcc.gnu.org/onlinedocs/gcc/Inline.html#Inline (closes
2455 issue #12289) Reported by: francesco_r Patches by Tilghman, final
2458 2008-05-22 18:53 +0000 [r117809-117899] Tilghman Lesher <tlesher@digium.com>
2460 * main/asterisk.c: Also remove preamble from asynchronous events
2461 (reported by jsmith on #asterisk-dev)
2463 * funcs/func_realtime.c: Take into account the length of delimiters
2464 when calculating result string length. (closes issue #12696)
2465 Reported by: adomjan Patches: func_realtime.c-longdelimiter.patch
2466 uploaded by adomjan (license 487)
2468 2008-05-21 20:11 +0000 [r117582] Jeff Peeler <jpeeler@digium.com>
2470 * channels/chan_zap.c: Ensure that passed in zt_chan_conf structure
2471 is not modified in mkintf.
2473 2008-05-21 19:38 +0000 [r117574] Joshua Colp <jcolp@digium.com>
2475 * channels/chan_sip.c: Apply the autoframing setting to dialogs
2476 that do not get matched against a user or peer.
2478 2008-05-21 18:44 +0000 [r117519-117523] Tilghman Lesher <tlesher@digium.com>
2480 * pbx/pbx_spool.c: Revert accidental commit of the last change
2482 * main/asterisk.c, pbx/pbx_spool.c: Strip the preamble from the
2483 output also when -rx is not being used (Related to issue #12702)
2485 2008-05-21 18:28 +0000 [r117479-117514] Russell Bryant <russell@digium.com>
2487 * main/asterisk.c: Don't filter the magic character in the network
2488 verboser. It gets filtered once it reaches the client. (related
2489 to issue #12702, pointed out by tilghman)
2491 * main/asterisk.c, pbx/pbx_gtkconsole.c: 1) Don't print the verbose
2492 marker in front of every message from ast_verbose() being sent to
2493 remote consoles. 2) Fix pbx_gtkconsole to filter out the verbose
2494 marker. (related to issue #12702)
2496 * main/asterisk.c: Don't display the verbose marker for calls to
2497 ast_verbose() that do not include a VERBOSE_PREFIX in front of
2498 the message. (closes issue #12702) Reported by: johnlange Patched
2501 2008-05-21 16:58 +0000 [r117462] Jeff Peeler <jpeeler@digium.com>
2503 * channels/chan_zap.c: Pass a pointer for the conf parameter to the
2504 function mkintf rather than the whole zt_chan_conf structure.
2506 2008-05-20 Russell Bryant <russell@digium.com>
2508 * Asterisk 1.4.20 released.
2510 2008-05-14 Russell Bryant <russell@digium.com>
2512 * Asterisk 1.4.20-rc3 released.
2514 2008-05-14 12:51 +0000 [r116230] Olle Johansson <oej@edvina.net>
2516 * channels/chan_sip.c: Accept text messages even with Content-Type:
2517 text/plain;charset=Södermanländska
2519 2008-05-13 23:47 +0000 [r116088] Mark Michelson <mmichelson@digium.com>
2521 * main/channel.c, include/asterisk/lock.h: A change to the way
2522 channel locks are handled when DEBUG_CHANNEL_LOCKS is defined.
2523 After debugging a deadlock, it was noticed that when
2524 DEBUG_CHANNEL_LOCKS is enabled in menuselect, the actual origin
2525 of channel locks is obscured by the fact that all channel locks
2526 appear to happen in the function ast_channel_lock(). This code
2527 change redefines ast_channel_lock to be a macro which maps to
2528 __ast_channel_lock(), which then relays the proper file name,
2529 line number, and function name information to the core lock
2530 functions so that this information will be displayed in the case
2531 that there is some sort of locking error or core show locks is
2534 2008-05-13 21:17 +0000 [r115990-116038] Russell Bryant <russell@digium.com>
2536 * channels/chan_local.c: Fix a deadlock involving channel
2537 autoservice and chan_local that was debugged and fixed by
2538 mmichelson and me. We observed a system that had a bunch of
2539 threads stuck in ast_autoservice_stop(). The reason these threads
2540 were waiting around is because this function waits to ensure that
2541 the channel list in the autoservice thread gets rebuilt before
2542 the stop() function returns. However, the autoservice thread was
2543 also locked, so the autoservice channel list was never getting
2544 rebuilt. The autoservice thread was stuck waiting for the channel
2545 lock on a local channel. However, the local channel was locked by
2546 a thread that was stuck in the autoservice stop function. It
2547 turned out that the issue came down to the local_queue_frame()
2548 function in chan_local. This function assumed that one of the
2549 channels passed in as an argument was locked when called.
2550 However, that was not always the case. There were multiple cases
2551 in which this channel was not locked when the function was
2552 called. We fixed up chan_local to indicate to this function
2553 whether this channel was locked or not. The previous assumption
2554 had caused local_queue_frame() to improperly return with the
2555 channel locked, where it would then never get unlocked. (closes
2556 issue #12584) (related to issue #12603)
2558 * main/autoservice.c: Fix an issue that I noticed in autoservice
2559 while mmichelson and I were debugging a different problem. I
2560 noticed that it was theoretically possible for two threads to
2561 attempt to start the autoservice thread at the same time. This
2562 change makes the process of starting the autoservice thread,
2565 2008-05-13 20:28 +0000 [r115944] Joshua Colp <jcolp@digium.com>
2567 * channels/chan_alsa.c: Use the right flag to open the audio in
2568 non-blocking. (closes issue #12616) Reported by:
2571 2008-05-13 18:36 +0000 [r115884] Tilghman Lesher <tlesher@digium.com>
2573 * main/asterisk.c: If the socket dies (read returns 0=EOF), return
2574 immediately. (Closes issue #12637)
2576 2008-05-12 17:51 +0000 [r115735] Mark Michelson <mmichelson@digium.com>
2578 * main/utils.c: If a thread holds no locks, do not print any
2579 information on the thread when issuing a core show locks command.
2580 This will help to de-clutter output somewhat. Russell said it
2581 would be fine to place this improvement in the 1.4 branch, so
2582 that's why it's going here too.
2584 2008-05-09 16:34 +0000 [r115579] Joshua Colp <jcolp@digium.com>
2586 * configure, include/asterisk/autoconfig.h.in, configure.ac:
2587 Improve res_ninit and res_ndestroy autoconf logic on the Darwin
2590 2008-05-08 19:19 +0000 [r115545-115568] Russell Bryant <russell@digium.com>
2592 * channels/chan_iax2.c: Remove debug output.
2594 * /, channels/chan_iax2.c: Merged revisions 115564 via svnmerge
2595 from https://origsvn.digium.com/svn/asterisk/branches/1.2
2596 ........ r115564 | russell | 2008-05-08 14:14:04 -0500 (Thu, 08
2597 May 2008) | 25 lines Fix a race condition that bbryant just found
2598 while doing some IAX2 testing. He was running Asterisk trunk
2599 running IAX2 calls through a few Asterisk boxes, however, the
2600 audio was extremely choppy. We looked at a packet trace and saw a
2601 storm of INVAL and VNAK frames being sent from one box to
2602 another. It turned out that what had happened was that one box
2603 tried to send a CONTROL frame before the 3 way handshake had
2604 completed. So, that frame did not include the destination call
2605 number, because it didn't have it yet. Part of our recent work
2606 for security issues included an additional check to ensure that
2607 frames that are supposed to include the destination call number
2608 have the correct one. This caused the frame to be rejected with
2609 an INVAL. The frame would get retransmitted for forever, rejected
2610 every time ... This race condition exists in all versions that
2611 got the security changes, in theory. However, it is really only
2612 likely that this would cause a problem in Asterisk trunk. There
2613 was a control frame being sent (SRCUPDATE) at the _very_
2614 beginning of the call, which does not exist in 1.2 or 1.4.
2615 However, I am fixing all versions that could potentially be
2616 affected by the introduced race condition. These changes are what
2617 bbryant and I came up with to fix the issue. Instead of simply
2618 dropping control frames that get sent before the handshake is
2619 complete, the code attempts to wait a little while, since in most
2620 cases, the handshake will complete very quickly. If it doesn't
2621 complete after yielding for a little while, then the frame gets
2624 * channels/chan_sip.c: Don't give up on attempting an outbound
2625 registration if we receive a 408 Timeout. (closes issue #12323)
2627 * contrib/scripts/postgres_cdr.sql (removed): remove
2628 postgres_cdr.sql, as the CDR schema is in realtime_pgsql.sql, as
2629 well (closes issue #9676)
2631 * contrib/init.d/rc.debian.asterisk: Don't exit the script if
2632 Asterisk is not running. (closes issue #12611)
2634 * main/pbx.c: Don't use a channel before checking for channel
2635 allocation failure. (closes issue #12609) Reported by: edantie
2637 * contrib/init.d/rc.debian.asterisk: Use the same method for
2638 executing Asterisk as the rest of the script. (closes issue
2639 #12611) Reported by: b_plessis
2641 2008-05-07 Russell Bryant <russell@digium.com>
2643 * Asterisk 1.4.20-rc2 released.
2645 2008-05-07 18:17 +0000 [r115512-115517] Russell Bryant <russell@digium.com>
2647 * channels/chan_sip.c: Track peer references when stored in the
2648 sip_pvt struct as the peer related to a qualify ping or a
2649 subscription. This fixes some realtime related crashes. (closes
2650 issue #12588) (closes issue #12555)
2652 2008-05-06 19:55 +0000 [r115418-115422] Jason Parker <jparker@digium.com>
2654 * /, contrib/scripts/get_ilbc_source.sh: Merged revisions 115421
2656 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
2657 r115421 | qwell | 2008-05-06 14:54:57 -0500 (Tue, 06 May 2008) |
2658 7 lines read requires an argument on some non-bash shells (closes
2659 issue #12593) Reported by: bkruse Patches:
2660 getilbc.sh_12593_v1.diff uploaded by bkruse (license 132)
2663 * res/res_musiconhold.c: Switch to using ast_random() rather than
2664 just rand(). This does not fix the bug reported, but I believe it
2665 is correct. (from issue #12446) Patches: bug_12446.diff uploaded
2666 by snuffy (license 35)
2668 2008-05-06 19:31 +0000 [r115415] Tilghman Lesher <tlesher@digium.com>
2670 * main/asterisk.c: Don't print the terminating NUL. (Closes issue
2673 2008-05-06 13:54 +0000 [r115341] Joshua Colp <jcolp@digium.com>
2675 * configure, configure.ac: Add in missing argument.
2677 2008-05-05 22:50 +0000 [r115333] Tilghman Lesher <tlesher@digium.com>
2679 * main/asterisk.c, main/logger.c: Separate verbose output from CLI
2680 output, by using a preamble. (closes issue #12402) Reported by:
2681 Corydon76 Patches: 20080410__no_verbose_in_rx_output.diff.txt
2682 uploaded by Corydon76 (license 14)
2683 20080501__no_verbose_in_rx_output__1.4.diff.txt uploaded by
2684 Corydon76 (license 14)
2686 2008-05-05 22:10 +0000 [r115327] Joshua Colp <jcolp@digium.com>
2688 * build_tools/menuselect-deps.in, configure,
2689 include/asterisk/autoconfig.h.in, codecs/codec_speex.c,
2690 configure.ac: Make sure that either the main speex library
2691 contains preprocess functions or that speexdsp does. If both fail
2692 then speex stuff can not be built.
2694 2008-05-05 21:41 +0000 [r115320] Mark Michelson <mmichelson@digium.com>
2696 * apps/app_queue.c: Don't consider a caller "handled" until the
2697 caller is bridged with a queue member. There was too much of an
2698 opportunity for the member to hang up (either during a delay,
2699 announcement, or overly long agi) between the time that he
2700 answered the phone and the time when he actually was bridged with
2701 the caller. The consequence of this was that if the member hung
2702 up in that interval, then proper abandonment details would not be
2703 noted in the queue log if the caller were to hang up at any point
2704 after the member hangup. (closes issue #12561) Reported by:
2707 2008-05-05 20:17 +0000 [r115308-115312] Tilghman Lesher <tlesher@digium.com>
2709 * Makefile: Reverse order, such that user configs override default
2712 * include/asterisk/res_odbc.h: Err, the documentation on the return
2713 value of ast_odbc_backslash_is_escape is exactly backwards.
2715 2008-05-05 19:49 +0000 [r115297-115304] Russell Bryant <russell@digium.com>
2717 * channels/chan_sip.c: Avoid putting opaque="" in Digest
2718 authentication. This patch came from switchvox. It fixes
2719 authentication with Primus in Canada, and has been in use for a
2720 very long time without causing problems with any other providers.
2721 (closes issue AST-36)
2723 2008-05-05 03:22 +0000 [r115285] Tilghman Lesher <tlesher@digium.com>
2725 * contrib/scripts/safe_asterisk, contrib/init.d/rc.suse.asterisk,
2726 contrib/init.d/rc.debian.asterisk,
2727 contrib/init.d/rc.mandrake.asterisk,
2728 contrib/init.d/rc.redhat.asterisk,
2729 contrib/init.d/rc.gentoo.asterisk,
2730 contrib/init.d/rc.slackware.asterisk: When starting Asterisk, bug
2731 out if Asterisk is already running. (closes issue #12525)
2732 Reported by: explidous Patches: 20080428__bug12525.diff.txt
2733 uploaded by Corydon76 (license 14) Tested by: mvanbaak
2735 2008-05-04 02:09 +0000 [r115276-115282] Joshua Colp <jcolp@digium.com>
2737 * configure, acinclude.m4: Expand the test function for GCC
2738 attributes so that more complex attributes are properly
2741 * include/asterisk/compiler.h: For my next trick I will make these
2742 work with what our autoconf header file gives us.
2744 * configure, acinclude.m4: Treat warnings as errors when checking
2745 if a GCC attribute exists. We have to do this as GCC will just
2746 ignore the attribute and pop up a warning, it won't actually fail
2749 2008-05-02 20:25 +0000 [r115257] Brett Bryant <bbryant@digium.com>
2751 * channels/chan_zap.c, configure, include/asterisk/autoconfig.h.in,
2752 configure.ac, CHANGES: Add new "pri show version" command to show
2753 the libpri version for support reasons.
2755 2008-05-02 14:28 +0000 [r115196] Mark Michelson <mmichelson@digium.com>
2757 * include/asterisk/sched.h: Clarify a comment that was, well, just
2758 wrong. It turns out that ignoring the way that macros expand.
2759 Instead, I have clarified in the comment why the macro will work
2760 even if the scheduler id for the task to be deleted changes
2761 during the execution of the macro.
2763 2008-05-01 23:20 +0000 [r115017-115102] Tilghman Lesher <tlesher@digium.com>
2765 * include/asterisk/res_odbc.h: Change the comment of deprecated to
2766 an actual compiler deprecation
2768 * main/utils.c: '#' is another reserved character for URIs that
2769 also needs to be escaped. (closes issue #10543) Reported by:
2770 blitzrage Patches: 20080418__bug10543.diff.txt uploaded by
2771 Corydon76 (license 14)
2773 2008-05-01 Russell Bryant <russell@digium.com>
2775 * Asterisk 1.4.20-rc1 released.
2777 2008-04-30 16:30 +0000 [r114891] Russell Bryant <russell@digium.com>
2779 * include/asterisk/dlinkedlists.h (added), channels/chan_iax2.c:
2780 Merge changes from team/russell/iax2_find_callno and
2781 iax2_find_callno_1.4 These changes address a critical performance
2782 issue introduced in the latest release. The fix for the latest
2783 security issue included a change that made Asterisk randomly
2784 choose call numbers to make them more difficult to guess by
2785 attackers. However, due to some inefficient (this is by far, an
2786 understatement) code, when Asterisk chose high call numbers,
2787 chan_iax2 became unusable after just a small number of calls. On
2788 a small embedded platform, it would not be able to handle a
2789 single call. On my Intel Core 2 Duo @ 2.33 GHz, I couldn't run
2790 more than about 16 IAX2 channels. Ouch. These changes address
2791 some performance issues of the find_callno() function that have
2792 bothered me for a very long time. On every incoming media frame,
2793 it iterated through every possible call number trying to find a
2794 matching active call. This involved a mutex lock and unlock for
2795 each call number checked. So, if the random call number chosen
2796 was 20000, then every media frame would cause 20000 locks and
2797 unlocks. Previously, this problem was not as obvious since
2798 Asterisk always chose the lowest call number it could. A second
2799 container for IAX2 pvt structs has been added. It is an astobj2
2800 hash table. When we know the remote side's call number, the pvt
2801 goes into the hash table with a hash value of the remote side's
2802 call number. Then, lookups for incoming media frames are a very
2803 fast hash lookup instead of an absolutely insane array traversal.
2804 In a quick test, I was able to get more than 3600% more IAX2
2805 channels on my machine with these changes.
2807 2008-04-30 16:23 +0000 [r114890] Olle Johansson <oej@edvina.net>
2809 * channels/chan_sip.c: Don't crash on bad SIP replys. Fix created
2810 in Huntsville together with Mark M (putnopvut) (closes issue
2811 #12363) Reported by: jvandal Tested by: putnopvut, oej
2813 2008-04-30 14:46 +0000 [r114875-114880] Kevin P. Fleming <kpfleming@digium.com>
2815 * channels/iax2.h, channels/chan_iax2.c: use the ARRAY_LEN macro
2816 for indexing through the iaxs/iaxsl arrays so that the size of
2817 the arrays can be adjusted in one place, and change the size of
2818 the arrays from 32768 calls to 2048 calls when LOW_MEMORY is
2821 * Makefile.rules: pay attention to *all* header files for
2822 dependency tracking, not just the local ones (inspired by r578 of
2823 asterisk-addons by tilghman)
2825 2008-04-29 19:40 +0000 [r114848] Mark Michelson <mmichelson@digium.com>
2827 * apps/app_queue.c: Use the MACRO_CONTEXT and MACRO_EXTEN channel
2828 variables instead of the channel's macrocontext and macroexten
2829 fields. This is needed because if macros are daisy-chained, the
2830 incorrect context and extension are placed on the new channel. I
2831 also added locking to the channel prior to accessing these
2832 variables as noted in trunk's janitor project file. (closes issue
2833 #12549) Reported by: darren1713 Patches:
2834 app_queue.c.macroextenpatch uploaded by darren1713 (license 116)
2835 (with modifications from me) Tested by: putnopvut
2837 2008-04-29 17:08 +0000 [r114829] Jason Parker <jparker@digium.com>
2839 * res/res_config_pgsql.c: Change warning message to debug, since
2840 there are cases where 0 results is perfectly fine.
2842 2008-04-29 12:53 +0000 [r114823] Kevin P. Fleming <kpfleming@digium.com>
2844 * /, contrib/scripts/get_ilbc_source.sh: Merged revisions 114822
2846 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
2847 r114822 | kpfleming | 2008-04-29 07:52:32 -0500 (Tue, 29 Apr
2848 2008) | 2 lines stop script from appending source code if run
2849 multiple times ........
2851 2008-04-28 04:47 +0000 [r114708] Tilghman Lesher <tlesher@digium.com>
2853 * apps/app_voicemail.c, channels/chan_gtalk.c: When modules are
2854 embedded, they take on a different name, without the ".so"
2855 extension. Specifically check for this name, when we're checking
2856 if a module is loaded. (Closes issue #12534)
2858 2008-04-27 01:26 +0000 [r114695] Sean Bright <sean.bright@gmail.com>
2860 * configure, configure.ac: When we don't explicitly pass a path to
2861 the --with-tds configure option, we may end up finding tds.h in
2862 /usr/local/include instead of /usr/include. If this happens, the
2863 grep that looks for the version (from tdsver.h) will fail and
2864 we'll have some problems during the build.
2866 2008-04-26 13:15 +0000 [r114689] Tilghman Lesher <tlesher@digium.com>
2868 * contrib/scripts/vmail.cgi: Clicking forward without selecting a
2869 message leaves an errant .lock file. (closes issue #12528)
2870 Reported by: pukepail Patches: patch.diff uploaded by pukepail
2873 2008-04-25 21:54 +0000 [r114673] Russell Bryant <russell@digium.com>
2875 * channels/chan_iax2.c: Use consistent logic for checking to see if
2876 a call number has been chosen yet. Also, remove some redundant
2877 logic I recently added in a fix.
2879 2008-04-25 19:32 +0000 [r114662] Mark Michelson <mmichelson@digium.com>
2881 * apps/app_chanspy.c: Move the unlock of the spyee channel to
2882 outside the start_spying() function so that the channel is not
2883 unlocked twice when using whisper mode.
2885 2008-04-25 15:53 +0000 [r114649] Tilghman Lesher <tlesher@digium.com>
2887 * configs/zapata.conf.sample, configs/iax.conf.sample,
2888 configs/iaxprov.conf.sample, configs/sip.conf.sample: Reference
2889 documentation files that actually exist. (closes issue #12516)
2890 Reported by: linuxmaniac Patches: diff_rev114611.patch uploaded
2891 by linuxmaniac (license 472)
2893 2008-04-24 21:35 +0000 [r114624-114632] Mark Michelson <mmichelson@digium.com>
2895 * channels/chan_sip.c: Re-invite RTP during a masquerade so that,
2896 for instance, an AMI redirect of two channels which are natively
2897 bridged will preserve audio on both channels. This prevents a
2898 problem with Asterisk not re-inviting due to one of the channels
2899 having being a zombie. (closes issue #12513) Reported by:
2901 asterisk-1.4-114602_restore-RTP-on-fixup.patch uploaded by
2902 mneuhauser (license 425)
2904 * apps/app_queue.c: Output of channel variables when
2905 eventwhencalled=vars was set was being truncated two characters.
2906 This patch corrects the problem. (closes issue #12493) Reported
2909 * channels/chan_local.c: Resolve a deadlock in chan_local by
2910 releasing the channel lock temporarily. (closes issue #11712)
2911 Reported by: callguy Patches: 11712.patch uploaded by putnopvut
2912 (license 60) Tested by: acunningham
2914 2008-04-24 19:53 +0000 [r114621] Tilghman Lesher <tlesher@digium.com>
2916 * channels/chan_local.c: Ensure that when we set the accountcode,
2917 it actually shows up in the CDR. (Fix for AMI Originate) (Closes
2920 2008-04-24 15:55 +0000 [r114608] Russell Bryant <russell@digium.com>
2922 * channels/chan_iax2.c: Fix a silly mistake in a change I made
2923 yesterday that caused chan_iax2 to blow up very quickly. (issue
2926 2008-04-24 14:55 +0000 [r114603] Olle Johansson <oej@edvina.net>
2928 * channels/chan_sip.c: Only have one max-forwards header in
2929 outbound REFERs. Discovered in the Asterisk SIP Masterclass in
2930 Orlando. Thanks Joe!
2932 2008-04-23 22:18 +0000 [r114597-114600] Russell Bryant <russell@digium.com>
2934 * main/http.c: Improve some broken cookie parsing code. Previously,
2935 manager login over HTTP would only work if the mansession_id
2936 cookie was first. Now, the code builds a list of all of the
2937 cookies in the Cookie header. This fixes a problem observed by
2938 users of the Asterisk GUI. (closes AST-20)
2940 * apps/app_chanspy.c, main/http.c: Fix an issue that caused getting
2941 the correct next channel to not always work. Also, remove setting
2942 the amount of time to wait for a digit from 5 seconds back down
2943 to 1/10 of a second. I believe this was so the beep didn't get
2944 played over and over really fast, but a while back I put in
2945 another fix for that issue. (closes issue #12498) Reported by:
2946 jsmith Patches: app_chanspy_channel_walk.trunk.patch uploaded by
2949 2008-04-23 18:28 +0000 [r114594] Jason Parker <jparker@digium.com>
2951 * res/res_musiconhold.c: Fix reload/unload for res_musiconhold
2952 module. (closes issue #11575) Reported by: sunder Patches:
2953 M11575_14_rev3.diff uploaded by junky (license 177)
2954 bug11575_trunk.diff.txt uploaded by jamesgolovich (license 176)
2956 2008-04-23 17:55 +0000 [r114587-114591] Russell Bryant <russell@digium.com>
2958 * main/manager.c, include/asterisk/manager.h: Store the manager
2959 session ID explicitly as 4 byte ID instead of a ulong. The
2960 mansession_id cookie is coded to be limited to 8 characters of
2961 hex, and this could break logins from 64-bit machines in some
2962 cases. (inspired by AST-20)
2964 * channels/chan_iax2.c: Fix find_callno_locked() to actually return
2965 the callno locked in some more cases.
2967 2008-04-23 16:51 +0000 [r114584] Olle Johansson <oej@edvina.net>
2969 * channels/chan_sip.c: Add 502 support for both directions, not
2970 only one... (see r114571)
2972 2008-04-23 14:54 +0000 [r114579] Joshua Colp <jcolp@digium.com>
2974 * main/pbx.c: Instead of stopping dialplan execution when SayNumber
2975 attempts to say a large number that it can not print out a
2976 message informing the user and continue on. (closes issue #12502)
2979 2008-04-22 23:51 +0000 [r114571] Tilghman Lesher <tlesher@digium.com>
2981 * channels/chan_sip.c: Treat a 502 just like a 503, when it comes
2982 to processing a response code
2984 2008-04-22 22:15 +0000 [r114522-114558] Russell Bryant <russell@digium.com>
2986 * channels/chan_iax2.c: When we receive a full frame that is
2987 supposed to contain our call number, ensure that it has the
2988 correct one. (closes issue #10078) (AST-2008-006)
2990 * main/rtp.c, main/channel.c, formats/format_pcm.c, main/file.c: I
2991 thought I was going to be able to leave 1.4 alone, but that was
2992 not the case. I ran into some problems with G.722 in 1.4, so I
2993 have merged in all of the fixes in this area that I have made in
2994 trunk/1.6.0, and things are happy again.
2996 * res/res_musiconhold.c: Trivial change to read the number of
2997 samples from a frame before calling ast_write()
2999 * res/res_features.c: After a parked call times out, allow the call
3000 back to the parker to time out. (closes issue #10890)
3002 * channels/chan_iax2.c: If the dial string passed to the call
3003 channel callback does not indicate an extension, then consider
3004 the extension on the channel before falling back to the default.
3005 (closes issue #12479) Reported by: darren1713 Patches:
3006 exten_dial_fix_chan_iax2.c.patch uploaded by darren1713 (license
3009 * channels/chan_sip.c, include/asterisk/sched.h: Merge changes from
3010 team/russell/issue_9520 These changes make sure that the
3011 reference count for sip_peer objects properly reflects the fact
3012 that the peer is sitting in the scheduler for a scheduled
3013 callback for qualifying peers or for expiring registrations.
3014 Without this, it was possible for these callbacks to happen at
3015 the same time that the peer was being destroyed. This was
3016 especially likely to happen with realtime peers, and for people
3017 making use of the realtime prune CLI command. (closes issue
3018 #9520) Reported by: kryptolus Committed patch by me
3020 2008-04-21 14:39 +0000 [r114322] Joshua Colp <jcolp@digium.com>
3022 * channels/chan_sip.c: Only drop audio if we receive it without a
3023 progress indication. We allow other frames through such as DTMF
3024 because they may be needed to complete the call. (closes issue
3025 #12440) Reported by: aragon
3027 2008-04-19 13:57 +0000 [r114297-114299] Tilghman Lesher <tlesher@digium.com>
3029 * apps/app_playback.c: Ensure that help text terminates with a
3032 * res/res_musiconhold.c: MOH usage information needs a terminating
3033 newline, or else "asterisk -rx 'help moh reload'" will hang.
3034 Reported via -dev list, fixed by me.
3036 2008-04-18 21:48 +0000 [r114275-114284] Russell Bryant <russell@digium.com>
3038 * main/manager.c: Don't destroy a manager session if poll() returns
3041 * Makefile: ensure directories are created before we try to install
3044 * Makefile: SUBDIRS_INSTALL is already listed as a subtarget for
3047 2008-04-18 17:44 +0000 [r114257] Mark Michelson <mmichelson@digium.com>
3049 * channels/chan_zap.c, main/callerid.c: Clearing up error messages
3050 so they make a bit more sense. Also removing a redundant error
3051 message. Issue AST-15
3053 2008-04-18 15:24 +0000 [r114248] Russell Bryant <russell@digium.com>
3055 * channels/chan_agent.c: Ensure that we don't ast_strdupa(NULL)
3056 (closes issue #12476) Reported by: davidw Patch by me
3058 2008-04-18 13:33 +0000 [r114245] Sean Bright <sean.bright@gmail.com>
3060 * channels/chan_sip.c: Only complete the SIP channel name once for
3061 'sip show channel <channel>'
3063 2008-04-18 06:49 +0000 [r114242] Tilghman Lesher <tlesher@digium.com>
3065 * apps/app_setcallerid.c: For consistency sake, ensure that the
3066 values that ${CALLINGPRES} returns are valid as an input to
3067 SetCallingPres. (Closes issue #12472)
3069 2008-04-17 22:15 +0000 [r114230] Russell Bryant <russell@digium.com>
3071 * main/autoservice.c: Remove redundant safety net. The check for
3072 the autoservice channel list state accomplishes the same goal in
3073 a better way. (issue #12470) Reported By: atis
3075 2008-04-17 21:03 +0000 [r114207-114226] Mark Michelson <mmichelson@digium.com>
3077 * apps/app_chanspy.c: Declaration of the peer channel in this scope
3078 was making it so the peer variable defined in the outer scope was
3079 never set properly, therefore making iterating through the
3080 channel list always restart from the beginning. This bug would
3081 have affected anyone who called chanspy without specifying a
3082 first argument. (closes issue #12461) Reported by: stever28
3084 * main/frame.c, include/asterisk/dsp.h: Add prototype for
3085 ast_dsp_frame_freed. I'm not sure how this was compiling
3088 * main/dsp.c, main/frame.c, include/asterisk/frame.h: It was
3089 possible for a reference to a frame which was part of a freed DSP
3090 to still be referenced, leading to memory corruption and eventual
3091 crashes. This code change ensures that the dsp is freed when we
3092 are finished with the frame. This change is very similar to a
3093 change Russell made with translators back a month or so ago.
3094 (closes issue #11999) Reported by: destiny6628 Patches:
3095 11999.patch uploaded by putnopvut (license 60) Tested by:
3096 destiny6628, victoryure
3098 2008-04-17 16:23 +0000 [r114204] Russell Bryant <russell@digium.com>
3100 * Makefile: Fix the bininstall target to install from subdirs, as
3101 well. (closes issue AST-8, patch from bmd at switchvox)
3103 2008-04-17 13:42 +0000 [r114198] Philippe Sultan <philippe.sultan@gmail.com>
3105 * res/res_jabber.c: Use keepalives effectively in order diagnose
3108 2008-04-17 12:56 +0000 [r114195] Tilghman Lesher <tlesher@digium.com>
3110 * res/res_agi.c: Add special case for when the agi cannot be
3111 executed, to comply with the documentation that we return failure
3112 in that case. (closes issue #12462) Reported by: fmueller
3113 Patches: 20080416__bug12462.diff.txt uploaded by Corydon76
3114 (license 14) Tested by: fmueller
3116 2008-04-17 10:51 +0000 [r114191] Sean Bright <sean.bright@gmail.com>
3118 * apps/app_chanspy.c: Make sure we have enough room for the
3119 recording's filename.
3121 2008-04-16 20:46 +0000 [r114184] Kevin P. Fleming <kpfleming@digium.com>
3123 * channels/chan_zap.c: use the ZT_SET_DIALPARAMS ioctl properly by
3124 initializing the structure to all zeroes in case it contains
3125 fields that we don't write values into (which it does as of
3126 Zaptel 1.4.10) (closes issue #12456) Reported by: fnordian
3128 2008-04-16 19:59 +0000 [r114180] Tilghman Lesher <tlesher@digium.com>
3130 * channels/chan_vpb.cc: Backport revisions for latest vpb drivers
3131 to 1.4 (Closes issue #12457)
3133 2008-04-16 17:30 +0000 [r114173] Jason Parker <jparker@digium.com>
3135 * channels/chan_zap.c: Fix "fallthrough" behavior here, so config
3136 options in a previously configured user don't override settings
3137 in general. (closes issue #12458) Reported by: tzafrir Patches:
3138 chanzap_users_sections.diff uploaded by tzafrir (license 46)
3140 2008-04-16 14:10 +0000 [r114167] Joshua Colp <jcolp@digium.com>
3142 * apps/app_meetme.c: Include the proper headers for using mkdir on
3143 FreeBSD. (closes issue #12430) Reported by: ys Patches:
3144 app_meetme.c.diff uploaded by ys (license 281)
3146 2008-04-15 20:26 +0000 [r114148] Olle Johansson <oej@edvina.net>
3148 * channels/chan_sip.c: Handle subscribe queues in all situations...
3149 Thanks to festr_ on irc for telling me about this bug.
3151 2008-04-15 17:17 +0000 [r114120-114138] Jason Parker <jparker@digium.com>
3153 * contrib/scripts/autosupport: Update Digium autosupport script,
3154 for more useful information. (closes issue #12452) Reported by:
3155 angler Patches: autosupport.diff uploaded by angler (license 106)
3157 * apps/app_queue.c: Allow autofill to work in the general section
3158 of queues.conf. Additionally, don't try to (re)set options when
3159 they have empty values in realtime (all unset columns would have
3160 an empty value). (closes issue #12445) Reported by: atis Patches:
3161 12445-autofill.diff uploaded by qwell (license 4)
3163 * channels/chan_h323.c: The call_token on the pvt can occasionally
3164 be NULL, causing a crash. If it is NULL, we can skip this
3165 channel, since it can't the one we're looking for. (closes issue
3166 #9299) Reported by: vazir
3168 2008-04-14 17:41 +0000 [r114106-114117] Mark Michelson <mmichelson@digium.com>
3170 * main/channel.c: Increase the retry count when attempting to show
3171 channels. This apparently cleared an issue someone was seeing
3172 when attempting to show channels when the load was high. (closes
3173 issue #11667) Reported by: falves11 Patches: 11677.txt uploaded
3174 by russell (license 2) Tested by: falves11
3176 * apps/app_dial.c, apps/app_queue.c: If the datastore has been
3177 moved to another channel due to a masquerade, then freeing the
3178 datastore here causes an eventual double free when the new
3179 channel hangs up. We should only free the datastore if we were
3180 able to successfully remove it from the channel we are
3181 referencing (i.e. the datastore was not moved). (closes issue
3182 #12359) Reported by: pguido
3184 * main/channel.c: Save a local copy of the generate callback prior
3185 to unlocking the channel in case the generate callback goes NULL
3186 on us after the channel is unlocked. Thanks to Russell for
3187 pointing this need out to me.
3189 2008-04-14 14:52 +0000 [r114100-114103] Joshua Colp <jcolp@digium.com>
3191 * channels/chan_sip.c: It is possible for the remote side to say
3192 they want T38 but not give any capabilities. (closes issue
3193 #12414) Reported by: MVF
3195 * main/rtp.c: Don't change the SSRC when a new source comes into
3196 play, this might happen quite often and depending on the remote
3197 side... they might not like this. (closes issue #12353) Reported
3200 2008-04-11 22:32 +0000 [r114083] Terry Wilson <twilson@digium.com>
3202 * channels/chan_iax2.c: Several places in the code called
3203 find_callno() (which releases the lock on the pvt structure) and
3204 then immediately locked the call and did things with it.
3205 Unfortunately, the call can disappear between the find_callno and
3206 the lock, causing Bad Stuff(tm) to happen. Added
3207 find_callno_locked() function to return the callno withtout
3208 unlocking for instances that it is needed. (issue #12400)
3211 2008-04-11 21:35 +0000 [r114072] Jason Parker <jparker@digium.com>
3213 * main/pbx.c: It's possible that a channel can have an async goto
3214 on the successful execution of an application as well. Closes
3217 2008-04-11 15:44 +0000 [r114045-114063] Mark Michelson <mmichelson@digium.com>
3219 * res/res_features.c: Fix a race condition that may happen between
3220 a sip hangup and a "core show channel" command. This patch adds
3221 locking to prevent the resulting crash. (closes issue #12155)
3222 Reported by: tsearle Patches: show_channels_crash2.patch uploaded
3223 by tsearle (license 373) Tested by: tsearle
3225 * main/utils.c, include/asterisk/lock.h: Fix 1.4 build when
3226 LOW_MEMORY is enabled.
3228 * channels/chan_sip.c: Be sure that we're not about to set
3229 bridgepvt NULL prior to dereferencing it. (closes issue #11775)
3232 2008-04-10 17:26 +0000 [r114035] Jason Parker <jparker@digium.com>
3234 * main/file.c: Only try to prefix language if we are not using an
3235 absolute path (suffix it otherwise).
3236 en/var/lib/asterisk/sounds/blah.gsm is a very silly path. (closes
3237 issue #12379) Reported by: kuj Patches: 12379-absolutepath.diff
3238 uploaded by qwell (license 4) Tested by: kuj, qwell
3240 2008-04-10 15:58 +0000 [r114021-114032] Joshua Colp <jcolp@digium.com>
3242 * apps/app_voicemail.c: Forgot the 1.4 branch for russian language
3243 fix. (closes issue #12404) Reported by: IgorG Patches:
3244 voicemail_ru_hardcoded-v1.patch uploaded by IgorG (license 20)
3246 * apps/app_meetme.c: Create the directory where name recordings
3247 will go if it does not exist. (closes issue #12311) Reported by:
3248 rkeene Patches: 12311-mkdir.diff uploaded by qwell (license 4)
3250 * channels/chan_sip.c: Don't add custom URI options if they don't
3251 exist OR they are empty. (closes issue #12407) Reported by:
3252 homesick Patches: uri_options-1.4.diff uploaded by homesick
3255 2008-04-09 20:54 +0000 [r113927] Mark Michelson <mmichelson@digium.com>
3257 * channels/chan_sip.c: We need to set the persistant_route [sic]
3258 parameter for the sip_pvt during the initial INVITE, no matter if
3259 we're building the route set from an INVITE request or response.
3260 (closes issue #12391) Reported by: benjaminbohlmann Tested by:
3263 2008-04-09 18:57 +0000 [r113874] Tilghman Lesher <tlesher@digium.com>
3265 * cdr/cdr_csv.c, configs/cdr.conf.sample: If the [csv] section does
3266 not exist in cdr.conf, then an unload/load sequence is needed to
3267 correct the problem. Track whether the load succeeded with a
3268 variable, so we can fix this with a simple reload event, instead.
3270 2008-04-09 16:50 +0000 [r113784] Joshua Colp <jcolp@digium.com>
3272 * channels/chan_iax2.c: If we receive an AUTHREQ from the remote
3273 server and we are unable to reply (for example they have a secret
3274 configured, but we do not) then queue a hangup frame on the
3275 Asterisk channel. This will cause the channel to hangup and a
3276 HANGUP to be sent via IAX2 to the remote side which is the proper
3277 thing to do in this scenario. (closes issue #12385) Reported by:
3280 2008-04-09 14:40 +0000 [r113681] Mark Michelson <mmichelson@digium.com>
3282 * channels/chan_sip.c: If Asterisk receives a 488 on an INVITE (not
3283 a reinvite), then we should not send a BYE. (closes issue #12392)
3284 Reported by: fnordian Patches: chan_sip.patch uploaded by
3285 fnordian (license 110) with small modification from me
3287 2008-04-09 01:34 +0000 [r113596] Terry Wilson <twilson@digium.com>
3289 * channels/chan_iax2.c: Initialize fr->cacheable to make valgrind
3292 2008-04-08 19:07 +0000 [r113507] Mark Michelson <mmichelson@digium.com>
3294 * apps/app_parkandannounce.c: Fix potential buffer overflow that
3295 could happen if more than 100 announce files were specified when
3296 calling ParkAndAnnounce. This overflow is not exploitable
3297 remotely and so there is no need for a security advisory. (closes
3298 issue #12386) Reported by: davidw
3300 2008-04-08 18:48 +0000 [r113402-113504] Jason Parker <jparker@digium.com>
3302 * channels/chan_skinny.c: Add a little more that is required for
3303 previously added devices.
3305 * channels/chan_skinny.c: Add support for several new(ish) devices
3306 - most notably, 7942/7945, 7962/7965, 7975. Thanks to Greg Oliver
3307 for providing me the required information.
3309 * main/asterisk.c: Work around some silliness caused by
3310 sys/capability.h - this should fix compile errors a number of
3311 users have been experiencing.
3313 2008-04-08 16:51 +0000 [r113348-113399] Tilghman Lesher <tlesher@digium.com>
3315 * contrib/scripts/astgenkey.8: Add security note on astgenkey's
3316 manpage. (closes issue #12373) Reported by: lmamane Patches:
3317 20080406__bug12373.diff.txt uploaded by Corydon76 (license 14)
3319 * channels/chan_sip.c: Move check for still-bridged channels out a
3320 little further, to avoid possible deadlocks. (Closes issue
3321 #12252) Reported by: callguy Patches: 20080319__bug12252.diff.txt
3322 uploaded by Corydon76 (license 14) Tested by: callguy
3324 2008-04-08 15:03 +0000 [r113296] Joshua Colp <jcolp@digium.com>
3326 * include/asterisk/slinfactory.h, main/slinfactory.c,
3327 main/audiohook.c: If audio suddenly gets fed into one side of a
3328 channel after a lapse of frames flush the other factory so that
3329 old audio does not remain in the factory causing the sync code to
3330 not execute. (closes issue #12296) Reported by: jvandal
3332 2008-04-07 21:34 +0000 [r113240] Jeff Peeler <jpeeler@digium.com>
3334 * channels/chan_sip.c: (closes issue #12362) [redo of 113012] This
3335 fixes a for loop (in realtime_peer) to check all the
3336 ast_variables the loop was intending to test rather than just the
3337 first one. The change exposed the problem of calling memcpy on a
3338 NULL pointer, in this case the passed in sockaddr_in struct which
3341 2008-04-07 18:00 +0000 [r113118] Jason Parker <jparker@digium.com>
3343 * channels/chan_skinny.c, configs/skinny.conf.sample: Allow
3344 playback with noanswer (and add earlyrtp option). (closes issue
3345 #9077) Reported by: pj Patches: earlyrtp.diff uploaded by wedhorn
3346 (license 30) Tested by: pj, qwell, DEA, wedhorn
3348 2008-04-07 17:51 +0000 [r113117] Tilghman Lesher <tlesher@digium.com>
3350 * funcs/func_strings.c: Force ast_mktime() to check for DST, since
3351 strptime(3) does not. (Closes issue #12374)
3353 2008-04-07 16:08 +0000 [r113065] Mark Michelson <mmichelson@digium.com>
3355 * main/channel.c: This fix prevents a deadlock that was experienced
3356 in chan_local. There was deadlock prevention in place in
3357 chan_local, but it would not work in a specific case because the
3358 channel was recursively locked. By unlocking the channel prior to
3359 calling the generator's generate callback in
3360 ast_read_generator_actions(), we prevent the recursive locking,
3361 and therefore the deadlock. (closes issue #12307) Reported by:
3362 callguy Patches: 12307.patch uploaded by putnopvut (license 60)
3365 2008-04-07 15:16 +0000 [r113012] Jeff Peeler <jpeeler@digium.com>
3367 * channels/chan_sip.c: (closes issue #12362) (closes issue #12372)
3368 Reported by: vinsik Tested by: tecnoxarxa This one line change
3369 makes an if inside a for loop (in realtime_peer) check all the
3370 ast_variables the loop was intending to test rather than just the
3373 2008-04-04 19:26 +0000 [r112766-112820] Philippe Sultan <philippe.sultan@gmail.com>
3375 * channels/chan_gtalk.c: Free newly allocated channel before
3378 * channels/chan_gtalk.c: Prevent call connections when codecs don't
3379 match. (closes issue #10604) Reported by: keepitcool Patches:
3380 branch-1.4-10604-2.diff uploaded by phsultan (license 73) Tested
3383 2008-04-04 00:52 +0000 [r112709-112711] Joshua Colp <jcolp@digium.com>
3385 * main/Makefile: Pass in the path to Zaptel for systems that
3386 install Zaptel headers in a separate location.
3388 * main/asterisk.c: One thing at a time... let's get 1.4 building.
3390 2008-04-03 23:57 +0000 [r112689] Dwayne M. Hubbard <dhubbard@digium.com>
3392 * main/asterisk.c: add a Zaptel timer check to verify the timer is
3393 responding when Zaptel support is compiled into Asterisk and
3394 Zaptel drivers are loaded. This will help people not waste their
3395 valuable time debugging side effects.
3397 2008-04-03 14:32 +0000 [r112393-112599] Mark Michelson <mmichelson@digium.com>
3399 * channels/chan_zap.c: Fix the testing of the "res" variable so
3400 that it is more logically correct and makes the correct warning
3401 and debug messages print. (closes issue #12361) Reported by:
3402 one47 Patches: chan_zap_deferred_digit.patch uploaded by one47
3405 * main/manager.c: Fix a race condition in the manager. It is
3406 possible that a new manager event could be appended during a
3407 brief time when the manager is not waiting for input. If an event
3408 comes during this period, we need to set an indicator that there
3409 is an event pending so that the manager doesn't attempt to wait
3410 forever for an event that already happened. (closes issue #12354)
3411 Reported by: bamby Patches: manager_race_condition.diff uploaded
3412 by bamby (license 430) (comments added by me)
3414 * apps/app_queue.c: Ensure that there is no timeout if none is
3415 specified. (closes issue #12349) Reported by: johnlange
3417 2008-04-01 Russell Bryant <russell@digium.com>
3419 * Asterisk 1.4.19 released.
3421 2008-03-28 Russell Bryant <russell@digium.com>
3423 * Asterisk 1.4.19-rc4 released.
3425 2008-03-28 16:19 +0000 [r111658] Jason Parker <jparker@digium.com>
3427 * formats/format_wav_gsm.c: The file size of WAV49 does not need to
3428 be an even number. (closes issue #12128) Reported by: mdu113
3429 Patches: 12128-noevenlength.diff uploaded by qwell (license 4)
3430 Tested by: qwell, mdu113
3432 2008-03-28 14:35 +0000 [r111442-111605] Tilghman Lesher <tlesher@digium.com>
3434 * doc/valgrind.txt: Update debugging text, since Valgrind
3435 eliminated the --log-file-exactly option. (Closes issue #12320)
3437 * main/acl.c: For FreeBSD, at least, the ifa_addr element could be
3438 NULL. (closes issue #12300) Reported by: festr Patches:
3439 acl.c.patch uploaded by festr (license 443)
3441 2008-03-27 13:03 +0000 [r111341-111391] Steve Murphy <murf@digium.com>
3443 * apps/app_playback.c, main/pbx.c: These small documentation
3444 updates made in response to a query in asterisk-users, where a
3445 user was using Playback, but needed the features of Background,
3446 and had no idea that Background existed, or that it might provide
3447 the features he needed. I thought the best way to avert these
3448 kinds of queries was to provide "See Also" references in all
3449 three of "Background", "Playback", "WaitExten". Perhaps a project
3450 to do this with all related apps is in order.
3452 * pbx/pbx_ael.c, include/asterisk/ael_structs.h: (closes issue
3453 #12302) Reported by: pj Tested by: murf These changes will set a
3454 channel variable ~~EXTEN~~ just before generating code for a
3455 switch, with the value of ${EXTEN}. The exten is marked as having
3456 a switch, and ever after that, till the end of the exten, we
3457 substitute any ${EXTEN} with ${~~EXTEN~~} instead in application
3458 arguments; (and the ${EXTEN: also). The reason for this, is that
3459 because switches are coded using separate extensions to provide
3460 pattern matching, and jumping to/from these switch extensions
3461 messes up the ${EXTEN} value, which blows the minds of users.
3463 2008-03-27 00:25 +0000 [r111245-111280] Jason Parker <jparker@digium.com>
3465 * main/frame.c: Put this flag back so we don't change the API.
3467 * main/frame.c: Remove excessive smoother optimization that was
3468 causing audio glitches (small "pops") after (about 200ms later)
3469 an "incorrectly" sized frame was received. While it would be very
3470 nice to keep this as optimized as possible, it makes no sense for
3471 the smoother to be dropping random bits of audio like this. Isn't
3472 that the whole point of a smoother? Closes issue #12093.
3474 2008-03-26 19:55 +0000 [r111129] Joshua Colp <jcolp@digium.com>
3476 * contrib/scripts/autosupport: Update autosupport script. (closes
3477 issue #12310) Reported by: angler Patches: autosupport.diff
3478 uploaded by angler (license 106)
3480 2008-03-26 19:51 +0000 [r111126] Kevin P. Fleming <kpfleming@digium.com>
3482 * /, UPGRADE.txt: Merged revisions 111125 via svnmerge from
3483 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
3484 r111125 | kpfleming | 2008-03-26 14:49:30 -0500 (Wed, 26 Mar
3485 2008) | 2 lines update UPGRADE notes to document usage of the
3488 2008-03-26 19:37 +0000 [r111049-111121] Mark Michelson <mmichelson@digium.com>
3490 * apps/app_voicemail.c: This code change is made just for
3491 clarification. It does exactly the same thing as before. It just
3492 doesn't look as wrong.
3494 * apps/app_voicemail.c: Add a lock to the vm_state structure and
3495 use the lock around mail_open calls to prevent concurrent access
3496 of the same mailstream. This, along with trunk's ability to
3497 configure TCP timeouts for IMAP storage will help to prevent
3498 crashes and hangs when using voicemail with IMAP storage. (closes
3499 issue #10487) Reported by: ewilhelmsen
3501 2008-03-26 19:06 +0000 [r111024] Kevin P. Fleming <kpfleming@digium.com>
3503 * codecs/ilbc, /, contrib/scripts/get_ilbc_source.sh (added):
3504 Merged revisions 111019 via svnmerge from
3505 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
3506 r111019 | kpfleming | 2008-03-26 13:58:37 -0500 (Wed, 26 Mar
3507 2008) | 2 lines add a script to make getting the iLBC source code
3508 simple for end users ........
3510 2008-03-26 19:04 +0000 [r111014-111020] Joshua Colp <jcolp@digium.com>
3512 * channels/chan_sip.c: If we are requested to authenticate a
3513 reinvite make sure that it contains T38 SDP if need be. (closes
3514 issue #11995) Reported by: fall
3516 * channels/chan_iax2.c: Make sure that full video frames are sent
3517 whenever the 15 bit timestamp rolls over. (closes issue #11923)
3518 Reported by: mihai Patches: asterisk-fullvideo.patch uploaded by
3521 2008-03-26 17:43 +0000 [r110880-110962] Kevin P. Fleming <kpfleming@digium.com>
3523 * UPGRADE.txt: add note that the user will need to enable
3524 codec_ilbc to get it to build
3526 * codecs/ilbc/StateConstructW.h (removed),
3527 codecs/ilbc/libilbc.vcproj (removed), codecs/ilbc/packing.h
3528 (removed), codecs/ilbc/getCBvec.c (removed),
3529 codecs/ilbc/LPCdecode.c (removed), codecs/ilbc/enhancer.c
3530 (removed), codecs/ilbc/lsf.c (removed), codecs/ilbc/iLBC_encode.c
3531 (removed), codecs/ilbc/getCBvec.h (removed),
3532 codecs/ilbc/LPCdecode.h (removed), codecs/ilbc/enhancer.h
3533 (removed), codecs/ilbc/FrameClassify.c (removed),
3534 codecs/ilbc/iLBC_define.h (removed), codecs/ilbc/lsf.h (removed),
3535 codecs/ilbc/iLBC_encode.h (removed), codecs/ilbc/FrameClassify.h
3536 (removed), codecs/ilbc/helpfun.c (removed), codecs/ilbc/doCPLC.c
3537 (removed), codecs/ilbc/anaFilter.c (removed),
3538 codecs/ilbc/helpfun.h (removed), codecs/ilbc/createCB.c
3539 (removed), codecs/ilbc/doCPLC.h (removed),
3540 codecs/ilbc/anaFilter.h (removed), UPGRADE.txt,
3541 codecs/ilbc/iLBC_decode.c (removed), codecs/ilbc/constants.c
3542 (removed), codecs/ilbc/createCB.h (removed), CHANGES,
3543 codecs/ilbc/iLBC_decode.h (removed), codecs/ilbc/constants.h
3544 (removed), codecs/Makefile, codecs/ilbc/iCBSearch.c (removed),
3545 codecs/ilbc/filter.c (removed), codecs/ilbc/hpInput.c (removed),
3546 codecs/ilbc/gainquant.c (removed), codecs/ilbc/hpOutput.c
3547 (removed), codecs/ilbc/iCBSearch.h (removed),
3548 codecs/ilbc/filter.h (removed), codecs/ilbc/hpInput.h (removed),
3549 codecs/ilbc/gainquant.h (removed), codecs/ilbc/LPCencode.c
3550 (removed), codecs/ilbc/hpOutput.h (removed),
3551 codecs/ilbc/StateSearchW.c (removed), codecs/codec_ilbc.c,
3552 codecs/ilbc/LPCencode.h (removed), codecs/ilbc/StateSearchW.h
3553 (removed), codecs/ilbc/iCBConstruct.c (removed),
3554 codecs/ilbc/syntFilter.c (removed), /, codecs/ilbc/iCBConstruct.h
3555 (removed), codecs/ilbc/syntFilter.h (removed),
3556 codecs/ilbc/StateConstructW.c (removed), codecs/ilbc/packing.c
3557 (removed): Merged revisions 110869 via svnmerge from
3558 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
3559 r110869 | kpfleming | 2008-03-26 08:53:46 -0700 (Wed, 26 Mar
3560 2008) | 2 lines due to licensing restrictions, we cannot
3561 distribute the source code for iLBC encoding and decoding... so
3562 remove it, and add instructions on how the user can obtain it
3565 2008-03-25 22:51 +0000 [r110779] Jason Parker <jparker@digium.com>
3567 * cdr/cdr_custom.c: Make file access in cdr_custom similar to
3568 cdr_csv. Fixes issue #12268. Patch borrowed from r82344
3570 2008-03-25 20:03 +0000 [r110727] Jeff Peeler <jpeeler@digium.com>
3572 * channels/chan_sip.c: This one line change makes an if inside a
3573 for loop (in realtime_peer) check all the ast_variables the loop
3574 was intending to test rather than just the first one.
3576 2008-03-25 15:40 +0000 [r110635] Mark Michelson <mmichelson@digium.com>
3578 * channels/chan_sip.c: When reverting a commit, I accidentally left
3579 in this bit which was an experiment to see what would happen. It
3580 passed the compile test, and I didn't notice I had left this
3581 change in too. So this is a revert of a revert...sort of.
3583 2008-03-25 14:37 +0000 [r110628] Joshua Colp <jcolp@digium.com>
3585 * include/asterisk/options.h, main/asterisk.c, Makefile,
3586 main/app.c: Add an option (transmit_silence) which transmits
3587 silence during both Record() and DTMF generation. The reason this
3588 is an option is that in order to transmit silence we have to
3589 setup a translation path. This may not be needed/wanted in all
3590 cases. (closes issue #10058) Reported by: tracinet
3592 2008-03-24 19:17 +0000 [r110618] Mark Michelson <mmichelson@digium.com>
3594 * channels/chan_sip.c: This is a revert for revision 108288. The
3595 reason is that that revision was not for an actual bug fix per
3596 se, and so it really should not have been in 1.4 in the first
3597 place. Plus, people who compile with DO_CRASH are more likely to
3598 encounter a crash due to this change. While I think the usage of
3599 DO_CRASH in ast_sched_del is a bit absurd, this sort of change is
3600 beyond the scope of 1.4 and should be done instead in a developer
3601 branch based on trunk so that all scheduler functions are fixed
3602 at once. I also am reverting the change to trunk and 1.6 since
3603 they also suffer from the DO_CRASH potential. (closes issue
3604 #12272) Reported by: qq12345
3606 2008-03-24 17:34 +0000 [r110614] Russell Bryant <russell@digium.com>
3608 * channels/chan_iax2.c: Turn a NOTICE into a DEBUG message.
3610 2008-03-21 14:32 +0000 [r110474] Jason Parker <jparker@digium.com>
3612 * codecs/gsm/Makefile: Don't attempt to do optimizations of gsm on
3613 mips platforms either. (closes issue #12270) Reported by:
3614 zandbelt Patches: 026-gsm-mips.patch uploaded by zandbelt
3617 2008-03-20 23:13 +0000 [r110163-110395] Russell Bryant <russell@digium.com>
3619 * main/autoservice.c: Shorten the ast_waitfor() timeout from 500 ms
3620 to 50 ms in the autoservice thread. This really should not make a
3621 difference except in very rare cases. That case would be that all
3622 of the channels in autoservice are not generating any frames. In
3623 that case, this change reduces the potential amount of time that
3624 a thread waits in ast_autoservice_stop() for the autoservice
3625 thread to wrap back around to the beginning of its loop. (closes
3626 issue #12266, reported by dimas)
3628 * /, channels/chan_sip.c, channels/chan_iax2.c: Merged revisions
3629 110335 via svnmerge from
3630 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
3631 r110335 | russell | 2008-03-20 16:53:27 -0500 (Thu, 20 Mar 2008)
3632 | 6 lines Fix some very broken code that was introduced in 1.2.26
3633 as a part of the security fix. The dnsmgr is not appropriate
3634 here. The dnsmgr takes a pointer to an address structure that a
3635 background thread continuously updates. However, in these cases,
3636 a stack variable was passed. That means that the dnsmgr thread
3637 would be continuously writing to bogus memory. ........
3639 * apps/app_meetme.c: Fix a bug where when calls on the trunk side
3640 hang up while on hold, the state is not properly reflected.
3641 (closes issue #11990, reported by anakaoka, patched by me)
3643 2008-03-19 20:33 +0000 [r110083] Mark Michelson <mmichelson@digium.com>
3645 * apps/app_chanspy.c: Add a missing unlock in the case that memory
3646 allocation fails in app_chanspy. Thanks to Russell for confirming
3647 that this was an issue.
3649 2008-03-19 19:11 +0000 [r110019-110035] Joshua Colp <jcolp@digium.com>
3651 * res/res_musiconhold.c: Add sanity checking for position resuming.
3652 We *have* to make sure that the position does not exceed the
3653 total number of files present, and we have to make sure that the
3654 position's filename is the same as previous. These values can
3655 change if a music class is reloaded and give unpredictable
3656 behavior. (closes issue #11663) Reported by: junky
3658 * main/rtp.c: Make sure that the mark bit does not incorrectly
3659 cause video frame timestamps to be calculated as if they are
3660 audio frames. (closes issue #11429) Reported by: sperreault
3661 Patches: 11429-frametype.diff uploaded by qwell (license 4)
3663 2008-03-19 17:12 +0000 [r109973] Jason Parker <jparker@digium.com>
3665 * Makefile, build_tools/cflags.xml, build_tools/cflags-devmode.xml
3666 (added): People report bugs about Asterisk crashing with DO_CRASH
3667 enabled was getting a little silly... Now we only show certain
3668 cflags when you run configure with --enable-dev-mode
3669 (corresponding menuselect change to follow)
3671 2008-03-19 15:41 +0000 [r109908] Steve Murphy <murf@digium.com>
3673 * main/config.c: (closes issue #11442) Reported by: tzafrir
3674 Patches: 11442.patch uploaded by murf (license 17) Tested by:
3675 murf I didn't give tzafrir very much time to test this, but if he
3676 does still have remaining issues, he is welcome to re-open this
3677 bug, and we'll do what is called for. I reproduced the problem,
3678 and tested the fix, so I hope I am not jumping by just going
3679 ahead and committing the fix. The problem was with what file_save
3680 does with templates; firstly, it tended to print out multiple
3681 options: [my_category](!)(templateref) instead of
3682 [my_category](!,templateref) which is fixed by this patch.
3683 Nextly, the code to suppress output of duplicate declarations
3684 that would occur because the reader copies inherited declarations
3685 down the hierarchy, was not working. Thus: [master-template](!)
3686 mastervar = bar [template](!,master-template) tvar = value
3687 [cat](template) catvar = val would be rewritten as: ;! ;!
3688 Automatically generated configuration file ;! Filename:
3689 experiment.conf (/etc/asterisk/experiment.conf) ;! Generator:
3690 Manager ;! Creation Date: Tue Mar 18 23:17:46 2008 ;!
3691 [master-template](!) mastervar = bar
3692 [template](!,master-template) mastervar = bar tvar = value
3693 [cat](template) mastervar = bar tvar = value catvar = val This
3694 has been fixed. Since the config reader 'explodes' inherited vars
3695 into the category, users may, in certain circumstances, see
3696 output different from what they originally entered, but it should
3697 be both correct and equivalent.
3699 2008-03-19 04:06 +0000 [r109763-109838] Russell Bryant <russell@digium.com>
3701 * main/utils.c: Tweak spacing in a recent change because I'm very
3704 * apps/app_chanspy.c: Fix one place where the chanspy datastore
3705 isn't removed from a channel. (issue #12243, reported by atis,
3708 2008-03-18 20:52 +0000 [r109713] Mark Michelson <mmichelson@digium.com>
3710 * apps/app_queue.c: This patch makes it so that all queue member
3711 status changes are handled through device state code. This
3712 removes several problems people were seeing where their queue
3713 members would get into an "unknown" state. Huge props go to atis
3714 on this one since he was the one who found the code section that
3715 was causing the problem and proposed the solution. I just wrote
3716 what he suggested :) (closes issue #12127) Reported by: atis
3717 Patches: 12127v3.patch uploaded by putnopvut (license 60) Tested
3720 2008-03-18 19:23 +0000 [r109648] Jason Parker <jparker@digium.com>
3722 * codecs/log2comp.h: Allow codecs that use log2comp (g726) to
3723 compile correctly on x86 with gcc4 optimizations. (closes issue
3724 #12253) Reported by: fossil Patches: log2comp.patch uploaded by
3725 fossil (license 140)
3727 2008-03-18 17:58 +0000 [r109575] Mark Michelson <mmichelson@digium.com>
3729 * channels/chan_agent.c: Make sure an agent doesn't try to send
3730 dtmf to a NULL channel closes issue #12242 Reported by Yourname
3732 2008-03-18 Russell Bryant <russell@digium.com>
3734 * Asterisk 1.4.19-rc3 released.
3736 2008-03-18 16:25 +0000 [r109482] Terry Wilson <twilson@digium.com>
3738 * include/asterisk/astobj.h: Fix character string being treated ad
3741 2008-03-18 15:10 +0000 [r109393] Jason Parker <jparker@digium.com>
3743 * /, channels/chan_sip.c: Merged revisions 109391 via svnmerge from
3744 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
3745 r109391 | qwell | 2008-03-18 10:08:41 -0500 (Tue, 18 Mar 2008) |
3746 3 lines Do not return with a successful authentication if the
3747 From header ends up empty. (AST-2008-003) ........
3749 2008-03-18 14:58 +0000 [r109386] Joshua Colp <jcolp@digium.com>
3751 * main/rtp.c, channels/chan_sip.c: Put a maximum limit on the
3752 number of payloads accepted, and also make sure a given payload
3753 does not exceed our maximum value. (AST-2008-002)
3755 2008-03-18 06:37 +0000 [r109309] Steve Murphy <murf@digium.com>
3757 * pbx/ael/ael-test/ael-ntest23 (added),
3758 pbx/ael/ael-test/ael-ntest23/t1/a.ael (added),
3759 pbx/ael/ael-test/ael-ntest23/t1/b.ael (added),
3760 pbx/ael/ael-test/ael-ntest23/t1/c.ael (added),
3761 pbx/ael/ael-test/ael-ntest23/t2/d.ael (added),
3762 pbx/ael/ael-test/ael-ntest23/t2/e.ael (added),
3763 pbx/ael/ael-test/ael-ntest23/t2/f.ael (added),
3764 pbx/ael/ael-test/ref.ael-ntest23 (added), pbx/ael/ael_lex.c,
3765 pbx/ael/ael-test/ael-ntest23/t3/g.ael (added),
3766 pbx/ael/ael-test/ael-ntest23/t3/h.ael (added),
3767 pbx/ael/ael-test/ael-ntest23/t3/i.ael (added), pbx/ael/ael.flex,
3768 pbx/ael/ael-test/ael-ntest23/t3/j.ael (added),
3769 pbx/ael/ael-test/ael-ntest23/qq.ael (added),
3770 pbx/ael/ael-test/ael-ntest23/t1 (added),
3771 pbx/ael/ael-test/ael-ntest23/t2 (added),
3772 pbx/ael/ael-test/ael-ntest23/t3 (added),
3773 pbx/ael/ael-test/ael-ntest23/extensions.ael (added): (closes
3774 issue #11903) Reported by: atis Many thanks to atis for spotting
3775 this problem and reporting it. The fix was to straighten out how
3776 items are placed on and removed from the file stack. Regressions
3777 as well as the provided test case helped to straighten out all
3778 code paths. valgrind was used to make sure all memory allocated
3779 was freed. Sorry for not solving this earlier. I got distracted.
3780 Added the ntest23 regression test, which is mainly a copy of
3781 ntest22, but with a few juicy errors thrown in, to replicate the
3782 kind of error that atis spotted.
3784 2008-03-17 22:05 +0000 [r109226] Mark Michelson <mmichelson@digium.com>
3786 * main/utils.c: Fix a logic flaw in the code that stores lock info
3787 which is displayed via the "core show locks" command. The idea
3788 behind this section of code was to remove the previous lock from
3789 the list if it was a trylock that had failed. Unfortunately,
3790 instead of checking the status of the previous lock, we were
3791 referencing the index immediately following the previous lock in
3792 the lock_info->locks array. The result of this problem, under the
3793 right circumstances, was that the lock which we currently in the
3794 process of attempting to acquire could "overwrite" the previous
3795 lock which was acquired. While this does not in any way affect
3796 typical operation, it *could* lead to misleading "core show
3799 2008-03-17 17:55 +0000 [r109171] Michiel van Baak <michiel@vanbaak.info>
3801 * channels/chan_skinny.c: Update the directory of placed calls on
3802 skinny phones when dialing a channel that does not provide
3803 progress (analog ZAP lines) The phone does handle the double
3804 update on calls to channels that do provide progress and wont
3805 insert duplicate items (closes issue #12239) Reported by: DEA
3806 Patches: chan_skinny-call-log.txt uploaded by DEA (license 3)
3808 2008-03-17 16:24 +0000 [r109107] Joshua Colp <jcolp@digium.com>
3810 * channels/chan_sip.c: 200 OKs in response to a reinvite need to be
3811 sent reliably. If the remote side does not receive one the dialog
3812 will be torn down. (closes issue #12208) Reported by: atrash
3814 2008-03-17 15:15 +0000 [r109057] Jason Parker <jparker@digium.com>
3816 * main/file.c: Backport revision 106439 from trunk. I didn't
3817 realize this was broken in 1.4 as well. Closes issue #12222.
3819 2008-03-17 14:18 +0000 [r109012] Mark Michelson <mmichelson@digium.com>
3821 * apps/app_chanspy.c: Make sure that we release the lock on the
3822 spyee channel if the spyee or spy has hung up (closes issue
3823 #12232) Reported by: atis
3825 2008-03-16 21:47 +0000 [r108961] Michiel van Baak <michiel@vanbaak.info>
3827 * main/dial.c: add missing break to case AST_CONTROL_SRCUPDATE
3828 (closes issue #12228) Reported by: andrew Patches: SRC.patch
3829 uploaded by andrew (license 240)
3831 2008-03-14 20:09 +0000 [r108792-108796] Russell Bryant <russell@digium.com>
3833 * channels/chan_oss.c: Fix a channel name issue. chan_oss registers
3834 the "Console" channel type, but it created channels with an "OSS"
3835 prefix. (closes issue #12194, reported by davidw, patched by me)
3837 * contrib/init.d/rc.suse.asterisk: Update the SuSE init script to
3838 start networking before asterisk, as well. (closes issue #12200,
3839 reported by and change suggested by reinerotto)
3841 2008-03-14 16:44 +0000 [r108737] Mark Michelson <mmichelson@digium.com>
3843 * channels/chan_sip.c: Fix a race condition in the SIP packet
3844 scheduler which could cause a crash. chan_sip uses the scheduler
3845 API in order to schedule retransmission of reliable packets (such
3846 as INVITES). If a retransmission of a packet is occurring, then
3847 the packet is removed from the scheduler and retrans_pkt is
3848 called. Meanwhile, if a response is received from the packet as
3849 previously transmitted, then when we ACK the response, we will
3850 remove the packet from the scheduler and free the packet. The
3851 problem is that both the ACK function and retrans_pkt attempt to
3852 acquire the same lock at the beginning of the function call. This
3853 means that if the ACK function acquires the lock first, then it
3854 will free the packet which retrans_pkt is about to read from and
3855 write to. The result is a crash. The solution: 1. If the ACK
3856 function fails to remove the packet from the scheduler and the
3857 retransmit id of the packet is not -1 (meaning that we have not
3858 reached the maximum number of retransmissions) then release the
3859 lock and yield so that retrans_pkt may acquire the lock and
3860 operate. 2. Make absolutely certain that the ACK function does
3861 not recursively lock the lock in question. If it does, then
3862 releasing the lock will do no good, since retrans_pkt will still
3863 be unable to acquire the lock. (closes issue #12098) Reported by:
3864 wegbert (closes issue #12089) Reported by: PTorres Patches:
3865 12098-putnopvutv3.patch uploaded by putnopvut (license 60) Tested
3868 2008-03-14 14:29 +0000 [r108682] Jason Parker <jparker@digium.com>
3870 * res/res_musiconhold.c: Fix a potential segfault if chan (or
3871 chan->music_state) is NULL. Closes issue #12210, credit to
3872 edantie for pointing this out.
3874 2008-03-13 21:38 +0000 [r108469-108583] Russell Bryant <russell@digium.com>
3876 * apps/app_chanspy.c, main/channel.c, include/asterisk/channel.h:
3877 Fix another issue that was causing crashes in chanspy. This
3878 introduces a new datastore callback, called chan_fixup(). The
3879 concept is exactly like the fixup callback that is used in the
3880 channel technology interface. This callback gets called when the
3881 owning channel changes due to a masquerade. Before this was
3882 introduced, if a masquerade happened on a channel being spyed on,
3883 the channel pointer in the datastore became invalid. (closes
3884 issue #12187) (reported by, and lots of testing from atis) (props
3885 to file for the help with ideas)
3887 * channels/chan_sip.c: Make a tweak that gets the LEDs on polycom
3888 phones to blink when an extension that has been subscribed to
3889 goes on hold. Otherwise, they just stay on like it does when an
3890 extension is in use. (closes issue #11263) Reported by: russell
3891 Patches: notify_hold.rev1.txt uploaded by russell (license 2)
3894 * apps/app_followme.c: Fix a couple uses of sprintf. The second one
3895 could actually cause an overflow of a stack buffer. It's not a
3896 security issue though, it only depends on your configuration.
3898 2008-03-12 21:53 +0000 [r108227-108288] Mark Michelson <mmichelson@digium.com>
3900 * channels/chan_sip.c: Change AST_SCHED_DEL use to ast_sched_del
3901 for autocongestion in chan_sip. The scheduler callback will
3902 always return 0. This means that this id is never rescheduled, so
3903 it makes no sense to loop trying to delete the id from the
3904 scheduler queue. If we fail to remove the item from the queue
3905 once, it will fail every single time. (Yes I realize that in this
3906 case, the macro would exit early because the id is set to -1 in
3907 the callback, but it still makes no sense to use that macro in
3908 favor of calling ast_sched_del once and being done with it) This
3909 is the first of potentially several such fixes.
3911 * include/asterisk/sched.h: Added a large comment before the
3912 AST_SCHED_DEL macro to explain its purpose as well as when it is
3913 appropriate and when it is not appropriate to use it. I also
3914 removed the part of the debug message that mentions that this is
3915 probably a bug because there are some perfectly legitimate places
3916 where ast_sched_del may fail to delete an entry (e.g. when the
3917 scheduler callback manually reschedules with a new id instead of
3918 returning non-zero to tell the scheduler to reschedule with the
3919 same idea). I also raised the debug level of the debug message in
3920 AST_SCHED_DEL since it seems like it could come up quite
3921 frequently since the macro is probably being used in several
3922 places where it shouldn't be. Also removed the redundant line,
3923 file, and function information since that is provided by ast_log.
3925 2008-03-12 19:57 +0000 [r108135] Russell Bryant <russell@digium.com>
3927 * apps/app_chanspy.c, main/channel.c: (closes issue #12187,
3928 reported by atis, fixed by me after some brainstorming on the
3929 issue with mmichelson) - Update copyright info on app_chanspy. -
3930 Fix a race condition that caused app_chanspy to crash. The issue
3931 was that the chanspy datastore magic that was used to ensure that
3932 spyee channels did not disappear out from under the code did not
3933 completely solve the problem. It was actually possible for
3934 chanspy to acquire a channel reference out of its datastore to a
3935 channel that was in the middle of being destroyed. That was
3936 because datastore destruction in ast_channel_free() was done near
3937 the end. So, this left the code in app_chanspy accessing a
3938 channel that was partially, or completely invalid because it was
3939 in the process of being free'd by another thread. The following
3940 sort of shows the code path where the race occurred:
3941 =============================================================================
3942 Thread 1 (PBX thread for spyee chan) || Thread 2 (chanspy)
3943 --------------------------------------||-------------------------------------
3944 ast_channel_free() || - remove channel from channel list || -
3945 lock/unlock the channel to ensure || that no references retrieved
3946 from || the channel list exist. ||
3947 --------------------------------------||-------------------------------------
3948 || channel_spy() - destroy some channel data || - Lock chanspy
3949 datastore || - Retrieve reference to channel || - lock channel ||
3950 - Unlock chanspy datastore
3951 --------------------------------------||-------------------------------------
3952 - destroy channel datastores || - call chanspy datastore d'tor ||
3953 which NULL's out the ds' || - Operate on the channel ...
3954 reference to the channel || || - free the channel || || || -
3956 --------------------------------------||-------------------------------------
3957 =============================================================================
3959 2008-03-12 19:16 +0000 [r108086] Kevin P. Fleming <kpfleming@digium.com>
3961 * channels/chan_sip.c: if we receive an INVITE with a
3962 Content-Length that is not a valid number, or is zero, then don't
3963 process the rest of the message body looking for an SDP closes
3964 issue #11475 Reported by: andrebarbosa
3966 2008-03-12 18:26 +0000 [r108083] Joshua Colp <jcolp@digium.com>
3968 * apps/app_mixmonitor.c, include/asterisk/audiohook.h,
3969 main/audiohook.c: Add a trigger mode that triggers on both read
3970 and write. The actual function that returns the combined audio
3971 frame though will wait until both sides have fed in audio, or
3972 until one side stops (such as the case when you call Wait).
3973 (closes issue #11945) Reported by: xheliox
3975 2008-03-12 16:59 +0000 [r108031] Russell Bryant <russell@digium.com>
3977 * main/channel.c: Destroy the channel lock after the channel
3978 datastores. (inspired by issue #12187)
3980 2008-03-12 01:52 +0000 [r107877] Tilghman Lesher <tlesher@digium.com>
3982 * contrib/scripts/iax-friends.sql, contrib/scripts/sip-friends.sql:
3983 Document all of the possible realtime fields
3985 2008-03-11 23:37 +0000 [r107714-107826] Jason Parker <jparker@digium.com>
3987 * doc/voicemail_odbc_postgresql.txt: Update documentation for pgsql
3988 ODBC voicemail. (closes issue #12186) Reported by: jsmith
3989 Patches: vm_pgsql_doc_update.patch uploaded by jsmith (license
3992 * channels/chan_gtalk.c: Copy voicemail dependency logic for
3993 res_adsi to chan_gtalk (for jabber). (closes issue #12014)
3996 2008-03-11 20:48 +0000 [r107713] Kevin P. Fleming <kpfleming@digium.com>
3998 * Makefile.rules, channels/Makefile: get chan_vpb to build properly
4001 2008-03-11 20:47 +0000 [r107712] Jason Parker <jparker@digium.com>
4003 * apps/app_voicemail.c: Add a newline on a log
4005 2008-03-11 19:20 +0000 [r107582-107646] Joshua Colp <jcolp@digium.com>
4007 * res/res_features.c: Make sure the visible indication is on the
4008 right channel so when the masquerade happens the proper
4009 indication is enacted. (closes issue #11707) Reported by: iam
4011 * apps/app_meetme.c: Add an additional check for setting conference
4012 parameter when using the marked user options. It was possible for
4013 it to return to a no listen/no talk state if a masquerade
4014 happened. (closes issue #12136) Reported by: aragon
4016 * apps/app_exec.c: Fix a minor spelling error. (closes issue
4017 #12183) Reported by: darrylc
4019 2008-03-11 Russell Bryant <russell@digium.com>
4021 * Asterisk 1.4.19-rc2 released.
4023 2008-03-11 15:18 +0000 [r107352-107472] Kevin P. Fleming <kpfleming@digium.com>
4025 * apps/app_rpt.c: backport a fix from trunk
4027 * channels/misdn/isdn_lib.c, codecs/Makefile,
4028 channels/chan_misdn.c: fix various other problems found by gcc
4031 * configure, include/asterisk/autoconfig.h.in, configure.ac,
4032 apps/app_sms.c: stop checking for mktime() in the configure
4033 script... we don't use it, and the test is buggy under gcc 4.3
4035 * configure, main/Makefile, configure.ac, makeopts.in: check for
4036 compiler support for -fno-strict-overflow before using it (tested
4037 with Debian's gcc 4.3, 4.1 and 3.4) (closes issue #12179)
4038 Reported by: Netview
4040 * configure, configure.ac: fix small bug in IMAP toolkit testing
4042 * main/udptl.c, utils/Makefile, main/Makefile,
4043 main/editline/readline.c, pbx/Makefile: fix up various compiler
4044 warnings found with gcc-4.3: - the output of flex includes a
4045 static function called 'input' that is not used, so for the
4046 moment we'll stop having the compiler tell us about unused
4047 variables in the flex source files (a better fix would be to
4048 improve our flex post-processing to remove the unused function) -
4049 main/stdtime/localtime.c makes assumptions about signed integer
4050 overflow, and gcc-4.3's improved optimizer tries to take
4051 advantage of handling potential overflow conditions at compile
4052 time; for now, suppress these optimizations until we can fiure
4053 out if the code needs improvement - main/udptl.c has some
4054 references to uninitialized variables; in one case there was no
4055 bug, but in the other it was certainly possibly for unexpected
4056 behavior to occur - main/editline/readline.c had an unused
4059 2008-03-11 00:59 +0000 [r107290] Terry Wilson <twilson@digium.com>
4061 * channels/chan_sip.c: If we fail to alloc a channel, we should
4062 re-lock the pvt structure before returning.
4064 2008-03-10 21:32 +0000 [r107230] Tilghman Lesher <tlesher@digium.com>
4066 * main/pbx.c: Use non-global storage for eswitch
4068 2008-03-10 20:27 +0000 [r107173] Jason Parker <jparker@digium.com>
4070 * channels/chan_zap.c: Make sure to reenable echo can after a
4071 "failed" (canceled, etc) three-way call. (closes issue #11335)
4072 Reported by: rebuild
4074 2008-03-10 20:17 +0000 [r107099-107161] Russell Bryant <russell@digium.com>
4076 * main/pbx.c: Fix another bug specifically related to asynchronous
4077 call origination. Once the PBX is started on the channel using
4078 ast_pbx_start(), then the ownership of the channel has been
4079 passed on to another thread. We can no longer access it in this
4080 code. If the channel gets hung up very quickly, it is possible
4081 that we could access a channel that has been free'd. (inspired by
4084 * main/pbx.c: Fix some bugs related to originating calls. If the
4085 code failed to start a PBX on the channel (such as if you set a
4086 call limit based on the system's load average), then there were
4087 cases where a channel that has already been free'd using
4088 ast_hangup() got accessed. This caused weird memory corruption
4089 and crashes to occur. (fixes issue BE-386) (much debugging credit
4090 goes to twilson, final patch written by me)
4092 * main/channel.c: Resolve a compiler warning.
4094 * main/channel.c: Fix a race condition where the generator can go
4095 away (closes issue #12175, reported by edantie, patched by me)
4097 2008-03-10 14:33 +0000 [r107016] Joshua Colp <jcolp@digium.com>
4099 * apps/app_dial.c, main/cdr.c, include/asterisk/cdr.h: Move where
4100 unanswered CDRs are dropped to the CDR core, not everything uses
4101 app_dial. (closes issue #11516) Reported by: ys Patches:
4102 branch_1.4_cdr.diff uploaded by ys (license 281) Tested by:
4103 anest, jcapp, dartvader
4105 2008-03-08 15:59 +0000 [r106945] Kevin P. Fleming <kpfleming@digium.com>
4107 * channels/chan_zap.c: don't generate D-Channel "up" and "down"
4108 messages unless the channel state is actually changing; also,
4109 generate the "up" message when an implicit "up" occurs due to
4110 reception of a normal event when we thought the channel was
4113 2008-03-07 22:51 +0000 [r106895] Russell Bryant <russell@digium.com>
4115 * apps/app_meetme.c: Only start the SLA thread if SLA has actually
4118 2008-03-07 22:14 +0000 [r106842] Jason Parker <jparker@digium.com>
4120 * main/editline/Makefile.in: Fix hardcoded grep in editline, were
4121 GNU grep is required. (closes issue #12124) Reported by: dmartin
4123 2008-03-07 19:32 +0000 [r106788] Joshua Colp <jcolp@digium.com>
4125 * main/channel.c: Ignore source update control frame. (closes issue
4126 #12168) Reported by: plack
4128 2008-03-07 17:16 +0000 [r106704] Russell Bryant <russell@digium.com>
4130 * include/asterisk/sched.h: Change a warning message to a debug
4131 message. This is happening quite frequently, and it is not worth
4132 spamming users with these messages unless we are pretty confident
4133 that it should never happen. As it stands today, it _will_ and
4134 _does_ happen and until that gets cleaned up a reasonable amount
4135 on the development side, let's not spam the logs of everyone
4136 else. (closes issue #12154)
4138 2008-03-07 16:22 +0000 [r106552-106635] Tilghman Lesher <tlesher@digium.com>
4140 * apps/app_voicemail.c: Warn the user when a temporary greeting
4141 exists (Closes issue #11409)
4143 * main/rtp.c: Properly initialize rtp->schedid (Closes issue
4146 * apps/app_chanspy.c, apps/app_rpt.c, main/asterisk.c,
4147 apps/app_speech_utils.c, apps/app_voicemail.c, main/channel.c,
4148 funcs/func_enum.c, channels/chan_misdn.c, main/frame.c,
4149 main/manager.c: Safely use the strncat() function. (closes issue
4150 #11958) Reported by: norman Patches: 20080209__bug11958.diff.txt
4151 uploaded by Corydon76 (license 14)
4153 2008-03-06 22:10 +0000 [r106437] Mark Michelson <mmichelson@digium.com>
4155 * main/pbx.c: Quell an annoying message that is likely to print
4156 every single time that ast_pbx_outgoing_app is called. The reason
4157 is that __ast_request_and_dial allocates the cdr for the channel,
4158 so it should be expected that the channel will have a cdr on it.
4159 Thanks to joetester on IRC for pointing this out
4161 2008-03-06 04:40 +0000 [r106328] Tilghman Lesher <tlesher@digium.com>
4163 * sounds/Makefile: Upgrade to the next release of sounds
4165 2008-03-05 22:37 +0000 [r106237] Russell Bryant <russell@digium.com>
4167 * channels/chan_iax2.c: Fix a potential deadlock and a few
4168 different potential crashes. (closes issue #12145, reported by
4169 thiagarcia, patched by me)
4171 2008-03-05 22:32 +0000 [r106235] Joshua Colp <jcolp@digium.com>
4173 * channels/chan_oss.c, main/rtp.c, channels/chan_mgcp.c,
4174 apps/app_dial.c, main/channel.c, channels/chan_phone.c,
4175 main/dial.c, channels/chan_zap.c, channels/chan_sip.c,
4176 channels/chan_skinny.c, channels/chan_h323.c, main/file.c,
4177 channels/chan_alsa.c, apps/app_followme.c,
4178 include/asterisk/frame.h: Add a control frame to indicate the
4179 source of media has changed. Depending on the underlying
4180 technology it may need to change some things. (closes issue
4181 #12148) Reported by: jcomellas
4183 2008-03-05 21:12 +0000 [r106178] Michiel van Baak <michiel@vanbaak.info>
4185 * doc/realtime.txt: document var_metric so no bugreports will come
4186 in when it's actually a configuration issue. (issue #12151)
4187 Reported and patched by: caio1982 1.4 patch by me
4189 2008-03-05 15:32 +0000 [r106038] Kevin P. Fleming <kpfleming@digium.com>
4191 * channels/chan_zap.c: when a PRI call must be moved to a different
4192 B channel at the request of the other endpoint, ensure that any
4193 DSP active on the original channel is moved to the new one
4194 (closes issue #11917) Reported by: mavetju Tested by: mavetju
4196 2008-03-05 15:17 +0000 [r106015] Tilghman Lesher <tlesher@digium.com>
4198 * channels/chan_sip.c, include/asterisk/sched.h: Correctly
4199 initialize retransid in SIP, and ensure that the warning when
4200 failing to delete a schedule entry can actually hit the log.
4201 (closes issue #12140) Reported by: slavon Patches: sch2.patch
4202 uploaded by slavon (license 288) (Patch slightly modified by me)
4204 2008-03-05 01:52 +0000 [r105932] Russell Bryant <russell@digium.com>
4206 * main/rtp.c, main/translate.c, include/asterisk/frame.h: Fix a bug
4207 that I just noticed in the RTP code. The calculation for setting
4208 the len field in an ast_frame of audio was wrong when G.722 is in
4209 use. The len field represents the number of ms of audio that the
4210 frame contains. It would have set the value to be twice what it
4213 2008-03-04 18:10 +0000 [r105674-105676] Joshua Colp <jcolp@digium.com>
4215 * main/rtp.c: In addition to setting the marker bit let's change
4216 our ssrc so they know for sure it is a different source.
4218 * main/rtp.c, channels/chan_sip.c, include/asterisk/rtp.h: When a
4219 new source of audio comes in (such as music on hold) make sure
4220 the marker bit gets set. (closes issue #10355) Reported by:
4221 wdecarne Patches: 10355.diff uploaded by file (license 11)
4222 (closes issue #11491) Reported by: kanderson
4224 2008-03-04 Russell Bryant <russell@digium.com>
4226 * Asterisk 1.4.19-rc1 released.
4228 2008-03-04 04:31 +0000 [r105591] Russell Bryant <russell@digium.com>
4230 * main/pbx.c: Backport a minor bug fix from trunk that I found
4231 while doing random code cleanup. Properly break out of the loop
4232 when a context isn't found when verify that includes are valid.
4234 2008-03-03 18:06 +0000 [r105572] Jason Parker <jparker@digium.com>
4236 * res/snmp/agent.c: Fix type for astNumChannels. (closes issue
4237 #12114) Reported by: jeffg Patches: 12114.patch uploaded by jeffg
4240 2008-03-03 17:16 +0000 [r105563-105570] Russell Bryant <russell@digium.com>
4242 * channels/chan_local.c: In the case of an ast_channel allocation
4243 failure, take the local_pvt out of the pvt list before destroying
4246 * channels/chan_local.c: Fix a potential memory leak of the
4247 local_pvt struct when ast_channel allocation fails. Also, in
4248 passing, centralize the code necessary to destroy a local_pvt.
4250 * main/autoservice.c: Update the copyright information for
4251 autoservice. Most of the code in this file now is stuff that I
4252 have written recently ...
4254 * main/asterisk.c, main/channel.c, include/asterisk.h,
4255 main/autoservice.c: Merge in some changes from
4256 team/russell/autoservice-nochans-1.4 These changes fix up some
4257 dubious code that I came across while auditing what happens in
4258 the autoservice thread when there are no channels currently in
4259 autoservice. 1) Change it so that autoservice thread doesn't keep
4260 looping around calling ast_waitfor_n() on 0 channels twice a
4261 second. Instead, use a thread condition so that the thread
4262 properly goes to sleep and does not wake up until a channel is
4263 put into autoservice. This actually fixes an interesting bug, as
4264 well. If the autoservice thread is already running (almost always
4265 is the case), then when the thread goes from having 0 channels to
4266 have 1 channel to autoservice, that channel would have to wait
4267 for up to 1/2 of a second to have the first frame read from it.
4268 2) Fix up the code in ast_waitfor_nandfds() for when it gets
4269 called with no channels and no fds to poll() on, such as was the
4270 case with the previous code for the autoservice thread. In this
4271 case, the code would call alloca(0), and pass the result as the
4272 first argument to poll(). In this case, the 2nd argument to
4273 poll() specified that there were no fds, so this invalid pointer
4274 shouldn't actually get dereferenced, but, this code makes it
4275 explicit and ensures the pointers are NULL unless we have valid
4276 data to put there. (related to issue #12116)
4278 2008-03-03 15:28 +0000 [r105557-105560] Joshua Colp <jcolp@digium.com>
4280 * main/channel.c: It is possible for no audio to pass between the
4281 current digit and next digit so expand logic that clears
4282 emulation to AST_FRAME_NULL. (closes issue #11911) Reported by:
4283 edgreenberg Patches: v1-11911.patch uploaded by dimas (license
4284 88) Tested by: tbsky
4286 * channels/chan_sip.c: Add a comment to describe some logic.
4287 (closes issue #12120) Reported by: flefoll Patches:
4288 chan_sip.c.br14.patch-just-a-comment uploaded by flefoll (license
4291 2008-02-29 23:34 +0000 [r105409] Russell Bryant <russell@digium.com>
4293 * main/autoservice.c: Fix a major bug in autoservice. There was a
4294 race condition in the handling of the list of channels in
4295 autoservice. The problem was that it was possible for a channel
4296 to get removed from autoservice and destroyed, while the
4297 autoservice thread was still messing with the channel. This led
4298 to memory corruption, and caused crashes. This explains multiple
4299 backtraces I have seen that have references to autoservice, but
4300 do to the nature of the issue (memory corruption), could cause
4301 crashes in a number of areas. (fixes the crash in BE-386) (closes
4302 issue #11694) (closes issue #11940) The following issues could be
4303 related. If you are the reporter of one of these, please update
4304 to include this fix and try again. (potentially fixes issue
4305 #11189) (potentially fixes issue #12107) (potentially fixes issue
4306 #11573) (potentially fixes issue #12008) (potentially fixes issue
4307 #11189) (potentially fixes issue #11993) (potentially fixes issue
4310 2008-02-29 14:47 +0000 [r105326] Philippe Sultan <philippe.sultan@gmail.com>
4312 * res/res_jabber.c: Fix a potential memory leak
4314 2008-02-29 14:34 +0000 [r105296] Tilghman Lesher <tlesher@digium.com>
4316 * apps/app_voicemail.c: If the message file does not exist, just
4317 return harmlessly, instead of crashing. (Closes issue #12108)
4319 2008-02-29 13:48 +0000 [r105261] Joshua Colp <jcolp@digium.com>
4321 * apps/app_voicemail.c: Bump up the size of the uniqueid variable.
4322 (closes issue #12107) Reported by: asgaroth
4324 2008-02-29 13:05 +0000 [r105209] Philippe Sultan <philippe.sultan@gmail.com>
4326 * res/res_jabber.c: Automatically create new buddy upon reception
4327 of a presence stanza of type subscribed. (closes issue #12066)
4328 Reported by: ffadaie Patches: branch-1.4-12066-1.diff uploaded by
4329 phsultan (license 73) trunk-12066-1.diff uploaded by phsultan
4330 (license 73) Tested by: ffadaie, phsultan
4332 2008-02-28 22:23 +0000 [r105116] Russell Bryant <russell@digium.com>
4334 * main/utils.c, include/asterisk/lock.h: Fix a bug in the lock
4335 tracking code that was discovered by mmichelson. The issue is
4336 that if the lock history array was full, then the functions to
4337 mark a lock as acquired or not would adjust the stats for
4338 whatever lock is at the end of the array, which may not be
4339 itself. So, do a sanity check to make sure that we're updating
4340 lock info for the proper lock. (This explains the bizarre stats
4341 on lock #63 in BE-396, thanks Mark!)
4343 2008-02-28 21:56 +0000 [r105113] Tilghman Lesher <tlesher@digium.com>
4345 * contrib/init.d/rc.debian.asterisk: Update init script for LSB
4346 compat (closes issue #9843) Reported by: ibc Patches:
4347 rc.debian.asterisk.patch uploaded by ibc (license 211) Tested by:
4350 2008-02-28 20:11 +0000 [r105059] Mark Michelson <mmichelson@digium.com>
4352 * apps/app_queue.c: When using autofill, members who are in use
4353 should be counted towards the number of available members to call
4354 if ringinuse is set to yes. Thanks to jmls who brought this issue
4357 2008-02-28 19:20 +0000 [r104920-105005] Jason Parker <jparker@digium.com>
4359 * main/cdr.c, main/pbx.c: Make pbx_exec pass an empty string into
4360 applications, if we get NULL. This protects against possible
4361 segfaults in applications that may try to use data before
4362 checking length (ast_strdupa'ing it, for example) (closes issue
4363 #12100) Reported by: foxfire Patches: 12100-nullappargs.diff
4364 uploaded by qwell (license 4)
4366 * channels/chan_skinny.c: According to a video at www.cisco.com,
4367 the 7921G supports 6 line appearances.
4369 2008-02-28 00:05 +0000 [r104868] Tilghman Lesher <tlesher@digium.com>
4371 * main/Makefile, build_tools/strip_nonapi: Compatibility fix for
4372 PPC64 (closes issue #12081) Reported by: jcollie Patches:
4373 asterisk-1.4.18-funcdesc.patch uploaded by jcollie (license 412)
4374 Tested by: jcollie, Corydon76
4376 2008-02-27 21:49 +0000 [r104841] Mark Michelson <mmichelson@digium.com>
4378 * main/dial.c: Two fixes: 1. Make the list of ast_dial_channels a
4379 lockable list. This is because in some cases, the ast_dial may
4380 exist in multiple threads due to asynchronous execution of its
4381 application, and I found some cases where race conditions could
4382 exist. 2. Check in ast_dial_join to be sure that the channel
4383 still exists before attempting to lock it, since it could have
4384 gotten hung up but the is_running_app flag on the
4385 ast_dial_channel may not have been cleared yet. (closes issue
4386 #12038) Reported by: jvandal Patches: 12038v2.patch uploaded by
4387 putnopvut (license 60) Tested by: jvandal
4389 2008-02-27 20:56 +0000 [r104787] Joshua Colp <jcolp@digium.com>
4391 * apps/app_chanspy.c: Don't loop around infinitely trying to spy on
4392 our own channel, and don't forget to free/detach the datastore
4393 upon hangup of the spy.
4395 2008-02-27 20:36 +0000 [r104783] Mark Michelson <mmichelson@digium.com>
4397 * main/file.c: Bump a couple of more buffers up by 2 so that
4398 annoying warnings aren't generated like crazy on every
4399 fileexists_core call.
4401 2008-02-27 18:15 +0000 [r104704] Tilghman Lesher <tlesher@digium.com>
4403 * main/manager.c: Ensure the session ID can't be 0.
4405 2008-02-27 17:41 +0000 [r104665] Joshua Colp <jcolp@digium.com>
4407 * main/file.c: Bump up the buffer by 2.
4409 2008-02-27 17:33 +0000 [r104625] Russell Bryant <russell@digium.com>
4411 * apps/app_chanspy.c: Fix a problem in ChanSpy where it could get
4412 stuck in an infinite loop without being able to detect that the
4413 calling channel hung up. (closes issue #12076, reported by junky,
4416 2008-02-27 17:26 +0000 [r104598] Jason Parker <jparker@digium.com>
4418 * res/res_features.c: Inherit language from the transfering channel
4419 on a blind transfer. (closes issue #11682) Reported by: caio1982
4420 Patches: local_atxfer_lang3-1.4.diff uploaded by caio1982
4421 (license 22) Tested by: caio1982, victoryure
4423 2008-02-27 17:07 +0000 [r104596] Joshua Colp <jcolp@digium.com>
4425 * main/loader.c: Use the lock (which already existed, it just
4426 wasn't used) on the updaters list to protect the contents instead
4427 of the overall module list lock. (closes issue #12080) Reported
4430 2008-02-27 16:53 +0000 [r104593] Kevin P. Fleming <kpfleming@digium.com>
4432 * main/file.c: fallback to standard English prompts properly when
4433 using new prompt directory layout (closes issue #11831) Reported
4434 by: IgorG Patches: fallbacken.v1.diff uploaded by IgorG (license
4435 20) (modified by me to improve code and conform rest of function
4436 to coding guidelines)
4438 2008-02-27 16:45 +0000 [r104591] Russell Bryant <russell@digium.com>
4440 * channels/chan_zap.c: When we receive a known alarm, make sure
4441 that the unknown alarm flag is not still set to make sure that
4442 when we come back out of alarm, it gets reported in the log and
4443 manager interface (after discussion with tzafrir on the -dev
4446 2008-02-27 15:52 +0000 [r104536] Joshua Colp <jcolp@digium.com>
4448 * res/res_smdi.c: Only stop the MWI monitor thread if it was
4449 actually started. (closes issue #12086) Reported by: francesco_r
4451 2008-02-27 01:15 +0000 [r104332-104334] Russell Bryant <russell@digium.com>
4453 * apps/app_chanspy.c: Avoid some recursion in the cleanup code for
4454 the chanspy datastore (closes issue #12076, reported by junky,
4457 * channels/chan_zap.c: Zaptel 1.4 now exposes FXO battery state as
4458 an alarm. However, Asterisk 1.4 does not know what to do with
4459 these alarms. Only Asterisk 1.6 cares about it. So, if we get an
4460 unknown alarm in chan_zap, don't generate confusing log messages
4463 2008-02-26 18:26 +0000 [r104132-104141] Jason Parker <jparker@digium.com>
4465 * Makefile: Add badshell to .PHONY target (thanks Kevin)
4467 * Makefile: Since all shells aren't as awesome as bash, we have to
4468 fail if somebody tries to use a literal "~" in DESTDIR.
4470 * sounds/Makefile: Revert previous abspath change. ...abspath is
4471 new in GNU make 3.81. I feel so...defeated. Must find new fix!
4473 * sounds/Makefile: Fix a very bizarre issue we were seeing with our
4474 buildbot when using a DESTDIR that wasn't an absolute path (such
4475 as DESTDIR=~/asterisk-1.4). Apparently what was happening, was
4476 that some of the targets were being expanded to the full path, so
4477 $@ ended up being /root/asterisk-1.4/[...]/ rather than
4478 ~/asterisk-1.4/[...]/ It appears that this may be a new "feature"
4479 in GNU make. (*cough*
4480 http://en.wikipedia.org/wiki/Principle_of_least_surprise *cough*)
4482 2008-02-26 00:25 +0000 [r104119] Russell Bryant <russell@digium.com>
4484 * include/asterisk/smdi.h, apps/app_voicemail.c,
4485 channels/chan_zap.c, res/res_smdi.c, configs/smdi.conf.sample:
4486 Merge changes from team/russell/smdi-1.4 This commit brings in a
4487 significant set of changes to the SMDI support in Asterisk. There
4488 were a number of bugs in the current implementation, most notably
4489 being that it was very likely on busy systems to pop off the
4490 wrong message from the SMDI message queue. So, this set of
4491 changes fixes the issues discovered as well as introducing some
4492 new ways to use the SMDI support which are required to avoid the
4493 bugs with grabbing the wrong message off of the queue. This code
4494 introduces a new interface to SMDI, with two dialplan functions.
4495 First, you get an SMDI message in the dialplan using
4496 SMDI_MSG_RETRIEVE() and then you access details in the message
4497 using the SMDI_MSG() function. A side benefit of this is that it
4498 now supports more than just chan_zap. For example, with this
4499 implementation, you can have some FXO lines being terminated on a
4500 SIP gateway, but the SMDI link in Asterisk. Another issue with
4501 the current implementation is that it is quite common that the
4502 station ID that comes in on the SMDI link is not necessarily the
4503 same as the Asterisk voicemail box. There are now additional
4504 directives in the smdi.conf configuration file which let you map
4505 SMDI station IDs to Asterisk voicemail boxes. Yet another issue
4506 with the current SMDI support was related to MWI reporting over
4507 the SMDI link. The current code could only report a MWI change
4508 when the change was made by someone calling into voicemail. If
4509 the change was made by some other entity (such as with IMAP
4510 storage, or with a web interface of some kind), then the MWI
4511 change would never be sent. The SMDI module can now poll for MWI
4512 changes if configured to do so. This work was inspired by and
4513 primarily done for the University of Pennsylvania. (also related
4516 2008-02-26 00:03 +0000 [r104111] Jason Parker <jparker@digium.com>
4518 * channels/chan_h323.c: IPTOS_MINCOST is not defined on Solaris.
4519 (closes issue #12050) Reported by: asgaroth Patches: 12050.patch
4520 uploaded by putnopvut (license 60)
4522 2008-02-25 23:42 +0000 [r104102-104106] Russell Bryant <russell@digium.com>
4524 * apps/app_chanspy.c: This patch fixes some pretty significant
4525 problems with how app_chanspy handles pointers to channels that
4526 are being spied upon. It was very likely that a crash would occur
4527 if the channel being spied upon hung up. This was because the
4528 current ast_channel handling _requires_ that the object is locked
4529 or else it could disappear at any time (except in the owning
4530 channel thread). So, this patch uses some channel datastore magic
4531 on the spied upon channel to be able to detect if and when the
4532 channel goes away. (closes issue #11877) (patch written by me,
4533 but thanks to kpfleming for the idea, and to file for review)
4535 * main/utils.c: Improve the lock tracking code a bit so that a
4536 bunch of old locks that threads failed to lock don't sit around
4537 in the history. When a lock is first locked, this checks to see
4538 if the last lock in the list was one that was failed to be
4539 locked. If it is, then that was a lock that we're no longer
4540 sitting in a trylock loop trying to lock, so just remove it.
4541 (inspired by issue #11712)
4543 2008-02-25 21:37 +0000 [r104095] Joshua Colp <jcolp@digium.com>
4545 * channels/chan_sip.c: Make it so a users.conf user creates both a
4546 SIP peer and a SIP user. The user will be used for inbound
4547 authentication for the device, and peer will be used for placing
4548 calls to the device. (closes issue #9044) Reported by: queuetue
4549 Patches: sip-gui-friend.diff uploaded by qwell (license 4)
4551 2008-02-25 21:31 +0000 [r104094] Tilghman Lesher <tlesher@digium.com>
4553 * apps/app_voicemail.c: If the destination folder is full, don't
4554 delete a message when exiting. (closes issue #12065) Reported by:
4555 selsky Patch by: (myself)
4557 2008-02-25 20:49 +0000 [r104092] Jason Parker <jparker@digium.com>
4559 * main/config.c: Allow the use of #include and #exec in situations
4560 where the max include depth was only 1. Specifically, this fixes
4561 using #include and #exec in extconfig.conf. This was basically
4562 caused because the config file itself raises the include level to
4563 1. I opted not to raise the include limit, because recursion here
4564 could cause very bizarre behavior. Pointed out, and tested by
4565 jmls (closes issue #12064)
4567 2008-02-25 18:38 +0000 [r104086] Russell Bryant <russell@digium.com>
4569 * channels/chan_agent.c: Ensure that the channel doesn't disappear
4570 in agent_logoff(). If it does, it could cause a crash. (fixes the
4571 crash reported in BE-396)
4573 2008-02-25 16:16 +0000 [r104082-104084] Joshua Colp <jcolp@digium.com>
4575 * channels/chan_sip.c: If a resubscription comes in for a dialog we
4576 no longer know about tell the remote side that the dialog does
4577 not exist so they subscribe again using a new dialog. (closes
4578 issue #10727) Reported by: s0l4rb03 Patches: 10727-2.diff
4579 uploaded by file (license 11)
4581 * channels/chan_sip.c: Due to recent changes tag will no longer be
4582 NULL if not present so we have to use ast_strlen_zero to see if
4583 it's actually blank. (closes issue #12061) Reported by: flefoll
4584 Patches: chan_sip.c.br14.patch_pedantic_no_totag uploaded by
4585 flefoll (license 244)
4587 2008-02-22 22:45 +0000 [r104037] Tilghman Lesher <tlesher@digium.com>
4589 * channels/chan_sip.c: Backwards debug message. (closes issue
4590 #12052) Reported by: flefoll Patches:
4591 chan_sip.c.br14.patch_found-notfound uploaded by flefoll (license
4594 2008-02-21 21:05 +0000 [r104026-104027] Mark Michelson <mmichelson@digium.com>
4596 * channels/chan_zap.c: And as a followup to revision 104026,
4597 completely remove event-related calls from a section of code
4598 where we know there was no event to handle or get.
4600 * channels/chan_zap.c: Remove an incorrect debug message. It
4601 reported that it had received a specific event and tried to
4602 report which event was received. What actually was happening was
4603 that it was reporting the number of bytes returned from a call to
4604 read(). Thanks to Jared Smith for bringing the issue up on IRC
4606 2008-02-21 14:33 +0000 [r104015] Kevin P. Fleming <kpfleming@digium.com>
4608 * main/manager.c: reduce the likelihood that HTTP Manager session
4609 ids will consist of primarily '1' bits
4611 2008-02-20 22:32 +0000 [r103956] Mark Michelson <mmichelson@digium.com>
4613 * apps/app_queue.c: Clear up confusion when viewing the
4614 QUEUE_WAITING_COUNT of a "dead" realtime queue. Since from the
4615 user's perspective, the queue does exist, we shouldn't tell them
4616 we couldn't find the queue. Instead since it is a dead queue,
4617 report a 0 waiting count This issue was brought up on IRC by jmls
4619 2008-02-20 22:06 +0000 [r103953] Joshua Colp <jcolp@digium.com>
4621 * channels/chan_zap.c: Don't wait for additional digits when
4622 overlap dialing is enabled if the setup message contains the
4623 sending_complete information element. (closes issue #11785)
4624 Reported by: klaus3000 Patches:
4625 sending_complete_overlap_asterisk-1.4.17.patch.txt uploaded by
4626 klaus3000 (license 65)
4628 2008-02-20 21:40 +0000 [r103904] Mark Michelson <mmichelson@digium.com>
4630 * channels/chan_local.c: Fix a crash if the channel becomes NULL
4631 while attempting to lock it. (closes issue #12039) Reported by:
4634 2008-02-20 17:53 +0000 [r103845] Tilghman Lesher <tlesher@digium.com>
4636 * main/stdtime/localtime.c: Compat fix for Solaris (closes issue
4637 #12022) Reported by: asgaroth Patches:
4638 20080219__bug12022.diff.txt uploaded by Corydon76 (license 14)
4641 2008-02-19 20:28 +0000 [r103823] Joshua Colp <jcolp@digium.com>
4643 * channels/h323/ast_h323.cxx: Send CallerID Name in setup message.
4644 (closes issue #11241) Reported by: tusar Patches:
4645 h323id_as_callerid_name.patch uploaded by tusar (license 344)
4647 2008-02-19 20:02 +0000 [r103821] Russell Bryant <russell@digium.com>
4649 * channels/chan_local.c: Account for the fact that the "other"
4650 channel can disappear while the local pvt is not locked. (fixes a
4651 problem introduced in rev 100581) (closes issue #12012) Reported
4652 by: stevedavies Patch by me
4654 2008-02-19 17:31 +0000 [r103807-103812] Joshua Colp <jcolp@digium.com>
4656 * configure, configure.ac: Don't look for launchd when cross
4657 compiling. (closes issue #12029) Reported by: ovi
4659 * channels/chan_sip.c: Fix building of chan_sip.
4661 2008-02-19 10:27 +0000 [r103806] Olle Johansson <oej@edvina.net>
4663 * channels/chan_sip.c: Make sure we send error replies correctly by
4664 checking the via header.
4666 2008-02-18 23:56 +0000 [r103801] Joshua Colp <jcolp@digium.com>
4668 * main/channel.c: Ensure that emulated DTMFs do not get interrupted
4669 by another begin frame. (closes issue #11740) Reported by: gserra
4670 Patches: v1-11740.patch uploaded by dimas (license 88) (closes
4671 issue #11955) Reported by: tsearle (closes issue #10530) Reported
4674 2008-02-18 22:28 +0000 [r103790-103795] Jason Parker <jparker@digium.com>
4676 * channels/chan_zap.c: Fix previous commit so that we actually
4677 disable echocanbridged if echocancel is off.
4679 * channels/chan_zap.c: Correct a message when echocancelwhenbridged
4680 is on, but echocancel is not. Issue #12019
4682 2008-02-18 20:52 +0000 [r103786] Mark Michelson <mmichelson@digium.com>
4684 * main/app.c: There was an invalid assumption when calculating the
4685 duration of a file that the filestream in question was created
4686 properly. Unfortunately this led to a segfault in the situation
4687 where an unknown format was specified in voicemail.conf and a
4688 voicemail was recorded. Now, we first check to be sure that the
4689 stream was written correctly or else assume a zero duration.
4690 (closes issue #12021) Reported by: jakep Tested by: putnopvut
4692 2008-02-18 17:31 +0000 [r103780] Tilghman Lesher <tlesher@digium.com>
4694 * main/rtp.c, channels/chan_sip.c: When a SIP channel is being
4695 auto-destroyed, it's possible for it to still be in bridge code.
4696 When that happens, we crash. Delay the RTP destruction until the
4697 bridge is ended. (closes issue #11960) Reported by: norman
4698 Patches: 20080215__bug11960__2.diff.txt uploaded by Corydon76
4699 (license 14) Tested by: norman
4701 2008-02-18 16:37 +0000 [r103770] Mark Michelson <mmichelson@digium.com>
4703 * channels/chan_zap.c: Fix a linked list corruption that under the
4704 right circumstances could lead to a looped list, meaning it will
4705 traverse forever. (closes issue #11818) Reported by: michael-fig
4706 Patches: 11818.patch uploaded by putnopvut (license 60) Tested
4709 2008-02-18 16:11 +0000 [r103763-103768] Joshua Colp <jcolp@digium.com>
4711 * main/asterisk.c: Backport fix from issue #9325. (closes issue
4712 #11980) Reported by: rbrunka
4714 * channels/chan_sip.c: Don't care if the extension given doesn't
4715 exist for subscription based MWI.
4717 2008-02-15 23:31 +0000 [r103726-103741] Russell Bryant <russell@digium.com>
4719 * channels/chan_iax2.c: Fix a crash in chan_iax2 due to a race
4720 condition (closes issue #11780) Reported by: guillecabeza
4721 Patches: bug_iax2_jb_1.4.patch uploaded by guillecabeza (license
4722 380) bug_iax2_jb_trunk.patch uploaded by guillecabeza (license
4725 * main/loader.c: In the case that you try to directly reload a
4726 module has returned AST_MODULE_LOAD_DECLINE, log a message
4727 indicating that the module is not fully initialized and must be
4728 initialized using "module load".
4730 * main/loader.c: Don't attempt to execute the reload callback for a
4731 module that returned AST_MODULE_LOAD_DECLINE. This fixes a crash
4732 that was reported against chan_console in trunk. (closes issue
4733 #11953, reported by junky, fixed by me)
4735 2008-02-15 17:26 +0000 [r103688-103722] Mark Michelson <mmichelson@digium.com>
4737 * doc/imapstorage.txt, configure, configure.ac: Final round of
4738 changes for configure script logic for IMAP Now if a directory is
4739 specified, then we will search that directory for a source
4740 installation of the IMAP toolkit. If none is found, then we will
4741 use that directory as the basis for detecting a package
4742 installation of the IMAP c-client. If that check fails, then
4743 configure will fail.
4745 * configure, configure.ac: Fix a bit of wrong logic in the
4746 configure script that caused problems when trying to configure
4747 without IMAP. Patch suggestion from phsultan, but I modified it
4748 slightly. (closes issue #12003) Reported by: pj Tested by:
4751 * doc/imapstorage.txt, configure, configure.ac: I apparently
4752 misunderstood one of the requirements of this configure change.
4753 Now, if a source directory is specified with the --with-imap
4754 option, and a valid source installation is not detected there,
4755 then configure will fail and will not check for a package
4758 * doc/imapstorage.txt: Make a small clarification in the
4761 * doc/imapstorage.txt: Update documentation regarding configuration
4764 * apps/app_voicemail.c, configure,
4765 include/asterisk/autoconfig.h.in, configure.ac: Change to the
4766 configure logic regarding IMAP. Prior to this commit, if you
4767 wished to configure Asterisk with IMAP support, you would use the
4768 --with-imap configure switch in one of the following two ways:
4769 --with-imap=/some/directory would look in the directory specified
4770 for a UW IMAP source installation --with-imap would assume that
4771 you had imap-2004g installed in .. relative to the Asterisk
4772 source With this set of changes the two above options still work
4773 the same, but there are two new behaviors, too.
4774 --with-imap=system will assume that you have -libc-client.so
4775 where you store your shared objects and will attempt to find
4776 c-client headers in your include path either in the imap or
4777 c-client directory. If either of the two original methods of
4778 specifying the imap option should fail, then the check for
4779 --with-imap =system will be performed in addition. It is only
4780 after this "system" check that failure can happen.
4782 * apps/app_voicemail.c: Fix build for non-IMAP builds
4784 * apps/app_voicemail.c: Fix the new message count if delete=yes
4785 when using IMAP storage. (closes issue #11406) Reported by:
4786 jaroth Patches: deleteflag_v2.patch uploaded by jaroth (license
4787 50) Tested by: jaroth
4789 2008-02-14 19:51 +0000 [r103683-103684] Jason Parker <jparker@digium.com>
4791 * funcs/func_cdr.c: swap location for this..
4793 * funcs/func_cdr.c: Document the 'l' option to the CDR() function.
4794 (Thanks voipgate for pointing out the option, and Leif for
4795 providing text for it.) Closes issue #11695.
4797 2008-02-13 06:25 +0000 [r103556-103607] Tilghman Lesher <tlesher@digium.com>
4799 * channels/chan_agent.c: We aren't talking to ourselves; we're
4800 talking to someone else. (closes issue #11771) Reported by:
4801 msetim Patches: ami_agent_talkingto-1.4.diff uploaded by caio1982
4802 (license 22) Tested by: caio1982, msetim
4804 * apps/app_voicemail.c: Refuse to load app_voicemail if res_adsi is
4805 not loaded (which is a symbol dependency) (closes issue #11760)
4806 Reported by: non-poster Patches: 20080114__bug11760.diff.txt
4807 uploaded by Corydon76 (license 14) Tested by: Corydon76,
4808 non-poster, jamesgolovich
4810 2008-02-12 22:24 +0000 [r103503-103504] Jason Parker <jparker@digium.com>
4812 * main/asterisk.c: revert accidental change from last commit. oops
4814 * contrib/scripts/safe_asterisk, main/asterisk.c: Remove condition
4815 that was impossible.
4817 2008-02-12 15:09 +0000 [r103324-103385] Joshua Colp <jcolp@digium.com>
4819 * channels/chan_sip.c: Even if no CallerID name or number has been
4820 provided by the remote party still use the configured sip.conf
4821 ones. (closes issue #11977) Reported by: pj
4823 * apps/app_meetme.c: If entering a conference with the 'w' option
4824 ensure that we can't listen or speak until the marked user
4825 appears. (closes issue #11835) Reported by: alanmcmillan
4827 2008-02-11 17:05 +0000 [r103315] Kevin P. Fleming <kpfleming@digium.com>
4829 * configs/zapata.conf.sample: improve 2BCT documentation a bit
4832 2008-02-09 06:23 +0000 [r103197] Tilghman Lesher <tlesher@digium.com>
4834 * apps/app_voicemail.c: Commit fix for being unable to send
4835 voicemail from VoiceMailMain Reported by: William F Acker (via
4836 the -users mailing list) Patch by: Corydon76 (license 14)
4838 2008-02-08 18:48 +0000 [r103070-103120] Mark Michelson <mmichelson@digium.com>
4840 * apps/app_queue.c: Prevent a potential three-thread deadlock. Also
4841 added a comment block to explicitly state the locking order
4842 necessary inside app_queue. (closes issue #11862) Reported by:
4843 flujan Patches: 11862.patch uploaded by putnopvut (license 60)
4846 * channels/chan_iax2.c: Yield the thread and return -1 if the ioctl
4847 fails for Zaptel timing device. (closes issue #11891) Reported
4850 2008-02-08 15:08 +0000 [r102968] Joshua Colp <jcolp@digium.com>
4852 * channels/chan_iax2.c: Make sure the presence of dbsecret is
4853 factored into user scoring. (closes issue #11952) Reported by:
4856 2008-02-07 19:53 +0000 [r102858] Jason Parker <jparker@digium.com>
4858 * res/res_features.c: Specify which digit string was matched in
4859 debug message. (closes issue #11949) Reported by: dimas Patches:
4860 v1-feature-debug.patch uploaded by dimas (license 88)
4862 2008-02-07 16:41 +0000 [r102807] Kevin P. Fleming <kpfleming@digium.com>
4864 * configs/zapata.conf.sample: document usage of 'transfer'
4865 configuration option for ISDN PRI switch-side transfers
4867 2008-02-06 17:59 +0000 [r102653-102725] Joshua Colp <jcolp@digium.com>
4869 * channels/chan_sip.c: Only consider a T.38-only INVITE compatible
4870 if we have both a joint capability between us and them and if
4873 * main/global_datastores.c: Add missing header file and
4874 ASTERISK_FILE_VERSION usage. (closes issue #11936) Reported by:
4877 2008-02-06 15:19 +0000 [r102651] Russell Bryant <russell@digium.com>
4879 * configs/features.conf.sample: Clarify setting DYNAMIC_FEATURES so
4880 that it gets inherited by outbound channels. (due to a discussion
4881 between me and a user via email)
4883 2008-02-06 11:48 +0000 [r102627] Kevin P. Fleming <kpfleming@digium.com>
4885 * pbx/Makefile, res/Makefile: ensure that all remaining
4886 multi-object modules are built using their proper CFLAGS and
4887 include directory paths
4889 2008-02-06 00:26 +0000 [r102576] Tilghman Lesher <tlesher@digium.com>
4891 * apps/app_voicemail.c: Move around some defines to unbreak ODBC
4892 storage. (closes issue #11932) Reported by: snuffy
4894 2008-02-05 20:02 +0000 [r102453] Mark Michelson <mmichelson@digium.com>
4896 * channels/chan_mgcp.c: Clear the DTMF buffer on hangup. (closes
4897 issue #11919) Reported by: eferro Patches:
4898 mgcp_dtmfclean_on_hangup.diff uploaded by eferro (license 337)
4901 2008-02-05 19:52 +0000 [r102450] Joshua Colp <jcolp@digium.com>
4903 * channels/chan_sip.c: If a REGISTER attempt comes in that is a
4904 retransmission of a previous REGISTER do not create a new nonce
4905 value. (issue #BE-381)
4907 2008-02-05 17:15 +0000 [r102425] Kevin P. Fleming <kpfleming@digium.com>
4909 * channels/Makefile: ensure that components of chan_misdn.so are
4910 built using any special build options that the configure script
4911 generated (reported by Philipp Kempgen on asterisk-dev)
4913 2008-02-05 15:09 +0000 [r102378] Joshua Colp <jcolp@digium.com>
4915 * res/res_clioriginate.c: Perform dialing asynchronously when using
4916 the originate CLI command so the CLI does not appear to block.
4917 (closes issue #11927) Reported by: bbhoss
4919 2008-02-04 21:06 +0000 [r102214-102323] Tilghman Lesher <tlesher@digium.com>
4921 * main/asterisk.c, utils/muted.c, configure,
4922 include/asterisk/autoconfig.h.in, configure.ac: Cross-platform
4923 fix: OS X now deprecates the use of the daemon(3) API. (closes
4924 issue #11908) Reported by: oej Patches:
4925 20080204__bug11908.diff.txt uploaded by Corydon76 (license 14)
4926 Tested by: Corydon76
4928 * funcs/func_strings.c: Missing braces. (closes issue #11912)
4929 Reported by: dimas Patches: sprintf.patch uploaded by dimas
4932 2008-02-03 16:38 +0000 [r102090-102142] Olle Johansson <oej@edvina.net>
4934 * channels/chan_sip.c: Use the same CSEQ on CANCEL as on INVITE
4935 (according to RFC 3261) (closes issue #9492) Reported by:
4936 kryptolus Patches: bug9492.txt uploaded by oej (license 306)
4939 * channels/chan_sip.c: Handle ACK and CANCEL in an invite
4940 transaction - even if we get INFO transactions during the actual
4941 call setup. (closes issue #10567) Reported by: jacksch Tested by:
4942 oej Patch by: oej inspired by suggestions from neutrino88 in the
4945 2008-02-01 23:06 +0000 [r101989] Russell Bryant <russell@digium.com>
4947 * channels/chan_sip.c: Change the SDP_SAMPLE_RATE macro. It turns
4948 out that even though G.722 is 16 kHz, it is supposed to specified
4949 as 8 kHz in the RTP, and RTP timestamps are supposed to be
4950 calculated based on 8 kHz. (Apparently this is due to a bug in a
4951 spec, but people follow it anyway, because it's the spec ...)
4953 2008-02-01 21:54 +0000 [r101894-101942] Tilghman Lesher <tlesher@digium.com>
4955 * apps/app_voicemail.c: Fix the VM_DUR variable for forwarded
4956 voicemail, and fixed several other bugs while I'm in the area.
4957 (closes issue #11615) Reported by: jamessan Patches:
4958 20071226__bug11615__2.diff.txt uploaded by Corydon76 (license 14)
4959 Tested by: Corydon76, jamessan
4961 * configure, include/asterisk/autoconfig.h.in, configure.ac,
4962 acinclude.m4: Change detection of getifaddrs to use
4963 AST_C_COMPILE_CHECK, backported from trunk (as suggested by
4966 2008-02-01 17:41 +0000 [r101822] Jason Parker <jparker@digium.com>
4968 * apps/app_authenticate.c: Remove a needless (and incorrect) call
4969 to feof() after fgets(). This would have exited the loop early if
4970 you had an authentication file with no newline at the end.
4972 2008-02-01 17:27 +0000 [r101818-101820] Russell Bryant <russell@digium.com>
4974 * apps/app_authenticate.c: off by one error
4976 * apps/app_authenticate.c: Don't overwrite the last character of a
4977 line if it's not a newline. This would happen if the last line in
4978 the file doesn't have a newline. (pointed out by Qwell)
4980 2008-02-01 15:55 +0000 [r101772] Tilghman Lesher <tlesher@digium.com>
4982 * configure, include/asterisk/autoconfig.h.in, configure.ac,
4983 main/acl.c: Compatibility fix for OpenWRT (reported by Brian
4984 Capouch via the mailing list)
4986 2008-02-01 00:32 +0000 [r101693] Russell Bryant <russell@digium.com>
4988 * channels/chan_iax2.c: Add some more sanity checking on IAX2 dial
4989 strings for the case that no peer or hostname was provided, which
4990 is the one part of the dial string that is absolutely required.
4991 If it's not there, bail out. (closes issue #11897) Reported by
4992 sokhapkin Patch by me
4994 2008-02-01 00:06 +0000 [r101649] Mark Michelson <mmichelson@digium.com>
4996 * apps/app_amd.c: From bugtracker: "fix totalAnalysisTime to handle
4997 periods of no channel activity" (closes issue #9256) Reported by:
4998 cmaj Patches: amd-dont-wait-too-long-for-frames-take3.diff.txt
4999 uploaded by cmaj (license 111) Tested by: cmaj, skygreg, ZX81,
5002 2008-01-31 Russell Bryant <russell@digium.com>
5004 * Asterisk 1.4.18 released.
5006 2008-01-31 23:10 +0000 [r101601] Russell Bryant <russell@digium.com>
5008 * main/translate.c, main/file.c: Fix a couple of places where
5009 ast_frfree() was not called on a frame that came from a
5010 translator. This showed itself by g729 decoders not getting
5011 released. Since the flag inside the translator frame never got
5012 unset by freeing the frame to indicate it was no longer in use,
5013 the translators never got destroyed, and thus the g729 licenses
5014 were not released. (closes issue #11892) Reported by: xrg
5015 Patches: 11892.diff uploaded by russell (license 2) Tested by:
5018 2008-01-31 21:00 +0000 [r101531] Mark Michelson <mmichelson@digium.com>
5020 * res/res_monitor.c: 1. Prevent the addition of an extra '/' to the
5021 beginning of an absolute pathname. 2. If ast_monitor_change_fname
5022 is called and the new filename is the same as the old, then exit
5023 early and don't set the filename_changed field in the monitor
5024 structure. Setting it in this case was causing ast_monitor_stop
5025 to erroneously delete them. (closes issue #11741) Reported by:
5026 garlew Tested by: putnopvut
5028 2008-01-31 19:52 +0000 [r101482] Jason Parker <jparker@digium.com>
5030 * channels/chan_sip.c, channels/chan_iax2.c: Solaris compat fixes
5031 for struct in_addr funkiness. Issue #11885, patch by snuffy.
5033 2008-01-31 19:30 +0000 [r101480] Steve Murphy <murf@digium.com>
5035 * main/pbx.c: closes issue #11845; that's the one where there's a
5036 1004 byte cdr leak with every AMI Redirect to a zap channel
5038 2008-01-31 19:17 +0000 [r101413-101433] Russell Bryant <russell@digium.com>
5040 * channels/chan_agent.c: Add more missing locking of the agents
5043 * channels/chan_agent.c: Move the locking from find_agent() into
5044 the agent dialplan function handler to ensure that the agent
5045 doesn't disappear while we're looking at it.
5047 * channels/chan_agent.c: Add missing locking to the find_agent()
5050 2008-01-30 15:41 +0000 [r101222] Joshua Colp <jcolp@digium.com>
5052 * main/slinfactory.c: Fix an issue where if a frame of higher
5053 sample size preceeded a frame of lower sample size and
5054 ast_slinfactory_read was called with a sample size of the
5055 combined values or higher a crash would happen. (closes issue
5056 #11878) Reported by: stuarth
5058 2008-01-30 15:34 +0000 [r101219] Jason Parker <jparker@digium.com>
5060 * configs/extensions.conf.sample: Change default config to use
5061 descending channel order of groups, rather than ascending. Fixes
5062 a potential source of confusion in glare-type situations. Issue
5063 11875, reported by JimVanM.
5065 2008-01-30 15:23 +0000 [r101216] Mark Michelson <mmichelson@digium.com>
5067 * apps/app_queue.c: Fix a logic error with regards to autofill.
5068 Prior to this change, it was possible for a caller to go out of
5069 turn if autofill were enabled and callers ahead in the queue were
5070 attempting to call a member. This change fixes this.
5072 2008-01-30 11:20 +0000 [r101152] Olle Johansson <oej@edvina.net>
5074 * channels/chan_sip.c: Stop musiconhold on attended transfer.
5075 (closes issue #11872) Reported by: gareth Patches:
5076 svn-101018.patch uploaded by gareth (license 208)
5078 2008-01-29 23:50 +0000 [r101080] Dwayne M. Hubbard <dhubbard@digium.com>
5080 * build_tools/make_version: updated build_tools to handle the
5081 autotag directory structure changes; changes related to BE-353.
5082 Patch by The Russell and reviewed by The Me.
5084 2008-01-29 23:02 +0000 [r100973-101035] Mark Michelson <mmichelson@digium.com>
5086 * apps/app_queue.c: Remove a memory leak from updating realtime
5089 * apps/app_queue.c: Fixing an erroneous return value returned when
5090 attempting to pause or unpause a queue member fails. Fixes
5091 BE-366, thanks to John Bigelow for writing the patch.
5093 2008-01-29 17:57 +0000 [r100934] Joshua Colp <jcolp@digium.com>
5095 * apps/app_mixmonitor.c: Don't forget to record the channel so we
5096 know whether it is bridged or not later. (closes issue #11811)
5099 2008-01-29 17:43 +0000 [r100932] Russell Bryant <russell@digium.com>
5101 * main/Makefile: Fix the last couple of issues related to building
5102 from a path that contains spaces. (closes issue #11834)
5104 2008-01-29 17:41 +0000 [r100930] Jason Parker <jparker@digium.com>
5106 * channels/misdn_config.c: Initialize an array to 0s if config
5107 option not specified. (closes issue #11860) Patches:
5108 misdn_get_config.v1.diff uploaded by IgorG (license 20)
5110 2008-01-29 17:21 +0000 [r100882-100922] Russell Bryant <russell@digium.com>
5112 * Makefile: Use GNU make magic instead of shell magic to escape
5113 spaces in the working directory. (related to issue #11834)
5115 * Makefile: Fix building Asterisk when the working path has spaces
5116 in it. (closes issue #11834) Reported by: spendergrass Patched
5119 2008-01-29 16:10 +0000 [r100835] Jason Parker <jparker@digium.com>
5121 * channels/chan_zap.c: Allow zap groups above 30 to work properly.
5122 (closes issue #11590) Reported by: tbsky
5124 2008-01-29 10:36 +0000 [r100793] Christian Richter <christian.richter@beronet.com>
5126 * channels/chan_misdn.c: fixed potential segfault in misdn show
5127 channels CLI command
5129 2008-01-29 08:26 +0000 [r100740] Olle Johansson <oej@edvina.net>
5131 * channels/chan_sip.c: (closes issue #11736) Reported by: MVF
5132 Patches: bug11736-2.diff uploaded by oej (license 306) Tested by:
5133 oej, MVF, revolution (russellb: This was the showstopper for the
5136 2008-01-28 21:02 +0000 [r100675] Tilghman Lesher <tlesher@digium.com>
5138 * main/pbx.c: WaitExten didn't handle AbsoluteTimeout properly
5139 (went to 't' instead of 'T')
5141 2008-01-28 20:55 +0000 [r100673] Mark Michelson <mmichelson@digium.com>
5143 * channels/chan_vpb.cc, UPGRADE.txt: Undoing the deprecation of
5144 chan_vpb. It is alive and well.
5146 2008-01-28 20:42 +0000 [r100672] Jason Parker <jparker@digium.com>
5148 * apps/app_voicemail.c: When using ODBC_STORAGE, make sure we put
5149 greeting files into the database like we do with the others.
5150 Issue #11795 Reported by: dimas Patches: vmgreet.patch uploaded
5151 by dimas (license 88)
5153 2008-01-28 18:34 +0000 [r100626-100629] Russell Bryant <russell@digium.com>
5155 * channels/chan_sip.c: For some reason, the use of this strdupa()
5156 is leading to memory corruption on freebsd sparc64. This trivial
5157 workaround fixes it. (closes issue #10300, closes issue #11857,
5158 reported by mattias04 and Home-of-the-Brave)
5160 * res/res_features.c: Fix a crash in ast_masq_park_call() (issue
5161 #11342) Reported by: DEA Patches: res_features-park.txt uploaded
5164 2008-01-28 18:23 +0000 [r100624] Jason Parker <jparker@digium.com>
5166 * channels/chan_zap.c: Correct a comment which made little/no
5169 2008-01-28 17:15 +0000 [r100581] Russell Bryant <russell@digium.com>
5171 * main/channel.c, channels/chan_local.c,
5172 include/asterisk/channel.h: Make some deadlock related fixes.
5173 These bugs were discovered and reported internally at Digium by
5174 Steve Pitts. - Fix up chan_local to ensure that the channel lock
5175 is held before the local pvt lock. - Don't hold the channel lock
5176 when executing the timing function, as it can cause a deadlock
5177 when using chan_local. This actually changes the code back to be
5178 how it was before the change for issue #10765. But, I added some
5179 other locking that I think will prevent the problem reported
5182 2008-01-27 21:59 +0000 [r100465] Tilghman Lesher <tlesher@digium.com>
5184 * main/rtp.c, channels/chan_mgcp.c, main/cdr.c,
5185 channels/chan_misdn.c, main/dnsmgr.c, channels/chan_sip.c,
5186 channels/chan_h323.c, include/asterisk/sched.h, main/file.c,
5187 pbx/pbx_dundi.c, channels/chan_iax2.c: When deleting a task from
5188 the scheduler, ignoring the return value could possibly cause
5189 memory to be accessed after it is freed, which causes all sorts
5190 of random memory corruption. Instead, if a deletion fails, wait a
5191 bit and try again (noting that another thread could change our
5192 taskid value). (closes issue #11386) Reported by: flujan Patches:
5193 20080124__bug11386.diff.txt uploaded by Corydon76 (license 14)
5194 Tested by: Corydon76, flujan, stuarth`
5196 2008-01-25 22:32 +0000 [r100418] Mark Michelson <mmichelson@digium.com>
5198 * channels/chan_vpb.cc, UPGRADE.txt: Deprecating chan_vpb. It is
5199 now preferred that users of Voicetronix products use chan_zap in
5200 combination with their zaptel drivers.
5202 2008-01-25 21:24 +0000 [r100378] Jason Parker <jparker@digium.com>
5204 * channels/chan_sip.c: This would have never been true, since we're
5205 passing (sizeof(req.data) - 1) as the len to recvfrom().
5207 2008-01-24 21:57 +0000 [r100264] Kevin P. Fleming <kpfleming@digium.com>
5209 * include/asterisk/app.h: make these macros not assume that the
5210 only other field in the structure is 'argc'... this is true when
5211 someone uses AST_DECLARE_APP_ARGS, but it's perfectly reasonable
5212 to define your own structure as long as it has the right fields
5214 2008-01-24 17:22 +0000 [r100164] Russell Bryant <russell@digium.com>
5216 * main/asterisk.c: Update main Asterisk copyright info to 2008
5218 2008-01-24 16:41 +0000 [r100138] Jason Parker <jparker@digium.com>
5220 * main/acl.c: Fix compilation on Solaris. (closes issue #11832)
5221 Patches: bug-11832.diff uploaded by snuffy (license 35)
5223 2008-01-23 21:07 +0000 [r99977-99978] Olle Johansson <oej@edvina.net>
5225 * channels/chan_sip.c: Second attempt. Don't change invitestate
5226 when receiving 18x messages in CANCEL state. (issue #11736)
5227 Reported by: MVF Patch by oej.
5229 * channels/chan_sip.c: Make sure we don't cancel destruction on
5230 calls in CANCEL state, even if we get 183 while waiting for
5231 answer on our CANCEL. (issue #11736) Reported by: MVF Patches:
5232 bug11736.txt uploaded by oej (license 306) Tested by: MVF
5234 2008-01-23 20:25 +0000 [r99975] Mark Michelson <mmichelson@digium.com>
5236 * apps/app_externalivr.c: Fixing a typo.
5238 2008-01-23 17:46 +0000 [r99923] Russell Bryant <russell@digium.com>
5240 * apps/app_chanspy.c: ChanSpy issues a beep when it starts at the
5241 beginning of a list of channels to potentially spy on. However,
5242 if there were no matching channels, it would beep at you over and
5243 over, which is pretty annoying. Now, it will only beep once in
5244 the case that there are no channels to spy on, but it will still
5245 beep again once it reaches the beginning of the channel list
5246 again. (closes issue #11738, patched by me)
5248 2008-01-23 16:18 +0000 [r99878] Mark Michelson <mmichelson@digium.com>
5250 * channels/chan_sip.c: These flag tests were illogical. They were
5251 testing sip_peer flags on a sip_pvt. Thanks to Russell for
5252 helping to get this odd problem figured out.
5254 2008-01-23 04:31 +0000 [r99718-99777] Tilghman Lesher <tlesher@digium.com>
5256 * apps/app_voicemail.c: When we reset the password via an external
5257 command, we should also reset the password stored in the
5258 in-memory list, too (otherwise it doesn't really take effect).
5259 (closes issue #11809) Reported by: davetroy Patches:
5260 fix_externpass.diff uploaded by davetroy (license 384)
5262 * res/res_odbc.c: Oops, should have checked for a NULL obj, here,
5265 * main/acl.c: Just confirmed that all current platforms need this
5268 2008-01-22 20:56 +0000 [r99652] Olle Johansson <oej@edvina.net>
5270 * channels/chan_sip.c: Thanks to Russell's education I realize that
5271 BUFSIZ has changed since I learned the C language over 20 years
5272 ago... Resetting chan_sip to the size of BUFSIZ that I expected
5273 in my old head to avoid to heavy memory allocations on some
5276 2008-01-22 20:34 +0000 [r99643] Tilghman Lesher <tlesher@digium.com>
5278 * main/acl.c: Fix the defines for OS X (and Solaris, too)
5280 2008-01-22 17:41 +0000 [r99592-99594] Olle Johansson <oej@edvina.net>
5282 * channels/chan_local.c, res/res_features.c, channels/chan_agent.c,
5283 apps/app_followme.c: Add more dependencies on chan_local and add
5284 a note to the description of chan_local so that people don't
5285 disable it in menuselect just to clean up.
5287 * apps/app_dial.c: Add dependency on chan_local to app_dial. Dial
5288 still runs without chan_local, but will be missing forwarding
5291 2008-01-22 16:54 +0000 [r99540] Tilghman Lesher <tlesher@digium.com>
5293 * main/acl.c: Ensure that we can get an address even when we don't
5294 have a default route. (closes issue #9225) Reported by: junky
5295 Patches: 20080122__bug9225.diff.txt uploaded by Corydon76
5296 (license 14) Tested by: oej, loloski, sergee
5298 2008-01-22 15:08 +0000 [r99501] Olle Johansson <oej@edvina.net>
5300 * channels/chan_sip.c: Cleaning up some documentation that led to
5301 confusion in a bug report
5303 2008-01-21 23:55 +0000 [r99426] Mark Michelson <mmichelson@digium.com>
5305 * channels/chan_local.c: Fixing an issue wherein monitoring local
5306 channels was not possible. During a channel masquerade, the
5307 monitors on the two channels involved are swapped. In 99% of the
5308 cases this results in the desired effect. However, if monitoring
5309 a local channel, this caused the monitor which was on the local
5310 channel to get moved onto a channel which is immediately hung up
5311 after the masquerade has completed. By swapping the monitors
5312 prior to the masquerade, we avoid the problem by tricking the
5313 masquerade into placing the monitor back onto the channel where
5314 we want it. During the investigation of the issue, the channel's
5315 monitor was the only thing that was swapped in such a manner
5316 which did not make sense to have done. All other variable
5317 swapping made sense.
5319 2008-01-21 18:11 +0000 [r99341] Tilghman Lesher <tlesher@digium.com>
5321 * res/res_odbc.c, configs/res_odbc.conf.sample,
5322 include/asterisk/res_odbc.h: Permit the user to specify number of
5323 seconds that a connection may remain idle, which fixes a crash on
5324 reconnect with the MyODBC driver. (closes issue #11798) Reported
5325 by: Corydon76 Patches: 20080119__res_odbc__idlecheck.diff.txt
5326 uploaded by Corydon76 (license 14) Tested by: mvanbaak
5328 2008-01-21 16:01 +0000 [r99301] Joshua Colp <jcolp@digium.com>
5330 * channels/chan_sip.c: Bump the buffer size for Via headers up to
5331 512. There are some exceptionally large Via headers out there.
5332 (closes issue #11783) Reported by: ofirroval
5334 2008-01-19 10:05 +0000 [r99187] Russell Bryant <russell@digium.com>
5336 * main/slinfactory.c: Fix a couple of memory leaks with frame
5337 handling. Specifically, ast_frame_free() needed to be called on
5338 the frame that came from the translator to signed linear.
5340 2008-01-18 22:57 +0000 [r99127] Joshua Colp <jcolp@digium.com>
5342 * include/asterisk/channel.h: Remove the __ in front of the unused
5343 variable. This causes some compilers to freak out.
5345 2008-01-18 21:37 +0000 [r99079-99081] Russell Bryant <russell@digium.com>
5347 * include/asterisk/translate.h, main/frame.c: Revert adding the
5348 packed attribute, as it really doesn't make sense why that would
5349 do any good. Fix the real bug, which is to do the check to see if
5350 the frame came from a translator at the beginning of
5351 ast_frame_free(), instead of at the end. This ensures that it
5352 always gets checked, even if none of the parts of the frame are
5353 malloc'd, and also ensures that we aren't looking at free'd
5354 memory in the case that it is a malloc'd frame. (closes issue
5355 #11792, reported by explidous, patched by me)
5357 * include/asterisk/translate.h: Since we're relying on the offset
5358 between the frame and the beginning of the translator pvt struct,
5359 set the packed attribute to make sure we get to the right place.
5360 (potential fix for issue #11792)
5362 2008-01-18 17:13 +0000 [r99032] Terry Wilson <twilson@digium.com>
5364 * res/res_features.c: This should at least temporarily fix a
5365 problem where the 't' Dial option is incorrectly passed to the
5366 transferee when built-in attended transfers are used. There is
5367 still a problem with 'T', but better to fix some problems than no
5368 problems while we work on it. (closes issue #7904) Reported by:
5369 k-egg Patches: transfer-fix-b14-r97657.diff uploaded by sergee
5370 (license 138) Tested by: sergee, otherwiseguy
5372 2008-01-17 23:42 +0000 [r99007-99014] Pari Nannapaneni <paripurnachand@digium.com>
5374 * configs/cdr.conf.sample: doh! revert a revert of a revert
5375 (changed by mistake in 99010)
5377 * main/manager.c, configs/cdr.conf.sample: missed that one while
5380 * main/manager.c: reverting 99001 - We need the Max-Age for
5381 extending the life of cookie mansession_id
5383 2008-01-17 22:37 +0000 [r99004] Russell Bryant <russell@digium.com>
5385 * main/frame.c, channels/chan_iax2.c, include/asterisk/frame.h:
5386 Have IAX2 optimize the codec translation path just like chan_sip
5387 does it. If the caller's codec is in our codec list, move it to
5388 the top to avoid transcoding. (closes issue #10500) Reported by:
5389 stevedavies Patches: iax-prefer-current-codec.patch uploaded by
5390 stevedavies (license 184) iax-prefer-current-codec.1.4.patch
5391 uploaded by stevedavies (license 184) Tested by: stevedavies, pj,
5394 2008-01-17 21:31 +0000 [r99001] Kevin P. Fleming <kpfleming@digium.com>
5396 * main/manager.c: we should only send the Set-Cookie header to the
5397 browser on the first response after creating a manager session,
5398 not on every response (doing so causes the browser to clear any
5399 local cookies it may have associated with the session)
5401 2008-01-17 16:19 +0000 [r98991] Jason Parker <jparker@digium.com>
5403 * configs/zapata.conf.sample: Add a clarification about the
5404 immediate= option of zapata.conf Issue 11784, patch by klaus3000.
5406 2008-01-16 22:36 +0000 [r98982] Russell Bryant <russell@digium.com>
5408 * .cleancount, include/asterisk/channel.h: Add an unused pointer to
5409 the ast_channel struct. This makes the ast_channel structure
5410 retain the same size as it had in previous 1.4 releases. Also,
5411 all of the offsets for members in the structure are still the
5412 same (except for the two pointers that got replaced for the new
5413 spy/whisper architecture.)
5415 2008-01-16 20:34 +0000 [r98966-98973] Joshua Colp <jcolp@digium.com>
5417 * .cleancount: Bump up cleancount due to previous commit that
5418 changed the channel structure.
5420 * apps/app_chanspy.c, apps/app_mixmonitor.c, main/rtp.c,
5421 main/channel.c, apps/app_meetme.c, include/asterisk/audiohook.h
5422 (added), main/Makefile, include/asterisk/chanspy.h (removed),
5423 include/asterisk/channel.h, main/audiohook.c (added): Replace
5424 current spy architecture with backport of audiohooks. This should
5425 take care of current known spy issues.
5427 * channels/chan_iax2.c: Add missing NULLs at end of two
5428 ast_load_realtimes. (closes issue #11769) Reported by: tequ
5429 Patches: chaniax.patch uploaded by dimas (license 88)
5431 2008-01-16 17:20 +0000 [r98964] Mark Michelson <mmichelson@digium.com>
5433 * channels/chan_local.c: Fix a deadlock in chan_local in
5434 local_hangup. There was contention because the local_pvt was held
5435 and it was attempting to lock a channel, which is the incorrect
5436 locking order. (closes issue #11730) Reported by: UDI-Doug
5437 Patches: 11730.patch uploaded by putnopvut (license 60) Tested
5440 2008-01-16 15:08 +0000 [r98951-98960] Joshua Colp <jcolp@digium.com>
5442 * main/dial.c: Introduce a lock into the dialing API that protects
5443 it when destroying the structure. (closes issue #11687) Reported
5444 by: callguy Patches: 11687.diff uploaded by file (license 11)
5446 * main/rtp.c: Add two more SDP names for ulaw and alaw. (closes
5447 issue #11777) Reported by: tootai
5449 * channels/chan_sip.c: Don't drop the old record route information
5450 when dealing with packets related to a reinvite. (closes issue
5451 #11545) Reported by: kebl0155 Patches: reinvite-patch.txt
5452 uploaded by kebl0155 (license 356)
5454 * build_tools/menuselect-deps.in, configure,
5455 include/asterisk/autoconfig.h.in, codecs/codec_speex.c,
5456 configure.ac, makeopts.in: Add autoconf logic for speexdsp. Later
5457 versions use a separate library for some things so we need to use
5458 it if present in codec_speex. (closes issue #11693) Reported by:
5461 2008-01-15 23:50 +0000 [r98943-98946] Russell Bryant <russell@digium.com>
5463 * channels/chan_sip.c: Change a buffer in check_auth() to be a
5464 thread local dynamically allocated buffer, instead of a massive
5465 buffer on the stack. This fixes a crash reported by Qwell due to
5466 running out of stack space when building with LOW_MEMORY defined.
5467 On a very related note, the usage of BUFSIZ in various places in
5468 chan_sip is arbitrary and careless. BUFSIZ is a system specific
5469 define. On my machine, it is 8192, but by definition (according
5470 to google) could be as small as 256. So, this buffer in
5471 check_auth was 16 kB. We don't even support SIP messages larger
5472 than 4 kB! Further usage of this define should be avoided, unless
5473 it is used in the proper context.
5475 * main/rtp.c, include/asterisk/translate.h, main/frame.c,
5476 main/translate.c, main/abstract_jb.c, channels/chan_iax2.c,
5477 codecs/codec_zap.c, include/asterisk/frame.h: Commit a fix for
5478 some memory access errors pointed out by the valgrind2.txt output
5479 on issue #11698. The issue here is that it is possible for an
5480 instance of a translator to get destroyed while the frame
5481 allocated as a part of the translator is still being processed.
5482 Specifically, this is possible anywhere between a call to
5483 ast_read() and ast_frame_free(), which is _a lot_ of places in
5484 the code. The reason this happens is that the channel might get
5485 masqueraded during this time. During a masquerade, existing
5486 translation paths get destroyed. So, this patch fixes the issue
5487 in an API and ABI compatible way. (This one is for you,
5488 paravoid!) It changes an int in ast_frame to be used as flag
5489 bits. The 1 bit is still used to indicate that the frame contains
5490 timing information. Also, a second flag has been added to
5491 indicate that the frame came from a translator. When a frame with
5492 this flag gets released and has this flag, a function is called
5493 in translate.c to let it know that this frame is doing being
5494 processed. At this point, the flag gets cleared. Also, if the
5495 translator was requested to be destroyed while its internal frame
5496 still had this flag set, its destruction has been deffered until
5497 it finds out that the frame is no longer being processed.
5498 Admittedly, this feels like a hack. But, it does fix the issue,
5499 and I was not able to think of a better solution ...
5501 2008-01-15 20:08 +0000 [r98894-98934] Joshua Colp <jcolp@digium.com>
5503 * channels/chan_sip.c: Based on the boundary found move over the
5504 correct amount. (closes issue #11750) Reported by: tasker
5506 * channels/chan_sip.c: Accept "; boundary=" not just ";boundary="
5507 in the multipart mixed content type. (closes issue #11750)
5510 2008-01-14 20:59 +0000 [r98849] Mark Michelson <mmichelson@digium.com>
5512 * apps/app_voicemail.c: Adding in appropriate unlocks for the locks
5513 I added. Thanks to joetester on IRC for pointing this out.
5515 2008-01-14 17:38 +0000 [r98774] Russell Bryant <russell@digium.com>
5517 * main/translate.c: Revert a change that introduces an unacceptable
5518 performance hit and is causing memory leaks ... (from rev 97973)
5520 2008-01-14 16:35 +0000 [r98733-98737] Mark Michelson <mmichelson@digium.com>
5522 * apps/app_queue.c: Fixing another compilation error. I'm a bit off
5525 * apps/app_queue.c: Oops. Last commit had compilation error.
5527 * apps/app_queue.c: Adding explicit defaults for missing options to
5528 init_queue. This is necessary because if a user either removes or
5529 comments one of these options and reloads their queues, the
5530 option will not reset to its default, instead maintaining the
5531 value from prior to the reload. Thanks to John Bigelow for
5532 pointing this error out to me.
5534 2008-01-12 00:05 +0000 [r98467] Tilghman Lesher <tlesher@digium.com>
5536 * res/res_odbc.c: Add a connection timeout attribute, as that was
5537 what was intended with the login timeout, but ODBC divides it up
5538 into 2 different timeouts. (Closes issue #11745)
5540 2008-01-11 22:46 +0000 [r98390] Russell Bryant <russell@digium.com>
5542 * pbx/pbx_dundi.c: Fix up setting the EID on BSD based systems.
5543 (closes issue #11646) Reported by: caio1982 Patches:
5544 dundi_osx_eid6.diff.txt uploaded by caio1982 (license 22)
5545 dundi_osx_eid6-1.4.diff uploaded by caio1982 (license 22) Tested
5546 by: caio1982, mvanbaak
5548 2008-01-11 21:28 +0000 [r98372] Pari Nannapaneni <paripurnachand@digium.com>
5550 * main/http.c: Comment explaining how to force browser to always
5551 read some html files from server.
5553 2008-01-11 19:51 +0000 [r98317-98325] Joshua Colp <jcolp@digium.com>
5555 * main/rtp.c: If the incoming RTP stream changes codec force the
5556 bridge to break if the other side does not support it. (closes
5557 issue #11729) Reported by: tsearle Patches:
5558 new_codec_patch_udiff.patch uploaded by tsearle (license 373)
5560 * res/res_agi.c: If the channel is hungup during RECORD FILE send a
5561 result code of -1 to be uniform with everything else. (closes
5562 issue #11743) Reported by: davevg Patches: res_agi.diff uploaded
5563 by davevg (license 209)
5565 2008-01-11 19:10 +0000 [r98315] Mark Michelson <mmichelson@digium.com>
5567 * main/channel.c: Properly report the hangup cause as no answer
5568 when someone does not answer (closes issue #10574, reported by
5569 boch, patched by moy)
5571 2008-01-11 18:25 +0000 [r98266] Tilghman Lesher <tlesher@digium.com>
5573 * codecs/gsm/Makefile: Add another exception (which doesn't work)
5574 for -march optimization flag. Reported by: thomasmebes Patch by:
5575 tilghman (Closes issue #11563)
5577 2008-01-11 18:25 +0000 [r98265] Russell Bryant <russell@digium.com>
5579 * doc/security.txt, main/asterisk.c, configure,
5580 include/asterisk/autoconfig.h.in, main/Makefile, configure.ac,
5581 makeopts.in: Backport the ability to set the ToS bits on Linux
5582 when not running as root. Normally, we would not backport
5583 features into 1.4, but, I was convinced by the justification
5584 supplied by the supplier of this patch. He pointed out that this
5585 patch removes a requirement for running as root, thus reducing
5586 the potential impacts of security issues. (closes issue #11742)
5587 Reported by: paravoid Patches: libcap.diff uploaded by paravoid
5590 2008-01-11 17:22 +0000 [r98219] Joshua Colp <jcolp@digium.com>
5592 * apps/app_followme.c: Ensure the return value of ast_bridge_call
5593 is passed back up as the application return value. This is needed
5594 for transfers to function so the PBX core knows to continue
5595 execution. (closes issue #10327) Reported by: kkiely
5597 2008-01-11 15:52 +0000 [r98164] Tilghman Lesher <tlesher@digium.com>
5599 * channels/chan_sip.c: Back out changes from revision 97077, since
5602 2008-01-11 03:39 +0000 [r97976-98082] Russell Bryant <russell@digium.com>
5604 * main/frame.c: Fix samples vs. length calculations for g722
5606 * main/translate.c: Simplify this code with a suggestion from Luigi
5607 on the asterisk-dev list. Instead of using is16kHz(), implement a
5608 format_rate() function.
5610 * main/translate.c: Fix various timing calculations that made
5611 assumptions that the audio being processed was at a sample rate
5614 2008-01-10 23:08 +0000 [r97973] Tilghman Lesher <tlesher@digium.com>
5616 * channels/chan_sip.c, main/translate.c: 1) When we get a
5617 translated frame out, clone it, because if the translator pvt is
5618 freed before we use the frame, bad things happen. 2) Getting a
5619 failure from ast_sched_delete means that the schedule ID is
5620 currently running. Don't just ignore it. (Closes issue #11698)
5622 2008-01-10 21:57 +0000 [r97925] Mark Michelson <mmichelson@digium.com>
5624 * apps/app_voicemail.c: Let us leave a voicemail for ourself if we
5625 have logged into VoiceMailMain and chosen to leave a message.
5626 (closes issue #11735, reported and patched by jamessan)
5628 2008-01-10 21:37 +0000 [r97849-97889] Steve Murphy <murf@digium.com>
5630 * pbx/ael/ael_lex.c, pbx/Makefile, pbx/ael/ael.flex: Applied the
5631 same fixes for ael.flex as was done in 97849 for ast_expr2.fl;
5632 overrode the normally generate yyfree func with our own version
5633 that checks the pointer for non-null before passing to free().
5634 Also takes care of a little problem with 2.5.33 and the use of
5635 the __STDC_VERSION__ macro.
5637 * main/ast_expr2.fl, main/Makefile, main/ast_expr2f.c: This is a
5638 fix for 2 things: a problem Terry was having in OSX with null
5639 pointers, which was my fault, as I probably forgot to run the sed
5640 script last time I made mods. So, I moved the fix into the flex
5641 input itself. Then, I found when I used flex 2.5.33, that it was
5642 using __STDC_VERSION__, and that's not real good; so I added back
5643 in a DIFFERENT sed script to fix that little mess. Tested
5644 everything, a couple different ways. Hope I did no harm, at the
5647 2008-01-10 20:12 +0000 [r97847] Jason Parker <jparker@digium.com>
5649 * include/asterisk/frame.h: Fix a comment that is no longer true.
5651 2008-01-10 16:19 +0000 [r97734-97753] Russell Bryant <russell@digium.com>
5653 * pbx/pbx_kdeconsole.h (removed), configs/modules.conf.sample,
5654 pbx/kdeconsole_main.cc (removed): Remove other remnants of
5657 * pbx/pbx_kdeconsole.cc (removed), build_tools/menuselect-deps.in,
5658 configure, include/asterisk/autoconfig.h.in, configure.ac,
5659 makeopts.in: Remove pbx_kdeconsole from the tree. It hasn't
5660 worked in ages, and nobody has complained. (closes issue #11706,
5661 reported by caio1982)
5663 2008-01-10 15:07 +0000 [r97697] Joshua Colp <jcolp@digium.com>
5665 * funcs/func_groupcount.c: Don't try to copy the category from the
5666 group if no category exists. (closes issue #11724) Reported by:
5667 IgorG Patches: group_count.v1.patch uploaded by IgorG (license
5670 2008-01-09 23:01 +0000 [r97640-97645] Russell Bryant <russell@digium.com>
5672 * pbx/pbx_gtkconsole.c: Strip terminal sequences from the verbose
5675 * pbx/pbx_gtkconsole.c: Make pbx_gtkconsole build ... but doesn't
5676 actually load on my system still (related to issue #11706)
5678 2008-01-09 20:28 +0000 [r97618-97622] Jason Parker <jparker@digium.com>
5680 * main/cli.c: Correctly display a message if a command could not be
5681 found. Also fix a comment which may have led to this happening.
5682 Issue 11718, reported by kshumard.
5684 * main/cli.c: Fix some locking and return value funkiness. We
5685 really shouldn't be unlocking this lock inside of a function,
5686 unless we locked it there too.
5688 2008-01-09 18:48 +0000 [r97575] Mark Michelson <mmichelson@digium.com>
5690 * apps/app_queue.c: Part 2 of app_queue doxygen improvements. Some
5691 smaller functions this time
5693 2008-01-09 18:02 +0000 [r97529] Russell Bryant <russell@digium.com>
5695 * res/res_features.c: Fix saying the parking space number to the
5696 caller doing the parking ...
5698 2008-01-09 17:21 +0000 [r97491] Kevin P. Fleming <kpfleming@digium.com>
5700 * codecs/codec_zap.c: report the same message whether Zaptel does
5701 not have transcoder support loaded or no transcoders were found
5703 2008-01-09 16:44 +0000 [r97489] Philippe Sultan <philippe.sultan@gmail.com>
5705 * channels/chan_gtalk.c: Set the caller id within the gtalk_alloc
5706 function. As underlined in issue #10437 by Josh, we need to
5707 prevent a possible memory leak. We only set the name part of the
5708 caller id, the number part is not relevant when dealing with
5709 JIDs. Closes issue #11549.
5711 2008-01-09 16:11 +0000 [r97450] Joshua Colp <jcolp@digium.com>
5713 * apps/app_meetme.c: Don't do conferencing totally in Zaptel if
5714 Monitor is running on the channel. (closes issue #11709) Reported
5715 by: BigJimmy Patches: patch-meetmerec uploaded by BigJimmy
5718 2008-01-09 15:43 +0000 [r97410-97448] Kevin P. Fleming <kpfleming@digium.com>
5720 * channels/chan_zap.c: pass the right variable to get an error
5723 * channels/chan_zap.c: add error number output to ioctl failure
5724 messages to help with debugging
5726 2008-01-09 00:44 +0000 [r97350] Tilghman Lesher <tlesher@digium.com>
5728 * main/cli.c, main/editline/readline.c: Allow filename completion
5729 on zero-length modules, remove a memory leak, remove a file
5730 descriptor leak, and make filename completion thread-safe.
5731 Patched and tested by tilghman. (Closes issue #11681)
5733 2008-01-09 00:17 +0000 [r97206-97308] Mark Michelson <mmichelson@digium.com>
5735 * apps/app_queue.c: use the \retval doxygen command properly
5737 * apps/app_queue.c: Part 1 of N of adding doxygen comments to
5738 app_queue. I picked some of the most common functions used (which
5739 also happen to be some the biggest/ugliest functions too) to
5740 document first. I'm pretty new to doxygen so criticism is
5743 * apps/app_queue.c: Some coding guidelines-related cleanup
5745 2008-01-08 20:48 +0000 [r97195] Joshua Colp <jcolp@digium.com>
5747 * channels/chan_mgcp.c: Fix various DTMF issues in chan_mgcp.
5748 (closes issue #11443) Reported by: eferro Patches:
5749 dtmf_control_hybrid-inband-mode.patch uploaded by eferro (license
5752 2008-01-08 20:47 +0000 [r97194] Tilghman Lesher <tlesher@digium.com>
5754 * main/autoservice.c, main/utils.c: Increase constants to where
5755 we're less likely to hit them while debugging. (Closes issue
5758 2008-01-08 20:42 +0000 [r97192] Mark Michelson <mmichelson@digium.com>
5760 * apps/app_voicemail.c: Making some changes designed to not allow
5761 for a corrupted mailstream for a vm_state. 1. Add locking to the
5762 vm_state retrieval functions so that no linked list corruption
5763 occurs. 2. Make sure to always grab the persistent vm_state when
5764 mailstream access is necessary. 3. Correct an incorrect return
5765 value in the init_mailstream function. (closes issue #11304,
5768 2008-01-08 19:53 +0000 [r97093-97152] Joshua Colp <jcolp@digium.com>
5770 * funcs/func_groupcount.c: If no group has been provided to the
5771 GROUP_COUNT dialplan function then use the first one specific to
5772 the channel. (closes issue #11077) Reported by: m4him
5774 * apps/app_queue.c: Make app_queue calls work with directed pickup.
5775 (closes issue #11700) Reported by: jbauer
5777 2008-01-08 18:02 +0000 [r97077] Tilghman Lesher <tlesher@digium.com>
5779 * main/asterisk.c, channels/chan_sip.c: Apply multiple crash fixes,
5780 found in issue #11386, but not completely closing that issue.
5782 2008-01-07 20:47 +0000 [r96884-96932] Russell Bryant <russell@digium.com>
5784 * configs/extensions.conf.sample, /: Merged revisions 96931 via
5786 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
5787 r96931 | russell | 2008-01-07 14:46:22 -0600 (Mon, 07 Jan 2008) |
5788 2 lines Change misery.digium.com to pbx.digium.com ........
5790 * res/res_smdi.c: Don't crash if something happens when setting up
5791 an SMDI interface and it gets destroyed before the SMDI port
5792 handling thread gets created.
5794 2008-01-07 14:34 +0000 [r96797-96815] Philippe Sultan <philippe.sultan@gmail.com>
5796 * res/res_jabber.c: Indentation fix, makes the code easier to read
5798 * res/res_jabber.c: Compute the base64 value over the
5799 [authzid]\0authcid\0password string, thus excluding the trailing
5800 NULL byte. This change has already been committed to trunk, see
5803 2008-01-05 02:09 +0000 [r96644] Russell Bryant <russell@digium.com>
5805 * main/devicestate.c: Don't pass an empty string as the device
5808 2008-01-04 23:03 +0000 [r96575] Tilghman Lesher <tlesher@digium.com>
5810 * main/devicestate.c: Fix the problem of notification of a device
5811 state change to a device with a '-' in the name. Could probably
5812 do with a better fix in trunk, but this bug has been open way too
5813 long without a better solution. Reported by: stevedavies Patch
5814 by: tilghman (Closes issue #9668)
5816 2008-01-04 22:55 +0000 [r96573] Jason Parker <jparker@digium.com>
5818 * res/res_features.c: Properly continue in the dialplan if using
5819 PARKINGEXTEN and the slot is full. Issue 11237, patch by me.
5821 2008-01-04 19:27 +0000 [r96525] Tilghman Lesher <tlesher@digium.com>
5823 * channels/chan_sip.c: If you change the bindaddr in sip.conf to a
5824 non-bound address and reload, sip goes kablooie. Reported and
5825 patched by: one47 (Closes issue #11535)
5827 2008-01-04 16:19 +0000 [r96394-96449] Russell Bryant <russell@digium.com>
5829 * channels/chan_zap.c: Make use of the temporary channel pointer
5830 while the pvt is unlocked. (closes issue #11675) Reported by:
5831 flefoll Patches: chan_zap.c.patch-store-owner-before-unlock
5832 uploaded by flefoll (license 244)
5834 * channels/chan_iax2.c: Don't crash if the iax2 pvt structure has
5835 been destroyed before we get to this point (closes issue #11672,
5836 reported by snuffy, patched by me)
5838 2008-01-03 21:37 +0000 [r96318] Tilghman Lesher <tlesher@digium.com>
5840 * res/res_config_pgsql.c: Missed initialization caused crash.
5841 Reported and fixed by: tiziano (Closes issue #11671)
5843 2008-01-03 12:12 +0000 [r96198-96199] Christian Richter <christian.richter@beronet.com>
5845 * channels/chan_misdn.c: make sure frame is completely clean,
5846 before we send it to asterisk as DTMF. If we don't make it clean,
5847 it happens that one way audio occurs..
5849 * channels/chan_misdn.c: when overlapdial was used and no number
5850 was dialed, the call was dropped, now we just jump into the s
5851 extension, which makes a lot more sense.
5853 2008-01-02 23:46 +0000 [r96102] Mark Michelson <mmichelson@digium.com>
5855 * apps/app_queue.c: We need to reset the membername to NULL on each
5856 iteration of this loop, otherwise the result is that multiple
5857 members can have the same name, since the variable was not reset
5858 on each iteration of the loop.
5860 2008-01-02 22:14 +0000 [r96020-96024] Russell Bryant <russell@digium.com>
5862 * pbx/pbx_config.c: Convert locks of the contexts list in
5863 pbx_config to the appropriate rdlock or wrlock
5865 * pbx/pbx_dundi.c: pbx_dundi only needs a rdlock on the contexts
5868 * apps/app_macro.c: app_macro only needs a rdlock on the contexts
5871 2008-01-02 Russell Bryant <russell@digium.com>
5873 * Asterisk 1.4.17 released.
5875 2008-01-02 20:24 +0000 [r95946] Joshua Colp <jcolp@digium.com>
5877 * channels/chan_sip.c: Allocate a SIP refer structure when
5878 performing a transfer using BYE with Also so that the transfer
5879 information is properly stored. (AST-2008-028) (closes issue
5880 #11637) Reported by: greyvoip
5882 2008-01-02 17:51 +0000 [r95890] Mark Michelson <mmichelson@digium.com>
5884 * apps/app_queue.c: A change to improve the accuracy of queue
5885 logging in the case where a member does not answer during the
5886 specified timeout period. Prior to this change, there was a small
5887 chance that the member name recorded in this case would be blank.
5888 Also prior to this change, if using the ringall strategy, if no
5889 one answered the call during the specified timeout, the member
5890 name listed in the queue log would randomly be one of the members
5891 that was rung. (closes issue #11498, reported and tested by
5892 hloubser, patched by me)
5894 2007-12-31 23:43 +0000 [r95577] Mark Michelson <mmichelson@digium.com>
5896 * main/pbx.c: Avoiding a potentially bad locking situation.
5897 ast_merge_contexts_and_delete writelocks the conlock, then calls
5898 ast_hint_extension, which attempts to readlock the same lock.
5899 Recursion with read-write locks is dangerous, so the inner lock
5900 needs to be removed. I did this by copying the "guts" of
5901 ast_hint_extension into ast_merge_contexts_and_delete (sans the
5902 extra lock). (this change is inspired by the locking problems
5903 seen in issue #11080, but I have no idea if this is the
5904 problematic area experienced by the reporters of that issue)
5906 2007-12-31 20:27 +0000 [r95470] Tilghman Lesher <tlesher@digium.com>
5908 * funcs/func_env.c: Allow the default "0" to be returned if the
5909 STAT fails (Closes issue #11659)
5911 2007-12-28 18:24 +0000 [r95191] Russell Bryant <russell@digium.com>
5913 * channels/chan_sip.c: Remove duplicate increment of the header
5914 count in the add_header() function. (closes issue #11648)
5915 Reported by: makoto Patch provided by sergee, committed patch by
5916 me, inspired by comments from putnopvut
5918 2007-12-28 00:16 +0000 [r95095] Mark Michelson <mmichelson@digium.com>
5920 * apps/app_queue.c: I found a bug while browsing the queue code and
5921 managed to reproduce it in a small setup. If a queue uses the
5922 ringall strategy, it was possible through unfortunate coincidence
5923 for a single member at a given penalty level to make app_queue
5924 think that all members at that penalty level were unavailable and
5925 cause the members at the next penalty level to be rung. With this
5926 patch, we will only move to the next penalty level if ALL the
5927 members at a given penalty level are unreachable.
5929 2007-12-27 21:40 +0000 [r95024] Russell Bryant <russell@digium.com>
5931 * main/channel.c: Don't report a syntax error when an empty string
5932 is passed to ast_get_group. Just return 0. (closes issue #11540)
5933 Reported by: tzafrir Patches: group_empty.diff uploaded by
5934 tzafrir (license 46) -- slightly changed by me
5936 2007-12-27 20:09 +0000 [r94977] Mark Michelson <mmichelson@digium.com>
5938 * main/io.c: Fixing a typo in a comment.
5940 2007-12-27 17:32 +0000 [r94905-94924] Joshua Colp <jcolp@digium.com>
5942 * channels/chan_h323.c: Include types.h in chan_h323 as without it
5943 it can not be compiled on some operating systems like FreeBSD to
5944 name one. (closes issue #11585) Reported by: sobomax Patches:
5945 chan_h323.c.diff uploaded by sobomax (license 359)
5947 * channels/chan_sip.c: Use ast_strlen_zero to see if our_contact is
5948 set or not on the dialog. It is possible for it to be a pointer
5949 to NULL. (closes issue #11557) Reported by: FuriousGeorge
5951 2007-12-27 15:16 +0000 [r94828-94831] Russell Bryant <russell@digium.com>
5953 * main/pbx.c: Now that the contexts lock is a read/write lock, it
5954 should not be locked here in ast_hint_state_changed(). This makes
5955 it get locked recursively which now causes a deadlock. (closes
5956 issue #11080, thanks to callguy for the access to a deadlocked
5959 * include/asterisk/translate.h, main/translate.c: Use the constant
5960 that I really meant to use here ...
5962 * main/translate.c: Change ast_translator_best_choice() to only pay
5963 attention to audio formats. This fixes a problem where Asterisk
5964 claims that a translation path can not be found for channels
5965 involving video. (closes issue #11638) Reported by: cwhuang
5966 Tested by: cwhuang Patch suggested by cwhuang, with some
5967 additional changes by me.
5969 2007-12-27 01:01 +0000 [r94824] Kevin P. Fleming <kpfleming@digium.com>
5971 * main/manager.c: make this comment explain the situation in an
5972 even more explicit fashion
5974 2007-12-26 20:43 +0000 [r94808] Tilghman Lesher <tlesher@digium.com>
5976 * main/manager.c: Workaround for what is probably a glibc bug (but
5977 we'll see this crop up again and again, if we don't add the
5978 workaround). Reported by: rolek Patch by: tilghman (Closes issue
5979 #11601, closes issue #11426)
5981 2007-12-26 19:04 +0000 [r94789-94801] Russell Bryant <russell@digium.com>
5983 * main/autoservice.c: Just in case the AST_FLAG_END_DTMF_ONLY flag
5984 was already set before starting autoservice, remember it and
5985 ensure that the channel has the same setting when autoservice
5986 gets stopped. (pointed out by d1mas, patched up by me)
5988 * main/autoservice.c: When a channel is in autoservice, mark a flag
5989 on the channel that says that we only care about the END of a
5990 digit. That way, no magic digit emulation stuff will happen when
5991 all we're doing is queueing up END frames.
5993 * res/res_features.c: Don't try to send a parked call back to
5994 itself. (closes issue #11622, reported by djrodman, patched by
5997 * main/autoservice.c: Don't store DTMF BEGIN frames while a channel
5998 is in autoservice. It's just going to make ast_read() do a lot of
5999 extra work when the channel comes back out of autoservice.
6000 (closes issue #11628, patched by me)
6002 * Makefile: List include/asterisk/version.h as a .PHONY target
6003 because we want the commands listed for this target to be
6004 executed regardless of whether the file exists or not. This fixes
6005 having the version not up to date when running from svn. (closes
6006 issue #11619, reported by plack, fixed by me)
6008 2007-12-25 02:27 +0000 [r94769] Joshua Colp <jcolp@digium.com>
6010 * channels/chan_sip.c: file says... build on the builders.
6012 2007-12-24 19:36 +0000 [r94763-94767] Tilghman Lesher <tlesher@digium.com>
6014 * main/channel.c: Race: we need to wait to queue a NewChannel event
6015 until after the channel is inserted into the channel list. The
6016 reason is because some manager users immediately queue requests
6017 from the channel when they see that event and are confused when
6018 Asterisk reports no such channel. (Closes issue #11632)
6020 * channels/chan_sip.c: More deadlock avoidance code (this time
6021 between sip_monitor and sip_hangup) Reported by: apsaras Patch
6022 by: tilghman (Closes issue #11413)
6024 * channels/chan_sip.c: Another bit of bad logic in realtime_peer
6025 Reported by: dimas Patch by: dimas (Closes issue #11631)
6027 2007-12-23 01:21 +0000 [r94660] Tilghman Lesher <tlesher@digium.com>
6029 * channels/chan_sip.c: Argh... I suppose third time's the charm.
6031 2007-12-21 20:21 +0000 [r94468-94543] Mark Michelson <mmichelson@digium.com>
6033 * apps/app_voicemail.c: Bunch of coding guidelines cleanup
6035 * apps/app_voicemail.c: Better quota support for using IMAP storage
6036 voicemail (closes issue #11415, reported by jaroth) (closes issue
6037 #11152, reported by selsky) Patch provided by jaroth
6039 * apps/app_voicemail.c: The mail_copy c-client function does not
6040 expect a full imap mailbox string, just the name of the mailbox.
6041 (closes issue #11419, reported and patched by jaroth, with
6042 additional patchwork from me)
6044 * main/dial.c: Since we are freeing list elements within a list
6045 traversal, we need to use the safe traversal and remove the item
6046 from the list before freeing it. (closes issue 11612, reported by
6049 2007-12-21 16:37 +0000 [r94466] Russell Bryant <russell@digium.com>
6051 * main/pbx.c, include/asterisk/pbx.h: Convert the contexts lock to
6052 a read/write lock to resolve a deadlock. This has a nice side
6053 benefit of improving performance. :) (closes issue #11609)
6054 (closes issue #11080)
6056 2007-12-21 16:11 +0000 [r94420-94464] Mark Michelson <mmichelson@digium.com>
6058 * apps/app_queue.c: Removing a debug message I accidentally just
6061 * main/say.c, apps/app_queue.c: Fixing Portuguese syntax for saying
6062 dates and times. Also some coding guidelines cleanup. (closes
6063 issue #11599, reported and patched by caio1982, coding guidelines
6066 2007-12-21 15:07 +0000 [r94418] Tilghman Lesher <tlesher@digium.com>
6068 * main/asterisk.c: Fix for restart-as-user problem reported via the
6071 2007-12-20 Russell Bryant <russell@digium.com>
6073 * Asterisk 1.4.16.2 released.
6075 2007-12-20 20:22 +0000 [r94215-94256] Russell Bryant <russell@digium.com>
6077 * /, channels/chan_iax2.c: Merged revisions 94255 via svnmerge from
6078 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
6079 r94255 | russell | 2007-12-20 14:21:41 -0600 (Thu, 20 Dec 2007) |
6080 5 lines Fix another potential seg fault ... (closes issue #11606)
6081 Reported by: dimas ........
6083 * channels/chan_zap.c: Fix a deadlock in d-channel handling in
6084 chan_zap. This deadlock was introduced by the fix to ensure that
6085 channels are properly locked when handling channel variables.
6086 There were sections of this code where the channel pvt was locked
6087 before the channel lock, when in fact it _must_ be the other way
6088 around. (closes issue #11582) Reported by: bugi
6090 2007-12-19 23:02 +0000 [r94122] Mark Michelson <mmichelson@digium.com>
6092 * res/res_monitor.c: Sox versions 13.0.0 and newer do not have
6093 "soxmix" and instead use sox -m. res_monitor needs to use this if
6094 the user does not have soxmix. (closes issue #11589, reported by
6095 amessina, patch inspired by amessina but with a flourish from me)
6097 2007-12-19 22:48 +0000 [r94077] Russell Bryant <russell@digium.com>
6099 * configure, include/asterisk/autoconfig.h.in, configure.ac: Check
6100 for the existence of the soxmix application on the target
6101 platform and have the result available in autoconfig.h. (part of
6104 2007-12-19 Russell Bryant <russell@digium.com>
6106 * Asterisk 1.4.16.1 released.
6108 2007-12-19 17:29 +0000 [r93955] Joshua Colp <jcolp@digium.com>
6110 * channels/chan_iax2.c: Make the 1.4 builders happy, ensure var is
6113 2007-12-19 17:04 +0000 [r93949] Tilghman Lesher <tlesher@digium.com>
6115 * channels/chan_iax2.c: Avoid segfault in chan_iax when peer isn't
6116 defined (Closes issue #11602)
6118 2007-12-18 22:42 +0000 [r93764] Jason Parker <jparker@digium.com>
6120 * channels/chan_skinny.c: FreeBSD also does not have byte swap
6121 functions. Issue 11586, patch by sobomax.
6123 2007-12-18 Russell Bryant <russell@digium.com>
6125 * Asterisk 1.4.16 released.
6127 2007-12-18 18:45 +0000 [r93668-93676] Tilghman Lesher <tlesher@digium.com>
6129 * /, channels/chan_sip.c, channels/chan_iax2.c: Merged revisions
6130 93667 via svnmerge from
6131 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
6132 r93667 | tilghman | 2007-12-18 12:23:06 -0600 (Tue, 18 Dec 2007)
6133 | 2 lines Fixing AST-2007-027 (Closes issue #11119) ........
6135 2007-12-18 17:02 +0000 [r93625] Mark Michelson <mmichelson@digium.com>
6137 * main/channel.c: Rework deadlock avoidance used in ast_write,
6138 since it meant that agent channels which were being monitored had
6139 one audio file recorded and one empty audio file saved. (closes
6140 issue #11529, reported by atis patched by me)
6142 2007-12-17 22:56 +0000 [r93381-93420] Jason Parker <jparker@digium.com>
6144 * main/translate.c: What was I thinking when I wrote this
6145 masterpiece? -1 + 1 = 0.. who woulda thunk it?.
6147 2007-12-17 22:28 +0000 [r93377] Joshua Colp <jcolp@digium.com>
6149 * main/utils.c: Do not try to access information about a lock when
6150 printing out a trylock attempt. It is possible for the lock that
6151 it references to no longer be valid. This would have caused
6152 segfaults or deadlocks. (issue #BE-263) (closes issue #11080)
6153 Reported by: callguy (closes issue #11100) Reported by: callguy
6155 2007-12-17 21:12 +0000 [r93336] Tilghman Lesher <tlesher@digium.com>
6157 * include/asterisk/time.h: Today is tomorrow's yesterday, and
6158 yesterday's tomorrow is today, and tomorrow's tomorrow is the day
6159 after tomorrow, so who cares if you recycle anyway? If this
6160 confuses you, that's nothing compared to what this fixes. ;-)
6162 2007-12-17 19:53 +0000 [r93291] Mark Michelson <mmichelson@digium.com>
6164 * apps/app_voicemail.c: We need to create the directory for a
6165 voicemail user even if they are using IMAP storage since
6166 greetings are stored in the filesystem. (closes issue #11388,
6167 reported by spditner, patch by me inspired by a patch by
6170 2007-12-17 18:05 +0000 [r93250] Joshua Colp <jcolp@digium.com>
6172 * channels/chan_zap.c: If a call is received with a called number
6173 IE containing nothing go to the 's' extension. (closes issue
6174 #9099) Reported by: kb1_kanobe2 Patches: 20070906__9099.diff.txt
6175 uploaded by Corydon76 (license 14)
6177 2007-12-17 07:21 +0000 [r93183] Kevin P. Fleming <kpfleming@digium.com>
6179 * funcs/Makefile, codecs/Makefile, cdr/Makefile, pbx/Makefile,
6180 res/Makefile, channels/Makefile, formats/Makefile: fix some
6181 copy-and-paste leftovers
6183 2007-12-17 07:15 +0000 [r93182] Olle Johansson <oej@edvina.net>
6185 * channels/chan_mgcp.c, channels/chan_zap.c, channels/chan_sip.c,
6186 apps/app_queue.c, channels/chan_iax2.c: Issue 11574: Add
6187 dependencies on res_monitor and res_features. I wonder if
6188 Asterisk can run at all without res_features. My guess is that
6189 there's propably a lot of more modules and the core that depends
6190 on it. Reported by: caio1982 (closes issue #11574)
6192 2007-12-17 06:44 +0000 [r93180] Kevin P. Fleming <kpfleming@digium.com>
6194 * formats, Makefile, codecs/Makefile, funcs, apps/Makefile,
6195 configure, cdr/Makefile, build_tools/prep_tarball, makeopts.in,
6196 formats/Makefile, pbx, res, channels, funcs/Makefile, codecs,
6197 include/asterisk/autoconfig.h.in, build_tools/make_version, apps,
6198 configure.ac, Makefile.moddir_rules, build_tools/prep_moduledeps
6199 (removed), res/Makefile, pbx/Makefile, cdr, channels/Makefile: In
6200 http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html,
6201 rizzo brought up some issues related to the way that the metadata
6202 required for menuselect and the rest of the build system is
6203 extracted from the source files. Since I had a few hours to kill
6204 on an airplane today, I decided to improve this situation... so
6205 now the system caches the extracted metadata and uses it to build
6206 the menuselect 'tree' as much as it can. The result of this is
6207 that when a single source file is changed, only the metadata for
6208 that file needs to be extracted again, and the rest is used from
6209 the cache files. I also reduced the number of forked processes
6210 required to do the metadata extraction; it was actually possible
6211 to do most of what we needed in the Makefiles themselves without
6212 using any shell scripts at all! On my laptop, these changes
6213 resulted in an 80% decrease in the time required for the
6214 'menuselect.makeopts' automatic check to occur after editing a
6215 single source file. While doing this work I also cleaned up a few
6216 minor things in the Makefiles, adding a check for 'awk' to the
6217 configure script and changed all remaining places we use 'grep'
6218 or 'awk' to use the ones found by the configure script, and
6219 changed the 'prep_tarball' script to build the menuselect
6220 metadata so that tarballs of Asterisk will include it and won't
6221 require the user to wait while it is extracted after unpacking.
6223 2007-12-14 17:36 +0000 [r93000] Russell Bryant <russell@digium.com>
6225 * main/config.c: There are a lot of existing systems that #include
6226 non-existent files. So, to make the transition to treating this
6227 as an error a bit less painless, just issue a huge error message
6228 for now. Then, later, we can reinstate the code that treats it as
6229 a failure. (Thanks to philippel for the feedback)
6231 2007-12-14 15:16 +0000 [r92937] Joshua Colp <jcolp@digium.com>
6233 * channels/chan_sip.c: Up the length of the format on the SIP
6234 channel since it can now be rather long. (closes issue #11552)
6235 Reported by: francesco_r
6237 2007-12-14 15:05 +0000 [r92934] Christian Richter <christian.richter@beronet.com>
6239 * channels/chan_misdn.c: fixed the sequencing of WAITING_4DIGS
6240 state setting and overlap_task thread starting.
6242 2007-12-14 15:01 +0000 [r92933] Tilghman Lesher <tlesher@digium.com>
6244 * res/res_agi.c: Change help documentation to match actual behavior
6245 (FAILURE vs FAILED). Reported by: angeloxx-sir Patch by: tilghman
6246 (Closes issue #11548)
6248 2007-12-14 01:24 +0000 [r92875] Mark Michelson <mmichelson@digium.com>
6250 * include/asterisk/lock.h: When compiling with DETECT_DEADLOCKS,
6251 don't spam the CLI with messages about possible deadlocks.
6252 Instead just print the intended single message every five
6253 seconds. (closes issue 11537, reported and patched by dimas)
6255 2007-12-13 21:28 +0000 [r92815] Tilghman Lesher <tlesher@digium.com>
6257 * channels/chan_zap.c: Properly initialize polarity statuses, so
6258 that they are detected properly. Reported by: julianjm Patch by:
6259 julianjm (Closes issue #10238)
6261 2007-12-13 20:13 +0000 [r92809] Jason Parker <jparker@digium.com>
6263 * main/pbx.c: Make application help text a little more clear about
6264 the use of extensions in a filename.
6266 2007-12-13 20:03 +0000 [r92803-92807] Mark Michelson <mmichelson@digium.com>
6268 * apps/app_voicemail.c: Prevent another potential fd leak
6270 * apps/app_voicemail.c: Prevent a possible fd leak.
6272 2007-12-13 00:11 +0000 [r92696] Jason Parker <jparker@digium.com>
6274 * main/config.c, channels/chan_sip.c, channels/chan_h323.c,
6275 channels/chan_iax2.c: If a typo is found in a config file, we
6276 previous continued on with what was already loaded. We do not
6277 want to do this (see bug below for details). This makes it so
6278 that if a [ is found without a ], the entire config will fail,
6279 and nothing in it will be loaded. Isue #10690.
6281 2007-12-12 22:00 +0000 [r92656] Kevin P. Fleming <kpfleming@digium.com>
6283 * codecs/codec_zap.c: emit a warning message when we drop a G.729B
6284 CNG frame destined for the transcoder
6286 2007-12-12 21:15 +0000 [r92617] Jason Parker <jparker@digium.com>
6288 * apps/app_meetme.c: Don't increment user count until after name
6289 has been recorded (if enabled). Issue 11048, tested by pep.
6291 2007-12-12 19:40 +0000 [r92556] Russell Bryant <russell@digium.com>
6293 * res/res_features.c: resolve compiler warning
6295 2007-12-12 17:46 +0000 [r92510] Mark Michelson <mmichelson@digium.com>
6297 * res/res_features.c: Correctly detect where a dynamic feature was
6298 activated. Before this patch, the channel which initiated the
6299 bridge was always assumed to have been the one which activated
6300 the dynamic feature. This patch corrects this. (closes issue
6301 #11529, reported and patched by nic_bellamy)
6303 2007-12-12 16:52 +0000 [r92463] Tilghman Lesher <tlesher@digium.com>
6305 * configure, include/asterisk/autoconfig.h.in, configure.ac: Test
6306 directly for the API that fixed AST-2007-026, to ensure that
6307 older versions of PostgreSQL are no longer acceptable. (Closes
6310 2007-12-12 16:08 +0000 [r92443] Mark Michelson <mmichelson@digium.com>
6312 * apps/app_queue.c: Removing an unused variable.
6314 2007-12-11 19:51 +0000 [r92363] Joshua Colp <jcolp@digium.com>
6316 * main/global_datastores.c: Fix potential memory leak with the
6317 dialed interfaces list if another memory allocation fails.
6318 (closes issue #11507) Reported by: eliel Patches:
6319 global_datastores.c.patch uploaded by eliel (license 64)
6321 2007-12-11 17:42 +0000 [r92323] Mark Michelson <mmichelson@digium.com>
6323 * apps/app_queue.c: Fixing autofill to be more accurate.
6324 Specifically, if calls ahead of the current caller were ringing
6325 members (but not yet bridged) there could be available members
6326 and waiting callers who would not get matched up. The member
6327 availability checker was correctly determining the number of
6328 available members in this scenario, but the queue itself did not
6329 parallelly reflect this status on the pending calls. This commit
6330 corrects the issue. (closes issue #11459, reported by
6331 equissoftware, patched by me)
6333 2007-12-10 16:36 +0000 [r92204] Joshua Colp <jcolp@digium.com>
6335 * main/rtp.c: Add G729A as another possible payload name for G729.
6336 Some devices use this instead of G729, which is perfectly normal
6337 since the payload number itself is defined and can't be used by
6338 anything else so the name doesn't matter that much. (closes issue
6339 #11483) Reported by: revolution Patches: rtp.diff uploaded by
6340 revolution (license 346)
6342 2007-12-10 16:29 +0000 [r92202] Mark Michelson <mmichelson@digium.com>
6344 * apps/app_queue.c: If there are no members in a queue, then the
6345 loop where the datastore for detecting duplicate dialed numbers
6346 will be skipped, meaning the datastore isn't created. This means
6347 that when we try to free it, there's a crash. This stops that
6348 crash from occurring. (closes issue #11499, reported by slavon,
6351 2007-12-10 16:13 +0000 [r92200] Joshua Colp <jcolp@digium.com>
6353 * channels/chan_sip.c: It is possible for nativeformats to contain
6354 more then one codec, so print out multiple ones. (closes issue
6355 #11366) Reported by: ovi
6357 2007-12-10 14:04 +0000 [r92158] Olle Johansson <oej@edvina.net>
6359 * channels/chan_sip.c: Avoid reinvite race situations with two
6360 Asterisks trying to reinvite each other in 1.4 and trunk. This
6361 patch implements support for the 491 error code that Asterisk 1.4
6362 generates on situations where we get an incoming INVITE and
6363 already has one in progress. Thanks to mavetju for reporting and
6364 to Raj Jain for an excellent explanation of the problem. Patch by
6365 myself. Tested with 8 Asterisk servers connected to each other in
6366 a training network. Closes issue #10481
6368 2007-12-07 23:29 +0000 [r91890] Jason Parker <jparker@digium.com>
6370 * main/dsp.c: We need to make sure we free the input frame if we
6371 return a different frame in ast_dsp_process. Issue 11273, pointed
6372 out by dimas, with a patch by eliel.
6374 2007-12-07 22:30 +0000 [r91870] Kevin P. Fleming <kpfleming@digium.com>
6376 * codecs/codec_zap.c: even though Asterisk explicitly requests that
6377 endpoints using G.729 do *not* use Annex B (silence detection and
6378 comfort noise generation) some do anyway; the transcoder card
6379 interface does not currently work properly with CNG frames, so
6380 trim off the CNG before sending the data
6382 2007-12-07 21:24 +0000 [r91777-91830] Russell Bryant <russell@digium.com>
6384 * main/utils.c: Make the lock protecting each thread's list of
6385 locks it currently holds recursive. I think that this will fix
6386 the situation where some people have said that "core show locks"
6387 locks up the CLI. (related to issue #11080)
6389 * include/asterisk/lock.h: Fix another bug in the DEBUG_THREADS
6390 code. The ast_mutex_init() function had the mutex attribute
6391 object marked as static. This means that multiple threads
6392 initializing locks at the same time could step on each other and
6393 end up with improperly initialized locks. (found when tracking
6394 down locking issues related to issue #11080)
6396 * include/asterisk/lock.h: I love fixing lock related errors in the
6397 lock debugging code. That's about as ironic as it gets in
6398 Asterisk programming land. Anyway, I spotted this bug while
6399 trying to track down why systems are locking up and acting weird
6400 in issue #11080. The mutex attribute object was marked as static
6401 in this function when it should not have been.
6403 * apps/app_dial.c: * Add channel locking around datastore
6404 operations that expect the channel to be locked. * Document why
6405 we don't record Local channels in the dialed interfaces list. *
6406 Remove the dialed variable as it isn't needed. * Restructure some
6407 code for clarity and coding guidelines stuff
6409 * apps/app_queue.c: * Add channel locking around datastore
6410 operations that expect the channel to be locked. * Document why
6411 we don't record Local channels in the dialed interfaces list. *
6412 Handle memory allocation failure. * Remove the dialed variable,
6413 as it wasn't actually needed. * Tweak some formatting to conform
6414 to coding guidelines.
6416 * main/autoservice.c: * Add a bit more of a verbose comment as to
6417 why a hangup frame needs to be queued up if autoservice gets a
6418 NULL return from ast_read(). * Make the process of queueing the
6419 hangup frame more efficient by putting the frame where it is
6420 going to end up and avoiding some locking and extra memory
6421 allocations and freeing.
6423 2007-12-07 15:39 +0000 [r91737] Mark Michelson <mmichelson@digium.com>
6425 * main/autoservice.c: Hangups that happen during autoservice were
6426 not processed appropriately. This is because a hangup actually
6427 causes a NULL frame to be received, not a hangup frame. Queueing
6428 a hangup if we receive a NULL frame during autoservice corrects
6429 this problem (closes issue #11467, reported by jmls, patched by
6432 2007-12-07 02:51 +0000 [r91675-91693] Russell Bryant <russell@digium.com>
6434 * apps/app_dial.c: Don't unlock the dialed_interfaces list until
6435 we're done messing with the iterator.
6437 * apps/app_dial.c, apps/app_queue.c: Allow dialing local channels
6438 from Queue() and Dial() again. There was a slight flaw in the
6439 code to prevent call forwards from looping that caused this
6440 problem. (related to issue #11486)
6442 * apps/app_queue.c: Fix in an issue in the call forwarding handling
6443 code that was causing crashes on every call into a queue. I'm not
6444 entirely sure about the logic in this part of the code, so I want
6445 to look at it some more tomorrow. However, this makes it safe and
6446 keeps it from crashing. (closes issue #11486, reported by adamg,
6449 2007-12-07 00:52 +0000 [r91637] Tilghman Lesher <tlesher@digium.com>
6451 * main/rtp.c: At the end of a call, when we're reporting, RTCP may
6452 already be partially torn down, so check for NULL dereference
6453 Reported by: blitzrage Patch by: tilghman (Closes issue #11450)
6455 2007-12-06 20:25 +0000 [r91541] Mark Michelson <mmichelson@digium.com>
6457 * apps/app_voicemail.c: IMAP storage did not honor the maxmsg
6458 setting in voicemail.conf, and it also had the possibility of
6459 crashing if a user had more than 256 messages in their voicemail.
6460 This patch kills two birds with one stone by adding maxmsg
6461 support and also setting a hard limit on the number of messages
6462 at 255 so that the crashes cannot happen. (closes issue #11101,
6463 reported by Skavin, patched by me)
6465 2007-12-06 19:11 +0000 [r91501] Russell Bryant <russell@digium.com>
6467 * main/loader.c, include/asterisk/module.h: Add a new module flag
6468 to indicate that a build sum is present. Modules built against
6469 older Asterisk 1.4 headers will now load properly with just a
6470 warning indicating that they are old and may cause problems.
6473 2007-12-06 16:49 +0000 [r91439-91450] Joshua Colp <jcolp@digium.com>
6475 * main/udptl.c: Fix various in the udptl implementation. It could
6476 return empty modem frames, have an incorrect sequence number on
6477 packets, and display the wrong sequence number in the debug
6478 messages. (closes issue #11228) Reported by: Cache Patches:
6479 udptl-4.patch uploaded by dimas (license 88)
6481 * channels/chan_sip.c: Add support for accepting and sending T.38
6482 in the initial INVITE. (closes issue #9402) Reported by: thdei
6484 2007-12-06 12:54 +0000 [r91366] Olle Johansson <oej@edvina.net>
6486 * main/loader.c, include/asterisk/logger.h, main/logger.c: Make
6487 sure logger is reloaded at general reload in the cli. (Discovered
6488 during Asterisk training in Portugal)
6490 2007-12-05 22:57 +0000 [r91273-91292] Mark Michelson <mmichelson@digium.com>
6492 * apps/app_voicemail.c: Reverting extra stuff I didn't mean to
6495 * apps/app_voicemail.c, apps/app_dial.c: The 'G' option for Dial()
6496 did not properly handle the case where only a label was provided.
6497 This was due to the fact that the answering channel did not have
6498 an extension set, so ast_parseable_goto would fail. This fix
6499 eliminates the call to ast_parseable_goto on the answering
6500 channel since it is a wasteful call. The answering channel and
6501 the calling channel are both directed to the same extension and
6502 context, just different priorities, so we can just copy the
6503 values from the calling channel to the answering channel and
6504 increment the answering channel's priority. (closes issue #11382,
6505 reported by jon, patch by me with correction by jon)
6507 2007-12-05 21:38 +0000 [r91237] Tilghman Lesher <tlesher@digium.com>
6509 * sounds/Makefile: Upgrade to the latest version of extra sounds
6511 2007-12-05 17:31 +0000 [r90967-91192] Russell Bryant <russell@digium.com>
6513 * main/threadstorage.c: Make the lock in the threadstorage
6514 debugging code untracked to avoid a deadlock on thread
6515 destruction. (closes issue #11207) Reported by: ys Patches:
6516 threadstorage.c.diff uploaded by ys (license 281) Also fixes an
6517 open bug report: (closes issue #11446)
6519 * main/utils.c: When DEBUG_THREADS is enabled, we only have the
6520 details about who is holding a lock that we are waiting on for a
6521 mutex, not rwlocks. This should fix the problem where people have
6522 reported "core show locks" crashing sometimes.
6524 * include/asterisk/lock.h: Fix some crashes in chan_iax2 that were
6525 reported as happening on Mac systems. It turns out that the
6526 problem was the Mac version of the ast_atomic_fetchadd_int()
6527 function. The Mac atomic add function returns the _new_ value,
6528 while this function is supposed to return the old value. So, the
6529 crashes happened on unreferencing objects. If the reference count
6530 was decreased to 1, ao2_ref() thought that it had been decreased
6531 to zero, and called the destructor. However, there was still an
6532 outstanding reference around. (closes issue #11176) (closes issue
6535 * include/asterisk/file.h, configure,
6536 include/asterisk/autoconfig.h.in, configure.ac,
6537 include/asterisk/compiler.h: Modify file.h to maintain API
6538 compatibility with earlier versions. If a recent compiler is
6539 being used, then a warning will show up for any modules still
6540 using the old name "private" instead of "_private". (patch
6541 suggested by paravoid)
6543 * main/pbx.c: Make some changes to some additions I made recently
6544 for doing channel autoservice when looking up extensions. This
6545 code was added to handle the case where a dialplan switch was in
6546 use that could block for a long time. However, the way that I
6547 added it, it did this for all extension lookups. However, lookups
6548 in the in-memory tree of extensions should _not_ take long enough
6549 to matter. So, move the autoservice stuff to be only around
6552 2007-12-04 17:28 +0000 [r90876] Jason Parker <jparker@digium.com>
6554 * main/channel.c: If we fail to create a channel after allocating a
6555 timing fd, we need to make sure to close it. Issue 11454, patch
6558 2007-12-04 05:29 +0000 [r90798] Joshua Colp <jcolp@digium.com>
6560 * apps/app_dial.c: Fix build issue on the build cluster.
6562 2007-12-03 23:50 +0000 [r90736-90753] Tilghman Lesher <tlesher@digium.com>
6564 * include/asterisk/compat.h: Solaris requires the inclusion of
6565 sys/loadavg.h for getloadavg(). Reported by: snuffy Patch by:
6566 snuffy,tilghman (Closes issue #11430)
6568 * res/res_config_pgsql.c: If both dbhost and dbsock were not set, a
6569 NULL deref could result Reported by: xrg Patch by: tilghman
6570 (Closes issue #11387)
6572 2007-12-03 23:12 +0000 [r90735] Mark Michelson <mmichelson@digium.com>
6574 * apps/app_dial.c, main/channel.c, main/global_datastores.c
6575 (added), channels/chan_local.c, main/Makefile,
6576 include/asterisk/channel.h, include/asterisk/global_datastores.h
6577 (added), apps/app_queue.c: A big one... This is the merge of the
6578 forward-loop branch. The main change here is that call-forwards
6579 can no longer loop. This is accomplished by creating a datastore
6580 on the calling channel which has a linked list of all devices
6581 dialed. If a forward happens, then the local channel which is
6582 created inherits the datastore. If, through this progression of
6583 forwards and datastore inheritance, a device is attempted to be
6584 dialed a second time, it will simply be skipped and a warning
6585 message will be printed to the CLI. After the dialing has been
6586 completed, the datastore is detached from the channel and
6587 destroyed. This change also introduces some side effects to the
6588 code which I shall enumerate here: 1. Datastore inheritance has
6589 been backported from trunk into 1.4 2. A large chunk of code has
6590 been removed from app_dial. This chunk is the section of code
6591 which handles the call forward case after the channel has been
6592 requested but before it has been called. This was removed because
6593 call-forwarding still works fine without it, it makes the code
6594 less error-prone should it need changing, and it made this set of
6595 changes much less painful to just have the forwarding handled in
6596 one place in each module. 3. Two new files, global_datastores.h
6597 and .c have been added. These are necessary since the datastore
6598 which is attached to the channel may be created and attached in
6599 either app_dial or app_queue, so they need a common place to find
6600 the datastore info. This approach was taken in case similar
6601 datastores are needed in the future, there will be a common place
6604 2007-12-03 22:06 +0000 [r90696] Jason Parker <jparker@digium.com>
6606 * apps/app_meetme.c: Make sure we always close the conference fd if
6607 we have an open one. Issue 11383, reported by markmhy, patch by
6610 2007-12-03 20:59 +0000 [r90639] Mark Michelson <mmichelson@digium.com>
6612 * channels/chan_mgcp.c: Changing some bad logic when calculating
6613 the interdigit timeout. (closes issue #11402, reported and
6616 2007-12-03 20:51 +0000 [r90607] Jason Parker <jparker@digium.com>
6618 * res/res_features.c: Fix crash in ParkAndAnnounce application.
6619 Issue #11436, reported by lytledd, patch by eliel.
6621 2007-12-03 20:05 +0000 [r90548-90588] Joshua Colp <jcolp@digium.com>
6623 * main/rtp.c: Do not create a smoother for G723.1 frames, they need
6624 to be left alone to their native 20/24 byte size.
6626 * .cleancount, main/channel.c, include/asterisk/channel.h: Preserve
6627 the indication currently playing on a channel when a masquerade
6628 operation happens. (issue #BE-88)
6630 2007-12-03 18:20 +0000 [r90546] Jason Parker <jparker@digium.com>
6632 * channels/chan_iax2.c: Only log debug messages if debug is
6633 enabled. Closes issue #11416, patch by casper.
6635 2007-12-02 18:18 +0000 [r90470] Russell Bryant <russell@digium.com>
6637 * apps/app_queue.c: The other day when I went through making
6638 changes as a result of the ao2_link() change, I added some code
6639 to set pointers to NULL after they were unreferenced. This
6640 pointed out that in this place, the object was unreferenced
6641 before the code was done using it. So, move the unref down a
6642 little bit. (crash reported by jmls on IRC)
6644 2007-12-02 09:34 +0000 [r90432] Tilghman Lesher <tlesher@digium.com>
6646 * main/autoservice.c: Clarify the return value on autoservice.
6647 Specifically, if you started autoservice and autoservice was
6648 already on, it would erroneously return an error. Reported by:
6649 adiemus Patch by: dimas (Closes issue #11433)
6651 2007-11-30 19:26 +0000 [r90310-90348] Russell Bryant <russell@digium.com>
6653 * main/astobj2.c, main/manager.c, include/asterisk/astobj2.h,
6654 apps/app_queue.c, channels/chan_iax2.c: Change the behavior of
6655 ao2_link(). Previously, in inherited a reference. Now, it
6656 automatically increases the reference count to reflect the
6657 reference that is now held by the container. This was done to be
6658 more consistent with ao2_unlink(), which automatically releases
6659 the reference held by the container. It also makes it so it is no
6660 longer possible for a pointer to be invalid after ao2_link()
6663 * include/asterisk/astobj2.h: Add some notes on the behavior of
6664 ao2_unlink() after a discussion with Tilghman
6666 2007-11-30 14:43 +0000 [r90269] Joshua Colp <jcolp@digium.com>
6668 * channels/chan_sip.c: Fix locking issues under one legged replaces
6669 scenarios. (closes issue #11420) Reported by: irroot Patches:
6670 chan_sip_oneleg.patch uploaded by irroot (license 52)
6672 2007-11-30 00:16 +0000 [r90231] Mark Michelson <mmichelson@digium.com>
6674 * channels/chan_mgcp.c: Clear the DTMF buffer if the call times
6675 out. (closes issue #11418, reported and patched by eferro)
6677 2007-11-29 Russell Bryant <russell@digium.com>
6679 * Asterisk 1.4.15 released.
6681 2007-11-29 19:48 +0000 [r90166] Tilghman Lesher <tlesher@digium.com>
6683 * cdr/cdr_pgsql.c: Properly escape cdr->src and cdr->dst and ensure
6684 we use thread-safe escaping (Fixes AST-2007-026)
6686 2007-11-29 19:38 +0000 [r90163] Mark Michelson <mmichelson@digium.com>
6688 * apps/app_queue.c: This patch handles the case where a queue
6689 member with a negative penalty is added via the manager. If a
6690 negative value is submitted for a member penalty, we set it to 0.
6691 (closes issue #11411, reported and patched by Laureano)
6693 2007-11-29 19:24 +0000 [r90154-90160] Tilghman Lesher <tlesher@digium.com>
6695 * res/res_config_pgsql.c: Properly escape input buffers (Fixes
6698 * formats/format_g726.c, include/asterisk/file.h,
6699 formats/format_wav.c, formats/format_pcm.c,
6700 formats/format_ogg_vorbis.c, main/file.c, formats/format_h263.c,
6701 formats/format_h264.c, formats/format_wav_gsm.c: Use of "private"
6702 as a field name in a header file messes with C++ projects
6703 Reported by: chewbacca Patch by: casper (Closes issue #11401)
6705 * sounds/Makefile: Upgrade the core sounds release version
6707 2007-11-29 00:36 +0000 [r90142-90147] Russell Bryant <russell@digium.com>
6709 * funcs/func_callerid.c: fix some formatting i accidentally changed
6711 * funcs/func_callerid.c, main/channel.c,
6712 include/asterisk/channel.h: This set of changes is to make some
6713 callerID handling thread-safe. The ast_set_callerid() function
6714 needed to lock the channel. Also, the handlers for the CALLERID()
6715 dialplan function needed to lock the channel when reading or
6716 writing callerid values directly on the channel structure.
6718 * include/asterisk/file.h, main/file.c: Merge a change from
6719 team/russell/chan_refcount ... This makes ast_stopstream()
6722 2007-11-28 22:59 +0000 [r90101] Joshua Colp <jcolp@digium.com>
6724 * apps/app_queue.c: Fix a few memory leaks. (closes issue #11405)
6725 Reported by: eliel Patches: load_realtime.patch uploaded by eliel
6728 2007-11-28 22:30 +0000 [r90098] Kevin P. Fleming <kpfleming@digium.com>
6730 * configs/users.conf.sample, main/manager.c: it is impossible to
6731 set permissions for manager accounts created by users.conf
6732 (reported internally, patched by me)
6734 2007-11-28 22:08 +0000 [r89999-90059] Mark Michelson <mmichelson@digium.com>
6736 * main/pbx.c: Removing some seemingly pointless code. This sets a
6737 channel variable for every priority executed in the dialplan if
6738 you have debug set to anything non-zero. This seems pointless due
6739 to the fact that these channel variables are not referenced
6740 anywhere else in the code and their names are esoteric enough
6741 that they would not be practical to reference in the dialplan.
6742 Plus the fact that this behavior isn't documented anywhere means
6743 that the change is not likely to cause any disruption. If
6744 anything, this may actually cause a slight performance increase
6745 if running with debug on. The motivating influence for this code
6746 change is the eventwhencalled option for queues. If set to vars,
6747 all channel variables will be output to the manager. These
6748 unnecessary channel variables make the output a lot more
6749 difficult to deal with.
6751 * apps/app_voicemail.c: Recording greetings when using IMAP storage
6752 was causing zero-length files to be stored. Since greetings are
6753 not retrieved from IMAP anyway, it is pointless to attempt
6754 storing them there. (closes issue #11359, reported by spditner,
6757 2007-11-28 00:20 +0000 [r89839-89893] Russell Bryant <russell@digium.com>
6759 * main/pbx.c, include/asterisk/pbx.h: - update documentation for
6760 some of the goto functions to note that they handle locking the
6761 channel as needed - update ast_explicit_goto() to lock the
6764 * main/autoservice.c: Don't do frame processing if ast_read()
6767 * apps/app_queue.c: Instead of depending on the return value of
6768 ast_true(), explicitly set the eventwhencalled variable to 1.
6770 * main/pbx.c: Don't start/stop autoservice in
6771 pbx_extension_helper() unless a channel exists
6773 2007-11-27 23:10 +0000 [r89837] Mark Michelson <mmichelson@digium.com>
6775 * apps/app_queue.c: Two changes with regards to the
6776 'eventwhencalled' option of queues.conf 1) Due to some signed vs.
6777 unsigned silliness, setting 'eventwhencalled' to 'vars' or 'yes'
6778 did exactly the same thing. Thus the sign change of the ast_true
6779 call. 2) The vars2manager function overwrote a \n for every
6780 channel variable it parsed, resulting in bizarre output for the
6781 channel variables. This patch remedies this. (related to issue
6782 #11385, however I'm not sure if this will actually be enough to
6785 2007-11-27 21:45 +0000 [r89790] Russell Bryant <russell@digium.com>
6787 * main/autoservice.c, main/pbx.c: Merge changes from
6788 team/russell/autoservice_1.4 This set of changes fixes an issue
6789 that was reported to me on IRC yesterday. The user, d1mas, was
6790 using chan_zap for incoming calls and was having DTMF recognition
6791 issues in some situations. Specifically, he noticed that the
6792 problem occurred when using DISA or WaitExten. He also noticed
6793 that when using Read, the problem did not occur. His system also
6794 used DUNDi for dialplan lookups. So, he theorized that if the
6795 DUNDi lookups blocked for some period of time, that audio from
6796 the zap channel could get lost. If the audio got lost, then it
6797 wouldn't be run through the DTMF detector, and digits could get
6798 lost. He was correct, and the following set of changes fixes the
6799 problem. However, the changes go a little bit further than what
6800 was necessary to fix this exact problem. 1) I updated
6801 pbx_extension_helper() to autoservice the associated channel to
6802 handle cases where extension lookups may take a long time. This
6803 would normally be a dialplan switch that does some lookup over
6804 the network, such as the DUNDi or IAX2 switches. This ensures
6805 that even while a DUNDi lookup is blocking, the channel will be
6806 continuously serviced. 2) I made a change to the autoservice
6807 code. This is actually something that has bothered me for a long
6808 time. When a channel is in autoservice, _all_ frames get thrown
6809 away. However, some frames really shouldn't be thrown away. The
6810 most notable examples are signalling (CONTROL) frames, and DTMF.
6811 So, this patch queues up important frames while a channel is in
6812 autoservice. When autoservice is stopped on the channel, the
6813 queued up frames get stuck back on the channel so that they can
6814 get processed instead of thrown away. 3) I made another change to
6815 the autoservice code to handle the case where autoservice is
6816 started on channels recursively. Previously, you could call
6817 ast_autoservice_start() multiple times on a channel, and it would
6818 stop the first time ast_autoservice_stop() gets called. Now, it
6819 will ensure that autoservice doesn't actually stop until the
6820 final call to ast_autoservice_stop().
6822 2007-11-27 20:22 +0000 [r89727] Mark Michelson <mmichelson@digium.com>
6824 * res/res_config_pgsql.c: Changing some calls from free() to
6825 ast_free() since they were allocated with ast_calloc(). (closes
6826 issue #11390, reported and patched by Laureano)
6828 2007-11-27 20:16 +0000 [r89701-89709] Kevin P. Fleming <kpfleming@digium.com>
6830 * main/app.c: on second thought... revert all the other changes
6831 i've made in app options parsing leaving only one: if an empty
6832 argument is supplied for an option, set that argument pointer to
6833 point to an empty string rather than NULL, so that the
6834 application can do normal checks on it without worrying about it
6837 * main/app.c: generate a warning when an application option that
6838 requires an argument is ignored due to lack of an argument
6840 2007-11-27 16:12 +0000 [r89634] Russell Bryant <russell@digium.com>
6842 * configs/voicemail.conf.sample: Add a note to the sample voicemail
6843 config noting that when using IMAP storage, only the first format
6844 specified will be attached to the message.
6846 2007-11-27 15:38 +0000 [r89631] Tilghman Lesher <tlesher@digium.com>
6848 * funcs/func_env.c: Default result of STAT should be "0" not "".
6849 Reported via the -users mailing list, fixed by me.
6851 2007-11-27 15:23 +0000 [r89624-89630] Olle Johansson <oej@edvina.net>
6853 * main/rtp.c, channels/chan_sip.c, include/asterisk/rtp.h: If we
6854 get a codec offer using a well-known payload type, but using it
6855 for another codec that we don't know, Asterisk did not remove
6856 that codec from the list. With this patch, we remove the codec
6857 from audio and video rtp objects and deny it ever existed. Thanks
6858 to lasse for testing. (closes issue #11376) Reported by: lasse
6859 Patches: bug11376.txt uploaded by oej (license 306) Tested by:
6862 * configs/sip.conf.sample: Clarify limitonpeers=yes (closes issue
6863 #11304) Reported by: pj
6865 2007-11-27 06:24 +0000 [r89622] Steve Murphy <murf@digium.com>
6867 * apps/app_dial.c, main/cdr.c, configs/cdr.conf.sample,
6868 include/asterisk/cdr.h: closes issue #11379; OK, this is an
6869 attempt to make both sides happy. To the cdr.conf file, I added
6870 the option 'unanswered', which defaults to 'no'. In this mode,
6871 you will see a cdr for a call, whether it was answered or not.
6872 The disposition will be NO ANSWER or ANSWERED, as appropriate.
6873 The src is as you'd expect, the destination channel will be one
6874 of the channels from the Dial() call, usually the last in the
6875 list if more than one chan was specified. With unanswered set to
6876 'yes', you will still see this cdr entry in both cases. But in
6877 the case where the dial timed out, you will also see a cdr for
6878 each line attempted, marked NO ANSWER, with no destination
6879 channel name. The new option defaults to 'no', so you don't see
6880 the pesky extra cdr's by default, and you will not see the
6881 irritating 'not posted' messages.
6883 2007-11-26 23:10 +0000 [r89616-89618] Mark Michelson <mmichelson@digium.com>
6885 * apps/app_playback.c: After issuing a "say load new", if a caller
6886 hangs up during the middle of playback of a number, app_playback
6887 will continue to try to play the remaining files. With this
6888 change, no more files will be played back upon hangup. (closes
6889 issue #11345, reported and patched by IgorG)
6891 * apps/app_playback.c: After issuing a "say load new" tons of
6892 warning messages are printed out to the CLI every time do_say in
6893 app_playback is called. Removing these warnings
6895 2007-11-26 21:10 +0000 [r89599-89610] Joshua Colp <jcolp@digium.com>
6897 * main/dial.c: Fix issues with async dialing with an application
6898 executing. The application has to be terminated and control
6899 returned to the thread before hanging things up. (issue #BE-252)
6901 * res/res_features.c: Add module counting removal for error
6902 conditions. (closes issue #11333) Reported by: Laureano Patches:
6903 res_features_v2.c.patch uploaded by Laureano (license 265)
6905 2007-11-26 17:41 +0000 [r89594] Russell Bryant <russell@digium.com>
6907 * main/pbx.c: Add channel locking to a function that needed to be
6908 doing it. This is just a little something I noticed while working
6909 on a completely unrelated issue.
6911 2007-11-26 17:36 +0000 [r89587-89592] Joshua Colp <jcolp@digium.com>
6913 * pbx/pbx_config.c: Use ast_free to free memory, or else we shall
6914 implode if MALLOC_DEBUG is enabled. (closes issue #11347)
6915 Reported by: ys Patches: pbx.pbx_config.c.diff uploaded by ys
6918 * apps/app_mixmonitor.c: Close the audio file before sending it to
6919 the post processing application. (closes issue #11357) Reported
6920 by: reformed Patches: mixmonitor.patch uploaded by reformed
6923 2007-11-26 17:20 +0000 [r89586] Kevin P. Fleming <kpfleming@digium.com>
6925 * main/app.c: when parsing application options that take arguments,
6926 don't indicate that the option was supplied unless a
6927 non-zero-length argument was found for it
6929 2007-11-26 15:48 +0000 [r89580] Mark Michelson <mmichelson@digium.com>
6931 * apps/app_voicemail.c: Revert vmu->email back to an empty string
6932 if it was empty when imap_store_file was called. This prevents
6933 sending a duplicate e-mail. (closes issue #11204, reported by
6934 spditner, patched by me)
6936 2007-11-26 15:34 +0000 [r89571-89577] Joshua Colp <jcolp@digium.com>
6938 * main/channel.c: If channel allocation fails because the alert
6939 pipe could not be created also free the scheduler context.
6940 (closes issue #11355) Reported by: eliel Patches:
6941 main.channel.c.patch uploaded by eliel (license 64)
6943 * apps/app_meetme.c: When unloading app_meetme destroy any auto
6944 created contexts created by SLA. (closes issue #11367) Reported
6947 2007-11-25 17:17 +0000 [r89559] Tilghman Lesher <tlesher@digium.com>
6949 * res/res_odbc.c, configs/res_odbc.conf.sample,
6950 include/asterisk/res_odbc.h, res/res_config_odbc.c: We previously
6951 attempted to use the ESCAPE clause to set the escape delimiter to
6952 a backslash. Unfortunately, this does not universally work on all
6953 databases, since on databases which natively use the backslash as
6954 a delimiter, the backslash itself needs to be delimited, but on
6955 other databases that have no delimiter, backslashing the
6956 backslash causes an error. So the only solution that I can come
6957 up with is to create an option in res_odbc that explicitly
6958 specifies whether or not backslash is a native delimiter. If it
6959 is, we use it natively; if not, we use the ESCAPE clause to make
6960 it one. Reported by: elguero Patch by: tilghman (Closes issue
6963 2007-11-24 16:59 +0000 [r89534-89545] Tilghman Lesher <tlesher@digium.com>
6965 * res/res_adsi.c: Free some frames that would otherwise leak on
6966 error. Reported by: Laureano Patch by: Laureano,tilghman (Closes
6969 * apps/app_voicemail.c, main/app.c: Currently, zero-length
6970 voicemail messages cause a hangup in VoicemailMain. This change
6971 fixes the problem, with a multi-faceted approach. First, we do
6972 our best to avoid these messages from being created in the first
6973 place, and second, if that fails, we detect when the voicemail
6974 message is zero-length and avoid exiting at that point. Reported
6975 by: dtyoo Patch by: gkloepfer,tilghman (Closes issue #11083)
6977 * main/manager.c: Up until this point, the XML output of the
6978 manager has been technically invalid, due to the repetition of
6979 certain parameters in a single event. This caused various issues
6980 for XML parsers, some of which refused to parse at all, given the
6981 invalidity of the rendered XML. So this commit fixes the XML
6982 output, ensuring that each entity parameter has a unique name,
6983 thus ensuring valid XML. Reported by: msetim Patch by: tilghman
6984 (Closes issue #10220)
6986 * res/res_config_odbc.c: Use ESCAPE clause for the first parameter,
6987 not just 2nd-Nth parameters. Reported by: apsaras Patch by:
6988 tilghman (Closes issue #11353)
6990 2007-11-22 17:29 +0000 [r89527] Russell Bryant <russell@digium.com>
6992 * configs/agents.conf.sample: mvanbaak pointed out a spelling error
6993 in this sample configuration file. While I was at it, I went
6994 ahead and tweaked it a little bit more.
6996 2007-11-21 19:27 +0000 [r89493-89495] Mark Michelson <mmichelson@digium.com>
6998 * apps/app_queue.c: Fix a small error I made in my previous commit
7000 * apps/app_queue.c: Changing an inaccurate debug message to be less
7001 inaccurate. Under the circumstances, this message would always
7002 report that there were 0 members available, even though that may
7005 2007-11-21 18:59 +0000 [r89491] Terry Wilson <twilson@digium.com>
7007 * res/res_features.c: If a channel gets masqueraded in the middle
7008 of a park, don't play the announcement to the masqueraded
7009 channel, and dial back to the original channel on timeout.
7011 2007-11-20 19:16 +0000 [r89461-89462] Kevin P. Fleming <kpfleming@digium.com>
7013 * include/asterisk/module.h: re-doxygen some comments
7015 * main/loader.c, include/asterisk/module.h,
7016 build_tools/make_buildopts_h: bring back compile-option checking
7017 when loading modules, only this time use a string-based storage
7018 and comparison mechanism because it is easier to support on other
7021 2007-11-20 17:50 +0000 [r89457] Mark Michelson <mmichelson@digium.com>
7023 * main/pbx.c: According to comments in main/pbx.c, it is essential
7024 that if we are going to lock the conlock as well as the hints
7025 lock, it must be locked in that respective order. In order to
7026 prevent a potential deadlock, we need to lock the conlock prior
7027 to locking the hints lock in ast_hint_state_changed (see the call
7028 stack example on issue #11323 for how this can happen). (closes
7029 issue #11323, reported by eelcob, suggestion for patch by eelcob,
7032 2007-11-20 15:22 +0000 [r89450] Steve Murphy <murf@digium.com>
7034 * doc/queues-with-callback-members.txt: closes issue #11324; break
7035 statements missing in switch cases.
7037 2007-11-20 13:40 +0000 [r89445] Christian Richter <christian.richter@beronet.com>
7039 * channels/chan_misdn.c: added RR patch from iroot #10908, thanks.
7041 2007-11-19 15:53 +0000 [r89416-89419] Joshua Colp <jcolp@digium.com>
7043 * res/res_features.c: Print out the correct filename
7044 (features.conf) in the log message when parkpos options are
7045 incorrect. (closes issue #11295) Reported by: Laureano Patches:
7046 res_features.c.patch uploaded by Laureano (license 265)
7048 * doc/localchannel.txt: Clarify documentation a bit, include that a
7049 frame has to pass through the core in order for the Local channel
7050 optimization to happen. (closes issue #11246) Reported by: jon
7052 2007-11-16 Russell Bryant <russell@digium.com>
7054 * Asterisk 1.4.14 released.
7056 2007-11-16 22:26 +0000 [r89339] Russell Bryant <russell@digium.com>
7058 * main/loader.c, include/asterisk/module.h,
7059 build_tools/make_buildopts_h: Temporarily revert revision 89325,
7060 which added md5 magic for keeping track of what build options
7061 were used. We agreed that we should remove this before making a
7062 1.4 release, and then we can put it back in. Then, we can take a
7063 month or so to play around with it to get it how we want it.
7065 2007-11-16 16:47 +0000 [r89325] Kevin P. Fleming <kpfleming@digium.com>
7067 * main/loader.c, include/asterisk/module.h,
7068 build_tools/make_buildopts_h: To help combat problems where
7069 people build external modules (asterisk-addons or others) and
7070 then change the build options of the Asterisk build in a way that
7071 makes the incompatible without warning, this commit introduces an
7072 MD5 signature of the important build-time options and includes
7073 that signature into modules when they are built. When the loader
7074 loads one of these modules and notices the problem, it will emit
7075 a warning to console and refuse to initialize the module, as
7076 doing so could cause the system to be unstable or even crash. If
7077 you upgrade to this version of Asterisk, you must rebuild *all*
7078 of your modules that came from other sources before trying to run
7079 this version. If you are using Digium's G.729 binary codec
7080 module, you will need v33 or newer.
7082 2007-11-16 15:28 +0000 [r89323] Mark Michelson <mmichelson@digium.com>
7084 * apps/app_queue.c: Make realtime queues accessible from the
7085 QUEUE_MEMBER_COUNT function. (closes issue #11271, reported and
7086 patched by atis, with small modifications from me)
7088 2007-11-15 18:37 +0000 [r89298-89302] Tilghman Lesher <tlesher@digium.com>
7090 * Makefile: Start Asterisk in Debian at a more reasonable time
7091 (since zaptel is at level 20)
7093 * channels/misdn/isdn_lib.c: Fix an uninitialized memory read found
7096 * channels/chan_iax2.c: Yet another memory corruption issue.
7097 Reported by: atis Patch by: tilghman Fixes issue #10923
7099 2007-11-15 17:19 +0000 [r89296] Russell Bryant <russell@digium.com>
7101 * apps/app_meetme.c: Update the SLAStation application to account
7102 for the case where the SLA thread has a call out to the station,
7103 but the user has pressed a line button to answer the call instead
7104 of picking up the handset. If they do, the phone sends out a new
7105 INVITE. So, the SLAStation app must check to see if it is picking
7106 up a ringing trunk, and ensure that the other stations stop
7107 ringing. (reported internally, patched by me, tested by mogorman)
7109 2007-11-15 14:57 +0000 [r89286-89288] Mark Michelson <mmichelson@digium.com>
7111 * main/manager.c: Undoing previous commit since I realize it was
7114 * main/manager.c: Adding a missing mutex unlock. (closes issue
7115 11256, reported and patched by ys)
7117 2007-11-15 11:26 +0000 [r89280-89281] Olle Johansson <oej@edvina.net>
7119 * channels/chan_sip.c: Don't send re-invites during pending INVITE
7120 transactions. Patch by one47 - thanks! Closes issue #9305
7122 * channels/chan_sip.c: Improve support for multipart messages. Code
7123 by gasparz, changes by me (mostly formatting). Thanks, gasparz!
7126 2007-11-14 23:23 +0000 [r89275] Tilghman Lesher <tlesher@digium.com>
7128 * main/app.c: When a recording ends with '#', we are improperly
7129 trimming an extra 200ms from the recording. Reported by: sim
7130 Patch by: tilghman Closes issue #11247
7132 2007-11-14 01:15 +0000 [r89260] Joshua Colp <jcolp@digium.com>
7134 * main/srv.c: Return the proper value when the srv_callback
7135 function executes properly. (closes issue #11240) Reported by:
7138 2007-11-13 21:07 +0000 [r89248-89254] Jason Parker <jparker@digium.com>
7140 * channels/chan_zap.c, channels/chan_iax2.c: Fix building on newer
7141 systems which require a third arg to open() when using O_CREAT.
7142 Issue 11238, reported by puzzled.
7144 * res/res_features.c: Revert change from revision 67064. It is
7145 documented behavior that if a parking extension already exists
7146 while using PARKINGEXTEN, dialplan execution will continue. If
7147 blind transferring to a Park with PARKINGEXTEN, you must keep
7148 this in mind, and handle the failure yourself. Issue 11237,
7151 2007-11-13 17:34 +0000 [r89246] Tilghman Lesher <tlesher@digium.com>
7153 * channels/chan_sip.c: If we set a value for qualify, we should
7154 actually pay attention to it, instead of overriding the value
7156 2007-11-13 16:02 +0000 [r89241] Mark Michelson <mmichelson@digium.com>
7158 * apps/app_mixmonitor.c: Reverting commit made in revision 89205
7159 since it is unnecessary. Thanks to Kevin for pointing this out
7161 2007-11-13 13:51 +0000 [r89239] Tilghman Lesher <tlesher@digium.com>
7163 * main/utils.c: Debugging is running into the 16-lock limit.
7164 Increase to avoid. (This define is only effective when debugging
7165 is turned on, so there's no effect for most installations.)
7167 2007-11-13 00:56 +0000 [r89205] Mark Michelson <mmichelson@digium.com>
7169 * apps/app_mixmonitor.c: Some sanity checking for MixMonitor. If
7170 only 1 argument is given, then the args.options and
7171 args.post_process strings are uninitialized and could contain
7172 garbage. This change handles this situation properly by only
7173 using arguments that we have parsed.
7175 2007-11-12 20:46 +0000 [r89194] Jason Parker <jparker@digium.com>
7177 * main/pbx.c: Fix a typo pointed out by De_Mon on #asterisk-dev
7179 2007-11-12 20:16 +0000 [r89184-89191] Tilghman Lesher <tlesher@digium.com>
7181 * main/config.c: If two config writes collide, file corruption
7182 could result. Use a mkstemp() file, instead. Reported by:
7183 paravoid Patch by: tilghman Closes issue #10781
7185 * main/channel.c, channels/chan_sip.c: Fix two cases of memory
7186 corruption caused by background threads. Reported by: atis Patch
7187 by: tilghman Fixes issue #10923
7189 2007-11-12 11:26 +0000 [r89169-89173] Christian Richter <christian.richter@beronet.com>
7191 * channels/chan_misdn.c, configs/misdn.conf.sample: if we're NT and
7192 no number was dialed and overlapdial is set, we wait for the ISDN
7193 timeout instead of starting our own timer. added a comment for
7194 the misdn.conf.sample for the overlapdial config option.
7196 * channels/misdn/isdn_lib.c, channels/misdn/isdn_lib_intern.h,
7197 channels/chan_misdn.c, channels/misdn/isdn_msg_parser.c: added
7198 restart all interfaces Restart_Indicator, to automatically send a
7199 RESTART after the L2 of a PTP Port comes up. Also fixed some
7200 places where we have send a RELEASE without need for it.
7202 * channels/misdn/isdn_lib.c, channels/chan_misdn.c: fixed a
7203 state/event issue with overlapdial=yes when no extension matched.
7204 removed the general sending of a RELEASE_COMPLETE when we receive
7205 a RELEASE, this is done by mISDNuser/mISDN. This makes it
7206 possible to use asterisk-1.4 with mISDN trunk, but requires users
7207 of mISDN/mISDNuser-1.1.X to upgrade to at least mISDNuser-1.1.6
7208 (when using the NT mode at all)
7210 * channels/misdn/isdn_lib.c: fixed the support for CW and therefore
7211 for the reject_cause option.
7213 * channels/misdn/isdn_lib.c, channels/misdn_config.c,
7214 channels/misdn/isdn_lib.h, channels/chan_misdn.c,
7215 channels/misdn/chan_misdn_config.h, configs/misdn.conf.sample:
7216 aded ntkeepcalls option, to avoid droÃpping calls when the L2
7217 goes down on a PTP link. There are some pbx which do turn off the
7218 L1 for a very short while and restart it immediately. normally
7219 T310 should be started and after 10 seconds or so the calls
7220 should be dropped, this is a simple fix wihtout this timer.
7222 2007-11-08 23:52 +0000 [r89125] Jason Parker <jparker@digium.com>
7224 * main/say.c: Properly say the seconds here.. Issue 11203, fix
7227 2007-11-08 21:00 +0000 [r89119] Mark Michelson <mmichelson@digium.com>
7229 * channels/chan_sip.c: Rework of the commit I made yesterday to use
7230 the already built-in ast_uri_decode function as opposed to my
7231 home-rolled one. Also added comments. Thanks to oej for pointing
7232 me in the right direction
7234 2007-11-08 18:45 +0000 [r89115] Jason Parker <jparker@digium.com>
7236 * configs/res_odbc.conf.sample: Avoid warnings on load when using
7237 sample configuration files. Issue 11195, patch by eliel.
7239 2007-11-08 16:47 +0000 [r89111] Mark Michelson <mmichelson@digium.com>
7241 * apps/app_voicemail.c: I made this same adjustment in trunk to fix
7242 a bug, and it makes sense to do it in 1.4 as well. If an
7243 imapfolder is specified in voicemail.conf, don't ever explicitly
7244 connect to INBOX since it may not exist.
7246 2007-11-08 05:26 +0000 [r89105] Kevin P. Fleming <kpfleming@digium.com>
7248 * main/srv.c: fix a glaring bug in the new SRV record handling that
7249 would cause incorrect weight sorting
7251 2007-11-08 04:55 +0000 [r89103] Tilghman Lesher <tlesher@digium.com>
7253 * doc/valgrind.txt: Typo
7255 2007-11-08 02:26 +0000 [r89095-89101] Joshua Colp <jcolp@digium.com>
7257 * channels/chan_sip.c: Do not add a sip: to the beginning of the To
7258 URI unless needed. (closes issue #10756) Reported by: goestelecom
7260 * channels/chan_sip.c: Improve the devicestate logic for multiple
7261 devices. If any are available then the extension is considered
7262 available. (closes issue #10164) Reported by: nic_bellamy
7263 Patches: sip-hinting-svn-branch-1.4.patch uploaded by nic
7266 * channels/chan_sip.c: Add support for allowing one outgoing
7267 transaction. This means if a response comes back out of order
7268 chan_sip will still handle it. I dream of a chan_sip with real
7269 transaction support. (closes issue #10946) Reported by: flefoll
7270 (closes issue #10915) Reported by: ramonpeek (closes issue #9567)
7271 Reported by: atca_pres
7273 * channels/chan_sip.c: If callerid is configured in sip.conf use
7274 that for checking the presence of an extension in the dialplan.
7275 (closes issue #11185) Reported by: spditner
7277 2007-11-07 23:39 +0000 [r89093] Tilghman Lesher <tlesher@digium.com>
7279 * apps/app_queue.c: The member refcount must be incremented, to
7280 avoid using it after deallocation. A huge thanks go to lvl- for
7281 patiently providing the necessary valgrind output that was
7282 necessary to finding this problem of memory corruption. Reported
7283 by: lvl- Patch by: tilghman Closes issue #11174
7285 2007-11-07 22:40 +0000 [r89090] Mark Michelson <mmichelson@digium.com>
7287 * channels/chan_sip.c: This patch makes it possible for SIP phones
7288 to dial extensions defined with '#' characters in extensions.conf
7289 AND maintain their escaped characters when forming URI's (closes
7290 issue #10681, reported by cahen, patched by me, code review by
7293 2007-11-07 21:40 +0000 [r89088] Steve Murphy <murf@digium.com>
7295 * cdr/cdr_tds.c, pbx/pbx_ael.c, res/res_jabber.c: In response to
7296 10578, I just ran 1.4 thru valgrind; some of the config leakage
7297 I've already fixed, but it doesn't hurt to double check. I found
7298 and fixed leaks in res_jabber, cdr_tds, pbx_ael. Nothing major,
7301 2007-11-07 15:56 +0000 [r89085] Mark Michelson <mmichelson@digium.com>
7303 * main/manager.c: Fixing a segfault in the manager "core show
7304 channels concise" command. (closes issue #11183, reported by arnd
7307 2007-11-07 04:07 +0000 [r89079] Tilghman Lesher <tlesher@digium.com>
7309 * configs/extensions.ael.sample: Suppress AEL warnings on load.
7310 Reported by: eliel Patch by: eliel Closes issue #11178
7312 2007-11-06 20:18 +0000 [r89053] Russell Bryant <russell@digium.com>
7314 * res/res_musiconhold.c: Fix init_classes() so that classes that
7315 actually do have files loaded aren't treated as empty, and
7316 immediately destroyed ...
7318 2007-11-06 19:09 +0000 [r89046] Jason Parker <jparker@digium.com>
7320 * codecs/codec_zap.c: Correctly set the total number of channels
7321 from a zaptel transcoder board. SPD-49, patch by Matthew
7324 2007-11-06 19:09 +0000 [r89045] Tilghman Lesher <tlesher@digium.com>
7326 * include/asterisk/lock.h: We went to the trouble of creating a
7327 method of tracking failed trylocks, then never turned it on
7330 2007-11-06 18:53 +0000 [r89042] Olle Johansson <oej@edvina.net>
7332 * main/tdd.c: Bug fixes to tdd support in zaptel.
7334 2007-11-06 18:20 +0000 [r89037] Russell Bryant <russell@digium.com>
7336 * res/res_musiconhold.c: If someone were to delete the files used
7337 by an existing MOH class, and then issue a reload, further use of
7338 that class could result in a crash due to dividing by zero. This
7339 set of changes fixes up some places to prevent this from
7340 happening. (closes issue #10948) Reported by: jcomellas Patches:
7341 res_musiconhold_division_by_zero.patch uploaded by jcomellas
7342 (license 282) Additional changes added by me.
7344 2007-11-06 17:52 +0000 [r89036] Steve Murphy <murf@digium.com>
7346 * main/config.c: closes issue #8786 - where the [catname](!) and
7347 [catname](othercat1,othercat2,...) notation gets dropped across a
7348 ConfigUpdate (or any other thing that would cause a config file
7349 to be written). While I was at it, I also cleaned up some of the
7350 destroy routines to free up comments, which was not being done.
7351 Made sure the new struct I introduced is also cleaned up properly
7352 at destruction time. My code handles multiple template
7353 inclusions. Many thanks to ssokol for his patch, which, while not
7354 literally used in the final merge, served as a foundation for the
7357 2007-11-06 17:08 +0000 [r88994-89032] Joshua Colp <jcolp@digium.com>
7359 * channels/chan_sip.c: Make it so that if a peer is determined to
7360 be unreachable using qualify their devicestate will report back
7361 unavailable. (closes issue #11006) Reported by: pj
7363 * channels/chan_zap.c: Fix improbable but possible memory leaks in
7364 chan_zap. (closes issue #11166) Reported by: eliel Patches:
7365 chan_zap.c.patch uploaded by eliel (license 64)
7367 2007-11-06 13:50 +0000 [r88931] Russell Bryant <russell@digium.com>
7369 * include/asterisk/lock.h: Remove some checks to see if locks are
7370 initialized from the non-DEBUG_THREADS versions of the lock
7371 routines. These are incorrect for a number of reasons: - It
7372 breaks the build on mac. - If there is a problem with locks not
7373 getting initialized, then the proper fix is to find that place
7374 and fix the code so that it does get initialized. - If additional
7375 debug code is needed to help find the problem areas, then this
7376 type of things should _only_ be put in the DEBUG_THREADS
7379 2007-11-06 02:52 +0000 [r88862] Kevin P. Fleming <kpfleming@digium.com>
7381 * include/asterisk/srv.h: update comment to match the state of the
7384 2007-11-05 23:29 +0000 [r88826] Mark Michelson <mmichelson@digium.com>
7386 * main/channel.c: Reworked deadlock avoidance in __ast_read.
7387 Restored audio to callback agents. (closes issue #11071, reported
7388 by callguy, patched by me, tested by callguy and Ted Brown)
7390 2007-11-05 22:07 +0000 [r88709-88805] Russell Bryant <russell@digium.com>
7392 * main/pbx.c, include/asterisk/pbx.h: After seeing crashes related
7393 to channel variables, I went looking around at the ways that
7394 channel variables are handled. In general, they were not handled
7395 in a thread-safe way. The channel _must_ be locked when reading
7396 or writing from/to the channel variable list. What I have done to
7397 improve this situation is to make pbx_builtin_setvar_helper() and
7398 friends lock the channel when doing their thing. Asterisk API
7399 calls almost all lock the channel for you as necessary, but this
7400 family of functions did not. (closes issue #10923, reported by
7401 atis) (closes issue #11159, reported by 850t)
7403 * channels/chan_sip.c: When traversing the list of channel
7404 variables here in transmit_invite(), the asterisk channel must be
7405 locked, as this data may change at any time. (I have seen
7406 numerous reports of crashes related to the handling of channel
7407 variables. There are a couple of issues on the bug tracker
7408 related to it, but it has also been noted on IRC and mailing
7409 lists. So, I am finding and fixing some places where channel
7410 variables are handled improperly.)
7412 * channels/chan_sip.c: Fix up some indentation.
7414 * main/srv.c, include/asterisk/srv.h: Merge changes from
7415 asterisk/team/kpfleming/SRV-priority-handling Previously, the SRV
7416 record support in Asterisk was broken. There was no guarantee on
7417 what record Asterisk would choose to actually use. This set of
7418 changes improves the situation by ensuring that Asterisk will
7419 choose the highest priority record.
7421 * main/channel.c: Merge the last bit of changes from
7422 asterisk/team/russell/readq-1.4 The issue here is that the
7423 channel frame readq handling got broken when the code was
7424 converted to use the linked list macros. It caused corruption of
7425 the list head and tail pointers. So, I fixed up the usage of the
7426 linked list macros and in passing, simplified the code. I also
7427 documented what the code is doing, as it was a bit difficult to
7428 figure out at first. This bug showed itself with crashes showing
7429 messed up head/tail pointers for the readq. However, there are a
7430 couple of crashes that aren't quite as obvious, but I think may
7431 be related. So, if your bug gets closed by this commit, but you
7432 still have a problem, please reopen or create a new bug report.
7433 (closes issue #10936) (closes issue #10595) (closes issue #10368)
7434 (closes issue #11084) (closes issue #10040) (closes issue #10840)
7436 2007-11-05 18:47 +0000 [r88671] Joshua Colp <jcolp@digium.com>
7438 * channels/chan_sip.c: If a SIP channel is put on hold multiple
7439 times do not keep incrementing the onHold value. (closes issue
7440 #11085) Reported by: francesco_r Tested by: blitzrage (closes
7441 issue #10474) Reported by: acennami
7443 2007-11-05 17:46 +0000 [r88624] Russell Bryant <russell@digium.com>
7445 * main/channel.c: Fix up datastore handling in ast_do_masquerade().
7446 The code is intended to move any channel datastores from the old
7447 channel to the new one. However, it did not use the linked list
7448 macros properly to accomplish the task. The existing code would
7449 only work if there was only a single datastore on the old
7452 2007-11-05 17:19 +0000 [r88585] Jason Parker <jparker@digium.com>
7454 * channels/chan_sip.c: Make sure we destroy the config structure on
7455 configuration failure. Issue 11163, patch by eliel.
7457 2007-11-05 16:20 +0000 [r88539] Tilghman Lesher <tlesher@digium.com>
7459 * res/res_odbc.c: Don't check used pooled connections for
7460 connection status, as it will cause issues for prepared queries.
7461 Reported by: Nick Gorham (via -dev list) Patch by: tilghman
7463 2007-11-04 22:38 +0000 [r88471] Luigi Rizzo <rizzo@icir.org>
7465 * include/asterisk/stringfields.h, main/channel.c,
7466 apps/app_meetme.c, channels/chan_sip.c, channels/chan_iax2.c:
7467 Rename ast_string_field_free_pool to
7468 ast_string_field_free_memory, and ast_string_field_free_all to
7469 ast_string_field_reset_all to avoid misuse (due to too similar
7470 names and an error in documentation). Fix two related memory
7471 leaks in app_meetme. No need to merge to trunk, different fix
7472 already applied there. Not applicable to 1.2
7474 2007-11-02 20:49 +0000 [r88328-88366] Joshua Colp <jcolp@digium.com>
7476 * channels/chan_sip.c: Make subscribecontext behave as advertised.
7477 It will now look for the presence of a hint in the given context
7478 (be it subscribecontext or context). (closes issue #10702)
7481 * channels/chan_sip.c: If an INFO request within a dialog is
7482 received with a content length of 0 simply send back a 200 OK. It
7483 is valid to do this and the remote side is probably using it to
7484 make sure the signalling is still alive. (closes issue #5747)
7485 Reported by: chandi Patches: infofix-81430-1.patch uploaded by
7488 2007-11-02 16:51 +0000 [r88283] Jason Parker <jparker@digium.com>
7490 * main/say.c: We need to make sure to specify a language to
7491 ast_fileexists, otherwise it may fail for anything besides en
7492 Issue 11147, fix discovered by both citats and myself
7493 (independently), with input from Corydon76
7495 2007-11-02 13:03 +0000 [r88116-88210] Tilghman Lesher <tlesher@digium.com>
7497 * include/asterisk/lock.h: Fix build on Solaris Reported by: snuffy
7498 Patch by: ys Closes issue #11143
7500 * doc/valgrind.txt (added): Add some notes on using valgrind
7502 2007-11-01 16:21 +0000 [r88078] Jason Parker <jparker@digium.com>
7504 * channels/chan_zap.c: Make sure we set the poll fds to NULL after
7505 free()ing it. Part of issue 11017, patch by tzafrir.
7507 2007-11-01 13:27 +0000 [r87970-88026] Joshua Colp <jcolp@digium.com>
7509 * apps/app_meetme.c: Fix up commit for my Zap channel with spies in
7510 Meetme fix. (thanks Tony Mountifield!)
7512 * apps/app_meetme.c: If a Zap channel contains a spy or a spy is
7513 added take it out of the conference in kernel space and make it
7514 go through Asterisk so the spy gets audio from both sides.
7515 (closes issue #10060) Reported by: mparker
7517 2007-10-31 21:23 +0000 [r87906-87908] Jason Parker <jparker@digium.com>
7519 * res/res_jabber.c: Make sure we free some allocated memory before
7520 returning. Issue 11131, patch by eliel.
7522 * channels/chan_gtalk.c: Don't try to allocate memory that we're
7523 just going to re-allocate later anyways. Issue 11130, patch by
7526 2007-10-31 18:03 +0000 [r87852] Tilghman Lesher <tlesher@digium.com>
7528 * Makefile: Create samples for ALL of the available options in
7531 2007-10-31 17:49 +0000 [r87775-87849] Steve Murphy <murf@digium.com>
7533 * pbx/pbx_config.c: closes issue #11108 -- where the 'dialplan
7534 save' cli command saves a file where the semicolon is not
7535 escaped. Fixed this; User also wanted comments to be preserved
7536 across dialplan save, but this is impossible at this point in
7537 time, because comments are not stored in the dialplan. They are
7538 'compiled' out of extensions.conf. The only way to preserve those
7539 comments is to use the config file reader/writer that the GUI
7540 uses to allow online user edits. extensions.conf is first and
7541 foremost, a config file, and is read in by the normal config-file
7542 reading routines. Then, it is processed into a dialplan
7543 (context/exten structs).
7545 * pbx/pbx_ael.c: Included some verbage in the check_includes func,
7546 to inform the user that included contexts that have no match in
7547 the AEL, might be OK, as AEL cannot check in the extensions.conf
7548 or the in-memory contexts, as they may not be there at the time
7551 2007-10-30 23:02 +0000 [r87739] Tilghman Lesher <tlesher@digium.com>
7553 * include/asterisk/lock.h: Fix for uninitialized mutexes on *BSD
7554 Reported by: ys Fixed by: ys Closes issue #11116
7556 2007-10-30 21:19 +0000 [r87686] Russell Bryant <russell@digium.com>
7558 * channels/chan_iax2.c: Merge the changes from
7559 team/russell/iax2_poke_fix and iax2-poke-fix-trunk There was a
7560 race condition related to the handling of POKEing peers.
7561 Essentially, a reference to a peer is held by the scheduler when
7562 there are pending callbacks, but the reference count didn't
7563 reflect it. So, it was possible for a peer to hit a reference
7564 count of zero and have its destructor begin to be called at the
7565 same time that the scheduler thread ran a POKE related callback.
7566 If that happened, a crash would likely occur. (closes issue
7567 #11082, closes issue #11094)
7569 2007-10-30 20:29 +0000 [r87650] Jason Parker <jparker@digium.com>
7571 * channels/Makefile: Only try to clean out h323/ if the
7572 h323/Makefile exists.
7574 2007-10-30 16:13 +0000 [r87571] Joshua Colp <jcolp@digium.com>
7576 * res/res_features.c: Add two more checks before printing out a
7577 warning message about bridging. If either channel has hungup of
7578 course the bridge will have failed. (closes issue #10009)
7581 2007-10-30 15:45 +0000 [r87567] Jason Parker <jparker@digium.com>
7583 * main/editline/np/vis.c: Fix build of editline on Solaris. Issue
7584 11113, patch by snuffy.
7586 2007-10-30 15:10 +0000 [r87534] Joshua Colp <jcolp@digium.com>
7588 * apps/app_followme.c: Return 1.4 to a state where it builds.
7589 Changing the arguments to a function and not changing where they
7590 are used is bad, mmmk?
7592 2007-10-30 14:31 +0000 [r87514] BJ Weschke <bweschke@btwtech.com>
7594 * apps/app_followme.c: Fix issue where the recorded name wasn't
7595 getting removed correctly. (closes issue #11115) Reported by:
7596 davevg Patches: followme-v3.diff
7598 2007-10-29 22:13 +0000 [r87460-87465] Kevin P. Fleming <kpfleming@digium.com>
7600 * codecs/gsm: missed one directory
7602 * codecs/ilbc, formats, utils/Makefile, agi/Makefile, funcs,
7603 codecs/lpc10, main/db1-ast, main/editline, main,
7604 codecs/ilbc/Makefile, pbx, res, channels, main/db1-ast/Makefile,
7605 codecs/lpc10/Makefile, utils, codecs, agi,
7606 main/editline/Makefile.in, apps, Makefile.moddir_rules, cdr:
7607 clean up (and ignore) assembler and preprocessor intermediate
7608 files if any are created during the build
7610 * Makefile: don't put '-pipe' into ASTCFLAGS if '-save-temps' is
7611 already there (used when debugging preprocessor issues) because
7612 the compiler will whine about each compile command
7614 2007-10-29 21:06 +0000 [r87427] Mark Michelson <mmichelson@digium.com>
7616 * apps/app_voicemail.c: Removing a completely unnecessary quota
7617 check from IMAP code.
7619 2007-10-29 20:22 +0000 [r87373-87396] Russell Bryant <russell@digium.com>
7621 * main/utils.c, include/asterisk/lock.h: Add some more details to
7622 the output of "core show locks". When a thread is waiting for a
7623 lock, this will now show the details about who currently has it
7624 locked. (inspired by issue #11100)
7626 * main/astmm.c: Remove a lock that doesn't make any sense. The
7627 regions lock needs to be held when traversing the list of
7628 allocated chunks so that they can be printed out to the CLI.
7629 (Thanks to eliel on #asterisk-dev for pointing this out!)
7631 2007-10-29 17:20 +0000 [r87342] Joshua Colp <jcolp@digium.com>
7633 * channels/chan_sip.c: Fix issue where if both sides of the dialog
7634 cancelled the dialog at the same time chan_sip could kepe
7635 retransmitting a response for no reason. (closes issue #9566)
7636 Reported by: atca_pres Patches: bug9566.patch uploaded by oej
7638 2007-10-29 17:13 +0000 [r87340] Jason Parker <jparker@digium.com>
7640 * funcs/func_realtime.c, funcs/func_cut.c: Allow some function
7641 modules to compile under dev mode. Issue 11104, patch by andrew.
7643 2007-10-29 14:23 +0000 [r87294] Joshua Colp <jcolp@digium.com>
7645 * main/utils.c: Fix issue with ast_unescape_semicolon going into an
7646 endless loop. (closes issue #10550) Reported by: ramonpeek
7647 Patches: unescape-85177-1.patch uploaded by IgorG (license 20)
7649 2007-10-28 13:46 +0000 [r87262] Tilghman Lesher <tlesher@digium.com>
7651 * funcs/func_realtime.c, funcs/func_odbc.c, funcs/func_strings.c,
7652 funcs/func_cut.c: Add autoservice to several more functions which
7653 might delay in their responses. Also, make sure that func_odbc
7654 functions have a channel on which to set variables. Reported by
7655 russell Fixed by tilghman Closes issue #11099
7657 2007-10-26 16:34 +0000 [r87168] Steve Murphy <murf@digium.com>
7659 * pbx/ael/ael-test/ref.ael-test19, pbx/ael/ael.tab.c,
7660 pbx/ael/ael.y, pbx/ael/ael_lex.c, pbx/pbx_ael.c,
7661 include/asterisk/ael_structs.h, pbx/ael/ael.tab.h,
7662 utils/ael_main.c, pbx/ael/ael-test/ref.ael-test16,
7663 pbx/ael/ael.flex: closes issue #11086 where a user complains that
7664 references to following contexts report a problem; The problem
7665 was REALLy that he was referring to empty contexts, which were
7666 being ignored. Reporter stated that empty contexts should be OK.
7667 I checked it out against extensions.conf, and sure enough, empty
7668 contexts ARE ok. So, I removed the restriction from AEL. This,
7669 though, highlighted a problem with multiple contexts of the same
7670 name. This should be OK, also. So, I added the extend keyword to
7671 AEL, and it can preceed the 'context' keyword (mixed with
7672 'abstract', if nec.). This will turn off the warnings in AEL if
7673 the same context name is used 2 or more times. Also, I now call
7674 ast_context_find_or_create for contexts now, instead of just
7675 ast_context_create; I did this because pbx_config does this. The
7676 'extend' keyword thus becomes a statement of intent. AEL can now
7677 duplicate the behavior of pbx_config,
7679 2007-10-26 13:54 +0000 [r87120] Tilghman Lesher <tlesher@digium.com>
7681 * funcs/func_curl.c: The addition of autoservice to func_curl
7682 additionally made func_curl dependent on the existence of a
7683 channel, with no real reason. This should make func_curl once
7684 again work without a channel. Reported by jmls. Fixed by
7685 tilghman. Closes issue #11090
7687 2007-10-25 23:03 +0000 [r87069] Kevin P. Fleming <kpfleming@digium.com>
7689 * main/channel.c, include/asterisk/linkedlists.h: appending one
7690 list to another should leave the first list empty, and not
7691 require the user to do that
7693 2007-10-25 22:53 +0000 [r87067] Tilghman Lesher <tlesher@digium.com>
7695 * funcs/func_cut.c: Backport alternate encoding of newline
7696 delimiters from trunk to 1.4, as approved by Russell Reported by
7697 blitzrage Closes issue #10903
7699 2007-10-24 20:56 +0000 [r86982] Jason Parker <jparker@digium.com>
7701 * channels/chan_zap.c: Correctly respect hidecalleridname
7702 configuration option. Simplify code slightly in the process.
7703 Issue 11079, reported by ddv2005
7705 2007-10-24 04:14 +0000 [r86880-86936] Steve Murphy <murf@digium.com>
7707 * pbx/ael/ael.tab.c, pbx/ael/ael.y: closes issue #11037 -- unable
7708 to specify app:spec in hint arguments
7710 * funcs/func_logic.c: closes issue #11052 -- where nothing after
7711 the ? will allow un-initialized variable values to corrupt and
7712 crash asterisk on 64-bit platforms
7714 * main/Makefile: this update to Makefile corrects how ast_expr2f.c
7717 * main/ast_expr2f.c: This should get rid of a really, really
7718 irritating warning generated by some 64-bit platforms from libc,
7719 where free(0) is frowned upon
7721 2007-10-22 21:36 +0000 [r86836] Russell Bryant <russell@digium.com>
7723 * include/asterisk/lock.h: If lock tracking is not enabled, then we
7724 can not attempt to log any mutex failures. If so, we could end up
7725 in infinite recursion. The only lock that is affected by this is
7726 a mutex in astmm.c used when MALLOC_DEBUG is enabled. (closes
7727 issue #11044) Reported by: ys Patches: lock.h.diff uploaded by ys
7730 2007-10-22 17:38 +0000 [r86787] Tilghman Lesher <tlesher@digium.com>
7732 * main/astmm.c: Minor FreeBSD build fix
7734 2007-10-22 16:35 +0000 [r86754-86756] Joshua Colp <jcolp@digium.com>
7736 * channels/chan_sip.c: After reading online I have confirmed that
7737 Record-Route headers should be copied to 1xx responses as well.
7738 (closes issue #10113) Reported by: makoto
7740 * apps/app_controlplayback.c: Make sure res is a positive value
7741 before performing the check to determine whether the user stopped
7742 it or not. (closes issue #11023) Reported by: cfc
7744 2007-10-22 15:52 +0000 [r86726-86750] Russell Bryant <russell@digium.com>
7746 * main/channel.c: Don't leak a frame in the case that an END frame
7747 is received and the time since the BEGIN is less than that of the
7748 defined minimum DTMF duration. (closes issue #11051) Reported by:
7749 casper Patches: channel.c.86664.diff uploaded by casper (license
7752 * include/asterisk/lock.h: Update the static mutex initializer to
7753 include the initialization of the internal mutex used to protect
7754 the lock debugging data. (closes issue #11044, patch suggested by
7757 2007-10-22 14:48 +0000 [r86694] Mark Michelson <mmichelson@digium.com>
7759 * apps/app_voicemail.c: Account for the fact that sometimes headers
7760 may be terminated with \r\n instead of just \n (closes issue
7761 #11043, reported by yehavi)
7763 2007-10-22 14:27 +0000 [r86630-86663] Joshua Colp <jcolp@digium.com>
7765 * main/channel.c: Move log message to before the frame it
7766 references is freed. (closes issue #11050) Reported by: slavon
7767 Patches: channel.c.86662.diff uploaded by casper (license 55)
7769 * pbx/pbx_dundi.c: Fix tab completion for dundi show peer. (closes
7770 issue #11041) Reported by: jsmith Patches:
7771 asterisk-dundicomplete.diff.txt uploaded by jamesgolovich
7774 * main/loader.c: Fixes for building under OpenSolaris. (closes
7775 issue #11047) Reported by: snuffy Patches: 11047-fixes.diff
7776 uploaded by snuffy (license 35)
7778 2007-10-22 09:21 +0000 [r86598] Christian Richter <christian.richter@beronet.com>
7780 * channels/misdn/isdn_lib.c, channels/chan_misdn.c: we send
7781 DISCONNECT instead of RELEASE/RELEASE_COMPLETE if the dialplan
7782 does not match after an overlap call. Also added out_cause=1
7784 2007-10-19 16:38 +0000 [r86469-86502] Joshua Colp <jcolp@digium.com>
7786 * main/app.c: When returning a DTMF digit from
7787 ast_control_streamfile cast it as a char so that 0 does not
7788 overlap with the success return code. (closes issue #11023)
7791 * channels/chan_sip.c: Fix two issues with domains and transfers.
7792 If a port was given in the hostname it was treated as part of the
7793 hostname. If domains were configured but external domains were
7794 not enabled all transfers would be considered remote. (closes
7795 issue #11027) Reported by: ramonpeek Patches: 11027-1.diff
7796 uploaded by ramonpeek (license 266)
7798 * channels/chan_sip.c: Set port number in received as information
7799 for registrations as well. (closes issue #11028) Reported by:
7802 2007-10-19 01:45 +0000 [r86438] TransNexus OSP Development <support@transnexus.com>
7804 * apps/app_osplookup.c: Fixed OSP module did not report
7805 source/devinfo IP in correct format.
7807 2007-10-18 22:01 +0000 [r86405-86406] Jason Parker <jparker@digium.com>
7809 * Makefile: Correct documentation. I removed the wrong line..
7811 * Makefile: Add documentation for options in asterisk.conf Issue
7812 11029, patch by eserra
7814 2007-10-18 21:16 +0000 [r86330-86372] Russell Bryant <russell@digium.com>
7816 * configs/iax.conf.sample, channels/chan_iax2.c: Revert erroneous
7819 * configs/iax.conf.sample, channels/chan_iax2.c: Add support for
7820 setting the maximum trunk size for IAX2 trunking
7822 * main/channel.c, include/asterisk/channel.h: The channel needs to
7823 stay locked while running timer callbacks, as they access and
7824 modify channel data that may change elsewhere. I went through
7825 every timer callback in the source tree to make sure that none of
7826 them did any additional locking that could introduce deadlocks,
7827 and all is well. (closes issue #10765) Reported by: Ivan Patches:
7828 ast_1_4_11_svn_patch_channel_rc.diff uploaded by Ivan (license
7831 2007-10-18 17:38 +0000 [r86328] Mark Michelson <mmichelson@digium.com>
7833 * apps/app_queue.c: If a non-existent file is specified to be
7834 played either as a periodic announcement or as a hold/position
7835 announcement, the caller would be kicked out of the queue. No
7836 longer does this happen.
7838 2007-10-18 15:45 +0000 [r86237-86296] Russell Bryant <russell@digium.com>
7840 * codecs/codec_zap.c: Execute the RELEASE operation on transcoder
7841 channels in the destroy callback. (patch from jsloan)
7843 * main/utils.c: Revert a change that I made for issue #10979 which,
7844 as has been pointed out to me in issue #11018, doesn't really
7845 make sense. There is no reason to have the base64 decode function
7846 force a '\0' terminated buffer, when the result is almost always
7847 binary, anyway. In fact, this caused some breakage, as some code
7848 in res_crypto passed in a buffer exactly the right size to get
7849 its binary result, which got stomped on by this patch. (closes
7850 issue #11018, reported by dimas)
7852 2007-10-17 21:39 +0000 [r86202] Mark Michelson <mmichelson@digium.com>
7854 * apps/app_queue.c: Changing the strategy field of the call_queue
7855 struct to be signed instead of unsigned, since the code attempts
7856 to set the strategy to -1 if you specify a bogus strategy. While
7857 this isn't a huge issue in 1.4, it could be a problem for someone
7858 who, say, tries to use the roundrobin strategy in trunk (despite
7859 all the deprecation warnings in 1.4).
7861 2007-10-17 17:57 +0000 [r86149] Russell Bryant <russell@digium.com>
7863 * channels/chan_sip.c: If Asterisk is in the middle of shutting
7864 down, respond to OPTIONS with 503 Unavailable. (closes issue
7865 #10994) Reported by: eserra Patches: sip-options-503.patch
7866 uploaded by eserra (license 45)
7868 2007-10-17 16:58 +0000 [r86117] Joshua Colp <jcolp@digium.com>
7870 * channels/chan_sip.c: Whoops, forgot to remove the original
7871 sip_scheddestroy. (closes issue #11010) Reported by: vadim
7873 2007-10-17 15:23 +0000 [r86066] Tilghman Lesher <tlesher@digium.com>
7875 * main/asterisk.c: When runuser/rungroup is specified, a remote
7876 console could only be attained by root (Closes issue #9999)
7878 2007-10-17 15:06 +0000 [r86063] Joshua Colp <jcolp@digium.com>
7880 * channels/chan_sip.c: Don't schedule dialog destruction if a
7881 MESSAGE is received using an existing dialog. (closes issue
7882 #11010) Reported by: vadim
7884 2007-10-16 23:35 +0000 [r86028-86032] Mark Michelson <mmichelson@digium.com>
7886 * configs/queues.conf.sample: Since monitor-join is deprecated now,
7887 remove the example from the sample queues.conf file
7889 * UPGRADE.txt: Updating UPGRADE.txt to reflect the deprecation of
7890 the monitor-join queue option
7892 * apps/app_queue.c: Adding deprecated warning to monitor-join
7893 option, since the plan is to no longer support this in favor of
7894 monitor-type = mixmonitor (related to issue #10885)
7896 2007-10-16 22:36 +0000 [r85994-85997] Russell Bryant <russell@digium.com>
7898 * include/asterisk/lock.h: really picky formatting tweak ...
7900 * include/asterisk/lock.h: Some locking errors exposed the fact
7901 that the lock debugging code itself was not thread safe. How
7902 ironic! Anyway, these changes ensure that the code that is
7903 accessing the lock debugging data is thread-safe. Many thanks to
7904 Ivan for finding and fixing the core issue here, and also thanks
7905 to those that tested the patch and provided test results. (closes
7906 issue #10571) (closes issue #10886) (closes issue #10875) (might
7907 close some others, as well ...) Patches: (from issue #10571)
7908 ivan_ast_1_4_12_rel_patch_lock.h.diff uploaded by Ivan (license
7909 229) - a few small changes by me
7911 2007-10-16 21:14 +0000 [r85958] Mark Michelson <mmichelson@digium.com>
7913 * apps/app_queue.c: Trying to remove a non-dynamic queue member via
7914 dynamic means can lead to some interesting (read nasty)
7915 situations. This patch clears up the issue by making only dynamic
7916 queue members removable via dynamic methods.
7918 2007-10-16 19:41 +0000 [r85921] Tilghman Lesher <tlesher@digium.com>
7920 * main/stdtime/localtime.c: Also set up gmtoff (this is used in the
7921 %z gnu extension to strftime) Reported and fixed by jcmoore
7924 2007-10-16 19:10 +0000 [r85896] Russell Bryant <russell@digium.com>
7926 * apps/app_voicemail.c: Remove a pointless lock.
7928 2007-10-16 15:21 +0000 [r85852] Mark Michelson <mmichelson@digium.com>
7930 * apps/app_queue.c: Fixing a double free which happens in the
7931 statechange thread. (closes issue #10987, reported by andrew)
7933 2007-10-16 14:52 +0000 [r85818-85850] Joshua Colp <jcolp@digium.com>
7935 * apps/app_hasnewvoicemail.c: Check to make sure a value has been
7936 given to the VMCOUNT dialplan function. (closes issue #10996)
7937 Reported by: marsosa
7939 * main/threadstorage.c: Fix memory allocation issue in
7940 threadstorage. (closes issue #10995) Reported by: snuffy Patches:
7941 new-patch.diff uploaded by snuffy (license 35)
7943 2007-10-16 10:46 +0000 [r85800] Philippe Sultan <philippe.sultan@gmail.com>
7945 * channels/chan_gtalk.c: Fix the output for this channel help CLI
7948 2007-10-15 21:10 +0000 [r85717-85720] Russell Bryant <russell@digium.com>
7950 * apps/app_queue.c: Ensure that no pending state changes are leaked
7951 when the device state change thread gets stopped on module
7954 * apps/app_queue.c: Previously, app_queue created a thread to
7955 handle every single device state change. I changed this a while
7956 ago in trunk for performance reasons. However, bug 8407 points
7957 out that it is actually a race condition, causing device state
7958 changes to get processed in random order. So, I backported my
7959 changes from trunk to 1.4. (closes issue #8407, patch provided by
7960 tim_ringenbach, committed patch by me)
7962 2007-10-15 20:29 +0000 [r85687] Tilghman Lesher <tlesher@digium.com>
7964 * apps/app_stack.c: Don't execute a gosub if the arguments is
7965 zero-len (not just NULL) Reported by davevg Fixed by me Closes
7968 2007-10-15 20:21 +0000 [r85686] Russell Bryant <russell@digium.com>
7970 * main/say.c: Add a small fix for the tw version of saying dates.
7971 (closes issue #7827) Reported by: sharkey Patches: say.nits.patch
7972 uploaded by sharkey (license 172)
7974 2007-10-15 20:15 +0000 [r85684] Jason Parker <jparker@digium.com>
7976 * Makefile: Properly use DESTDIR in 'config' target. Do not try to
7977 run chkconfig or similar if using DESTDIR. Issue 10938, patch by
7980 2007-10-15 19:22 +0000 [r85604-85649] Russell Bryant <russell@digium.com>
7982 * main/utils.c: Be pedantic about handling memory allocation
7985 * main/utils.c: The loop in the handler for the "core show locks"
7986 could potentially block for some amount of time. Be a little bit
7987 more careful and prepare all of the output in an intermediary
7988 buffer while holding a global resource. Then, after releasing it,
7989 send the output to ast_cli().
7991 * channels/chan_sip.c: Make the default for the srvlookup option to
7992 be yes. It doesn't really make sense for it to default to off.
7993 The default configuration file has it on, and proper RFC
7994 behavior, as indicated by a comment in the code, is for it to be
7995 on. So, let's have it on by default to make lives easier. (closes
7996 issue #10954, suggested by jtodd)
7998 2007-10-15 16:39 +0000 [r85571] Joshua Colp <jcolp@digium.com>
8000 * configs/features.conf.sample: Document that DTMF based features
8001 only work when two channels are bridged together. (closes issue
8002 #10773) Reported by: pbayley
8004 2007-10-15 16:34 +0000 [r85561] Russell Bryant <russell@digium.com>
8006 * include/asterisk/strings.h: Make a few changes so that characters
8007 in the upper half of the ISO-8859-1 character set don't get
8008 stripped when reading configuration. (closes issue #10982,
8011 2007-10-15 16:22 +0000 [r85559] Joshua Colp <jcolp@digium.com>
8013 * main/rtp.c: Bring both DTMF begin and end frames up through to
8014 the core for DTMF feature handling. (closes issue #10826)
8017 2007-10-15 15:40 +0000 [r85556] Russell Bryant <russell@digium.com>
8019 * pbx/pbx_dundi.c: Ensure the buffer passed to
8020 ast_canmatch_extension() is properly initialized so that it is
8021 null terminated. (issue #10977) Reported by: dimas Patches:
8022 pbxdundi.patch uploaded by dimas (license 88) - small mods by me
8024 2007-10-15 14:55 +0000 [r85552] Joshua Colp <jcolp@digium.com>
8026 * main/rtp.c: If Monitor or a spy was added to a P2P or native
8027 bridged channel bring the channel back to the generic bridging
8028 core so the monitor or spy operations work. (closes issue #10943)
8029 Reported by: julianjm
8031 2007-10-15 13:16 +0000 [r85540-85548] Russell Bryant <russell@digium.com>
8033 * main/db.c: Suppress a LOG_DEBUG message if debug is not enabled.
8034 (closes issue #10980) Reported by: casper Patches:
8035 db.c.84633.diff uploaded by casper (license 55)
8037 * main/asterisk.c: Make sure remote consoles unmute themselves
8038 again after reconnecting. (closes issue #10847) Reported by: atis
8039 Patches: console_unmute_on_reconnect.patch uploaded by atis
8042 * main/utils.c: Make sure that the base64 decoder returns a
8043 terminated string. (closes issue #10979) Reported by: ys Patches:
8044 util.c.diff uploaded by ys (license 281) - small mods by me
8046 * pbx/pbx_config.c: Don't create the context for users in
8047 users.conf until we know at least one user exists. (closes issue
8048 #10971) Reported by: dimas Patches: pbxconfig.patch uploaded by
8051 2007-10-13 15:26 +0000 [r85536] Tilghman Lesher <tlesher@digium.com>
8053 * configs/extensions.ael.sample: Remove deprecated syntax from
8054 sample ael file Reported and patched by: dimas Closes issue
8057 2007-10-13 05:48 +0000 [r85532-85533] Russell Bryant <russell@digium.com>
8059 * main/asterisk.c, main/cli.c, include/asterisk/logger.h: Fix an
8060 issue with console verbosity when running asterisk -rx to execute
8061 a command and retrieve its output. The issue was that there was
8062 no way for the main Asterisk process to know that the remote
8063 console was connecting in the -rx mode. The way that James has
8064 fixed this is to have all remote consoles muted by default. Then,
8065 regular remote consoles automatically execute a CLI command to
8066 unmute themselves when they first start up. (closes issue #10847)
8067 Reported by: atis Patches: asterisk-consolemute.diff.txt uploaded
8068 by jamesgolovich (license 176)
8070 * main/asterisk.c, main/cli.c, include/asterisk/cli.h: Properly
8071 handle the case where read() may return the text for more than
8072 one CLI command at once for a remote console. (closes issue
8073 #10888) Reported by: jamesgolovich Patches:
8074 asterisk-climultiple.diff.txt uploaded by jamesgolovich (license
8077 2007-10-12 18:30 +0000 [r85523] Tilghman Lesher <tlesher@digium.com>
8079 * doc/asterisk-mib.txt, doc/PEERING, LICENSE: Change Digium address
8081 2007-10-12 15:45 +0000 [r85515-85517] Russell Bryant <russell@digium.com>
8083 * res/res_smdi.c: Fix a spelling error in a log message. SMDI, not
8084 SDMI. (closes issue #10959)
8086 * pbx/pbx_realtime.c: Fix the potential use of an uninitialized
8087 buffer in a log message. (closes issue #10958) Reported by: dimas
8088 Patches: realtime.patch uploaded by dimas (license 88)
8090 2007-10-11 15:26 +0000 [r85397] Joshua Colp <jcolp@digium.com>
8092 * channels/chan_sip.c: When creating a new packet don't try to stop
8093 retransmission of it. It was just allocated/created so it's
8094 impossible for it to have already been scheduled. (closes issue
8095 #10945) Reported by: flefoll Patches:
8096 chan_sip.c.br14.85280.xmit_reliable-patch uploaded by flefoll
8099 2007-10-11 04:35 +0000 [r85356] Tilghman Lesher <tlesher@digium.com>
8101 * main/pbx.c: A dollar sign by itself, not indicating a start of a
8102 variable or expression prematurely ends substitution (closes
8105 2007-10-10 Russell Bryant <russell@digium.com>
8107 * Asterisk 1.4.13 released.
8109 2007-10-10 15:56 +0000 [r85316] Russell Bryant <russell@digium.com>
8111 * include/asterisk/file.h: I introduced a new member to the
8112 ast_filestream struct in 1.4.12, but put it in the middle of the
8113 struct, instead of at the end. One of the Debian folks, paravoid,
8114 pointed out that this breaks binary compatability with modules
8115 compiled against older headers. So, I'm moving the new member to
8116 the end of the struct to resolve the situation.
8118 2007-10-10 15:51 +0000 [r85315] Mark Michelson <mmichelson@digium.com>
8120 * main/utils.c: The thread ID should be unsigned.
8122 2007-10-10 14:42 +0000 [r85277-85280] Joshua Colp <jcolp@digium.com>
8124 * channels/chan_sip.c: If devicestate is passed a port number strip
8125 it out. (closes issue #10930) Reported by: ibc
8127 * channels/chan_sip.c: Add support for handling a 182 Queued
8128 response. (closes issue #10924) Reported by: ramonpeek Patches:
8129 queued-182.diff uploaded by ramonpeek (license 266)
8131 2007-10-10 14:26 +0000 [r85276] Mark Michelson <mmichelson@digium.com>
8133 * apps/app_voicemail.c: A bunch of changes from sprintf to
8134 snprintf. See security advisory AST-2002-022
8136 2007-10-10 14:14 +0000 [r85242] Joshua Colp <jcolp@digium.com>
8138 * apps/app_voicemail.c: Close voicemail message description file if
8139 duration did not meet the minimum, or else we will eventually run
8140 out of file descriptors. (closes issue #10918) Reported by:
8141 brak2718 Patches: vm1.4.12.1.patch uploaded by brak2718 (license
8144 2007-10-10 06:24 +0000 [r85195] Kevin P. Fleming <kpfleming@digium.com>
8146 * include/asterisk/frame.h: use a macro instead of an inline
8147 function, so that backtraces will report the caller of
8148 ast_frame_free() properly
8150 2007-10-09 21:55 +0000 [r85158] Tilghman Lesher <tlesher@digium.com>
8152 * main/channel.c, main/utils.c, include/asterisk/lock.h: This
8153 commit fixes the following issues: - Deadlock in ast_write (issue
8154 #10406) - Deadlock in ast_read (issue #10406) - Possible mutex
8155 initialization error in lock.h (issue #10571)
8157 2007-10-09 14:30 +0000 [r84990-85093] Joshua Colp <jcolp@digium.com>
8159 * channels/chan_sip.c: Don't perform a reinvite if a transfer is in
8160 progress. (issue #10915) Reported by: ramonpeek
8162 * main/rtp.c: Only update codec information if the channel has a
8163 technology private structure. (issue #10915) Reported by:
8166 * main/rtp.c: Update codec information as well as address when
8167 doing hold reinvites. (issue #10868) Reported by: mavince
8169 * main/channel.c: Don't keep trying to native bridge if either of
8170 the channels are involved in a masquerade operation to be done.
8171 (closes issue #10696) Reported by: tbelder
8173 2007-10-08 03:28 +0000 [r84957] Russell Bryant <russell@digium.com>
8175 * Makefile.rules: Enable file dependency tracking for _all_ builds,
8176 and not just for builds with dev-mode enabled. I have seen enough
8177 problems caused by this that I don't think it's worth keeping. I
8178 want to continue to encourage anybody that is interested to
8179 continue to run Asterisk from svn. Furthermore, I do not want
8180 their systems to break when we change a structure definition in a
8183 2007-10-07 16:15 +0000 [r84890-84902] Philippe Sultan <philippe.sultan@gmail.com>
8185 * res/res_jabber.c: Presence packets from a client who's connected
8186 with our Jabber ID are valid, therefore, those clients must be
8187 considered as buddies. The resource string helps us make the
8188 distinction between clients. Closes issue #10707, reported by
8191 * res/res_jabber.c: Prevent Asterisk from crashing when receiving a
8192 presence packet without resource from a buddy that is known to
8193 have a resource list. Revert a change I previously made, where
8194 Asterisk could point to a freed memory location.
8196 2007-10-05 19:42 +0000 [r84851] Tilghman Lesher <tlesher@digium.com>
8198 * main/db.c: Log exactly why we can't open the database, if we fail
8199 (closes issue #10887)
8201 2007-10-05 18:55 +0000 [r84818] Joshua Colp <jcolp@digium.com>
8203 * main/rtp.c: Update the remembered RTP peer information when
8204 putting an endpoint on hold or taking it off hold so that the RTP
8205 stack does not initiate a needless reinvite. (closes issue
8206 #10868) Reported by: mavince
8208 2007-10-05 16:44 +0000 [r84783] Russell Bryant <russell@digium.com>
8210 * channels/chan_zap.c: Do deadlock avoidance in a couple more
8211 places. You can't lock two channels at the same time without
8212 doing extra work to make sure it succeeds. (closes issue #10895,
8215 2007-10-05 Russell Bryant <russell@digium.com>
8217 * Asterisk 1.4.12.1 released. (This is mainly to include the
8218 app_queue fix for a memory leak on reload, but includes a couple
8219 of other bug fixes, as well.)
8221 2007-10-05 01:39 +0000 [r84742] Russell Bryant <russell@digium.com>
8223 * main/manager.c: Fix a copy/paste error in the description of
8224 UpdateConfig that was pointed out by JerJer on #asterisk-dev
8226 2007-10-04 21:57 +0000 [r84692] Mark Michelson <mmichelson@digium.com>
8228 * apps/app_queue.c: Don't allocate space for queue members unless
8229 it's needed. You end up deleting dynamic members on a reload. Not
8230 good. closes issue (#10879, reported by dazza76, patched by me)
8232 2007-10-04 21:36 +0000 [r84690] Kevin P. Fleming <kpfleming@digium.com>
8234 * channels/chan_zap.c: callers of sig2str already add the word
8235 'signalling' in the appropriate place, so don't duplicate it
8237 2007-10-04 14:51 +0000 [r84637] Joshua Colp <jcolp@digium.com>
8239 * apps/app_queue.c: Create a duplicate of the channel's member name
8240 as the tab completion stuff will free it. (closes issue #10884)
8243 2007-10-03 22:59 +0000 [r84581] Tilghman Lesher <tlesher@digium.com>
8245 * main/rtp.c: When an RFC 2833 event is sent that we don't
8246 recognize, ignore it, don't queue a NULL digit (closes issue
8249 2007-10-03 18:20 +0000 [r84511-84544] Steve Murphy <murf@digium.com>
8251 * pbx/pbx_ael.c: closes issue #10870 ; where a CUT() function call
8252 in a switch expr doesn't execute correctly, because the commas in
8253 the function args are not converted to vertbars before the func
8254 is called. I modified just the switch code to convert the commas
8255 to vertbars if there, but if more of these sort of probs are
8256 found, I may have to resort to something a little more
8257 fundamental. We'll see, I guess.
8259 * pbx/ael/ael-test/ref.ael-test8, pbx/ael/ael-test/ref.ael-test18,
8260 pbx/ael/ael-test/ref.ael-vtest13,
8261 pbx/ael/ael-test/ref.ael-vtest17,
8262 pbx/ael/ael-test/ref.ael-ntest10, pbx/ael/ael-test/ref.ael-test1,
8263 pbx/ael/ael-test/ref.ael-test3, pbx/pbx_ael.c,
8264 pbx/ael/ael-test/ref.ael-test5: closes issue #10834 ; where a
8265 null input to a switch statement results in a hangup; since
8266 switch is implemented with extensions, and the default case is
8267 implemented with a '.', and the '.' matches 1 or more remaining
8268 characters, the case where 0 characters exist isn't matched, and
8269 the extension isn't matched, and the goto fails, and a hangup
8270 occurs. Now, when a default case is generated, it also generates
8271 a single fixed extension that will match a null input. That
8272 extension just does a goto to the default extension for that
8273 switch. I played with an alternate solution, where I just tack an
8274 extra char onto all the patterns and the goto, but not the
8275 default case's pattern. Then even a null input will still have at
8276 least one char in it. But it made me nervous, having that extra
8277 char in , even if that's a pretty secret and low-level issue.
8279 2007-10-02 Russell Bryant <russell@digium.com>
8281 * Asterisk 1.4.12 released.
8283 2007-10-02 20:06 +0000 [r84474] Russell Bryant <russell@digium.com>
8285 * Makefile, build_tools/prep_tarball: * Don't build the
8286 menuselect-tree for the tarball, as it requires running the
8287 configure script first * Change the Makefile to note that
8288 menuselect-tree depends on the configure script.
8290 2007-10-02 19:01 +0000 [r84410-84437] Jason Parker <jparker@digium.com>
8292 * res/res_features.c: Fix some odd formatting I missed..
8294 * res/res_features.c: Finish up on transferee channel before return
8295 on failure. Issue 10821, patch by Ivan
8297 2007-10-02 14:12 +0000 [r84370] Russell Bryant <russell@digium.com>
8299 * channels/chan_sip.c: Use snprintf instead of sprintf in one
8300 place. There is no vulnerability here due to various buffer sizes
8301 around the code, but I still didn't like seeing a non
8302 length-limited copy of data coming off of the wire into a stack
8303 buffer, as this would be a problem in the future if buffer sizes
8304 elsewhere got changed or size limitations removed ...
8306 2007-10-02 09:48 +0000 [r84345] Christian Richter <christian.richter@beronet.com>
8308 * channels/chan_misdn.c: terminate USERUSER String with 0
8310 2007-10-01 21:52 +0000 [r84291] Jason Parker <jparker@digium.com>
8312 * Makefile, Makefile.rules, channels/Makefile: Add dist-clean
8313 support for subdirs. Change h323 to only remove the Makefile on a
8314 dist-clean, rather than a clean. This fixes a bug I found with
8315 trying to run make after a make clean
8317 2007-10-01 21:25 +0000 [r84274] Dwayne M. Hubbard <dhubbard@digium.com>
8319 * main/channel.c, main/manager.c, channels/chan_agent.c: moved
8320 get_base_channel() code from action_redirect to
8321 ast_channel_masquerade() for issue 7706 and BE-160
8323 2007-10-01 21:18 +0000 [r84273] Steve Murphy <murf@digium.com>
8325 * pbx/pbx_ael.c: Anything to keep gcc 4.2 happy...
8327 2007-10-01 21:07 +0000 [r84271] Russell Bryant <russell@digium.com>
8329 * main/utils.c, include/asterisk/lock.h: Fulfull a feature request
8330 from Qwell on the "core show locks" output. It will now note the
8331 lock type for each lock that a thread holds. (mutex, rdlock, or
8334 2007-10-01 20:27 +0000 [r84239] Steve Murphy <murf@digium.com>
8336 * pbx/ael/ael.tab.c, pbx/ael/ael.y, pbx/pbx_ael.c: closes issue
8337 #10777 -- by returning a null for the parse tree when there's
8338 really nothing there, and making sure we don't try to do checking
8341 2007-10-01 19:56 +0000 [r84166-84236] Russell Bryant <russell@digium.com>
8343 * res/res_agi.c: Add another sanity check in the AGI read loop. We
8344 really don't care about EAGAIN unless we didn't read an entire
8345 line. If there is a newline at the end if the read buffer, break,
8346 because we got the whole thing. (reported and patched by bmd)
8348 * include/asterisk/lock.h: Show rwlocks in the "core show locks"
8349 output. Before, it only showed mutexes.
8351 * channels/Makefile: Remove another file in "make clean". (closes
8352 issue #10814, paravoid)
8354 * apps/app_dial.c: Simplify the CAN_EARLY_BRIDGE macro a bit.
8356 2007-10-01 14:10 +0000 [r84158-84163] Joshua Colp <jcolp@digium.com>
8358 * configs/usbradio.conf.sample (removed): Remove chan_usbradio
8359 config file from tree, it is not present in here. (closes issue
8360 #10839) Reported by: casper
8362 * res/res_musiconhold.c: Fix randomness. save_pos was being set to
8363 0 initially instead of -1, causing it to jump to position 0 when
8364 moh started. (closes issue #10859) Reported by: jamesgolovich
8365 Patches: asterisk-mohpos2.diff.txt uploaded by jamesgolovich
8368 * apps/app_dial.c: Only attempt early bridging if the options given
8369 to Dial() permit it. (closes issue #10861) Reported by: peekyb
8371 2007-09-30 20:02 +0000 [r84146] Russell Bryant <russell@digium.com>
8373 * include/asterisk/module.h: Fix the AST_MODULE_INFO macro for C++
8374 modules. The load and reload parameters were in the wrong place.
8375 (closes issue #10846, alebm)
8377 2007-09-29 23:00 +0000 [r84133-84135] Steve Murphy <murf@digium.com>
8379 * pbx/ael/ael-test/ael-ntest22/t1/a.ael (added),
8380 pbx/ael/ael-test/ael-ntest22/t1/b.ael (added),
8381 pbx/ael/ael-test/ael-ntest22/t1/c.ael (added),
8382 pbx/ael/ael-test/ael-ntest22/t2/d.ael (added),
8383 pbx/ael/ael-test/ael-ntest22/t2/e.ael (added),
8384 pbx/ael/ael-test/ael-ntest22/t2/f.ael (added),
8385 pbx/ael/ael-test/ref.ael-test2, pbx/ael/ael-test/ref.ael-ntest22
8386 (added), pbx/ael/ael-test/ael-ntest22/t3/g.ael (added),
8387 pbx/ael/ael-test/ref.ael-test3,
8388 pbx/ael/ael-test/ael-ntest22/t3/h.ael (added),
8389 pbx/ael/ael-test/ref.ael-test4,
8390 pbx/ael/ael-test/ael-ntest22/t3/i.ael (added),
8391 pbx/ael/ael-test/ael-ntest22/t3/j.ael (added),
8392 pbx/ael/ael-test/ael-ntest22/qq.ael (added),
8393 pbx/ael/ael-test/ael-ntest22/t1 (added),
8394 pbx/ael/ael-test/ael-ntest22/t2 (added),
8395 pbx/ael/ael-test/ael-ntest22/t3 (added),
8396 pbx/ael/ael-test/ael-ntest22/extensions.ael (added),
8397 pbx/ael/ael-test/ael-ntest22 (added): This is a regression update
8398 that matches what I did in 84134 for AEL regressions.
8400 * pbx/ael/ael_lex.c, pbx/ael/ael.flex: This issue sort of closes
8401 10786; All config files support #include with globbing (you know,
8402 *,[chars],?,{list,list},etc), so I've updated the AEL system to
8405 2007-09-28 14:13 +0000 [r84049-84078] Tilghman Lesher <tlesher@digium.com>
8407 * main/say.c: Correct pronunciations of numbers for .nl (Closes
8410 * main/channel.c: Avoid a deadlock with ALL of the locks in the
8411 masquerade function, not just the pairs of channels. (Closes
8414 2007-09-27 23:12 +0000 [r84018] Dwayne M. Hubbard <dhubbard@digium.com>
8416 * main/manager.c, channels/chan_agent.c,
8417 include/asterisk/channel.h: if an Agent is redirected, the base
8418 channel should actually be redirected. This was causing multiple
8419 issues, especially issue 7706 and BE-160
8421 2007-09-27 00:01 +0000 [r83976] Russell Bryant <russell@digium.com>
8423 * pbx/pbx_dundi.c: remove a todo item that has been completed
8425 2007-09-26 23:53 +0000 [r83974] Kevin P. Fleming <kpfleming@digium.com>
8427 * channels/chan_alsa.c: avoid the weird usage of assert() in the
8428 ALSA header files that gcc 4.2 wants to complain about
8430 2007-09-26 21:35 +0000 [r83910-83943] Russell Bryant <russell@digium.com>
8432 * channels/chan_sip.c: I changed my mind ... I think this should be
8435 * channels/chan_sip.c: Add a log message that was requested by the
8436 masses in the developer tutorial session at Astricon. chan_sip
8437 did not output any message when a call was rejected because the
8438 extension was not found. This adds a verbose message (at verbose
8439 level 3) to note when this happens.
8441 * channels/chan_misdn.c: Fix building chan_misdn under dev-mode.
8442 (please run the configure script with --enable-dev-mode so this
8443 doesn't happen again ...)
8445 2007-09-26 18:35 +0000 [r83879] Tilghman Lesher <tlesher@digium.com>
8447 * channels/chan_zap.c: Remove unused 4k of memory on the program
8448 stack (closes issue #10827)
8450 2007-09-25 14:13 +0000 [r83637-83773] Tilghman Lesher <tlesher@digium.com>
8452 * main/app.c: jmls pointed out that unsetting the group and setting
8453 the group to the blank string aren't quite the same.
8455 * build_tools/make_defaults_h: In the source, keys are relative to
8456 the datadir, not varlib (which is the same in most cases, but
8457 it's good to be accurate). Closes issue #10811
8459 * doc/realtime.txt: Oops. Removed the unworkable workaround. This
8460 note should never have been in the release.
8462 * main/app.c: Making change to group splitting, as discussed on the
8463 -dev list. The main effect of this will be to permit
8464 Set(GROUP([cat])=), i.e. unsetting a group.
8466 2007-09-24 07:54 +0000 [r83620] Christian Richter <christian.richter@beronet.com>
8468 * channels/chan_misdn.c: fixed round_robin group dial method, this
8469 never worked well on BRI Ports (2 channels)
8471 2007-09-22 19:39 +0000 [r83558-83589] Steve Murphy <murf@digium.com>
8473 * pbx/pbx_ael.c: This closes issue #10788 -- The exact same fixes
8474 are made here for the first arg in the for(arg1; arg2; arg3) {}
8475 statement, as were done for the 3rd arg. It can now be an
8476 assignment that will embedded in a Set() app, or a macro call, or
8479 * pbx/pbx_ael.c: This closes issue #10788 -- the 3rd arg in the for
8480 statement is now wrapped in Set() only if there's an '=' in that
8481 string. Otherwise, if it begins with '&', then a Macro call is
8482 generated; otherwise it is made into an app call. A bit more
8483 accomodating, keeps the new guys happy, and the guys with ael-1
8484 code should be happy, too
8486 2007-09-21 14:37 +0000 [r83432] Russell Bryant <russell@digium.com>
8488 * main/rtp.c, channels/misdn_config.c, main/cdr.c, main/channel.c,
8489 channels/chan_misdn.c, pbx/ael/ael.tab.c, main/ast_expr2f.c,
8490 main/file.c, include/asterisk/sched.h, channels/chan_h323.c,
8491 pbx/pbx_dundi.c, utils/ael_main.c, main/ast_expr2.fl,
8492 channels/chan_mgcp.c, main/sched.c, res/res_config_pgsql.c,
8493 main/dnsmgr.c, channels/chan_sip.c, pbx/ael/ael.y,
8494 main/db1-ast/hash/hash.c, include/asterisk/channel.h,
8495 channels/chan_iax2.c: gcc 4.2 has a new set of warnings dealing
8496 with cosnt pointers. This set of changes gets all of Asterisk
8497 (minus chan_alsa for now) to compile with gcc 4.2. (closes issue
8498 #10774, patch from qwell)
8500 2007-09-21 13:34 +0000 [r83400] Joshua Colp <jcolp@digium.com>
8502 * channels/chan_sip.c: Fix video under certain circumstances. It
8503 would have been possible for the formats on the channel to not
8504 contain the video format. (closes issue #10782) Reported by:
8507 2007-09-20 21:16 +0000 [r83316-83348] Russell Bryant <russell@digium.com>
8509 * main/asterisk.c: When daemonizing, don't change working directory
8510 to "/". It makes it not be able to do a core dump when not
8511 running as uid=root. (closes issue #10766, xrg)
8513 * contrib/scripts/safe_asterisk: Change safe_asterisk to explicitly
8514 ask for /bin/bash, as it uses bashisms. (closes issue #10772,
8515 reported by culrich)
8517 2007-09-20 17:09 +0000 [r83246] Jason Parker <jparker@digium.com>
8519 * apps/app_disa.c: If # is pressed after dialing an extension in
8520 DISA, stop trying to collect more digits. (issue #10754) Reported
8521 by: atis Patches: app_disa.c.branch.patch uploaded by atis
8522 (license 242) app_disa.c.trunk.patch uploaded by atis (license
8525 2007-09-20 16:25 +0000 [r83230-83232] Joshua Colp <jcolp@digium.com>
8527 * channels/chan_sip.c: Make sure the minimum T1 timer value is
8528 obeyed in all cases. (closes issue #10768) Reported by: flefoll
8529 Patches: chan_sip.c.trunk.83071.retrans-patch uploaded by flefoll
8530 (license 244) chan_sip.c.br14.83070.retrans-patch uploaded by
8531 flefoll (license 244)
8533 * channels/chan_sip.c: Fix a minor spelling error. (closes issue
8534 #10769) Reported by: flefoll Patches:
8535 chan_sip.c.trunk.83071.inita-patch uploaded by flefoll (license
8536 244) chan_sip.c.br14.83070.inita-patch uploaded by flefoll
8539 2007-09-19 19:50 +0000 [r83121-83179] Russell Bryant <russell@digium.com>
8541 * apps/app_system.c: The System() and TrySystem() applications can
8542 take a substantial amount of time to execute while not servicing
8543 the channel. So, put the channel in autoservice while the command
8544 is being executed. (closes issue #10726, reported by mnicholson)
8546 * funcs/func_curl.c: Using curl can take a substantial amount of
8547 time, so the channel should be autoserviced while waiting for it
8548 to complete. (closes issue #10725, reported by mnicholson)
8550 * channels/chan_iax2.c: When handling a reload of chan_iax2, don't
8551 use an ao2_callback() to POKE all peers. Instead, use an
8552 iterator. By using an iterator, the peers container is not locked
8553 while the POKE is being done. It can cause a deadlock if the
8554 peers container is locked because poking a peer will try to lock
8555 pvt structs, while there is a lot of other code that will hold a
8556 pvt lock when trying to go lock the peers container. (reported to
8557 me directly by Loic Didelot. Thank you for the debug info!)
8559 * main/manager.c: Fix up another potential race condition. Do the
8560 loop decrementing use count on events with the eventq protected
8561 from being changed. (reported on IRC by Ivan)
8563 2007-09-19 13:47 +0000 [r83070-83074] Joshua Colp <jcolp@digium.com>
8565 * apps/app_queue.c: Protect the CDR record from modification by
8566 pbx_exec so that the application data contains the Queue data.
8567 (closes issue #10761) Reported by: snar Patches:
8568 app-queue-mixmonitor.patch uploaded by snar (license 245)
8570 * channels/chan_sip.c: (closes issue #10760) Reported by: dimas
8571 Patches: chan_sip.patch uploaded by dimas (license 88) Read in
8572 subscribecontext option in general to be the default.
8574 2007-09-19 09:32 +0000 [r83023-83024] Christian Richter <christian.richter@beronet.com>
8576 * channels/chan_misdn.c: removed comment which violates the coding
8579 * channels/misdn_config.c, channels/chan_misdn.c,
8580 channels/misdn/chan_misdn_config.h: added 'astdtmf' option to
8581 allow configuring the asterisk dtmf detector instead of the
8582 mISDN_dsp ones. also added the patch from irroot #10190, so that
8583 dtmf tones detected by the asterisk detector are passed outofband
8584 to asterisk, to make any use of dtmf tones at all.
8586 2007-09-19 00:19 +0000 [r82992] Russell Bryant <russell@digium.com>
8588 * apps/app_flash.c: Change the description of app_flash to note how
8589 it can be a useful tool instead of just saying that it is
8590 generally a worthless feature. (Thanks to Jim Van Meggelen for
8591 pointing it out and providing the proposed text)
8593 2007-09-18 23:41 +0000 [r82961] Joshua Colp <jcolp@digium.com>
8595 * apps/app_queue.c: Initialize a variable to NULL to make the world
8598 2007-09-18 22:42 +0000 [r82929] Russell Bryant <russell@digium.com>
8600 * include/asterisk/agi.h, res/res_agi.c: Add a new patch to handle
8601 interrupting the fgets() call when using FastAGI. This version of
8602 the patch maintains the original behavior of the code when not
8603 using FastAGI. (closes issue #10553) Reported by: juggie Patches:
8604 res_agi_fgets-4.patch uploaded by juggie (license 24)
8605 res_agi_fgets_1.4svn.patch uploaded by juggie (license 24) Slight
8606 mods by me Tested by: juggie, festr
8608 2007-09-18 21:49 +0000 [r82887-82913] Doug Bailey <dbailey@digium.com>
8610 * main/manager.c: Corrected patch applied in revision r82887.
8612 * main/manager.c: Fixed a bug where http manager sessions prevented
8613 the eventq from being cleaned out because http manager sessions
8614 do not have a valid file descriptor.
8616 2007-09-18 20:56 +0000 [r82867] Russell Bryant <russell@digium.com>
8618 * main/manager.c: Fix a memory leak that can occur on systems under
8619 higher load. The issue is that when events are appended to the
8620 master event queue, they use the number of active sessions as a
8621 use count so it will know when all active sessions at the time
8622 the event happened have consumed it. However, the handling of the
8623 number of sessions was not properly synchronized, so the use
8624 count was not always correct, causing an event to disappear
8625 early, or get stuck in the event queue for forever. (closes issue
8626 #9238, reported by bweschke, patch from Ivan, modified by me)
8628 2007-09-18 20:09 +0000 [r82865] Mark Michelson <mmichelson@digium.com>
8630 * apps/app_queue.c: Moving the logic for handling an empty
8631 membername to the create_member function so that there is a
8632 common place where this occurs instead of being spread out to
8633 several different places.
8635 2007-09-18 18:59 +0000 [r82834] Kevin P. Fleming <kpfleming@digium.com>
8637 * apps/app_queue.c: there is no need for conditional logic to
8638 select ->interface or ->membername, snince ->membername will
8641 2007-09-18 16:31 +0000 [r82802] Russell Bryant <russell@digium.com>
8643 * pbx/pbx_dundi.c: When copying the contents from the wildcard
8644 peer, do a deep copy instead of shallow copy so that it doesn't
8645 crash when beging destroyed. (closes issue #10546, patch by me)
8647 2007-09-18 15:28 +0000 [r82751] Jason Parker <jparker@digium.com>
8649 * configs/sip.conf.sample: Correct the allowexternaldomains option
8650 in SIP sample config. Issue 10753
8652 2007-09-17 20:16 +0000 [r82594-82676] Russell Bryant <russell@digium.com>
8654 * apps/app_voicemail.c, main/stdtime/localtime.c: Put a memset in
8655 ast_localtime() instead of a couple places in app_voicemail to
8656 prevent the problem everywhere instead of just a couple of
8657 places. (related to issue #10746)
8659 * apps/app_voicemail.c: Initialize some memory to fix crashes when
8660 leaving voicemail. This problem was fixed by running Asterisk
8661 under valgrind. (closes issue #10746, reported by arcivanov,
8662 patched by me) *** IMPORTANT NOTE: We need to check to see if
8663 this same bug exists elsewhere.
8665 * res/res_features.c: Handle the case where there are multiple
8666 dynamic features with the same digit mapping, but won't always
8667 match the activated on/by access controls. In that case, the code
8668 needs to keep trying features for a match. (reported by Atis on
8669 the asterisk-dev list, patched by me)
8671 2007-09-17 16:40 +0000 [r82590-82592] Kevin P. Fleming <kpfleming@digium.com>
8673 * channels/chan_iax2.c: revert a change that wasn't supposed to be
8676 * apps/app_queue.c, channels/chan_iax2.c: fix a couple of places
8677 where a logical member name (if specified) was not used, but
8678 instead the direct interface was listed
8680 2007-09-17 02:00 +0000 [r82514] Joshua Colp <jcolp@digium.com>
8682 * main/pbx.c: (closes issue #10734) Reported by: asgaroth Instead
8683 of passing a NULL pointer into snprintf pass "". It makes Solaris
8686 2007-09-14 21:19 +0000 [r82444] Steve Murphy <murf@digium.com>
8688 * main/cdr.c: closes issue #10668; thanks to arkadia for his patch;
8689 had to leave out the bit about ending the previous cdr in the
8690 fork; it would destroy current implementations.
8692 2007-09-14 21:17 +0000 [r82435] Russell Bryant <russell@digium.com>
8694 * configs/zapata.conf.sample: Add a note to help clarify the value
8695 set with the echocancel option. (inspired by Malcolm's blog post
8696 on blogs.digium.com about HPEC)
8698 2007-09-14 18:35 +0000 [r82396-82398] Mark Michelson <mmichelson@digium.com>
8700 * apps/app_queue.c: Crap, I broke the build. Fixed.
8702 * apps/app_queue.c: Adding member name field to manager events
8703 where they were missing before (closes issue #10721, reported by
8706 2007-09-14 17:48 +0000 [r82394] Jason Parker <jparker@digium.com>
8708 * channels/chan_zap.c: If a channel does not have an owner, do not
8709 try to set a channel variable. This will end up making the
8710 channel variable global, which is not right. Closes issue #10720,
8713 2007-09-14 15:50 +0000 [r82382-82385] Russell Bryant <russell@digium.com>
8715 * build_tools/menuselect-deps.in, configure,
8716 include/asterisk/autoconfig.h.in, configure.ac, makeopts.in: Add
8717 checking for libusb here, so nobody has to deal with conflicts in
8718 the chan_usbradio-1.4 branch every time the configure script gets
8721 * channels/chan_usbradio.c (removed), channels/xpmr (removed),
8722 channels/Makefile: Remove chan_usbradio from the main 1.4 branch.
8723 It can't live here because we have a strict policy to not include
8724 new features in release branches. However, I'm going to merge it
8725 into trunk, and I also have a special 1.4 based branch that
8726 includes this module. svn co
8727 http://svn.digium.com/svn/asterisk/team/jdixon/chan_usbradio-1.4
8729 2007-09-14 14:42 +0000 [r82376] Mark Michelson <mmichelson@digium.com>
8731 * doc/CODING-GUIDELINES: Fixing a typo in the coding guidelines
8732 (closes issue #10717, reported and patched by leedm777)
8734 2007-09-14 01:24 +0000 [r82368] Jim Dixon <telesistant@hotmail.com>
8736 * apps/app_rpt.c: Fixed problem with changes made to cdr
8739 2007-09-14 00:52 +0000 [r82367] Kevin P. Fleming <kpfleming@digium.com>
8741 * channels/chan_usbradio.c: this new driver may not live in this
8742 branch for long (since it is a new feature), but it definitely
8743 should not be built by default
8745 2007-09-14 00:34 +0000 [r82366] Jim Dixon <telesistant@hotmail.com>
8747 * apps/app_rpt.c, channels/xpmr/xpmr_coef.h (added),
8748 channels/chan_usbradio.c (added), channels/xpmr/xpmr.h (added),
8749 channels/xpmr (added), channels/xpmr/LICENSE (added),
8750 channels/xpmr/sinetabx.h (added), configs/usbradio.conf.sample
8751 (added), channels/Makefile, channels/xpmr/xpmr.c (added): Added
8752 channel driver for USB Radio device and support thereof.
8754 2007-09-13 23:11 +0000 [r82358] Jason Parker <jparker@digium.com>
8756 * pbx/pbx_spool.c: Fix a small typo. retrytime > waittime
8758 2007-09-13 20:16 +0000 [r82346] Mark Michelson <mmichelson@digium.com>
8760 * apps/app_queue.c: Preemptively fixing a possible segfault. It is
8761 possible that queuename is NULL (meaning pause ALL queues), so
8762 use q->name instead.
8764 2007-09-13 20:11 +0000 [r82344] Jason Parker <jparker@digium.com>
8766 * cdr/cdr_csv.c: Fix a crash that could occur in cdr_csv when
8767 mutliple threads tried to close the same file. Do we actually
8768 need the locking here? What happens if you open the same file
8769 twice, and two threads try to write to it at the same time? Is
8770 fputs() going to write out the entire line at once? I suspect
8771 that it could be possible for the second fopen to run during the
8772 first fputs, so the position could be in the middle of the
8773 previously written line... Issue 10347, initial patch by
8774 explidous (but I removed all of the paranoia stuff..)
8776 2007-09-13 18:57 +0000 [r82337-82339] Russell Bryant <russell@digium.com>
8778 * main/astobj2.c: resolve a warning when not building under dev
8781 * main/astobj2.c, main/asterisk.c, include/asterisk.h: Only compile
8782 in tracking astobj2 statistics if dev-mode is enabled. Also, when
8783 dev mode is enabled, register the CLI command that can be used to
8784 run the astobj2 test and print out statistics.
8786 2007-09-13 18:12 +0000 [r82335] Kevin P. Fleming <kpfleming@digium.com>
8788 * /, LICENSE: Merged revisions 82334 via svnmerge from
8789 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
8790 r82334 | kpfleming | 2007-09-13 11:10:12 -0700 (Thu, 13 Sep 2007)
8791 | 2 lines clarify the OpenSSL and OpenH323 license exceptions
8794 2007-09-13 16:25 +0000 [r82326] Mark Michelson <mmichelson@digium.com>
8796 * apps/app_queue.c: Added logic to handle the unlikely case that
8797 someone has two queues with the same name. Asterisk will log a
8798 warning message letting the user know that one was already
8799 defined with that name and is it skipping all further instances.
8800 This also will work for realtime queues but in order for that to
8801 happen, the user would have to trigger a perfectly timed reload
8802 as a realtime queue is being looked up, which is highly unlikely
8803 (but taken care of nonetheless).
8805 2007-09-13 11:47 +0000 [r82309] Philippe Sultan <philippe.sultan@gmail.com>
8807 * channels/chan_gtalk.c: Closes issue #9401, reported and patched
8808 by irrot, with slight modifications by me. Handle DTMF sent by
8811 2007-09-12 21:56 +0000 [r82296] Russell Bryant <russell@digium.com>
8813 * res/res_agi.c: Fix a check of the wrong pointer, as pointed out
8814 by an XXX comment left in the code. The problem was harmless,
8817 2007-09-12 21:28 +0000 [r82291] Tilghman Lesher <tlesher@digium.com>
8819 * main/stdtime/tzfile.h: Oops, wrong location for FreeBSD zone
8822 2007-09-12 20:24 +0000 [r82286] Dwayne M. Hubbard <dhubbard@digium.com>
8824 * apps/app_meetme.c: remove a race condition for the creation of
8825 recordthread's, and fix a small memory leak. This closes issue#
8828 2007-09-12 20:12 +0000 [r82285] Tilghman Lesher <tlesher@digium.com>
8830 * main/stdtime/private.h, main/stdtime/tzfile.h,
8831 include/asterisk/localtime.h, main/stdtime/localtime.c: Working
8832 on issue #10531 exposed a rather nasty 64-bit issue on
8833 ast_mktime, so we updated the localtime.c file from source. Next
8834 we'll have to write ast_strptime to match.
8836 2007-09-12 15:16 +0000 [r82278-82280] Russell Bryant <russell@digium.com>
8838 * main/asterisk.c: Clean up the output of "asterisk -h". This
8839 tweaks the wording and wraps lines at 80 characters. (closes
8840 issue #10699, seanbright)
8842 * res/res_agi.c: revert patch from issue #10553, as someone not
8843 using fastagi reported that this broke their system.
8845 2007-09-12 14:30 +0000 [r82274-82276] Mark Michelson <mmichelson@digium.com>
8847 * apps/app_voicemail.c: Accidentally committed changes to
8848 app_voicemail which do NOT need to be in the 1.4 branch yet.
8851 * apps/app_voicemail.c, apps/app_queue.c: We should only initialize
8852 a realtime queue when it is allocated, not every time we access
8853 it. This prevents the members ao2_container from being
8854 reallocated every time the queue is accessed. I also removed a
8855 debug message I had accidentally left in on a previous commit.
8857 2007-09-11 22:37 +0000 [r82267] Russell Bryant <russell@digium.com>
8859 * apps/app_queue.c: Fix incorrect uses of ao2_find(). Every one of
8860 these calls was reading bogus memory ...
8862 2007-09-11 21:41 +0000 [r82265] Joshua Colp <jcolp@digium.com>
8864 * codecs/gsm/src/lpc.c, codecs/gsm/src/long_term.c: (closes issue
8865 #10679) Reported by: andrew Build under dev mode when K6OPTS is
8868 2007-09-11 20:49 +0000 [r82263] Russell Bryant <russell@digium.com>
8870 * apps/app_queue.c: Fix another missing unref of member objects.
8871 This one was pointed out by Marta. When building the outgoing
8872 list in try_calling(), a member reference is stored in each
8873 outgoing entry. However, when this list got destroyed, the
8874 reference was not released.
8876 2007-09-11 20:36 +0000 [r82261] Steve Murphy <murf@digium.com>
8878 * main/cdr.c: this change should fix issue # 10659 -- what I worry
8879 about is how many other bug reports it may generate. Hopefully,
8880 we can please the/a majority. Hopefully. We shall see. Calls not
8881 marked ANSWERED and with only one channel name will not be
8882 posted. This should eliminate the double CDR's.
8884 2007-09-11 16:05 +0000 [r82252] Mark Michelson <mmichelson@digium.com>
8886 * apps/app_queue.c: All instances of ao2_iterators which were just
8887 named 'i' have been renamed to 'mem_iter' so that when refcounted
8888 queues are merged into trunk, there will be little confusion
8889 regarding iterator names, especially when a queue and member
8890 iterator are used in the same function.
8892 2007-09-11 16:03 +0000 [r82250] Russell Bryant <russell@digium.com>
8894 * pbx/pbx_dundi.c: The sample dundi.conf claims support for a
8895 wildcard peer entry - [*], but the code did not support it. This
8896 patch makes it work. (closes issue #10546, patch by dds, with
8899 2007-09-11 16:01 +0000 [r82249] Christian Richter <christian.richter@beronet.com>
8901 * channels/misdn/isdn_lib.c, channels/chan_misdn.c: fixed a
8902 hold/retrieve issue.
8904 2007-09-11 15:26 +0000 [r82245] Russell Bryant <russell@digium.com>
8906 * res/res_agi.c: (closes issue #10553) Reported by: juggie Patches:
8907 res_agi_fgets-2.patch uploaded by juggie (license 24) Tested by:
8908 juggie When using fastagi, fgets() can return before a full line
8909 is read. Add explicit handling for the case where it gets
8912 2007-09-11 14:56 +0000 [r82243] Joshua Colp <jcolp@digium.com>
8914 * pbx/pbx_dundi.c: (closes issue #10577) Reported by: jamesgolovich
8915 Patches: asterisk-dundifree.diff.txt uploaded by jamesgolovich
8916 (license 176) Don't leak memory when unloading DUNDi.
8918 2007-09-11 14:34 +0000 [r82198-82240] Russell Bryant <russell@digium.com>
8920 * apps/app_queue.c: Add a couple more missing unrefs of queue
8923 * apps/app_queue.c: Add a missing unref of a queue member in an
8924 error handling block
8926 * apps/app_queue.c: Document why membercount can not simply be
8927 replaced by ao2_container_count()
8929 * main/astobj2.c: backport astobj2 race condition fix. This
8930 function is the exact same as trunk so it applies here as well.
8932 2007-09-10 18:02 +0000 [r82155] Tilghman Lesher <tlesher@digium.com>
8934 * apps/app_queue.c: Convert struct member to use refcounts (closes
8937 2007-09-10 15:02 +0000 [r82091] Mark Michelson <mmichelson@digium.com>
8939 * configs/misdn.conf.sample: Removing non-existent options from
8940 misdn configuration sample. (closes issue #10678, reported and
8943 2007-09-09 02:35 +0000 [r82028] Tilghman Lesher <tlesher@digium.com>
8945 * include/asterisk/lock.h: Fix inline compiles on really old
8946 compilers (who uses gcc 2.7 anymore, really?)
8948 2007-09-08 18:41 +0000 [r81952-81997] Russell Bryant <russell@digium.com>
8950 * main/asterisk.c: Fix a small memory leak. ast_unregister_atexit()
8951 did not free the entry it removed.
8953 * .cleancount: (closes issue #10672) Bump the cleancount so that a
8954 "make clean" will be forced. This is needed because my fix in
8955 revision 81599 made a change to a data structure in file.h, and
8956 since file dependency tracking is only on with dev-mode enabled,
8957 file format modules that don't get rebuilt may crash, as is the
8958 case with this issue. This makes me wonder - how much faster does
8959 the code build without the file dependency tracking enabled? If
8960 it doesn't make much of a difference, then it may be worth just
8961 keeping it on all of the time, or perhaps just not in release
8962 tarballs, so that this type of issue is avoided.
8964 2007-09-07 19:48 +0000 [r81923] Jason Parker <jparker@digium.com>
8966 * apps/app_queue.c: Allow the MEMBERINTERFACE variable to be used
8967 as the mixmonitor filename. This moves the setting of the
8968 MEMBERINTERFACE variable to before mixmonitor. Issue 10671, patch
8971 2007-09-07 15:25 +0000 [r81886] Mark Michelson <mmichelson@digium.com>
8973 * configs/queues.conf.sample: Moving the explanation for joinempty
8974 to a more appropriate place
8976 2007-09-06 22:28 +0000 [r81832] Russell Bryant <russell@digium.com>
8978 * channels/chan_sip.c: (closes issue #9724, closes issue #10374)
8979 Reported by: kenw Patches: 9724.txt uploaded by russell (license
8980 2) Tested by: kenw, russell Resolve a deadlock that occurs when
8981 doing a SIP transfer to parking. I come across this type of
8982 deadlock fairly often it seems. It is very important to mind the
8983 boundary between the channel driver and the core in respect to
8984 the channel lock and the channel-pvt lock. Channel drivers lock
8985 to lock the pvt and then the channel once it calls into the core,
8986 while the core will do it in the opposite order. The way this is
8987 avoided is by having channel drivers either release their pvt
8988 lock while calling into the core, or such as in this case,
8989 unlocking the pvt just long enough to acquire the channel lock.
8991 2007-09-06 22:05 +0000 [r81778-81826] Jason Parker <jparker@digium.com>
8993 * Makefile: We added COPTS for ASTCFLAGS additions, but not LDOPTS
8994 for ASTLDFLAGS. This adds LDOPTS
8996 * include/asterisk/astobj2.h: This should fix a build issue that
8997 people building against uClibc were seeing with the addition of
9000 2007-09-06 19:40 +0000 [r81776] Joshua Colp <jcolp@digium.com>
9002 * apps/app_meetme.c: (closes issue #10122) Reported by:
9003 stevefeinstein Patches: meetme-unmute-manager.diff uploaded by
9004 qwell (license 4) Tested by: stevefeinstein After looking over
9005 the code I agree with Qwell. Setting the file descriptor to
9006 conference each time just causes a fight back and forth.
9008 2007-09-06 16:56 +0000 [r81743] Philippe Sultan <philippe.sultan@gmail.com>
9010 * include/asterisk/jabber.h, channels/chan_gtalk.c: Various string
9011 length fixes. Removed an unused variable in aji_client structure
9014 2007-09-06 16:25 +0000 [r81682-81713] Mark Michelson <mmichelson@digium.com>
9016 * apps/app_queue.c: Fixes an issue where valid DTMF had to be
9017 pressed twice to exit a queue if a member's phone was ringing.
9018 (closes issue #10655, reported by strider2k, patched by me)
9020 * res/res_features.c: Fixes a memory leak (closes issue #10658,
9021 reported and patched by Ivan)
9023 2007-09-06 14:20 +0000 [r81650] Philippe Sultan <philippe.sultan@gmail.com>
9025 * res/res_jabber.c: According to both RFC 3920 - section 9.1.2 -
9026 and Google's XMPP server complaint, if set, the 'from' attribute
9027 must be set to the user's full JID.
9029 2007-09-05 20:53 +0000 [r81599] Russell Bryant <russell@digium.com>
9031 * include/asterisk/file.h, main/say.c, res/res_features.c,
9032 main/file.c, include/asterisk/channel.h: Fix an issue that can
9033 occur when you do an attended transfer to parking. If you
9034 complete the transfer before the announcement of the parking spot
9035 finishes, then the channel being parked will hear the remainder
9036 of the announcement. These changes make it so that will not
9037 happen anymore. Basically, res_features sets a flag on the
9038 channel is playing the announcement to so that the file streaming
9039 core knows that it needs to watch out for a channel masquerade,
9040 and if it occurs, to abort the announcement. (closes BE-182)
9042 2007-09-05 17:18 +0000 [r81569] Tilghman Lesher <tlesher@digium.com>
9044 * include/asterisk/lock.h: Solaris x86 compatibility fix
9046 2007-09-05 15:19 +0000 [r81525] Mark Michelson <mmichelson@digium.com>
9048 * apps/app_queue.c: Fixing the build...
9050 2007-09-05 15:14 +0000 [r81523] Jason Parker <jparker@digium.com>
9052 * channels/chan_phone.c: Do not try to unregister a NULL channel
9053 tech. Also changed load_module function to use defines rather
9054 than numbers for return values. Issue 10651, patch by
9055 rbraun_proformatique, with additions by me.
9057 2007-09-05 15:03 +0000 [r81520] Mark Michelson <mmichelson@digium.com>
9059 * apps/app_queue.c: Reverting behavior of QUEUE_MEMBER_COUNT to
9060 only count members who are logged in and available. (related to
9061 issue #10652, reported by wuwu)
9063 2007-09-05 13:11 +0000 [r81492] Joshua Colp <jcolp@digium.com>
9065 * main/channel.c: (closes issue #10650) Reported by: tacvbo Only
9066 print out that the spy was removed while holding the spy lock.
9068 2007-09-04 20:54 +0000 [r81453-81455] Jason Parker <jparker@digium.com>
9070 * apps/app_followme.c: Rather than attempt to play a file, we can
9071 just check whether it exists. Issue 10634, patch by me, testing
9072 by pabelanger, sanity checked by bweschke
9074 * configs/followme.conf.sample: Change default followme config file
9075 to point to the correct files. Issue 10644, patch by pabelanger
9077 2007-09-04 18:37 +0000 [r81448] Russell Bryant <russell@digium.com>
9079 * main/astobj2.c, include/asterisk/astobj2.h, channels/chan_iax2.c:
9080 Remove the typedefs on ao2_container and ao2_iterator. This is
9081 simply because we don't typedef objects anywhere else in
9082 Asterisk, so we might as well make this follow the same
9085 2007-09-04 16:40 +0000 [r81442] Kevin P. Fleming <kpfleming@digium.com>
9087 * channels/chan_sip.c: there is no point in sending 401
9088 Unauthorized to a UAS that sent us a properly-formatted
9089 Authentication header with the expected username and nonce but an
9090 incorrect response (which indicates the shared secret does not
9091 match)... instead, let's send 403 Forbidden so that the UAS
9092 doesn't retry with the same authentication credentials repeatedly
9094 2007-09-04 14:23 +0000 [r81435-81439] Joshua Colp <jcolp@digium.com>
9096 * channels/chan_iax2.c: (closes issue #10632) Reported by:
9097 jamesgolovich Patches: asterisk-iaxfirmwareleak.diff.txt uploaded
9098 by jamesgolovich (license 176) Fix memory leak when unloading
9099 chan_iax2. The firmware files were not being freed.
9101 * main/channel.c: (closes issue #10476) Reported by: mdu113 Only
9102 look for the end of a digit when waiting for a digit. This in
9103 turn disables emulation in the core.
9105 * main/dns.c: (closes issue #10610) Reported by: john Patches:
9106 dns.c.patch uploaded by john (license 218) Tested by: mvanbaak
9107 Don't return a match if no SRV record actually exists.
9109 2007-09-03 18:57 +0000 [r81433] Russell Bryant <russell@digium.com>
9111 * channels/chan_iax2.c: Remove a couple of calls to
9112 ast_string_field_free_pools() on peers in error handling blocks
9113 in the code for building peers. The peer object destructor does
9114 this and doing it twice will cause a crash. (closes issue #10625,
9115 reported by and patched by pnlarsson)
9117 2007-09-01 15:57 +0000 [r81426-81428] Mark Michelson <mmichelson@digium.com>
9119 * apps/app_queue.c: Changed a comment to be more accurate. (really
9120 this is just a test to make sure I can commit properly from home)
9122 * main/astobj2.c, include/asterisk/astobj2.h: Making match_by_addr
9123 into ao2_match_by_addr and making it available everywhere since
9124 it could be a handy callback to have
9126 2007-08-31 21:27 +0000 [r81418] Russell Bryant <russell@digium.com>
9128 * include/asterisk/astobj2.h: Remove references to a debugging
9129 parameter that does not exist
9131 2007-08-31 19:48 +0000 [r81416] Mark Michelson <mmichelson@digium.com>
9133 * apps/app_queue.c: Fixed broken behavior of a reload on realtime
9134 queues. Prior to this patch, if a reload was issued and a
9135 realtime queue had callers waiting in it, then the queue would be
9136 removed from the queue list, but it would not actually be freed
9137 (in fact, a debug message warning about a memory leak would come
9138 up). With this patch, reloads do not touch realtime queues at
9141 2007-08-31 19:16 +0000 [r81415] Tilghman Lesher <tlesher@digium.com>
9143 * funcs/func_logic.c: The IF() function was not allowing true
9144 values that had embedded colons (closes issue #10613)
9146 2007-08-31 18:44 +0000 [r81412] Jason Parker <jparker@digium.com>
9148 * apps/app_dial.c: Re-order dial options to be in line with the
9149 existing alpha order. Issue 10621, initial patch by junky
9151 2007-08-31 17:38 +0000 [r81410] Philippe Sultan <philippe.sultan@gmail.com>
9153 * channels/chan_gtalk.c: Make the 'gtalk show channels' CLI command
9154 available. Closes issue 10548, reported by keepitcool.
9156 2007-08-31 15:53 +0000 [r81406] Joshua Colp <jcolp@digium.com>
9158 * res/res_speech.c: Make it the engine's responsible to check for
9159 the presence of results.
9161 2007-08-31 15:51 +0000 [r81405] Kevin P. Fleming <kpfleming@digium.com>
9163 * codecs/codec_zap.c: add missing "transcoder show" (and deprecated
9164 "show transcoder") CLI commands that were in 1.2 but never added
9167 2007-08-31 14:38 +0000 [r81401-81403] Joshua Colp <jcolp@digium.com>
9169 * res/res_features.c: (closes issue #10618) Reported by: dimas
9170 Don't pass through the stopped sounds frame.... just drop it.
9172 * res/res_features.c: (closes issue #10009) Reported by: dimas
9173 Don't output a bridge failed warning message if it failed because
9174 one of the channels was part of the masquerade process. That is
9177 2007-08-30 22:05 +0000 [r81397] Mark Michelson <mmichelson@digium.com>
9179 * apps/app_queue.c: Removing an extraneous (and possibly
9180 misleading) log message. Firstly, if the announce file isn't
9181 found, the streaming functions will report it. Secondly, not all
9182 non-zero returns from play_file mean that the announce file
9183 wasn't found. Positive return values simply mean that a digit was
9184 pressed (most likely to skip through the announcement). (closes
9185 issue #10612, reported and patched by dimas)
9187 2007-08-30 21:23 +0000 [r81395] Joshua Colp <jcolp@digium.com>
9189 * channels/chan_sip.c: (closes issue #10514) Reported by: casper
9190 Patches: chan_sip.c.80129.diff uploaded by casper (license 55)
9191 Remove needless check for AUTH_UNKNOWN_DOMAIN. It was impossible
9192 for it to ever be that value.
9194 2007-08-30 21:11 +0000 [r81392] Steve Murphy <murf@digium.com>
9196 * main/cdr.c: via issue 10599, where 'CDR already initialized'
9197 messages are being generated. Since all channels will have an
9198 init'd CDR attached at creation time, this message is now
9199 particularly useless. Removed.
9201 2007-08-30 15:38 +0000 [r81383] Russell Bryant <russell@digium.com>
9203 * channels/h323/ast_h323.cxx: Add missing checks for the PTRACING
9204 define. (closes issue #10559, paravoid)
9206 2007-08-30 15:35 +0000 [r81381] Mark Michelson <mmichelson@digium.com>
9208 * apps/app_queue.c: Changed some manager event messages to reflect
9209 whether a queue member is a realtime member or not
9211 2007-08-30 15:33 +0000 [r81379] Russell Bryant <russell@digium.com>
9213 * configs/modem.conf.sample (removed), configs/enum.conf.sample,
9214 configs/extensions.ael.sample: Fix a typo, update a reload
9215 command, and remove an unused configuration file. (closes issue
9218 2007-08-30 14:53 +0000 [r81375] Joshua Colp <jcolp@digium.com>
9220 * main/pbx.c: (closes issue #10603) Reported by: jmls Patches:
9221 pbx.diff uploaded by jmls (license 141) Backport changes from
9222 81372. Add REASON dialplan variable for when an originated call
9223 fails and the failed extension is executed.
9225 2007-08-30 14:43 +0000 [r81373] Christian Richter <christian.richter@beronet.com>
9227 * channels/chan_misdn.c: Fixed some warnings.
9229 2007-08-30 14:23 +0000 [r81369] Joshua Colp <jcolp@digium.com>
9231 * res/res_features.c: (issue #10599) Reported by: dimas Handle the
9232 -1 control subclass during feature dialing (it indicates to stop
9235 2007-08-30 08:31 +0000 [r81367] Christian Richter <christian.richter@beronet.com>
9237 * channels/misdn/isdn_lib.c, channels/chan_misdn.c: Fixed a severe
9238 issue where a misdn_read would lock the channel, but read would
9239 not return because it blocks. later chan_misdn would try to queue
9240 a frame like a AST_CONTROL_ANSWER which could result in a
9241 deadlock situation. misdn_read will now not block forever
9242 anymore, and we don't queue the ANSWER frame at all when we
9243 already was called with misdn_answer -> answer would be called
9244 twice. Also we don't explicitly send a RELEASE_COMPLETE on
9245 receiption of a RELEASE anymore, because mISDN does that for us,
9246 this resulted in a problem on some switches, which would block
9247 our port after some calls for a short while.
9249 2007-08-29 16:35 +0000 [r81346-81349] Mark Michelson <mmichelson@digium.com>
9251 * apps/app_queue.c: This patch, in essence, will correctly pause a
9252 realtime queue member and reflect those changes in the realtime
9253 engine. (issue #10424, reported by irroot, patch by me) This
9254 patch creates a new function called update_realtime_member_field,
9255 which is a generic function which will allow any one field of a
9256 realtime queue member to be updated. This patch only uses this
9257 function to update the paused status of a queue member, but it
9258 lays the foundation for persisting the state of a realtime member
9259 the same way that static members' state is maintained when using
9260 the persistentmembers setting
9262 * apps/app_queue.c: Changed some tabs to spaces
9264 2007-08-29 15:57 +0000 [r81342] Russell Bryant <russell@digium.com>
9266 * main/Makefile: If chan_h323 is not being built, don't use g++ to
9267 do the final link of Asterisk. (in response to a question on the
9270 2007-08-29 15:52 +0000 [r81340] Mark Michelson <mmichelson@digium.com>
9272 * apps/app_queue.c: This fix creates a more accurate way of
9273 detecting whether realtime members were deleted. (closes issue
9274 10541, reported by Alric, patched by me) The REALLY nice things
9275 about this patch is that queue members now have a "realtime"
9276 field which will be true if the member is a realtime member. This
9277 means we can check this value prior to certain processing if it
9278 should ONLY be done for realtime members.
9280 2007-08-29 14:13 +0000 [r81331] Joshua Colp <jcolp@digium.com>
9282 * channels/chan_sip.c: (closes issue #9690) Reported by: mattv Make
9283 rtp timeouts work even if two RTP streams are directly bridged in
9286 2007-08-28 21:38 +0000 [r81226-81291] Russell Bryant <russell@digium.com>
9288 * channels/chan_iax2.c: Change the message about receiving a
9289 mini-frame before the first full voice frame to a DEBUG message.
9291 * pbx/pbx_dundi.c: revert unintentional changes in rev 81226
9293 * configs/indications.conf.sample, pbx/pbx_dundi.c: Add Russian
9294 tones. (closes issue #7953, hanabana)
9296 2007-08-28 14:12 +0000 [r81120-81189] Mark Michelson <mmichelson@digium.com>
9298 * contrib/scripts/vmail.cgi: Fixes a forwarding problem when using
9299 res_config_mysql (closes issue #10573, reported by chrisvaughan,
9300 patch suggested by chrisvaughan as well)
9302 * apps/app_queue.c: Resolve a potential deadlock. In this case, a
9303 single queue is locked, then the queue list. In changethread(),
9304 the queue list is locked, and then each individual queue is
9305 locked. Under the right circumstances, this could deadlock. As
9306 such, I have unlocked the individual queue before locking the
9307 queue list, and then locked the queue back after the queue list
9310 * channels/chan_agent.c: DTMF begin frames should be ignored so
9311 that when an agent acks a call with the '#' key, he doesn't cause
9312 a queue's announce file to be interrupted. Also went ahead and
9313 did the same for the '*' key and for ending a call. (closes issue
9314 #10528, reported by deskhack, patched by me)
9316 2007-08-27 17:27 +0000 [r81042-81074] Russell Bryant <russell@digium.com>
9318 * pbx/pbx_dundi.c: Add a \todo to note that this module leaks most
9319 of the memory it allocates on unload and should be fixed (when
9320 I'm not in the middle of something else ...).
9322 * pbx/pbx_dundi.c: explicity define a variable as a boolean
9324 * res/res_musiconhold.c: (closes issue #10419) Reported by:
9325 mustardman Patches: asterisk-mohposition.diff.txt uploaded by
9326 jamesgolovich (license 176) This patch fixes a few problems with
9327 music on hold. * Fix issues with starting at the beginning of a
9328 file when it shouldn't. * Fix the inuse counter to be decremented
9329 even if the class had not been set to be deleted when not in use
9330 anymore * Don't arbitrarily limit the number of MOH files to 255
9332 2007-08-27 15:01 +0000 [r81012] Joshua Colp <jcolp@digium.com>
9334 * channels/chan_sip.c: (closes issue #10561) Reported by: jesselang
9335 Patches: chan_sip-ChannelReload-20080825.patch uploaded by
9336 jesselang (license 202) Remove an extra \r\n to make the
9337 ChannelReload event conform with every other event.
9339 2007-08-27 14:55 +0000 [r81010] Mark Michelson <mmichelson@digium.com>
9341 * apps/app_queue.c: Found a case where the queue's membercount is
9342 off. It does not take into account dynamic members on a reload.
9344 2007-08-27 13:20 +0000 [r80974] Joshua Colp <jcolp@digium.com>
9346 * main/rtp.c: (closes issue #10562) Reported by: idkpmiller Correct
9347 jitter value output in the CLI to be as expected.
9349 2007-08-26 18:11 +0000 [r80932] Russell Bryant <russell@digium.com>
9351 * channels/chan_iax2.c: Remove an extra signal_condition() for the
9352 scheduler thread. (closes issue #10564, patch from casper)
9354 2007-08-25 17:37 +0000 [r80895] Russell Bryant <russell@digium.com>
9356 * channels/chan_iax2.c: Fix some issues with the handling of the
9357 scheduler in chan_iax2. Most of the places that scheduled items
9358 to be executed by the scheduler thread did not signal the
9359 scheduler thread to wake up so that it could recalculate the time
9360 until the next action. These changes will make the scheduler
9361 thread more responsive and ensure that actions get executed as
9362 close to when intended as possible instead of it being possible
9363 for very long delays.
9365 2007-08-24 22:59 +0000 [r80878] Dwayne M. Hubbard <dhubbard@digium.com>
9367 * apps/app_zapateller.c: An empty string is an empty callerid ...
9368 so zap it. This closes issue #10502, which was pointed out by
9369 dswartz. Thank you, and may the swartz be with you
9371 2007-08-24 21:22 +0000 [r80820-80849] Russell Bryant <russell@digium.com>
9373 * channels/chan_iax2.c: If dnsmgr is in use, and no DNS servers are
9374 available when Asterisk first starts, then don't give up on
9375 poking peers. Allow the poke to get rescheduled so that it will
9376 work once the dnsmgr is able to resolve the host. (closes issue
9377 #10521, patch by jamesgolovich)
9379 * main/dsp.c: Improve the debouncing logic in the DTMF detector to
9380 fix some reliability issues. Previously, this code used a shift
9381 register of hits and non-hits. However, if the start of the digit
9382 isn't clean, it is possible for the leading edge detector to miss
9383 the digit. These changes replace the flawed shift register logic
9384 and also does the debouncing on the trailing edge as well.
9385 (closes issue #10535, many thanks to softins for the patch)
9387 2007-08-24 19:52 +0000 [r80818] BJ Weschke <bweschke@btwtech.com>
9389 * apps/app_queue.c: A minor correction to the available logic of
9390 autofill. If a queue member is paused, they're not really
9391 "available" so don't count them as such. Somewhat related to
9394 2007-08-24 18:52 +0000 [r80789] Steve Murphy <murf@digium.com>
9396 * main/cdr.c: From a complaint by jmls, I realize that the message
9397 in cdr_disposition is unnecessary. To get failure disposition,
9398 just return -1; no use having more than one case do that.
9400 2007-08-24 15:51 +0000 [r80750] Mark Michelson <mmichelson@digium.com>
9402 * apps/app_voicemail.c: Fix a possible crash in IMAP voicemail.
9404 2007-08-24 15:41 +0000 [r80747] Tilghman Lesher <tlesher@digium.com>
9406 * main/pbx.c, UPGRADE.txt: Make the deprecation warning inline with
9407 the code, instead of only in documentation (closes issue #10549)
9409 2007-08-24 15:28 +0000 [r80722] Russell Bryant <russell@digium.com>
9411 * utils/ael_main.c: Tweak the formatting of this MODULEINFO block.
9412 I think this would have caused a "*" to get in the
9413 menuselect-tree file.
9415 2007-08-24 14:48 +0000 [r80689-80717] Steve Murphy <murf@digium.com>
9417 * utils/ael_main.c: This change addresses JerJer's complaint that
9418 aelparse builds and installs even if pbx_ael is unchecked in the
9421 * pbx/ael/ael.tab.c, pbx/ael/ael.y, pbx/ael/ael-test/ref.ael-test6:
9422 backport of 80649, a fix to an unreported problem in the ael
9423 parser, that results in a crash on a 64bit machine
9425 2007-08-24 11:42 +0000 [r80661] Philippe Sultan <philippe.sultan@gmail.com>
9427 * channels/chan_gtalk.c: Closes issue #10509 Googletalk calls are
9428 answered too early, which results in CDRs wrongly stating that a
9429 call was ANSWERED when the calling party cancelled a call before
9430 before being established. We must not answer the call upon
9431 reception of a 'transport-accept' iq packet, but this packet
9432 still needs to be acknowledged, otherwise the remote peer would
9433 close the call (like in #8970).
9435 2007-08-23 21:34 +0000 [r80601-80617] Dwayne M. Hubbard <dhubbard@digium.com>
9437 * channels/misdn/isdn_lib.c: make misdn/isdn_lib compile without
9440 * channels/chan_misdn.c: make chan_misdn compile without warnings
9442 2007-08-23 20:16 +0000 [r80539-80573] Russell Bryant <russell@digium.com>
9444 * include/asterisk/features.h, res/res_features.c: When executing a
9445 dynamic feature, don't look it up a second time by digit pattern
9446 after we already looked it up by name. This causes broken
9447 behavior if there is more than one feature defined with the same
9448 digit pattern. (closes issue #10539, reported by bungalow, patch
9451 * funcs/func_timeout.c: Revert very broken fix for issue #10540 ...
9452 none of these values take ms so I don't know what I was thinking
9454 * funcs/func_timeout.c: Fix func_timeout to take values in floating
9455 point so 1.5 actually means 1.5 seconds instead of being rounded.
9456 (closes issue #10540, reported by spendergrass, patch by me)
9458 2007-08-23 17:14 +0000 [r80505-80507] Jason Parker <jparker@digium.com>
9462 * /: use autotagged externals
9464 2007-08-23 17:08 +0000 [r80501] Kevin P. Fleming <kpfleming@digium.com>
9466 * channels/chan_zap.c: report the actual channel number that was
9467 unregistered, instead of assuming that the interface list
9468 consists of channels 1 through <x> with no gaps in the sequence
9470 2007-08-23 17:02 +0000 [r80360-80499] Russell Bryant <russell@digium.com>
9472 * channels/chan_iax2.c: Fix some code where it was possible for a
9473 reference to a peer to not get released when it should. Thank you
9474 to Marta Carbone for pointing this out!
9476 * main/astobj2.c, include/asterisk/astobj2.h, channels/chan_iax2.c:
9477 This is a hack to maintain old behavior of chan_iax2. This
9478 ensures that if the peers and users are being stored in a linked
9479 list, that they go in the list in the same order that the older
9480 code used. This is necessary to maintain the behavior of which
9481 peers and users get matched when traversing the container.
9483 * res/res_agi.c: Revert res_agi fix that didn't quite work until we
9486 * include/asterisk/astobj2.h: Add some more documentation on
9487 iterating ao2 containers. The documentation implies that is
9488 possible to miss an object or see an object twice while
9489 iterating. After looking through the code and talking with
9490 mmichelson, I have documented the exact conditions under which
9491 this can happen (which are rare and harmless in most cases).
9493 * main/astobj2.c: When converting this code to use the list macros,
9494 I changed it so objects are added to the head of a bucket instead
9495 of the tail. However, while looking over code with mmichelson, we
9496 noticed that the algorithm used in ao2_iterator_next requires
9497 that items are added to the tail. This wouldn't have caused any
9498 huge problem, but it wasn't correct. It meant that if an object
9499 was added to a container while you were iterating it, and it was
9500 added to the same bucket that the current element is in, then the
9501 new object would be returned by ao2_iterator_next, and any other
9502 objects in the bucket would be bypassed in the traversal.
9504 * channels/chan_sip.c: Don't crash when using realtime in chan_sip
9505 without an insecure setting in the database. (closes issue
9506 #10348, reported by link55, fixed by me)
9508 * main/astobj2.c (added), main/Makefile, include/asterisk/astobj2.h
9509 (added), doc/iax.txt, UPGRADE.txt, include/asterisk/strings.h,
9510 channels/chan_iax2.c: Merge changes from
9511 team/russell/iax_refcount. This set of changes fixes problems
9512 with the handling of iax2_user and iax2_peer objects. It was very
9513 possible for a thread to still hold a reference to one of these
9514 objects while a reload operation tries to delete them. The fix
9515 here is to ensure that all references to these objects are
9516 tracked so that they can't go away while still in use. To
9517 accomplish this, I used the astobj2 reference counted object
9518 model. This code has been in one of Luigi Rizzo's branches for a
9519 long time and was primarily developed by one of his students,
9520 Marta Carbone. I wanted to go ahead and bring this in to 1.4
9521 because there are other problems similar to the ones fixed by
9522 these changes, so we might as well go ahead and use the new
9523 astobj if we're going to go through all of the work necessary to
9524 fix the problems. As a nice side benefit of these changes, peer
9525 and user handling got more efficient. Using astobj2 lets us not
9526 hold the container lock for peers or users nearly as long while
9527 iterating. Also, by changing a define at the top of chan_iax2.c,
9528 the objects will be distributed in a hash table, drastically
9529 increasing lookup speed in these containers, which will have a
9530 very big impact on systems that have a large number of users or
9531 peers. The use of the hash table will be made the default in
9532 trunk. It is not the default in 1.4 because it changes the
9533 behavior slightly. Previously, since peers and users were stored
9534 in memory in the same order they were specified in the
9535 configuration file, you could influence peer and user matching
9536 order based on the order they are specified in the configuration.
9537 The hash table does not guarantee any order in the container, so
9538 this behavior will be going away. It just means that you have to
9539 be a little more careful ensuring that peers and users are
9540 matched explicitly and not forcing chan_iax2 to have to guess
9541 which user is the right one based on secret, host, and access
9542 list settings, instead of simply using the username. If you have
9543 any questions, feel free to ask on the asterisk-dev list.
9545 * res/res_agi.c: Juggie in #asterisk-dev was reporting problems
9546 where fgets would return without reading the whole line when
9547 using fastagi. When this happens, errno was set to EINTR or
9548 EAGAIN. This patch accounts for the possibility and lets fgets
9549 continue in that case.
9551 2007-08-22 18:53 +0000 [r80302-80330] Jason Parker <jparker@digium.com>
9553 * Makefile, build_tools/mkpkgconfig, build_tools/make_build_h,
9554 build_tools/strip_nonapi, build_tools/prep_moduledeps,
9555 build_tools/make_buildopts_h: Fix a few build issues in Solaris
9556 (and likely others). Use GREP and ID variables from autoconf.
9557 Reported to me in #asterisk-dev I forgot who reported this -
9560 * Makefile: Change a syntax that the GNU make in Solaris dislikes.
9562 * build_tools/make_version: Fix a bashism (we explicitly request
9563 /bin/sh). Remove some oddly placed quotes I found in passing.
9565 2007-08-22 16:21 +0000 [r80257] Russell Bryant <russell@digium.com>
9567 * Makefile: Honor the contents of the COPTS variable as custom
9568 target CFLAGS. Apparently this is what openwrt does. (reported by
9569 Brian Capouch on the asterisk-dev list, patch by me)
9571 2007-08-22 16:14 +0000 [r80255] Joshua Colp <jcolp@digium.com>
9573 * main/rtp.c: (closes issue #10526) Reported by: sinistermidget
9574 Revert commit from issue #10355 and return timestamp skew to 640.
9576 2007-08-21 Russell Bryant <russell@digium.com>
9578 * Asterisk 1.4.11 released.
9580 2007-08-21 18:42 +0000 [r80183] Russell Bryant <russell@digium.com>
9582 * channels/chan_sip.c: Don't record SIP dialog history if it's not
9583 turned on. Also, put an upper limit on how many history entires
9584 will be stored for each SIP dialog. It is currently set to 50,
9585 but can be increased if deemed necessary. (closes issue #10421,
9586 closes issue #10418, patches suggested by jmoldenhauer, patches
9587 updated by me) (Security implications documented in AST-2007-020)
9589 2007-08-21 16:39 +0000 [r80166-80167] Steve Murphy <murf@digium.com>
9591 * include/asterisk/alaw.h, include/asterisk/ulaw.h: ugh. removing
9592 the diffs from ulaw.h and alaw.h for now; accidentally added them
9595 * main/alaw.c, include/asterisk/alaw.h, include/asterisk/ulaw.h:
9596 This patch solves problem 1 in 8126; it should not slow down the
9597 alaw codec, but should prevent signal degradation via multiple
9598 trips thru the codec. Fossil estimates the twice thru this codec
9599 will prevent fax from working. 4-6 times thru would result
9600 hearable, noticeable, voice degradation.
9602 2007-08-21 15:22 +0000 [r80132] Russell Bryant <russell@digium.com>
9604 * channels/chan_mgcp.c: Don't try to dereference the owner channel
9605 when it may not exist (issue #10507, maxper)
9607 2007-08-21 15:03 +0000 [r80130] Jason Parker <jparker@digium.com>
9609 * configs/cdr.conf.sample: (issue #10510) Reported by: casper
9610 Patches: cdr.conf.diff uploaded by casper (license 55) Fix a few
9611 errors in sample cdr config file.
9613 2007-08-20 21:57 +0000 [r80088] Russell Bryant <russell@digium.com>
9615 * apps/app_queue.c: Fix the build of app_queue
9617 2007-08-20 21:39 +0000 [r80049-80086] Mark Michelson <mmichelson@digium.com>
9619 * apps/app_queue.c: After a discussion on #asterisk-dev, it was
9620 decided that this should be in 1.4 as well. (issue #10424,
9621 reported and patched by irroot)
9623 * apps/app_queue.c: Found a pointless ternary if. member->dynamic
9624 was set to 1 and has no opportunity to change between then and
9625 this line, so "dynamic" will ALWAYS be output.
9627 2007-08-20 16:08 +0000 [r80047] Jason Parker <jparker@digium.com>
9629 * configs/extensions.conf.sample: (issue #10499) Reported by:
9630 casper Patches: extensions.conf.sample.diff uploaded by casper
9631 (license 55) Update CLI examples in extensions.conf.sample to
9632 reflect command changes.
9634 2007-08-20 15:34 +0000 [r80044] Mark Michelson <mmichelson@digium.com>
9636 * apps/app_voicemail.c: Ukrainian language voicemail support.
9637 (closes issue #10458, reported and patched by Oleh)
9639 2007-08-20 02:42 +0000 [r79998] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
9641 * apps/app_voicemail.c: Missing curly braces. Oops. (Reported by
9644 2007-08-18 14:30 +0000 [r79947] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
9646 * apps/app_voicemail.c: Don't allocate vmu for messagecount when we
9647 could just use the stack instead (closes issue #10490) Also,
9648 remove a useless (and leaky) SQLAllocHandle (closes issue #10480)
9650 2007-08-17 21:01 +0000 [r79912] Russell Bryant <russell@digium.com>
9652 * channels/chan_zap.c: Avoid a crash in the handling of DTMF based
9653 Caller ID. It is valid for ast_read to return NULL in the case
9654 that the channel has been hung up. (crash reported by
9655 anonymouz666 on IRC in #asterisk-dev)
9657 2007-08-17 19:14 +0000 [r79906] Mark Michelson <mmichelson@digium.com>
9659 * apps/app_voicemail.c: Patch allows for more seamless transition
9660 from file storage voicemail to ODBC storage voicemail. If a
9661 retrieval of a greeting from the database fails, but the file is
9662 found on the file system, then we go ahead an insert the greeting
9663 into the database. The result of this is that people who switch
9664 from file storage to ODBC storage do not need to rerecord their
9665 voicemail greetings.
9667 2007-08-17 19:12 +0000 [r79902-79904] Jason Parker <jparker@digium.com>
9669 * channels/chan_sip.c, main/utils.c, include/asterisk/strings.h:
9670 Don't send a semicolon over the wire in sip notify messages.
9671 Caused by fix for issue 9938. I basically took the code that
9672 existed before 9938 was fixed, and copied it into a new function
9673 - ast_unescape_semicolon There should be very few places this
9674 will be needed (pbx_config does NOT need this (see issue 9938 for
9675 details)) Issue 10430, patch by me, with help/ideas from murf
9678 * channels/chan_local.c: Re-add the setting of callerid name and
9679 number. Issue 10485, reported by and fix explained by paradise.
9681 2007-08-17 13:37 +0000 [r79857] Russell Bryant <russell@digium.com>
9683 * channels/chan_sip.c: Fix some crashes in chan_sip. This patch
9684 changes various places that add items to the scheduler to ensure
9685 that they don't overwrite the ID of a previously scheduled item.
9686 If there is one, it should be removed. (closes issue #10391,
9687 closes issue #10256, probably others, patch by me)
9689 2007-08-17 08:22 +0000 [r79833] Christian Richter <christian.richter@beronet.com>
9691 * channels/chan_misdn.c: sometimes we don't need to signal dtmf
9692 tones to asterisk, we just want them to go through as inband.
9693 Otherwise they might be generated by the other channel partner
9694 and then there is a double tone.
9696 2007-08-16 22:32 +0000 [r79756-79792] Russell Bryant <russell@digium.com>
9698 * res/res_musiconhold.c: Fix a little race condition that could
9699 cause a crash if two channels had MOH stopped at the same time
9700 that were using a class that had been marked for deletion when
9701 its use count hits zero.
9703 * res/res_musiconhold.c: This patch fixes a bug where reloading the
9704 module with "module reload" did not delete classes from memory
9705 that were no longer in the config. This patch fixes that problem
9706 as well as another one. Previously, if you reloaded MOH using the
9707 "moh reload" CLI command, which behaved differently than "module
9708 reload ...", MOH had to be stopped on every channel and started
9709 again immediately. However, there was no way to tell what class
9710 was being used, so they would all fall back to the default class.
9711 (closes issue #10139) Reported by: blitzrage Patches:
9712 asterisk-10139-advanced.diff.txt uploaded by jamesgolovich
9713 (license 176) Tested by: jamesgolovich
9715 * channels/chan_iax2.c: Fix more deadlocks in chan_iax2 that were
9716 introduced by making frame handling and scheduling
9717 multi-threaded. Unfortunately, we have to do some expensive
9718 deadlock avoidance when queueing frames on to the ast_channel
9719 owner of the IAX2 pvt struct. This was already handled for
9720 regular frames, but ast_queue_hangup and ast_queue_control were
9721 still used directly. Making these changes introduced even more
9722 places where the IAX2 pvt struct can disappear in the context of
9723 a function holding its lock due to calling a function that has to
9724 unlock/lock it to avoid deadlocks. I went through and fixed all
9725 of these places to account for this possibility. (issue #10362,
9728 2007-08-16 21:16 +0000 [r79690-79748] Mark Michelson <mmichelson@digium.com>
9730 * channels/chan_agent.c: Fixes a problem where agents would get
9731 stuck busy due to their wrapuptime being longer than the queue's
9732 wrapuptime and ringinuse=no for the queue. (closes issue #10215,
9733 reported by Doug, repaired by me) Special thanks to fkasumovic
9734 for pointing out the source of the problem and to bweschke for
9735 helping to come up with a solution!
9737 * apps/app_voicemail.c: base_encode is not trying to open a log
9738 file, so we should not call it a log file in the warning.
9739 (related to issue #10452, reported by bcnit)
9741 2007-08-16 09:37 +0000 [r79665] Philippe Sultan <philippe.sultan@gmail.com>
9743 * res/res_jabber.c: A fix for two critical problems detected while
9744 working with Daniel McKeehan in issue #10184. Upon priority
9745 change, the resource list is not NULL terminated when moving an
9746 item to the end of the list. This makes Asterisk endlessy loop
9747 whenever it needs to read the list. Jids with different resource
9748 and priority values, like in Gmail's and GoogleTalk's jabber
9749 clients put that problem in evidence. Upon reception of a 'from'
9750 attribute with an empty resource string, Asterisk crashes when
9751 trying to access the found->cap pointer if the resource list for
9752 the given buddy is not empty. This situation is perfectly valid
9753 and must be handled. The Gizmoproject's jabber client put that
9754 problem in evidence. Also added a few comments in the code as
9755 well as a handle for the capabilities from Gmail's jabber client,
9756 which are stored in a caps:c tag rather than the usual c tag.
9757 Closes issue #10184.
9759 2007-08-16 08:21 +0000 [r79642] Christian Richter <christian.richter@beronet.com>
9761 * channels/misdn/ie.c: 0x80 + protocol is wrong for USERUSER when
9762 we want to send IA5 Chars.
9764 2007-08-15 14:40 +0000 [r79553] Joshua Colp <jcolp@digium.com>
9766 * main/rtp.c: (closes issue #10440) Reported by: irroot (closes
9767 issue #10454) Reported by: flo_turc Increase maximum timestamp
9768 skew to 120. 20 was apparently far too low.
9770 2007-08-15 14:26 +0000 [r79527] Mark Michelson <mmichelson@digium.com>
9772 * apps/app_voicemail.c: Fixed an error in the Russian language
9773 voicemail intro. (issue #10458, reported and patched by Oleh)
9775 2007-08-15 14:18 +0000 [r79523] Joshua Colp <jcolp@digium.com>
9777 * channels/chan_sip.c: (closes issue #10456) Reported by: irroot
9778 Patches: sip_timeout.patch uploaded by irroot (license 52) Change
9779 hardcoded timer value to defined value. I'm doing this in 1.4 as
9780 well so if it needs to be changed in the future this place would
9781 not have been forgotten.
9783 2007-08-14 18:49 +0000 [r79436-79470] Russell Bryant <russell@digium.com>
9785 * channels/chan_iax2.c: Fix another spot where an iax2_peer would
9786 be leaked if realtime was in use.
9788 * channels/chan_iax2.c: Fix some memory leaks throughout chan_iax2
9789 related to the use of realtime. I found these while working on
9790 iax2_peer object reference tracking.
9792 2007-08-14 15:27 +0000 [r79397] Joshua Colp <jcolp@digium.com>
9794 * res/res_features.c: (closes issue #10415) Reported by: atis
9795 Revert fix for #10327 as it causes more issues then it solves.
9797 2007-08-13 22:40 +0000 [r79363] Steve Murphy <murf@digium.com>
9799 * pbx/pbx_ael.c: memset really, really needs to be used here.
9801 2007-08-13 21:57 +0000 [r79334] Joshua Colp <jcolp@digium.com>
9803 * res/res_speech.c, apps/app_speech_utils.c,
9804 include/asterisk/speech.h: Instead of accepting a single DTMF
9805 character accept a full string.
9807 2007-08-13 20:37 +0000 [r79272-79301] Russell Bryant <russell@digium.com>
9809 * channels/chan_iax2.c: Don't call find_peer in
9810 registry_authrequest with the pvt lock held to avoid a deadlock.
9812 * channels/chan_iax2.c: Release the pvt lock before calling
9813 find_peer in register_verify to avoid a deadlock. Also, remove
9814 some unnecessary locking in auth_fail that was only done
9817 * channels/chan_iax2.c: Don't call find_peer within update_registry
9818 with a pvt lock held. This can cause a deadlock as the code will
9819 eventually call find_callno.
9821 * channels/chan_iax2.c: I am fighting deadlocks in chan_iax2. I
9822 have tracked them down to a single core issue. You can not call
9823 find_callno() while holding a pvt lock as this function has to
9824 lock another (every) other pvt lock. Doing so can lead to a
9825 classic deadlock. So, I am tracking down all of the code paths
9826 where this can happen and fixing them. The fix I committed
9827 earlier today was along the same theme. This patch fixes some
9828 code down the path of authenticate_reply.
9830 2007-08-13 17:49 +0000 [r79255] Steve Murphy <murf@digium.com>
9832 * pbx/ael/ael-test/ref.ael-vtest21 (added),
9833 pbx/ael/ael-test/ref.ael-test19,
9834 pbx/ael/ael-test/ael-vtest21/extensions.ael (added),
9835 pbx/ael/ael-test/ael-vtest21 (added),
9836 pbx/ael/ael-test/ref.ael-vtest17,
9837 pbx/ael/ael-test/ref.ael-ntest10, pbx/ael/ael-test/ref.ael-test1,
9838 pbx/ael/ael-test/ref.ael-test11, pbx/pbx_ael.c,
9839 pbx/ael/ael-test/ref.ael-test14, utils/ael_main.c: This patch
9840 fixes bug 10411. I added a new regression test, some regression
9843 2007-08-13 15:28 +0000 [r79214] Russell Bryant <russell@digium.com>
9845 * channels/chan_iax2.c: Fix a potential deadlock in socket_process.
9846 check_provisioning can eventually call find_callno. You can't
9847 hold a pvt lock while calling find_callno because it goes through
9848 and locks every single one looking for a match.
9850 2007-08-13 14:51 +0000 [r79174-79207] Joshua Colp <jcolp@digium.com>
9852 * res/res_speech.c, apps/app_speech_utils.c,
9853 include/asterisk/speech.h: Add an API call to allow the engine to
9854 know that DTMF was received.
9856 * channels/chan_oss.c, channels/chan_mgcp.c, channels/chan_phone.c,
9857 channels/chan_local.c, channels/chan_misdn.c,
9858 channels/chan_zap.c, channels/chan_sip.c, channels/chan_skinny.c,
9859 channels/chan_h323.c, channels/chan_gtalk.c,
9860 channels/chan_iax2.c: (closes issue #10437) Reported by: haklin
9861 Don't set the callerid name and number a second time on a newly
9862 created channel. ast_channel_alloc itself already sets it and
9863 setting it twice would cause a memory leak.
9865 2007-08-11 05:23 +0000 [r79142] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
9867 * res/res_odbc.c: Ensure the connection gets marked as used at
9868 allocation time (closes issue #10429, report and fix by
9871 2007-08-10 20:53 +0000 [r79044-79099] Steve Murphy <murf@digium.com>
9873 * main/channel.c, pbx/pbx_spool.c, include/asterisk/channel.h: From
9874 a user complaint on #asterisk, I have forced pbx_spool to explain
9875 what reason codes mean, when they are logged
9877 * main/cdr.c: Re bug behavior mentioned in #asterisk, made this
9878 tweak to code, to prevent hundreds of log messages from being
9881 * main/cdr.c: This will help debug; from a question asked on
9884 2007-08-10 Russell Bryant <russell@digium.com>
9886 * Asterisk 1.4.10.1 released.
9888 2007-08-10 15:20 +0000 [r78995] Russell Bryant <russell@digium.com>
9890 * include/asterisk/lock.h: The last set of changes that I made to
9891 "core show locks" made it not able to track mutexes unless they
9892 were declared using AST_MUTEX_DEFINE_STATIC. Locks initialized
9893 with ast_mutex_init() were not tracked. It should work now.
9895 2007-08-10 14:15 +0000 [r78951-78955] Joshua Colp <jcolp@digium.com>
9897 * main/file.c: Don't bother having the core pass through or emulate
9898 begin DTMF frames when in an ast_waitstream. It only cares about
9901 * configs/queues.conf.sample: (closes issue #10422) Reported by:
9902 bhowell Add note to sample configuration about module load order
9903 and how it can cause perfectly good queue members to be marked as
9906 2007-08-10 13:24 +0000 [r78936] Christian Richter <christian.richter@beronet.com>
9908 * channels/chan_misdn.c, channels/misdn/ie.c,
9909 channels/misdn/isdn_msg_parser.c: fixed a bug with the useruser
9910 information element. We send them now also in the disconnect
9913 2007-08-09 23:47 +0000 [r78907] Mark Michelson <mmichelson@digium.com>
9915 * apps/app_voicemail.c: Improved a bit of logic regarding
9916 comma-separated mailboxes in has_voicemail. Also added some
9917 braces to some compound if statements since unbraced if
9918 statements scare me in general.
9920 2007-08-09 23:10 +0000 [r78891] Steve Murphy <murf@digium.com>
9922 * Makefile: This fixes bug 10416; thanks to mvanbaak for the pretty
9925 2007-08-09 22:03 +0000 [r78826-78860] Mark Michelson <mmichelson@digium.com>
9927 * apps/app_voicemail.c: Removing some extra debug code I left in my
9930 * apps/app_voicemail.c: Quite a few changes regarding IMAP storage.
9931 1. instead of using inboxcount as the core message counting
9932 function, we use messagecount instead. This makes it possible to
9933 count messages in folders besides just INBOX and Old. 2.
9934 inboxcount and hasvoicemail now use messagecount as their means
9935 of determining return values. 3. Added a copy_message function
9936 for IMAP storage. Unfortunately I don't have the means to test
9937 it, but it seems like a pretty straightforward function. 4.
9938 Removed a #ifndef IMAP_STORAGE and matching #endif from
9939 leave_voicemail for a couple of reasons. One, we want to support
9940 copying mail to multiple IMAP boxes, and two, IMAP was broken
9941 because a STORE macro had been moved into this section of code.
9943 * channels/chan_sip.c: I broke canreinvite...Now I'm fixing it. I
9944 put some new code in the wrong place and so I've reverted the
9945 canreinvite section to how it was and put my new code where it
9948 2007-08-09 17:58 +0000 [r78717-78778] Russell Bryant <russell@digium.com>
9950 * apps/app_voicemail.c: add a comment to indicate that inboxcount
9951 for ODBC_STORAGE needs to be fixed to support multiple mailboxes
9953 * apps/app_voicemail.c: Fix subscriptions to multiple mailboxes for
9954 ODBC_STORAGE. Also, leave a comment for this to be fixed for
9955 IMAP_STORAGE, as well. I left IMAP alone since I know MarkM was
9956 working on this code right now for another reason. This is broken
9957 even worse in trunk, but for a different reason. The fact that
9958 the mailbox option supported multiple mailboxes is completely not
9959 obvious from the code in the channel drivers. Anyway, I will fix
9960 that in another commit ...
9962 * apps/app_meetme.c: Fix a problem with the combination of the 'F'
9963 option to pass DTMF through a conference and options that use
9964 DTMF to activate various features. The problem was that the BEGIN
9965 frame would be passed through, but the END frame would get
9966 intercepted to activate a feature. Then, the other conference
9967 members would hear DTMF for forever, which they didn't seem to
9968 like very much. (closes issue #10400, reported by stevefeinstein,
9971 2007-08-08 19:29 +0000 [r78646] Jason Parker <jparker@digium.com>
9973 * doc/jabber.txt: Fix mogs email address.
9975 2007-08-08 18:16 +0000 [r78575-78620] Mark Michelson <mmichelson@digium.com>
9977 * apps/app_voicemail.c: Fixed some compiler warnings so that
9978 compiling with dev-mode and IMAP storage would not have any
9979 errors. This section of code may get changed again shortly since
9980 my change uncovers a rather silly bit of logic.
9982 * apps/app_queue.c: Changing a bit of logic so that someone will
9983 NEVER exit the queue on timeout unless they have enabled the 'n'
9984 option. This commit relates to issue #10320. Thanks to
9985 jfitzgibbon for detailing the idea behind this code change.
9987 2007-08-08 13:51 +0000 [r78569] Joshua Colp <jcolp@digium.com>
9989 * configs/sip.conf.sample: (closes issue #10335) Reported by:
9990 adamgundy Update sip.conf to include another scenario where
9991 directrtpsetup will fail.
9993 2007-08-07 Russell Bryant <russell@digium.com>
9995 * Asterisk 1.4.10 released.
9997 2007-08-07 20:57 +0000 [r78488] Russell Bryant <russell@digium.com>
9999 * res/res_config_odbc.c: Fix the build of this module on 64-bit
10002 2007-08-07 19:43 +0000 [r78450] Mark Michelson <mmichelson@digium.com>
10004 * apps/app_voicemail.c: The logic behind inboxcount's return value
10005 was reversed in has_voicemail and message_count. (closes issue
10006 #10401, reported by st1710, patched by me)
10008 2007-08-07 19:34 +0000 [r78437] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
10010 * res/res_odbc.c: Don't free the environment handle when the
10011 connection fails, because other connections might be depending
10014 2007-08-07 19:11 +0000 [r78416] Jason Parker <jparker@digium.com>
10016 * channels/chan_sip.c: Allow chan_sip to build in devmode
10018 2007-08-07 19:09 +0000 [r78415] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
10020 * apps/app_voicemail.c, res/res_config_odbc.c,
10021 apps/app_directory.c: Reconnection doesn't happen automatically
10022 when a DB goes down (fixes issue #9389)
10024 2007-08-07 18:25 +0000 [r78375] Jason Parker <jparker@digium.com>
10026 * channels/chan_skinny.c: Properly check the capabilities count to
10027 avoid a segfault. (ASA-2007-019)
10029 2007-08-07 17:45 +0000 [r78371] Russell Bryant <russell@digium.com>
10031 * channels/chan_zap.c, /: Merged revisions 78370 via svnmerge from
10032 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10033 r78370 | russell | 2007-08-07 12:44:04 -0500 (Tue, 07 Aug 2007) |
10034 4 lines Revert patch committed for issue #9660. It broke E&M
10035 trunks. (closes issue #10360) (closes issue #10364) ........
10037 2007-08-06 21:41 +0000 [r78275] Joshua Colp <jcolp@digium.com>
10039 * main/channel.c: Add additional DTMF log messages to help when
10042 2007-08-06 20:44 +0000 [r78184-78242] Russell Bryant <russell@digium.com>
10044 * channels/chan_iax2.c: Fix an issue where dynamic threads can get
10045 free'd, but still exist in the dynamic thread list. (closes issue
10046 #10392, patch from Mihai, with credit to his colleague, Pete)
10048 * include/asterisk/linkedlists.h: Fix the return value of
10049 AST_LIST_REMOVE(). This shouldn't be causing any problems,
10050 though, because the only code that uses the return value only
10051 checks to see if it is NULL. (closes issue #10390, pointed out by
10054 2007-08-06 16:32 +0000 [r78182] Joshua Colp <jcolp@digium.com>
10056 * channels/chan_sip.c: It is possible for a transfer to occur
10057 before the remote device has our tag in which case they send none
10058 in the transfer. In this case we need to not fail the transfer
10061 2007-08-06 16:30 +0000 [r78180] Jason Parker <jparker@digium.com>
10063 * main/config.c: Fix an issue with using UpdateConfig (manager
10064 action) where escaped semicolons in a config would be converted
10065 to just semicolons (\; to ;) Issue 9938
10067 2007-08-06 15:27 +0000 [r78166-78172] Joshua Colp <jcolp@digium.com>
10069 * main/rtp.c: (closes issue #10355) Reported by: wdecarne Now that
10070 we pass through RTP timestamp information we need to make the
10071 allowed timestamp skew considerably less. There are situations
10072 where a source may change and due to the timestamp difference the
10073 receiver will experience an audio gap since we did not indicate
10074 by setting the marker bit that the source changed.
10076 * configure, configure.ac: (closes issue #10383) Reported by: rizzo
10077 Include stdlib.h so NULL gets defined for gethostbyname_r checks.
10079 2007-08-06 13:33 +0000 [r78164] Mark Michelson <mmichelson@digium.com>
10081 * channels/chan_sip.c: Fixed a mistake I made in realtime_peer
10082 which caused it to return NULL every time. Thanks to Jon Fealy
10083 for emailing me the correction.
10085 2007-08-05 14:18 +0000 [r78146] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
10087 * cdr/cdr_pgsql.c: Portability fix for devmode compiling (closes
10090 2007-08-05 04:15 +0000 [r78143] Russell Bryant <russell@digium.com>
10092 * include/asterisk/lock.h: Fix compilation failure when
10093 MALLOC_DEBUG is enabled, but DEBUG_THREADS is not
10095 2007-08-05 03:29 +0000 [r78139] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
10097 * channels/chan_sip.c: If peer is not found, the error message is
10098 misleading (should be peer not found, not ACL failure)
10100 2007-08-03 20:25 +0000 [r78103] Mark Michelson <mmichelson@digium.com>
10102 * main/config.c, channels/chan_sip.c, include/asterisk/config.h:
10103 Changed the behavior of sip's realtime_peer function to match the
10104 corresponding way of matching for non-realtime peers. Now matches
10105 are made on both the IP address and port number, or if the
10106 insecure setting is set to "port" then just match on the IP
10107 address. In order to accomplish this, I also added a new API
10108 call, ast_category_root, which returns the first variable of an
10109 ast_category struct
10111 2007-08-03 20:14 +0000 [r78028-78101] Russell Bryant <russell@digium.com>
10113 * apps/app_voicemail.c: (closes issue #10194) Reported by:
10114 blitzrage Patches: bug0010194 uploaded by vovochka Tested by:
10115 blitzrage Fix a problem when you call Voicemail() with multiple
10116 mailboxes specified and ODBC_STORAGE is in use. The audio part of
10117 the message was only given to the first mailbox specified.
10119 * main/utils.c, include/asterisk/lock.h, main/astmm.c: Add some
10120 improvements to lock debugging. These changes take effect with
10121 DEBUG_THREADS enabled and provide the following: * This will keep
10122 track of which locks are held by which thread as well as which
10123 lock a thread is waiting for in a thread-local data structure. A
10124 reference to this structure is available on the stack in the
10125 dummy_start() function, which is the common entry point for all
10126 threads. This information can be easily retrieved using gdb if
10127 you switch to the dummy_start() stack frame of any thread and
10128 print the contents of the lock_info variable. * All of the
10129 thread-local structures for keeping track of this lock
10130 information are also stored in a list so that the information can
10131 be dumped to the CLI using the "core show locks" CLI command.
10132 This introduces a little bit of a performance hit as it requires
10133 additional underlying locking operations inside of every
10134 lock/unlock on an ast_mutex. However, the benefits of having this
10135 information available at the CLI is huge, especially considering
10136 this is only done in DEBUG_THREADS mode. It means that in most
10137 cases where we debug deadlocks, we no longer have to request
10138 access to the machine to analyze the contents of ast_mutex_t
10139 structures. We can now just ask them to get the output of "core
10140 show locks", which gives us all of the information we needed in
10141 most cases. I also had to make some additional changes to astmm.c
10142 to make this work when both MALLOC_DEBUG and DEBUG_THREADS are
10143 enabled. I disabled tracking of one of the locks in astmm.c
10144 because it gets used inside the replacement memory allocation
10145 routines, and the lock tracking code allocates memory. This
10146 caused infinite recursion.
10148 * channels/chan_iax2.c: Only pass through HOLD and UNHOLD control
10149 frames when the mohinterpret option is set to "passthrough". This
10150 was pointed out by Kevin in the middle of a training session.
10152 * channels/chan_iax2.c: Don't reuse the timespec that was set to 0
10153 in the previous timedwait as it will just return immediately.
10154 Also, fix some logic so the thread's lock isn't unlocked twice in
10155 the weird case of dynamic threads getting acquired right after a
10156 timeout. (pointed out by SteveK)
10158 2007-08-02 21:53 +0000 [r77993-77996] Jason Parker <jparker@digium.com>
10160 * channels/chan_skinny.c, configs/skinny.conf.sample: Make sure we
10161 actually allow 6 chars to be sent. Also make note of the "A"
10162 option of date format. Issue 9779, modifications by DEA, wedhorn,
10165 * channels/chan_skinny.c: If a device disconnects, the session will
10166 go away. If this happens during call setup, we need to give up.
10169 2007-08-02 19:25 +0000 [r77949] Russell Bryant <russell@digium.com>
10171 * channels/chan_iax2.c: Fix the case where a dynamic thread times
10172 out waiting for something to do during the first time it runs.
10173 This shouldn't ever happen, but we should account for it anyway.
10174 (pointed out by pete, who works with mihai)
10176 2007-08-02 18:42 +0000 [r77947] Jason Parker <jparker@digium.com>
10178 * channels/chan_skinny.c: Make sure we clear the prompt status
10179 message on a hangup. Also rearrange messages to better fit with
10180 what a wireshark trace shows it should be. Issue 10299, initial
10181 patch and solution by sbisker, modified by me to fit with
10184 2007-08-02 18:21 +0000 [r77945] Steve Murphy <murf@digium.com>
10186 * main/fskmodem.c, /: Merged revisions 77942 via svnmerge from
10187 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10188 r77942 | murf | 2007-08-02 11:56:37 -0600 (Thu, 02 Aug 2007) | 1
10189 line This patch hopefully solves 10141; The user is running with
10190 it, and it doesn't appear to harm asterisk's operation, and may
10191 prevent a crash. I'll store it in 1.2, as we have shut down
10192 support on 1.2, but since I developed the patch before support
10193 finished, and it might affect 1.4 and trunk, I'm going ahead with
10196 2007-08-02 18:04 +0000 [r77939-77943] Russell Bryant <russell@digium.com>
10198 * channels/chan_iax2.c: Fix another race condition in the handling
10199 of dynamic threads. If the dynamic thread timed out waiting for
10200 something to do, but was acquired to perform an action
10201 immediately afterwords, then wait on the condition again to give
10202 the other thread a chance to finish setting up the data for what
10203 action this thread should perform. Otherwise, if it immediately
10204 continues, it will perform the wrong action. (reported on IRC by
10205 mihai, patch by me) (related to issue #10289)
10207 * channels/chan_iax2.c: Add another sanity check to
10208 vnak_retransmit(). This check ensures that frames that have
10209 already been marked for deletion don't get retransmitted. (closes
10210 issue #10361, patch from mihai)
10212 2007-08-02 15:15 +0000 [r77890-77894] Jason Parker <jparker@digium.com>
10214 * channels/chan_skinny.c: Make sure that we show the correct
10215 extension if dialed from a macro "From: 5555" rather than "From:
10216 s" Issue 10358, initial patch by DEA, reworked by me to use S_OR,
10219 * channels/chan_skinny.c: Put in some additional debug information
10220 for softkey/stimulus messages. Issue 10291, patch by DEA.
10222 2007-08-01 22:16 +0000 [r77887] Russell Bryant <russell@digium.com>
10224 * channels/chan_iax2.c: Fix some race conditions which have been
10225 causing weird problems in chan_iax2. The most notable problem is
10226 that people have been seeing storms of VNAK frames being sent due
10227 to really old frames mysteriously being in the retransmission
10228 queue and never getting removed. It was possible that a dynamic
10229 thread got created, but did not acquire its lock before the
10230 thread that created it signals it to perform an action. When this
10231 happens, the thread will sleep until it hits a timeout, and then
10232 get destroyed. So, the action never gets performed and in some
10233 cases, means a frame doesn't get transmitted and never gets freed
10234 since the scheduler never gets a chance to reschedule
10235 transmission. Another less severe race condition is in the
10236 handling of a timeout for a dynamic thread. It was possible for
10237 it to be acquired to perform at action at the same time that it
10238 hit a timeout. When this occurs, whatever action it was acquired
10239 for would never get performed. (patch contributed by Mihai and
10240 SteveK) (closes issue #10289) (closes issue #10248) (closes issue
10241 #10232) (possibly related to issue #10359)
10243 2007-08-01 22:14 +0000 [r77886] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
10245 * apps/app_voicemail.c: Voicemail with ODBC_STORAGE defined does
10246 not compile cleanly (missing def)
10248 2007-08-01 21:08 +0000 [r77883] Jason Parker <jparker@digium.com>
10250 * channels/chan_skinny.c: Fix an issue that caused one-way audio on
10251 some newer devices (specifically the 7921), due to sending
10252 packets in the wrong order during hangup. Also make sure we clear
10253 tones/messages on the correct line/instance. Issue 10291, patch
10254 by DEA, tested by sbisker and myself.
10256 2007-08-01 18:08 +0000 [r77863-77871] Joshua Colp <jcolp@digium.com>
10258 * main/cli.c: (closes issue #10351) Reported by: ftarz Some
10259 platforms don't like it when you pass NULL to vsnprintf so pass
10262 * include/asterisk/threadstorage.h, channels/chan_mgcp.c,
10263 apps/app_voicemail.c, main/acl.c, utils/smsq.c,
10264 channels/chan_iax2.c: Add some fixes for building on Solaris.
10266 * main/utils.c: Whoops, I meant R_5 not R5.
10268 * configure, configure.ac: And for my last trick... make sure that
10269 if gethostbyname_r is exported by a library that it is used.
10271 * configure, include/asterisk/autoconfig.h.in, configure.ac,
10272 main/utils.c: Extend autoconf logic to determine which version of
10273 gethostbyname_r is on the system.
10275 2007-08-01 14:08 +0000 [r77852-77854] Mark Michelson <mmichelson@digium.com>
10277 * apps/app_queue.c: Fixes an issue I introduced to queues wherein a
10278 queue with joinempty=yes would kick people out of the queue
10279 because of erroneously thinking the 'n' option was in use.
10280 (closes issue #10320, reported by jfitzgibbon, patched by me,
10281 tested by blitzrage and me) Thank you blitzrage for all the
10282 testing you've done lately with queues! It's much appreciated!
10284 * apps/app_queue.c: If a queue uses dynamic realtime members, then
10285 the member list should be updated after each attempt to call the
10286 queue. This fixes an issue where if a caller calls into a queue
10287 where no one is logged in, they would wait forever even if a
10288 member logged in at some point. (closes issue #10346, reported by
10289 and tested by blitzrage, patched by me)
10291 2007-07-31 21:09 +0000 [r77845-77846] Jim Dixon <telesistant@hotmail.com>
10293 * apps/app_rpt.c: Much newer version, 0.70 with much additions
10295 * main/dsp.c, channels/chan_zap.c: Made VAST improvements in DTMF
10296 receiver in RADIO_RELAX mode (thanx Steve W9SH), and oversight in
10297 logic in TONE_VERIFY/RELAX mode in chan_zap.
10299 2007-07-31 20:59 +0000 [r77844] Steve Murphy <murf@digium.com>
10301 * /, contrib/scripts/ast_grab_core: Merged revisions 77842 via
10303 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10304 r77842 | murf | 2007-07-31 13:19:35 -0600 (Tue, 31 Jul 2007) | 1
10305 line This probably isn't super-general, but it's a first stab at
10306 using kill -11 to generate a core file instead of gcore. ........
10308 2007-07-31 16:17 +0000 [r77831] Joshua Colp <jcolp@digium.com>
10310 * res/res_speech.c, include/asterisk/speech.h: Add a flag to the
10311 speech API that allows an engine to set whether it received
10314 2007-07-31 15:53 +0000 [r77827] Kevin P. Fleming <kpfleming@digium.com>
10316 * build_tools/cflags.xml: DETECT_DEADLOCKS can't be enabled without
10317 DEBUG_THREADS or it does nothing
10319 2007-07-31 15:21 +0000 [r77824] Mark Michelson <mmichelson@digium.com>
10321 * channels/chan_sip.c: This patch makes Asterisk send 100 Trying
10322 provisional responses upon receipt of re-invites. This makes it
10323 so that if there are two or more Asterisk servers between
10324 endpoints, the Asterisk servers will not keep retransmitting the
10325 re-invites. (closes issue #10274, reported by cstadlmann, patched
10326 by me with approval from file)
10328 2007-07-30 20:17 +0000 [r77795] Jason Parker <jparker@digium.com>
10330 * main/say.c: Applications like SayAlpha() should not hang up the
10331 channel if you request an "unknown" character such as a comma.
10332 Instead, skip the character and move on. Issue 10083, initial
10333 patch by jsmith, modified by me.
10335 2007-07-30 20:16 +0000 [r77785-77794] Russell Bryant <russell@digium.com>
10337 * channels/chan_iax2.c: Fix an issue that could potentially cause
10338 corruption of the global iax frame queue. In the network_thread()
10339 loop, it traverses the list using the AST_LIST_TRAVERSE_SAFE
10340 macro. However, to remove an element of the list within this
10341 loop, it used AST_LIST_REMOVE, instead of
10342 AST_LIST_REMOVE_CURRENT, which I believe could leave some of the
10343 internal variables of the SAFE macro invalid. Mihai says that he
10344 already made this change in his local copy and it didn't help his
10345 VNAK storm issues, but I still think it's wrong. :)
10347 * res/res_agi.c: (closes issue #10279) Reported by: seanbright
10348 Patches: res_agi.carefulwrite.1.4.07252007.patch uploaded by
10349 seanbright (license 71) res_agi.carefulwrite.trunk.07252007.patch
10350 uploaded by seanbright (license 71) Allow the "agi_network: yes"
10351 line to be printed out in the AGI debug output. Also, allow
10352 partial writes to be handled when writing out this line just like
10353 it is for all of the others.
10355 * main/channel.c: file and I both committed changes for issue
10356 #10301. Remove a duplicated assignment to restore the original
10357 value of the previous channel.
10359 2007-07-30 18:43 +0000 [r77783] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
10361 * /, res/res_agi.c: Merged revisions 77782 via svnmerge from
10362 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10363 r77782 | tilghman | 2007-07-30 13:40:54 -0500 (Mon, 30 Jul 2007)
10364 | 2 lines Revert change in revision 71656, even though it fixed a
10365 bug, because many people were depending upon the (broken)
10368 2007-07-30 17:29 +0000 [r77780] Russell Bryant <russell@digium.com>
10370 * main/channel.c: (closes issue #10301) Reported by: fnordian
10371 Patches: asterisk-1.4.9-channel.c.patch uploaded by fnordian
10372 (license 110) Additional changes by me Fix some problems in
10373 channel_find_locked() which can cause an infinite loop. The
10374 reference to the previous channel is set to NULL in some cases.
10375 These changes ensure that the reference to the previous channel
10376 gets restored before needing it again. I'm not convinced that the
10377 code that is setting it to NULL is really the right thing to do.
10378 However, I am making these changes to fix the obvious problem and
10379 just leaving an XXX comment that it needs a better explanation
10380 that what is there now.
10382 2007-07-30 17:11 +0000 [r77768-77778] Joshua Colp <jcolp@digium.com>
10384 * res/res_features.c: (closes issue #10327) Reported by: kkiely
10385 Instead of directly mucking with the extension/context/priority
10386 of the channel we are transferring when it has a PBX simply call
10387 ast_async_goto on it. This will ensure that the channel gets
10388 handled properly and sent to the right place.
10390 * main/channel.c: (closes issue #10301) Reported by: fnordian
10391 Patches: asterisk-1.4.9-channel.c.patch uploaded by fnordian
10392 (license 110) Restore previous behavior where if we failed to
10393 lock the channel we wanted we would return to exactly the same
10394 point as if we had just reentered the function.
10396 * /, apps/app_macro.c: Merged revisions 77767 via svnmerge from
10397 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10398 r77767 | file | 2007-07-30 11:50:02 -0300 (Mon, 30 Jul 2007) | 4
10399 lines (closes issue #10334) Reported by: ramonpeek Pass through
10400 the return value from macro_exec through the MacroIf application.
10403 2007-07-27 18:15 +0000 [r77571] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
10405 * res/res_odbc.c: Missing newline
10407 2007-07-27 17:04 +0000 [r77536-77540] Joshua Colp <jcolp@digium.com>
10409 * cdr/cdr_pgsql.c: (closes issue #10310) Reported by: prashant_jois
10410 Patches: cdr_pgsql.patch uploaded by prashant (license 114)
10411 Finish the Postgresql connection after the log messages are
10412 printed so we don't access invalid memory.
10414 * channels/chan_sip.c: (closes issue #10323) Reported by: julianjm
10415 Patches: chan_sip_device_state_hold_fix.v1.diff.txt uploaded by
10416 julianjm (license 99) Clear ONHOLD flag when decrementing the
10417 onHold peer count. If we did not do this the count may keep
10420 2007-07-27 14:30 +0000 [r77490] Mark Michelson <mmichelson@digium.com>
10422 * channels/chan_sip.c: "re-invite" was misspelled
10424 2007-07-26 23:19 +0000 [r77460] Joshua Colp <jcolp@digium.com>
10426 * main/channel.c: (closes issue #10302) Reported by: litnialex If a
10427 DTMF end frame comes from a channel without a begin and it is
10428 going to a technology that only accepts end frames (aka INFO)
10429 then use the minimum DTMF duration if one is not in the frame
10432 2007-07-26 22:16 +0000 [r77424-77429] Kevin P. Fleming <kpfleming@digium.com>
10434 * doc/mp3.txt: change protocol for downloads as well
10436 * doc/mp3.txt, sounds/Makefile: use new canonical name for download
10439 2007-07-26 21:23 +0000 [r77410] Russell Bryant <russell@digium.com>
10441 * Makefile, build_tools/make_buildopts_h: AST_DEVMODE was defined
10442 in trunk, but not in 1.4. When Asterisk is compiled under dev
10443 mode, AST_DEVMODE will get defined in buildopts.h. Change 1.4 to
10444 define it in the same way that trunk does. Also, revert the
10445 change that added this define in the Makefile The advantage to
10446 doing it this way is that buildopts.h gets installed when you
10447 install Asterisk. Then, when building any out of tree modules, or
10448 building asterisk-addons, these modules know which options the
10449 rest of Asterisk was built with.
10451 2007-07-26 20:35 +0000 [r77380] Mark Michelson <mmichelson@digium.com>
10453 * Makefile, main/logger.c: Fixes to get ast_backtrace working
10454 properly. The AST_DEVMODE macro was never defined so the majority
10455 of ast_backtrace never attempted compilation. The makefile now
10456 defines AST_DEVMODE if configure was run with --enable-dev-mode.
10457 Also, changes were made to acccomodate 64 bit systems in
10458 ast_backtrace. Thanks to qwell, kpfleming, and Corydon76 for
10459 their roles in allowing me to get this committed
10461 2007-07-26 19:32 +0000 [r77348-77350] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
10463 * main/logger.c: Missed one
10465 * main/logger.c: Oops, that builtin define should be all-lowercase.
10467 2007-07-26 18:30 +0000 [r77318] Mark Michelson <mmichelson@digium.com>
10469 * cdr/cdr_pgsql.c: Two consecutive calls to PQfinish could occur,
10470 meaning free gets called on the same variable twice. This patch
10471 sets the connection to NULL after calls to PQfinish so that the
10472 problem does not occur. Also in this patch, prashant_jois
10473 informed me that it is safe to pass a null pointer to PQfinish,
10474 so I have removed the check for conn's existence from
10475 my_unload_module. (closes issue 10295, reported by junky, patched
10476 by me with input from prashant_jois)
10478 2007-07-25 22:39 +0000 [r77191] Steve Murphy <murf@digium.com>
10480 * apps/app_meetme.c: This fix solves problem with intense squelch
10481 noise when someone joins conf in bug 9430; We repro'd the problem
10482 with meetme opts of 'CciMo'; Josh Colp supplied this patch, and
10483 I'm applying it. It looks like playing the recorded username will
10484 louse up the next thing played into the channel. Josh rearranged
10485 the code so as to start things over before playing data directly
10486 into the conference.
10488 2007-07-25 22:16 +0000 [r77176] Joshua Colp <jcolp@digium.com>
10490 * apps/app_speech_utils.c: (closes issue #10303) Reported by: jtodd
10491 Add SPEECH_DTMF_TERMINATOR variable so the user can specify the
10492 digit to terminate a DTMF string with. If none is specified then
10493 no terminator will be used.
10495 2007-07-25 21:52 +0000 [r77154] Mark Michelson <mmichelson@digium.com>
10497 * main/channel.c: chan->emulate_dtmf_duration is an unsigned int,
10498 not a signed int, so use %u instead of %d in the format string
10500 2007-07-25 20:23 +0000 [r77116-77136] Jason Parker <jparker@digium.com>
10502 * /: so are my fingers...
10504 * /: autotagexternals script is still obviously misbehaving...
10506 * /: use autotagged externals
10508 2007-07-25 17:14 +0000 [r77071] Joshua Colp <jcolp@digium.com>
10510 * configure, acinclude.m4: Fix autoconf logic for finding OpenH323
10511 when it is not in the first place searched (/usr/share/openh323).
10513 2007-07-25 09:34 +0000 [r77022] Luigi Rizzo <rizzo@icir.org>
10515 * main/rtp.c: set the sequence number in a frame for all frame
10518 2007-07-25 00:18 +0000 [r76983] Steve Murphy <murf@digium.com>
10520 * channels/chan_zap.c, /: Merged revisions 76978 via svnmerge from
10521 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10522 r76978 | murf | 2007-07-24 18:07:24 -0600 (Tue, 24 Jul 2007) | 1
10523 line this fixes bug 10293, where the error message because
10524 defaultzone or loadzone was not defined was confusing ........
10526 2007-07-24 22:12 +0000 [r76891-76937] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
10528 * /, include/asterisk/lock.h: Merged revisions 76934 via svnmerge
10529 from https://origsvn.digium.com/svn/asterisk/branches/1.2
10530 ........ r76934 | tilghman | 2007-07-24 17:11:33 -0500 (Tue, 24
10531 Jul 2007) | 2 lines Oops, res contains the error code, not errno.
10532 I was wondering why a mutex was reporting "No such file or
10533 directory"... ........
10535 * main/app.c: Found another place where we should be using the
10536 umask (thanks jcmoore)
10538 2007-07-24 Jason Parker <jparker@digium.com>
10540 * Asterisk 1.4.9 released.
10542 2007-07-24 16:42 +0000 [r76803-76805] Jason Parker <jparker@digium.com>
10544 * channels/chan_iax2.c: Don't create the Asterisk channel until we
10545 are starting the PBX on it. (ASA-2007-018)
10547 2007-07-24 16:26 +0000 [r76801] Mark Michelson <mmichelson@digium.com>
10549 * apps/app_queue.c: Added a membercount variable to call_queue
10550 struct which keeps track of the number of logged in members in a
10551 particular queue. This makes it so that the 'n' option for
10552 Queue() can act properly depending on which strategy is used. If
10553 the strategy is roundrobin, rrmemory, or ringall, we want to ring
10554 each phone once before moving on in the dialplan. However, if any
10555 other strategy is used, we will only ring one phone since it
10556 cannot be guaranteed that a different phone will ring on
10557 subsequent attempts to ring a phone. As a side effect of this,
10558 the QUEUE_MEMBER_COUNT dialplan function now just reads the
10559 membercount variable instead of traversing through the member
10560 list to figure out how many members there are. Special thanks to
10561 blitzrage for helping to test this out. (closes issue #10127,
10562 reported by bcnit, patched by me, tested by blitzrage)
10564 2007-07-23 22:38 +0000 [r76708] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
10566 * apps/app_voicemail.c: It was our stated intention for 1.4 that
10567 files created in app_voicemail should depend upon the umask.
10568 Unfortunately, mkstemp() creates files with mode 0600, regardless
10569 of the umask. This corrects that deficiency.
10571 2007-07-23 18:59 +0000 [r76656] Jason Parker <jparker@digium.com>
10573 * channels/chan_skinny.c: Fix some incorrect softkey labels in
10574 messages. Don't try to play dialtone in some unimplemented
10577 2007-07-23 18:29 +0000 [r76654] Joshua Colp <jcolp@digium.com>
10579 * /, channels/chan_agent.c: Merged revisions 76653 via svnmerge
10580 from https://origsvn.digium.com/svn/asterisk/branches/1.2
10581 ........ r76653 | file | 2007-07-23 15:28:13 -0300 (Mon, 23 Jul
10582 2007) | 4 lines (closes issue #5866) Reported by: tyler Do not
10583 force channel format changes when a generator is present. The
10584 generator may have changed the formats itself and changing them
10585 back would cause issues. ........
10587 2007-07-23 17:57 +0000 [r76620] Jason Parker <jparker@digium.com>
10589 * channels/chan_skinny.c: Don't try to queue up hold/unhold frames
10590 on a non-existent channel. Issue 10276.
10592 2007-07-23 17:48 +0000 [r76519-76618] Joshua Colp <jcolp@digium.com>
10594 * apps/app_morsecode.c: Allow app_morsecode to build on PPC Linux
10595 by putting the value of the digit char in an int.
10597 * /, channels/chan_sip.c: Merged revisions 76560 via svnmerge from
10598 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10599 r76560 | file | 2007-07-23 11:32:07 -0300 (Mon, 23 Jul 2007) | 6
10600 lines (closes issue #10236) Reported by: homesick Patches:
10601 rpid_1.4_75840.patch uploaded by homesick (license 91) Accept
10602 Remote Party ID on guest calls. ........
10604 * channels/chan_skinny.c: (closes issue #10268) Reported by:
10605 mvanbaak Patches: chan_skinny_openbsd.diff uploaded by mvanbaak
10606 (license 7) Add another OS that has to use the Macros for byte
10609 2007-07-23 12:25 +0000 [r76485] Russell Bryant <russell@digium.com>
10611 * channels/chan_iax2.c: Use a signed integer for storing the number
10612 of bytes in the packet read from the network. Using an unsigned
10613 value here made it impossible to handle an error returned from
10614 recvfrom(). Furthermore, in the case that recvfrom() did return
10615 an error, this would cause a crash due to a heap overflow.
10616 (closes issue #10265, reported by and fix suggested by
10619 2007-07-21 02:02 +0000 [r76227] Russell Bryant <russell@digium.com>
10621 * /, channels/chan_sip.c: Merged revisions 76226 via svnmerge from
10622 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10623 r76226 | russell | 2007-07-20 21:01:46 -0500 (Fri, 20 Jul 2007) |
10624 4 lines Backport a fix for a memory leak that was fixed in trunk
10625 in reivision 76221 by rizzo. The memory used for the localaddr
10626 list was not freed during a configuration reload. ........
10628 2007-07-20 21:36 +0000 [r76211] Steve Murphy <murf@digium.com>
10630 * sounds/Makefile: This patch from 10249 is worth applying! It
10631 prevents downloading sound files if they are already downloaded.
10632 Darn Practical, if you ask me
10634 2007-07-20 21:03 +0000 [r76174-76178] Jason Parker <jparker@digium.com>
10636 * channels/chan_skinny.c: Allow getting a call from an existing
10637 "sub" channel. Cancel ringing if endpoint hangs up before
10638 answering. Fixes were backported from trunk (there was apparently
10639 a bit of confusion during merge of a previous patch). (closes
10642 * main/manager.c: Eliminate a compiler warning with gcc 4.2 by
10643 constifying a char *
10645 * channels/chan_skinny.c: It's possible for sub->owner to be NULL
10646 here if you cancel the call immediately after/during sending a
10649 2007-07-20 18:42 +0000 [r76139] Mark Michelson <mmichelson@digium.com>
10651 * apps/app_directory.c: When using users.conf for the entries in
10652 the directory, if multiple users had the same last name, only the
10653 first user listed would be available in the directory. (closes
10654 issue #10200, reported by mrskippy, patched by me)
10656 2007-07-20 18:22 +0000 [r76132] Russell Bryant <russell@digium.com>
10658 * main/channel.c: Use the define that specifies the default length
10659 of an artificially created DTMF digit in the ast_senddigit()
10660 function. The define is set to 100ms by default, which is the
10661 same thing that this function was using. But, using the define
10662 lets changes take effect in this case, as well as the others
10663 where it was already used.
10665 2007-07-20 17:20 +0000 [r76054-76087] Joshua Colp <jcolp@digium.com>
10667 * /, channels/chan_sip.c: Merged revisions 76080 via svnmerge from
10668 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10669 r76080 | file | 2007-07-20 14:16:48 -0300 (Fri, 20 Jul 2007) | 6
10670 lines (closes issue #10247) Reported by: fkasumovic Patches:
10671 chan_sip.patch uploaded by fkasumovic (license #101) Drop any
10672 peer realm authentication entries when reloading so multiple
10673 entries do not get added to the peer. ........
10675 * res/res_convert.c: (closes issue #10246) Reported by: fkasumovic
10676 Patches: res_conver.patch uploaded by fkasumovic (license #101)
10677 Use the last occurance of . to find the extension, not the first
10680 * apps/app_queue.c: Move makeannouncement variable declaration to
10683 2007-07-19 20:36 +0000 [r75980] Jason Parker <jparker@digium.com>
10685 * channels/chan_skinny.c: Remove some duplicate code.
10687 2007-07-19 18:59 +0000 [r75969-75978] Mark Michelson <mmichelson@digium.com>
10689 * apps/app_queue.c: The diff on this looks pretty big but all I did
10690 was remove a pointless if statement (always evaluates true).
10692 * apps/app_queue.c: Changes in handling return values of several
10693 functions in app_queue. This all started as a fix for issue
10694 #10008 but now includes all of the following changes: 1.
10695 Simplifying the code to handle positive return values from ast
10696 API calls. 2. Removing the background_file function. 3. The fix
10697 for issue #10008 (closes issue #10008, reported and patched by
10700 2007-07-19 15:53 +0000 [r75928] Russell Bryant <russell@digium.com>
10702 * /, channels/chan_iax2.c: Merged revisions 75927 via svnmerge from
10703 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10704 r75927 | russell | 2007-07-19 10:49:42 -0500 (Thu, 19 Jul 2007) |
10705 6 lines When processing full frames, take sequence number
10706 wraparound into account when deciding whether or not we need to
10707 request retransmissions by sending a VNAK. This code could cause
10708 VNAKs to be sent erroneously in some cases, and to not be sent in
10709 other cases when it should have been. (closes issue #10237,
10710 reported and patched by mihai) ........
10712 2007-07-18 22:59 +0000 [r75807] Jason Parker <jparker@digium.com>
10714 * channels/chan_skinny.c: Need to make sure we set milliseconds and
10715 timestamp - pointed out by the recent ast_ time stuff from
10718 2007-07-18 21:09 +0000 [r75759] Russell Bryant <russell@digium.com>
10720 * /, channels/chan_iax2.c: Merged revisions 75757 via svnmerge from
10721 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10722 r75757 | russell | 2007-07-18 16:09:13 -0500 (Wed, 18 Jul 2007) |
10723 5 lines When traversing the queue of frames for possible
10724 retransmission after receiving a VNAK, handle sequence number
10725 wraparound so that all frames that should be retransmitted
10726 actually do get retransmitted. (issue #10227, reported and
10727 patched by mihai) ........
10729 2007-07-18 20:40 +0000 [r75749] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
10731 * apps/app_voicemail.c, /: Merged revisions 75748 via svnmerge from
10732 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10733 r75748 | tilghman | 2007-07-18 15:31:36 -0500 (Wed, 18 Jul 2007)
10734 | 2 lines Store prior to copy (closes issue #10193) ........
10736 2007-07-18 20:17 +0000 [r75732] Jason Parker <jparker@digium.com>
10738 * channels/chan_skinny.c: Umm, why are we transmitting dialtone on
10741 2007-07-18 20:00 +0000 [r75712] Joshua Colp <jcolp@digium.com>
10743 * apps/app_voicemail.c, channels/chan_sip.c, channels/chan_agent.c,
10744 pbx/pbx_realtime.c: Backport GCC 4.2 fixes. Without these
10745 Asterisk won't build under devmode using GCC 4.2.
10747 2007-07-18 19:54 +0000 [r75707-75711] Jason Parker <jparker@digium.com>
10749 * channels/chan_skinny.c: Fixes for 7935/7936 conference phones.
10750 Issue 9245, patch by slimey.
10752 * channels/chan_skinny.c: Fix issues with new 79x1 phones. Issue
10753 9887, patches by DEA
10755 2007-07-18 17:56 +0000 [r75658] Dwayne M. Hubbard <dhubbard@digium.com>
10757 * /, apps/app_queue.c: Merged revisions 75657 via svnmerge from
10758 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10759 r75657 | dhubbard | 2007-07-18 12:48:33 -0500 (Wed, 18 Jul 2007)
10760 | 1 line removed the word 'pissed' from ast_log(...) function
10761 call for BE-90 ........
10763 2007-07-18 15:44 +0000 [r75583-75623] Joshua Colp <jcolp@digium.com>
10765 * channels/chan_sip.c: Few more places that needs to check for
10768 * channels/chan_sip.c: (closes issue #10165) Reported by: elandivar
10769 It is possible for hold status to exist without call limits set,
10770 so we need to ensure update_call_counter is executed regardless.
10772 * channels/chan_h323.c: Don't bother reloading chan_h323 if it did
10773 not load successfully in the first place. This would otherwise
10776 * pbx/pbx_dundi.c: (closes issue #10224) Reported by: irroot Record
10777 the threadid of each running thread before shutting them down as
10778 the thread themselves may change the value.
10780 2007-07-18 12:29 +0000 [r75529] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
10782 * apps/app_meetme.c: Using a freed frame causes crashes (closes
10785 2007-07-17 Russell Bryant <russell@digium.com>
10787 * Asterisk 1.4.8 released.
10789 2007-07-17 20:57 +0000 [r75441-75450] Russell Bryant <russell@digium.com>
10791 * /, channels/chan_skinny.c: Merged revisions 75449 via svnmerge
10792 from https://origsvn.digium.com/svn/asterisk/branches/1.2
10793 ........ r75449 | russell | 2007-07-17 15:57:09 -0500 (Tue, 17
10794 Jul 2007) | 3 lines Properly check for the length in the skinny
10795 packet to prevent an invalid memcpy. (ASA-2007-016) ........
10797 * main/rtp.c: cast arguments to ast_log so that it builds without
10800 * channels/iax2-parser.c, channels/iax2-parser.h, /,
10801 channels/chan_iax2.c: Merged revisions 75444 via svnmerge from
10802 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10803 r75444 | russell | 2007-07-17 15:45:27 -0500 (Tue, 17 Jul 2007) |
10804 5 lines Ensure that when encoding the contents of an ast_frame
10805 into an iax_frame, that the size of the destination buffer is
10806 known in the iax_frame so that code won't write past the end of
10807 the allocated buffer when sending outgoing frames. (ASA-2007-014)
10810 * /, channels/chan_iax2.c: Merged revisions 75440 via svnmerge from
10811 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10812 r75440 | russell | 2007-07-17 15:41:41 -0500 (Tue, 17 Jul 2007) |
10813 4 lines After parsing information elements in IAX frames, set the
10814 data length to zero, so that code later on does not think it has
10815 data to copy. (ASA-2007-015) ........
10817 2007-07-17 20:40 +0000 [r75439] Joshua Colp <jcolp@digium.com>
10819 * main/rtp.c: Ensure that the pointer to STUN data does not go to
10820 unaccessible memory. (ASA-2007-017)
10822 2007-07-17 20:33 +0000 [r75437] Russell Bryant <russell@digium.com>
10824 * res/res_agi.c: (issue #10210) Reported by: juggie Patches:
10825 10210-1.4-grr.patch uploaded by juggie (license #24) Tested by:
10826 juggie, blitzrage Log a warning if someone uses DeadAGI on a live
10829 2007-07-17 20:03 +0000 [r75405] Mark Michelson <mmichelson@digium.com>
10831 * apps/app_dial.c: Fixing an error I made earlier. ast_fileexists
10832 can return -1 on failure, so I need to be sure that we only enter
10833 the if statement if it is successful. Related to my fix to issue
10836 2007-07-17 20:01 +0000 [r75401-75403] Russell Bryant <russell@digium.com>
10838 * main/pbx.c: (closes issue #10209) Reported by: juggie Patches:
10839 10209-trunk-2.patch uploaded by juggie Tested by: juggie,
10840 blitzrage In ast_pbx_run(), mark a channel as hung up after an
10841 application returned -1, or when it runs out of extensions to
10842 execute. This is so that code can detect that this channel has
10843 been hung up for things like making sure DeadAGI is used on
10844 actual dead channels, and is beneficial for other things, like
10845 making sure someone doesn't try to start spying on a channel that
10846 is about to go away.
10848 * res/res_agi.c: Remove a duplicated newline character in AGI debug
10849 output. (closes issue #10207, patch by seanbright)
10851 2007-07-16 20:53 +0000 [r75258-75306] Kevin P. Fleming <kpfleming@digium.com>
10853 * main/dns.c, /: Merged revisions 75304 via svnmerge from
10854 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10855 r75304 | kpfleming | 2007-07-16 15:46:58 -0500 (Mon, 16 Jul 2007)
10856 | 3 lines provide proper copyright/license attribution for this
10857 structure that was copied from a BSD-licensed header file long,
10858 long ago... ........
10860 * /: another fix that is not needed here (finishing up 75251)
10862 2007-07-16 18:16 +0000 [r75253] Mark Michelson <mmichelson@digium.com>
10864 * apps/app_dial.c: Restoring functionality from 1.2 wherein
10865 Retrydial will not exit if there is no announce file specified.
10866 This change makes it so that if there is no announce file
10867 specified, the application will continue until finished (or
10868 caller hangs up). If a bogus announce file is specified, then a
10869 warning message will be printed saying that the file could not be
10870 found, but execution will still continue. (closes issue #10186,
10871 reported by jon, patched by me)
10873 2007-07-16 18:12 +0000 [r75252] Kevin P. Fleming <kpfleming@digium.com>
10875 * /: block change that is not relevant here
10877 2007-07-13 20:36 +0000 [r75108] Russell Bryant <russell@digium.com>
10879 * /, res/res_musiconhold.c: Merged revisions 75107 via svnmerge
10880 from https://origsvn.digium.com/svn/asterisk/branches/1.2
10881 ........ r75107 | russell | 2007-07-13 15:35:22 -0500 (Fri, 13
10882 Jul 2007) | 3 lines Fix a couple potential minor memory leaks.
10883 load_moh_classes() could return without destroying the loaded
10884 configuration. ........
10886 2007-07-13 20:15 +0000 [r75078] Mark Michelson <mmichelson@digium.com>
10888 * apps/app_chanspy.c, /: Merged revisions 75066 via svnmerge from
10889 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10890 r75066 | mmichelson | 2007-07-13 15:10:39 -0500 (Fri, 13 Jul
10891 2007) | 5 lines Fixed an issue where chanspy flags were
10892 uninitialized if no options were passed. What triggered this
10893 investigation was an IRC chat where some people's quiet flags
10894 were set while others' weren't even though none of them had
10895 specified the q option. ........
10897 2007-07-13 20:10 +0000 [r75053-75067] Russell Bryant <russell@digium.com>
10899 * /, res/res_musiconhold.c: Merged revisions 75059 via svnmerge
10900 from https://origsvn.digium.com/svn/asterisk/branches/1.2
10901 ........ r75059 | russell | 2007-07-13 15:07:21 -0500 (Fri, 13
10902 Jul 2007) | 6 lines Ensure that adding a user to the list of
10903 users of a specific music on hold class is not done at the same
10904 time as any of the other operations on this list to prevent list
10905 corruption. Using the global moh_data lock for this is not ideal,
10906 but it is what is used to protect these lists everywhere else in
10907 the module, and I am only changing what is necessary to fix the
10910 * channels/chan_zap.c, /: Merged revisions 75052 via svnmerge from
10911 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10912 r75052 | russell | 2007-07-13 14:10:00 -0500 (Fri, 13 Jul 2007) |
10913 12 lines (closes issue #9660) Reported by: mmacvicar Patches
10914 submitted by: bbryant, russell Tested by: mmacvicar, marco,
10915 arcivanov, jmhunter, explidous When using a TDM400P (and probably
10916 other analog cards) there was a chance that you could hang up and
10917 pick the phone back up where it has been long enough to be not
10918 considered a flash hook, but too soon such that the device
10919 reports that it is busy and the person on the phone will only
10920 hear silence. This patch makes chan_zap more tolerant of this and
10921 gives the device a couple of seconds to succeed so the person on
10922 the phone happily gets their dialtone. ........
10924 2007-07-12 23:00 +0000 [r74998] Mark Michelson <mmichelson@digium.com>
10926 * channels/chan_agent.c: Change to my previous fix regarding agent
10927 logoff soft. Now uses deferlogoff instead of loginstart since
10928 loginstart is used after logoff. Thanks to makoto for pointing
10929 this out and suggesting the fix. (closes issue #10178, reported
10930 and patched by makoto, with modification by me)
10932 2007-07-12 20:42 +0000 [r74955] Steve Murphy <murf@digium.com>
10934 * channels/chan_sip.c: This patch resolves 10143; thanks to irroot
10935 for the patch; looked acceptable. Let the community decide if it
10938 2007-07-12 19:17 +0000 [r74888-74922] Joshua Colp <jcolp@digium.com>
10940 * main/channel.c: Whoops... didn't want this to be returned to 0
10943 * main/channel.c: When waiting for a digit ensure that a begin
10944 frame was received with it, not just an end frame. (issue #10084
10945 reported by rushowr)
10947 2007-07-12 16:53 +0000 [r74839-74866] Jason Parker <jparker@digium.com>
10949 * channels/chan_skinny.c: It helps if I actually add this stuff for
10950 the 7921 too - otherwise it won't actually do much of anything.
10952 * channels/chan_skinny.c: Add device ID for 7921 wireless skinny
10955 * channels/chan_skinny.c: Fix dialing in skinny that was broken in
10956 some cases. Issue 10136, fix provided by DEA.
10958 2007-07-12 15:53 +0000 [r74815] Joshua Colp <jcolp@digium.com>
10960 * /, res/res_musiconhold.c: Merged revisions 74814 via svnmerge
10961 from https://origsvn.digium.com/svn/asterisk/branches/1.2
10962 ........ r74814 | file | 2007-07-12 12:51:24 -0300 (Thu, 12 Jul
10963 2007) | 2 lines Only print out a warning for situations where it
10964 is actually helpful. (issue #10187 reported by denke) ........
10966 2007-07-11 22:57 +0000 [r74767] Russell Bryant <russell@digium.com>
10968 * /, channels/chan_iax2.c: Merged revisions 74766 via svnmerge from
10969 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
10970 r74766 | russell | 2007-07-11 17:53:26 -0500 (Wed, 11 Jul 2007) |
10971 5 lines The function make_trunk() can fail and return -1 instead
10972 of a valid new call number. Fix the uses of this function to
10973 handle this instead of treating it as the new call number. This
10974 would cause a deadlock and memory corruption. (possible cause of
10975 issue #9614 and others, patch by me) ........
10977 2007-07-11 21:14 +0000 [r74722] Mark Michelson <mmichelson@digium.com>
10979 * /, channels/chan_agent.c: Merged revisions 74719 via svnmerge
10980 from https://origsvn.digium.com/svn/asterisk/branches/1.2
10981 ........ r74719 | mmichelson | 2007-07-11 16:12:30 -0500 (Wed, 11
10982 Jul 2007) | 5 lines The cli command "agent logoff Agent/x soft"
10983 did not work...at all. Now it does. (closes issue #10178,
10984 reported and patched by makoto, with slight modification for 1.4
10985 and trunk by me) ........
10987 2007-07-11 18:34 +0000 [r74657] Russell Bryant <russell@digium.com>
10989 * res/res_config_odbc.c, /: Merged revisions 74656 via svnmerge
10990 from https://origsvn.digium.com/svn/asterisk/branches/1.2
10991 ........ r74656 | russell | 2007-07-11 13:33:23 -0500 (Wed, 11
10992 Jul 2007) | 4 lines Make sure that the ESCAPE immediately follows
10993 the condition that uses LIKE. This fixes realtime extensions with
10994 ODBC. (closes issue #10175, reported by stuarth, patch by me)
10997 2007-07-11 18:18 +0000 [r74628-74642] Steve Murphy <murf@digium.com>
10999 * Makefile: This fixes 10172, where the entire man8 dir gets
11000 removed during an uninstall of asterisk
11002 * utils/expr2.testinput, doc/channelvariables.txt, UPGRADE.txt:
11003 further reversion of previously applied floating point stuff for
11006 2007-07-11 17:16 +0000 [r74515-74590] Joshua Colp <jcolp@digium.com>
11008 * channels/chan_phone.c, configure,
11009 include/asterisk/autoconfig.h.in, configure.ac: Instead of
11010 figuring out kernel versions that have compiler.h and not...
11011 let's just use autoconf to check for it's presence. (issue #10174
11012 reported by francesco_r)
11014 * channels/chan_phone.c: Only check if we need to do a SIGMA based
11015 tone generation if we have a card. (issue #10179 reported by
11018 2007-07-10 23:32 +0000 [r74476] Mark Michelson <mmichelson@digium.com>
11020 * apps/app_voicemail.c: Forwarding a message with IMAP storage was
11021 storing the message in the sender's box instead of the forwarded
11022 mailbox. (closes issue #10138, reported and patched by jaroth)
11024 2007-07-10 19:58 +0000 [r74374-74428] Jason Parker <jparker@digium.com>
11026 * /, apps/app_queue.c: Merged revisions 74427 via svnmerge from
11027 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11028 r74427 | qwell | 2007-07-10 14:57:20 -0500 (Tue, 10 Jul 2007) | 6
11029 lines Fix an issue where it was possible to have a service level
11030 of over 100% Between the time recalc_holdtime and update_queue
11031 was called, it was possible that the call could have been hungup.
11032 Move both additions to the same place, so this won't happen.
11033 Issue 10158, initial patch by makoto, modified by me. ........
11035 * main/dns.c: Don't use #if to check if something is defined - use
11036 #ifdef instead. Pointed out by kpfleming
11038 * /, channels/chan_agent.c: Merged revisions 74376 via svnmerge
11039 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11040 ........ r74376 | qwell | 2007-07-10 14:03:45 -0500 (Tue, 10 Jul
11041 2007) | 4 lines Fix an issue with wrapuptime not working when
11042 using AgentLogin. Issue 10169, patch by makoto, with a minor mod
11043 by me to not re-break issue 9618 ........
11045 * main/dns.c, /, configure, include/asterisk/autoconfig.h.in,
11046 configure.ac: Merged revisions 74373 via svnmerge from
11047 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11048 r74373 | qwell | 2007-07-10 13:37:23 -0500 (Tue, 10 Jul 2007) | 5
11049 lines Use res_ndestroy on systems that have it. Otherwise, use
11050 res_nclose. This prevents a memleak on NetBSD - and possibly
11051 others. Issue 10133, patch by me, reported and tested by scw
11054 2007-07-10 Russell Bryant <russell@digium.com>
11056 * Asterisk 1.4.7.1 released.
11058 2007-07-10 16:00 +0000 [r74323] Russell Bryant <russell@digium.com>
11060 * res/res_musiconhold.c: fix an uninitialized variable
11062 2007-07-10 15:38 +0000 [r74317] Jason Parker <jparker@digium.com>
11064 * apps/app_voicemail.c, /: Merged revisions 74316 via svnmerge from
11065 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11066 r74316 | qwell | 2007-07-10 10:37:54 -0500 (Tue, 10 Jul 2007) | 4
11067 lines Fix a small typo in description in of Voicemail()
11068 application. Issue 10170, patch by casper. ........
11070 2007-07-10 15:31 +0000 [r74314] Russell Bryant <russell@digium.com>
11072 * res/res_config_odbc.c, /: Merged revisions 74313 via svnmerge
11073 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11074 ........ r74313 | russell | 2007-07-10 10:30:20 -0500 (Tue, 10
11075 Jul 2007) | 3 lines Only use ESCAPE when LIKE is used. (issue
11076 #10075, this part reported by jmls on IRC, patch by me) ........
11078 2007-07-10 14:50 +0000 [r74262-74265] Joshua Colp <jcolp@digium.com>
11080 * /, main/app.c: Merged revisions 74264 via svnmerge from
11081 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11082 r74264 | file | 2007-07-10 11:48:00 -0300 (Tue, 10 Jul 2007) | 2
11083 lines Ensure the group information category exists before trying
11084 to do a string comparison with it. (issue #10171 reported by
11087 * channels/chan_sip.c: Only spit out an inringing warning message
11088 when it is applicable. Since call limits are already toast in
11089 realtime let's not scare the user if they are using it. (issue
11090 #10166 reported by bcnit)
11092 2007-07-09 Russell Bryant <russell@digium.com>
11094 * Asterisk 1.4.7 released.
11096 2007-07-09 21:31 +0000 [r74162-74211] Russell Bryant <russell@digium.com>
11098 * configure, configure.ac: Update the configure script to check for
11099 a required function that is not present in the 1.2 version of
11100 libpri. This will prevent the configure script from thinking that
11101 it has compatible libpri support for Asterisk 1.4, when it
11102 actually does not because the installed version is from 1.2.
11104 * res/res_musiconhold.c: (closes issue #10123) Reported by:
11105 blitzrage Patches submitted by: juggie, qwell, me Tested by:
11106 blitzrage When trying to find a music on hold class to use, try
11107 all of the options, instead of only the first one that is set.
11108 Also, change the MusicOnHold applications to not hang up on the
11109 channel when a class can not be found.
11111 2007-07-09 20:19 +0000 [r74159] Jason Parker <jparker@digium.com>
11113 * channels/chan_zap.c, /: Merged revisions 74158 via svnmerge from
11114 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11115 r74158 | qwell | 2007-07-09 15:18:15 -0500 (Mon, 09 Jul 2007) | 8
11116 lines Several chan_zap options were not working on reload because
11117 they were arbitrarily disallowed when reloading some/most PRI
11118 options (such as signalling) was disallowed. Options such as
11119 polarityonanswerdelay and answeronpolarityswitch can safely be
11120 changed on a reload. This corrects that behavior. Issue 9186,
11121 patch by tzafrir. ........
11123 2007-07-09 18:38 +0000 [r74120-74122] Mark Michelson <mmichelson@digium.com>
11125 * apps/app_queue.c: Forgot to get rid of an extraneous debug
11128 * apps/app_queue.c: The n option for Queue should make the queue
11129 exit immediately after failure to reach any members and should
11130 not be dependent on the timeout value passed to Queue (closes
11131 issue #10127, reported by bcnit, repaired by me)
11133 2007-07-09 15:32 +0000 [r74082] Joshua Colp <jcolp@digium.com>
11135 * channels/chan_skinny.c: Only destroy the scheduler context if it
11136 was allocated. (issue #10124 reported by gzero)
11138 2007-07-09 14:57 +0000 [r74047] Mark Michelson <mmichelson@digium.com>
11140 * apps/app_voicemail.c: Fixed a logic error in leave_voicemail.
11141 Pass the mailbox instead of the context to inbox_count when the
11142 context is "default." (closes issue #10135, reported by yannj,
11145 2007-07-09 14:49 +0000 [r74043-74045] Joshua Colp <jcolp@digium.com>
11147 * channels/chan_skinny.c, pbx/pbx_dundi.c: Few minor thread
11148 synchronization tweaks. (issue #10124 reported by gzero)
11150 * configure, acinclude.m4: Use AC_CHECK_HEADER to check for
11151 ptlib/openh323 to allow for cross compiling. (issue #9675
11152 reported by zandbelt)
11154 2007-07-09 04:03 +0000 [r73985] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
11156 * main/ast_expr2f.c: Doxygen formatting fixes; fixes errors while
11157 'make progdocs'. (Closes issue #10104)
11159 2007-07-09 03:13 +0000 [r73930-73980] Joshua Colp <jcolp@digium.com>
11161 * main/cdr.c: Give Agent channel names priority when doing CDR
11162 merging. (issue #10011 reported by krtorio)
11164 * pbx/pbx_config.c: Add a few sanity checks when writing out the
11165 dialplan. (issue #10157 reported by dome)
11167 2007-07-08 09:47 +0000 [r73849] Olle Johansson <oej@edvina.net>
11169 * channels/chan_sip.c: While tracking down a bug, I need some more
11170 history. Dumphistory is very useful, indeed.
11172 2007-07-06 23:02 +0000 [r73769] Russell Bryant <russell@digium.com>
11174 * /, channels/chan_sip.c: Merged revisions 73768 via svnmerge from
11175 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11176 r73768 | russell | 2007-07-06 18:01:22 -0500 (Fri, 06 Jul 2007) |
11177 4 lines If a sip_pvt struct has already registered an extension
11178 state callback, remove the old one before adding a new one. If
11179 this isn't done, Asterisk will crash. (issue #10120) ........
11181 2007-07-06 16:36 +0000 [r73727] Mark Michelson <mmichelson@digium.com>
11183 * apps/app_voicemail.c: Fixing a rare case which causes voicemail
11184 to crash when compiled with IMAP storage. inboxcount has the
11185 possibility of finding an "interactive" vm_state when no
11186 persistent "non-interactive" vm_state exists for that mailbox. If
11187 this should happen when someone attempts to leave a message, it
11188 results in a crash. This patch, along with my commit in revision
11189 72670 fix issue 10053, reported by jaroth. closes issue #10053
11191 2007-07-06 16:12 +0000 [r73679-73696] Russell Bryant <russell@digium.com>
11193 * res/res_config_odbc.c, /: Merged revisions 73684 via svnmerge
11194 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11195 ........ r73684 | russell | 2007-07-06 11:06:27 -0500 (Fri, 06
11196 Jul 2007) | 8 lines (closes issue #10075) Reported by: apsaras
11197 Patches submitted by: Corydon76 Tested by: apsaras Fix a problem
11198 with MSSQL 2005 by explicitly stating that '\' is being used as
11199 an escape character. ........
11201 * /, channels/chan_sip.c: Merged revisions 73678 via svnmerge from
11202 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11203 r73678 | russell | 2007-07-06 10:55:41 -0500 (Fri, 06 Jul 2007) |
11204 7 lines (closes issue #10125) Reported by: makoto Patches
11205 submitted by: makoto This fixes a crash in chan_sip that happens
11206 when the bindaddr setting is not valid on Asterisk startup, gets
11207 fixed, and then a reload gets issued. ........
11209 2007-07-06 15:27 +0000 [r73675] Mark Michelson <mmichelson@digium.com>
11211 * /, channels/chan_agent.c: Merged revisions 73674 via svnmerge
11212 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11213 ........ r73674 | mmichelson | 2007-07-06 10:26:40 -0500 (Fri, 06
11214 Jul 2007) | 5 lines Fixed a bug wherein agents get stuck busy.
11215 (issue 9618, reported by jiddings, patched by moi) closes issue
11218 2007-07-06 03:34 +0000 [r73551-73629] Russell Bryant <russell@digium.com>
11220 * BUGS: fix a little spelling error
11222 * channels/chan_sip.c: Fix a crash in chan_sip. Don't try to stop
11223 the monitor thread if it was never started. (closes issue #10124,
11224 reported by gzero, fixed by me)
11226 * channels/chan_iax2.c: copy from the correct buffer when deferring
11227 a full frame (related to issue #9937)
11229 * channels/chan_iax2.c: * Store the call number that a thread is
11230 processing without the full frame bit set to ease debugging *
11231 When deferring a full frame for processing, stick it into the
11232 queue for the thread that is processing frames for that call, not
11233 the one that read the current frame and is about to go back into
11234 the idle list (related to issue #9937)
11236 2007-07-05 22:20 +0000 [r73548] Kevin P. Fleming <kpfleming@digium.com>
11238 * /, channels/chan_sip.c: Merged revisions 73547 via svnmerge from
11239 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11240 r73547 | kpfleming | 2007-07-05 17:11:51 -0500 (Thu, 05 Jul 2007)
11241 | 2 lines we shouldn't allow G.723.1 endpoints to use VAD, just
11242 like we don't support it for G.729 ........
11244 2007-07-05 20:50 +0000 [r73512] Russell Bryant <russell@digium.com>
11246 * res/res_features.c: Pass HOLD and UNHOLD frames to the other
11247 channel when they are returned from a native bridge function.
11248 This fixes a problem where when two zap channels are natively
11249 bridged and one does a flash hook, the other channel did not
11250 receive music on hold. (Reported to me directly by Doug Bailey at
11253 2007-07-05 19:18 +0000 [r73467] Joshua Colp <jcolp@digium.com>
11255 * /, channels/chan_sip.c: Merged revisions 73466 via svnmerge from
11256 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11257 r73466 | file | 2007-07-05 16:15:18 -0300 (Thu, 05 Jul 2007) | 2
11258 lines Copy language information to the dialog structure when
11259 calling a peer for situations where a PBX may be started on the
11260 dialed channel. (issue #10121 reported by clegall_proformatique)
11263 2007-07-05 15:59 +0000 [r73400] Mark Michelson <mmichelson@digium.com>
11265 * apps/app_queue.c: Correcting a minor CLI bug I found. When
11266 issuing the queue show command, if you type queue show and then
11267 press tab, you can continue pressing tab and it will keep
11268 auto-completing queue names even though only 1 queue can be used
11271 2007-07-05 15:28 +0000 [r73398] Russell Bryant <russell@digium.com>
11273 * channels/chan_vpb.cc, channels/Makefile: Make this module build
11276 2007-07-05 14:21 +0000 [r73316-73355] Joshua Colp <jcolp@digium.com>
11278 * apps/app_chanspy.c, main/channel.c, /: Merged revisions 73349 via
11280 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11281 r73349 | file | 2007-07-05 11:19:14 -0300 (Thu, 05 Jul 2007) | 2
11282 lines Tweak spy locking. (issue #9951 reported by welles)
11285 * channels/chan_local.c, /: Merged revisions 73318 via svnmerge
11286 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11287 ........ r73318 | file | 2007-07-05 10:26:02 -0300 (Thu, 05 Jul
11288 2007) | 2 lines Actually check to make sure a PBX was started on
11289 one of the Local channels instead of blindly assuming it was.
11290 (issue #10112 reported by makoto) ........
11292 * /, apps/app_queue.c: Merged revisions 73315 via svnmerge from
11293 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11294 r73315 | file | 2007-07-05 10:19:17 -0300 (Thu, 05 Jul 2007) | 2
11295 lines Reset ServicelevelPerf variable back to 0 if we are unable
11296 to calculate it each time... otherwise we will get previous
11297 values. (issue #10117 reported by noriyuki) ........
11299 2007-07-04 14:53 +0000 [r73208-73253] Christian Richter <christian.richter@beronet.com>
11301 * channels/misdn/isdn_lib.c, /: Merged revisions 73252 via svnmerge
11302 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11303 ........ r73252 | crichter | 2007-07-04 16:50:58 +0200 (Mi, 04
11304 Jul 2007) | 1 line bchannel configurations like echocancel and
11305 volume control, need to be setuped on inbound calls too. ........
11307 * channels/chan_misdn.c, /: Merged revisions 73207 via svnmerge
11308 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11309 ........ r73207 | crichter | 2007-07-04 10:20:54 +0200 (Mi, 04
11310 Jul 2007) | 1 line bad bug in overlapdial case, we called
11311 start_pbx multiple times, because the state wasn't changed..
11314 2007-07-03 20:17 +0000 [r73143] Steve Murphy <murf@digium.com>
11316 * main/ast_expr2.fl, main/ast_expr2.c, main/Makefile,
11317 main/ast_expr2.h, main/ast_expr2.y, main/ast_expr2f.c: Removing
11318 expr floating patch from 1.4; too much of a behavior change. If
11319 you want this fix, try trunk instead. bug 9508.
11321 2007-07-03 15:42 +0000 [r73104-73106] Jason Parker <jparker@digium.com>
11323 * /: What the heck. This should not have happened.
11325 * /: use autotagged externals
11327 2007-07-03 12:38 +0000 [r73053] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
11329 * apps/app_dial.c, /: Merged revisions 73052 via svnmerge from
11330 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11331 r73052 | tilghman | 2007-07-03 07:34:14 -0500 (Tue, 03 Jul 2007)
11332 | 2 lines RetryDial should accept a 0 argument, but it does not,
11333 because atoi does not distinguish between 0 and error (closes
11334 issue #10106) ........
11336 2007-07-03 08:17 +0000 [r73005] Christian Richter <christian.richter@beronet.com>
11338 * channels/chan_misdn.c, /: Merged revisions 73004 via svnmerge
11339 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11340 ........ r73004 | crichter | 2007-07-03 10:04:35 +0200 (Di, 03
11341 Jul 2007) | 1 line fixed issue, that misdn_l2l1_check could only
11342 be called from mISDN Source channels.. #9449 ........
11344 2007-07-02 20:16 +0000 [r72933] Steve Murphy <murf@digium.com>
11346 * main/ast_expr2.fl, main/ast_expr2.c, utils/expr2.testinput,
11347 main/Makefile, main/ast_expr2.h, main/ast_expr2.y,
11348 main/ast_expr2f.c, doc/channelvariables.txt, UPGRADE.txt: support
11349 for floating point numbers added to ast_expr2 $\[...\] exprs.
11350 Fixes bug 9508, where the expr code fails with fp numbers. The
11351 MATH function returns fp numbers by default, so this fix is
11352 considered necessary.
11354 2007-07-02 18:18 +0000 [r72926] Russell Bryant <russell@digium.com>
11356 * main/manager.c: Remove a bogus comment and add proper locking to
11357 the handler function for the CLI command to show information on
11360 2007-07-02 14:32 +0000 [r72888] Joshua Colp <jcolp@digium.com>
11362 * main/channel.c: Added additional DTMF debug messages for when
11365 2007-07-02 08:41 +0000 [r72850-72852] Christian Richter <christian.richter@beronet.com>
11367 * channels/misdn/isdn_lib.c, channels/chan_misdn.c, /: Merged
11368 revisions 72585 via svnmerge from
11369 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11370 r72585 | crichter | 2007-06-29 15:08:26 +0200 (Fr, 29 Jun 2007) |
11371 1 line check if the bchannel stack id is already used, if so
11372 don't use it a second time. Also added a release_chan lock, so
11373 that the same chan_list object cannot be freed twice. chan_misdn
11374 does not crash anymore on heavy load with these changes. ........
11376 * channels/misdn/isdn_lib.c, channels/misdn/isdn_lib.h,
11377 channels/chan_misdn.c, /, channels/misdn/isdn_msg_parser.c:
11378 Merged revisions 72099 via svnmerge from
11379 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11380 r72099 | crichter | 2007-06-27 15:22:37 +0200 (Mi, 27 Jun 2007) |
11381 1 line simplified generation for dummy bchannels, also we mark
11382 them as dummies, so they are not used later as real-bchannels,
11383 optimized the RESTART mechanisms, we block a channel now on
11384 cause:44, and send out a RESTART automatically, then on reception
11385 of RESTART_ACKNOWLEDGE we unblock the channel again. ........
11387 * channels/misdn/isdn_lib.c, channels/misdn/isdn_lib.h, /: Merged
11388 revisions 72087 via svnmerge from
11389 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11390 r72087 | crichter | 2007-06-27 11:26:53 +0200 (Mi, 27 Jun 2007) |
11391 1 line simplified channel finding and locking a lot. removed
11392 unnecessary #ifdefed areas. ........
11394 2007-07-01 23:52 +0000 [r72806] Russell Bryant <russell@digium.com>
11396 * pbx/pbx_spool.c, /: Merged revisions 72805 via svnmerge from
11397 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11398 r72805 | russell | 2007-07-01 18:51:34 -0500 (Sun, 01 Jul 2007) |
11399 5 lines When appending lines to call files to keep track of
11400 retries, write a leading newline just in case the original call
11401 file did not have a newline at the end. This fix is in response
11402 to a problem I saw reported on the asterisk-users mailing list.
11405 2007-06-30 16:50 +0000 [r72705-72766] Russell Bryant <russell@digium.com>
11407 * configure, configure.ac: Tweak the configure script so that error
11408 output isn't spewed to the console when searching for GTK2 libs,
11409 and they aren't found.
11411 * formats/format_pcm.c: give format_pcm a more concise destription
11413 2007-06-29 19:07 +0000 [r72665] Luigi Rizzo <rizzo@icir.org>
11415 * main/utils.c: Use !defined(HAVE_GETHOSTBYNAME_R) to check for
11416 absence of the function. This was already done in trunk.
11418 2007-06-29 Russell Bryant <russell@digium.com>
11420 * Asterisk 1.4.6 released.
11422 2007-06-29 14:26 +0000 [r72597-72599] Joshua Colp <jcolp@digium.com>
11424 * main/cdr.c: Minor change for older GCC versions.
11426 * Makefile, configure, configure.ac, makeopts.in: Backport fix for
11427 GCC versions without support for declaration-after-statement.
11429 2007-06-29 04:47 +0000 [r72554-72556] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
11431 * main/manager.c: Issue 10055 - Change memory allocation to use the
11432 heap for a command, since the output has the potential to
11433 overflow the stack (as it did here)
11435 * res/res_jabber.c: Fix 1.4 breakage
11437 2007-06-28 19:44 +0000 [r72493] Russell Bryant <russell@digium.com>
11439 * configure, include/asterisk/autoconfig.h.in: regenerate the
11440 configure script for rizzo
11442 2007-06-28 19:29 +0000 [r72453-72489] Luigi Rizzo <rizzo@icir.org>
11444 * configure.ac: add a check for gethostbyname_r so we can simplify
11445 the handling e.g. in utils.c Also add comments on a couple of
11446 features which are not working on FreeBSD. All the above has been
11447 already done in trunk so the merge must be blocked. Can someone
11448 please regenerate ./configure ?
11450 * Makefile, channels/chan_zap.c, main/say.c: Add
11451 -Wdeclaration-after-statement to AST_DEVMODE flags to catch
11452 variable declarations in the middle of a block. Fix the few
11453 instances of the above spotted out by the compiler. All of this
11454 has been already done or is not applicable in trunk, so the merge
11455 of this change will be blocked.
11457 * apps/app_meetme.c: cast a time_t so that it does not conflict
11458 with the print format. This change was already done on trunk so
11459 this change needs to be blocked from merging.
11461 2007-06-27 23:29 +0000 [r72383] Brett Bryant <bbryant@digium.com>
11463 * main/asterisk.c, /: Merged revisions 72373 via svnmerge from
11464 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11465 r72373 | bbryant | 2007-06-27 18:22:13 -0500 (Wed, 27 Jun 2007) |
11466 3 lines Reinstating patch. This actually fixes the problem,
11467 however I was running a development branch without it and
11468 mistakenly thought it wasn't fixed. Fixes issue #10010, and
11469 #9654: 100% CPU usage caused by an asterisk console losing it's
11470 controlling terminal. ........
11472 2007-06-27 23:25 +0000 [r72381] Joshua Colp <jcolp@digium.com>
11474 * apps/app_mixmonitor.c, /: Merged revisions 72378 via svnmerge
11475 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11476 ........ r72378 | file | 2007-06-27 19:24:01 -0400 (Wed, 27 Jun
11477 2007) | 2 lines Update documentation to clarify variable usage
11478 with MixMonitor. (issue #9494 reported by netoguy) ........
11480 2007-06-27 23:03 +0000 [r72335] Brett Bryant <bbryant@digium.com>
11482 * main/asterisk.c, /: Merged revisions 72333 via svnmerge from
11483 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11484 r72333 | bbryant | 2007-06-27 17:58:53 -0500 (Wed, 27 Jun 2007) |
11485 2 lines Reverted changes for earlier revisions 72259 to 72261.
11486 Issue #9654, #10010 ........
11488 2007-06-27 22:58 +0000 [r72328-72331] Joshua Colp <jcolp@digium.com>
11490 * channels/chan_gtalk.c: Make payload IDs for iLBC/Speex match to
11491 our list. Since these are dynamic payloads the other side
11492 shouldn't care. (issue #9426 reported by irroot)
11494 * /, apps/app_queue.c: Merged revisions 72327 via svnmerge from
11495 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11496 r72327 | file | 2007-06-27 18:43:11 -0400 (Wed, 27 Jun 2007) | 2
11497 lines Fix issue where queue log events might be missing. (issue
11498 #7765 reported by mtryfoss) ........
11500 2007-06-27 21:08 +0000 [r72272] Russell Bryant <russell@digium.com>
11502 * /, pbx/pbx_config.c: Merged revisions 72267 via svnmerge from
11503 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11504 r72267 | russell | 2007-06-27 16:06:45 -0500 (Wed, 27 Jun 2007) |
11505 5 lines Fix a minor issue with parsing the priority number. You
11506 could have as much whitespace as you want around a numeric
11507 priority, but you couldn't have any whitespace around a special
11508 priority like "n" or "hint". (issue #10039, reported by mitheloc,
11509 fixed by me) ........
11511 2007-06-27 20:46 +0000 [r72260] Brett Bryant <bbryant@digium.com>
11513 * main/asterisk.c, /: Merged revisions 72259 via svnmerge from
11514 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11515 r72259 | bbryant | 2007-06-27 15:43:53 -0500 (Wed, 27 Jun 2007) |
11516 4 lines Fixes 100% load when controlling terminal disappears.
11517 Issue #9654, #10010 ........
11519 2007-06-27 20:25 +0000 [r72257] Joshua Colp <jcolp@digium.com>
11521 * main/channel.c, /: Merged revisions 72256 via svnmerge from
11522 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11523 r72256 | file | 2007-06-27 16:23:24 -0400 (Wed, 27 Jun 2007) | 2
11524 lines I may possibly get shot for doing this... but... defer CDR
11525 processing until after the channel has been dealt with. This
11526 should eliminate all of the issues with channels going funky
11527 (SIP/PRI) when you are posting CDRs to a database that is either
11528 slow or unavailable and do not want to enable batching. ........
11530 2007-06-27 19:13 +0000 [r72205] Kevin P. Fleming <kpfleming@digium.com>
11532 * channels/chan_zap.c: use the proper type for storing group number
11533 bits so that if someone specifies 'group=42' it will actually
11534 work instead of being silently ignored
11536 2007-06-27 18:40 +0000 [r72182-72185] Jason Parker <jparker@digium.com>
11538 * apps/app_voicemail.c: Fix another problem in voicemail with
11539 missing symbols. Issue 10074, patch by kryptolus, extended to
11540 include #if 0'd blocks (just in case)
11542 2007-06-27 17:31 +0000 [r72148] Joshua Colp <jcolp@digium.com>
11544 * main/channel.c: Make the ast_read_noaudio API call behave better
11545 under circumstances where DTMF emulation was happening and a
11546 generator was setup. (issue #10065 reported by stevefeinstein)
11548 2007-06-27 17:10 +0000 [r72125] Jason Parker <jparker@digium.com>
11550 * channels/chan_gtalk.c: Don't modify a variable that we don't want
11551 modified. Make a copy of it instead. Issue 10029, patch by
11552 phsultan with slight modifications by me (to remove needless
11555 2007-06-27 16:34 +0000 [r72112] Russell Bryant <russell@digium.com>
11557 * main/rtp.c: Only output debug information related to RTCP
11558 timestamps when RTCP debug is turned on (issue #10066, patch by
11561 2007-06-27 07:58 +0000 [r72042] Christian Richter <christian.richter@beronet.com>
11563 * channels/misdn/isdn_lib.c, /: Merged revisions 72040-72041 via
11565 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11566 r72040 | crichter | 2007-06-27 09:49:27 +0200 (Mi, 27 Jun 2007) |
11567 1 line for inbound TE calls, we setup the bchannel when we get
11568 the CONNECT_ACKNOWLEDGE, to make sure mISDN has everything ready.
11569 removed some #if 0 areas which weren't used anymore. ........
11570 r72041 | crichter | 2007-06-27 09:54:30 +0200 (Mi, 27 Jun 2007) |
11571 1 line isdn_lib.c didn't compile ........
11573 2007-06-27 00:58 +0000 [r72006] Joshua Colp <jcolp@digium.com>
11575 * pbx/pbx_dundi.c: Make unloading of pbx_dundi actually work.
11577 2007-06-26 23:02 +0000 [r71953] Mark Michelson <mmichelson@digium.com>
11579 * apps/app_voicemail.c: Removing a pointless line. This variable
11580 was already set earlier and between then and this line, there is
11581 no way that the values on the right side of the assignment could
11584 2007-06-26 20:36 +0000 [r71915] Jason Parker <jparker@digium.com>
11586 * main/rtp.c: Don't dereference a pointer that may be NULL here.
11589 2007-06-26 19:00 +0000 [r71877] Mark Michelson <mmichelson@digium.com>
11591 * apps/app_voicemail.c: A few changes, the ultimate goal of which
11592 is to keep better track of the number of messages that a mailbox
11593 currently has. A description of the changes: 1. Changed the
11594 "updated" field of the vm_state struct to act more as a binary
11595 semaphore than a counting semaphore, since its current
11596 implementation made the inboxcount function not work properly.
11597 This change falls in line with a change made by UPenn with their
11598 IMAP setup and helps to sync our changes with theirs. 2.
11599 Eliminated some redundant calls to get_vm_state_by_mailbox inside
11600 leave_voicemail 3. Use the play_folder variable to keep track of
11601 the number of old and new messages in a mailbox as the messages
11602 are deleted 4. Added an increment to the number of new messages
11603 that was not there previously in the leave_voicemail function
11605 2007-06-26 15:47 +0000 [r71796] Mark Michelson <mmichelson@digium.com>
11607 * apps/app_voicemail.c: Fixing bug where the authuser was
11608 mistakenly pulled from the mailbox string instead of the IMAP
11609 user. (closes issue 10054, reported and patched by jaroth)
11611 2007-06-26 12:27 +0000 [r71657-71751] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
11613 * apps/app_voicemail.c, /: Merged revisions 71750 via svnmerge from
11614 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11615 r71750 | tilghman | 2007-06-26 07:25:58 -0500 (Tue, 26 Jun 2007)
11616 | 2 lines Issue 10062 - Trying to move a message without
11617 selecting one first results in memory corruption ........
11619 * /, res/res_agi.c: Merged revisions 71656 via svnmerge from
11620 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11621 r71656 | tilghman | 2007-06-25 13:12:37 -0500 (Mon, 25 Jun 2007)
11622 | 2 lines Issue 10035 - handle_exec returns a result inconsistent
11623 with all of the other AGI commands ........
11625 2007-06-25 14:13 +0000 [r71522-71576] Joshua Colp <jcolp@digium.com>
11627 * channels/chan_h323.c: Build a peer as well when hash323 is
11628 enabled in users.conf (issue #9599 reported by asagage)
11630 * channels/chan_agent.c: Minor tweak for queueing up the unhold
11631 frame... this will teach me to do bugs while half asleep. (issue
11632 #10046 reported by dimas)
11634 2007-06-25 12:40 +0000 [r71519] Russell Bryant <russell@digium.com>
11636 * doc/asterisk-mib.txt: Fix a typo in the Asterisk mib. (issue
11639 2007-06-25 01:10 +0000 [r71412-71430] Joshua Colp <jcolp@digium.com>
11641 * /, channels/chan_sip.c: Merged revisions 71414 via svnmerge from
11642 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11643 r71414 | file | 2007-06-24 21:02:49 -0400 (Sun, 24 Jun 2007) | 2
11644 lines Ignore other URIs after the first in a 300 Multiple Choice
11645 response. (issue #10041 reported by homesick) ........
11647 * main/cdr.c: Fix it so 1.4 actually compiles on my box.
11649 * channels/chan_agent.c: Check to make sure the channel pointer is
11650 present before queueing up an unhold frame on it. (issue #10046
11653 2007-06-24 20:16 +0000 [r71362-71371] Russell Bryant <russell@digium.com>
11655 * build_tools/prep_tarball: Include the menuselect-tree file in
11656 tarballs to make builds from tarballs a little bit faster
11658 * main/asterisk.c, /: Merged revisions 71358 via svnmerge from
11659 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11660 r71358 | russell | 2007-06-24 15:04:21 -0500 (Sun, 24 Jun 2007) |
11661 2 lines Revert the patch from issue 9654 due to an unexpected
11662 side effect ........
11664 2007-06-24 17:50 +0000 [r71289-71291] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
11666 * res/res_features.c: Issue 10044 - chan->cdr is NULL here, so
11667 peer->cdr is what we really wanted to use
11669 * main/db.c, main/manager.c, /: Merged revisions 71288 via svnmerge
11670 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11671 ........ r71288 | tilghman | 2007-06-24 12:32:21 -0500 (Sun, 24
11672 Jun 2007) | 2 lines Issue 10043 - There is a legitimate need to
11673 be able to set variables to the empty string. ........
11675 2007-06-23 03:29 +0000 [r71230] Steve Murphy <murf@digium.com>
11677 * main/cdr.c, res/res_features.c: This patch is meant to fix 8433;
11678 where clid and src are lost via bridging.
11680 2007-06-22 22:44 +0000 [r71214] Christian Richter <christian.richter@beronet.com>
11682 * channels/misdn/isdn_lib.c, channels/misdn/isdn_lib.h,
11683 channels/chan_misdn.c, /: Merged revisions 70341 via svnmerge
11684 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11685 ........ r70341 | crichter | 2007-06-20 17:29:09 +0200 (Mi, 20
11686 Jun 2007) | 1 line fixed a bug that was introduced by copy and
11687 paste in the last commit ..bchannels weren't cleaned properly.
11690 2007-06-22 15:38 +0000 [r71096-71123] Christian Richter <christian.richter@beronet.com>
11692 * channels/misdn/isdn_lib.c, channels/chan_misdn.c, /: Merged
11693 revisions 70672 via svnmerge from
11694 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11695 r70672 | crichter | 2007-06-21 15:11:29 +0200 (Do, 21 Jun 2007) |
11696 1 line we activate the bchannels in TE mode on incoming calls
11697 only when we want to connect the call. ........
11699 * channels/misdn/isdn_lib.c, /: Merged revisions 70342 via svnmerge
11700 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11701 ........ r70342 | crichter | 2007-06-20 17:42:39 +0200 (Mi, 20
11702 Jun 2007) | 1 line forgot one place .. ........
11704 * channels/misdn/isdn_lib.c, channels/misdn/isdn_lib.h,
11705 channels/chan_misdn.c, /: Merged revisions 70311 via svnmerge
11706 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11707 ........ r70311 | crichter | 2007-06-20 16:47:59 +0200 (Mi, 20
11708 Jun 2007) | 1 line on receiption of cause:44 we mark the channel
11709 as in use and inform the user about the situation, we need to
11710 test the RESTART stuff then. Also shuffled the
11711 empty_chan_in_stack function after the bchannel cleaning
11712 functions, to avoid race conditions. ........
11714 * channels/chan_misdn.c, /: Merged revisions 69887 via svnmerge
11715 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11716 ........ r69887 | crichter | 2007-06-19 15:23:04 +0200 (Di, 19
11717 Jun 2007) | 1 line when we send out a SETUP, but get no response,
11718 we should cleanup everything after reception of a hangup.
11721 * /, channels/misdn/isdn_msg_parser.c: Merged revisions 69053 via
11723 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11724 r69053 | crichter | 2007-06-13 11:55:54 +0200 (Mi, 13 Jun 2007) |
11725 1 line restart indicator 0x80 is correct, at least that's what
11726 libpri does. ........
11728 * channels/chan_misdn.c, /: Merged revisions 68887 via svnmerge
11729 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11730 ........ r68887 | crichter | 2007-06-12 10:35:22 +0200 (Di, 12
11731 Jun 2007) | 1 line if the bridged partner is mISDN too we should
11732 not send dtmf tones, they are transmitted inband always ........
11734 * channels/chan_misdn.c, /: Merged revisions 68874 via svnmerge
11735 from https://origsvn.digium.com/svn/asterisk/branches/1.2
11736 ........ r68874 | crichter | 2007-06-12 09:48:52 +0200 (Di, 12
11737 Jun 2007) | 1 line if we have already some digits, we just stop
11738 the tones. ........
11740 2007-06-22 15:00 +0000 [r71068] Jason Parker <jparker@digium.com>
11742 * apps/app_speech_utils.c, /, res/res_agi.c, main/file.c: Merged
11743 revisions 71065 via svnmerge from
11744 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11745 r71065 | qwell | 2007-06-22 09:52:18 -0500 (Fri, 22 Jun 2007) | 4
11746 lines Fix a few silly usages of ast_playstream() - it only ever
11747 returns 0... Issue 10035 ........
11749 2007-06-22 14:53 +0000 [r71066] Brett Bryant <bbryant@digium.com>
11751 * main/asterisk.c, /: Merged revisions 71064 via svnmerge from
11752 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11753 r71064 | bbryant | 2007-06-22 09:39:34 -0500 (Fri, 22 Jun 2007) |
11754 10 lines Fixed infinite loop when controlling terminal was lost
11755 and return value of input function wasn't checked for errors.
11756 This would cause 100% cpu to be taken up. (closes issue #9654,
11757 issue #10010) Reported by: mnicholson, and eserra Idea for the
11758 patch from mnicholson, patched by me ........
11760 2007-06-22 14:10 +0000 [r71063] Steve Murphy <murf@digium.com>
11762 * main/cdr.c: My conditions for merging amaflags info was naive;
11763 DOCUMENTATION is the default, although null is possible; theft of
11764 user-settable fields is not good. Just copy them, leave them
11767 2007-06-22 03:14 +0000 [r71003] Russell Bryant <russell@digium.com>
11769 * channels/chan_iax2.c: Fix a small typo which ... well ...
11770 completely broke chan_iax2. oops! (issue #9937, patch by me)
11772 2007-06-21 22:34 +0000 [r70949] Steve Murphy <murf@digium.com>
11774 * main/cdr.c, /: Merged revisions 70948 via svnmerge from
11775 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11776 r70948 | murf | 2007-06-21 16:29:50 -0600 (Thu, 21 Jun 2007) | 1
11777 line This little fix is in response to bug 10016, but may not
11778 cure it. The code is wrong, clearly. In a situation where you set
11779 the CDR's amaflags, and then ForkCDR, and then set the new CDR's
11780 amaflags to some other value, you will see that all CDRs have had
11781 their amaflags changed. This is not good. So I fixed it. ........
11783 2007-06-21 21:40 +0000 [r70899] Joshua Colp <jcolp@digium.com>
11785 * apps/app_voicemail.c, /: Merged revisions 70898 via svnmerge from
11786 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11787 r70898 | file | 2007-06-21 17:37:55 -0400 (Thu, 21 Jun 2007) | 2
11788 lines Don't explode if the gain option is specified without a
11789 value. (issue #9274 reported by mfarver) ........
11791 2007-06-21 21:14 +0000 [r70866-70883] Russell Bryant <russell@digium.com>
11793 * channels/chan_iax2.c: Put the thread reading from the socket back
11794 in the idle list if it deferred the processing of a full frame to
11797 * channels/chan_iax2.c: If a full frame is received while one of
11798 the iax2 threads is in the middle of handling a full frame for
11799 the same call, queue it up for processing by that same thread
11800 later instead of dropping it. (issue #9937, patch by me)
11802 2007-06-21 20:19 +0000 [r70841] Steve Murphy <murf@digium.com>
11804 * cdr/cdr_custom.c, /: Merged revisions 70804 via svnmerge from
11805 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11806 r70804 | murf | 2007-06-21 13:13:17 -0600 (Thu, 21 Jun 2007) | 1
11807 line it was pointed out that the cdr_custom config load could get
11808 a lock, and under certain circumstances, would never release it.
11809 I also noted that the situation where more than one mapping spec
11810 was warned about, but did not ignore further mappings as it had
11811 promised. I think I have fixed both situations. ........
11813 2007-06-21 19:49 +0000 [r70808] Mark Michelson <mmichelson@digium.com>
11815 * apps/app_voicemail.c: When volgain is used don't leave a
11816 temporary file behind. (Closes Issue 8514, Reported and patched
11817 by ulogic, code reviewed by Jason Parker)
11819 2007-06-21 15:22 +0000 [r70727] Joshua Colp <jcolp@digium.com>
11821 * main/rtp.c: Do not Packet2Packet bridge if packetization settings
11822 do not allow it. (issue #9117 reported by phsultan)
11824 2007-06-21 15:21 +0000 [r70726] Russell Bryant <russell@digium.com>
11826 * apps/app_meetme.c: Remove a couple of duplicate unlocks
11828 2007-06-21 13:58 +0000 [r70677] Joshua Colp <jcolp@digium.com>
11830 * apps/app_voicemail.c: Fix building with ODBC storage enabled.
11831 (issue #10025 reported by denisgalvao)
11833 2007-06-21 13:00 +0000 [r70656] Steve Murphy <murf@digium.com>
11835 * main/cdr.c: Via complaints aired in asterisk-users, I submit
11836 these changes, which allow cdr updates to see macro
11837 context/exten, whether hung up or not
11839 2007-06-20 23:32 +0000 [r70554-70612] Jason Parker <jparker@digium.com>
11841 * cdr/cdr_pgsql.c: Fix some potential memory leaks in cdr_pgsql.
11842 Issue 10020, patch by my, with credit to prashant_jois for
11843 pointing out the problem.
11845 * cdr/cdr_pgsql.c: Fix a stupid mistake in my last cdr_pgsql race
11848 * cdr/cdr_pgsql.c: Fix a race condition in cdr_pgsql that can occur
11849 when reloading the module. Issue 10022, patch by me, with credit
11850 to prashant_jois for finding the bug.
11852 2007-06-20 22:22 +0000 [r70552] Joshua Colp <jcolp@digium.com>
11854 * /, channels/chan_sip.c: Merged revisions 70551 via svnmerge from
11855 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11856 r70551 | file | 2007-06-20 18:20:16 -0400 (Wed, 20 Jun 2007) | 2
11857 lines Don't overwrite the configured username setting upon a
11858 REGISTER. (issue #8565 reported by jsmith) ........
11860 2007-06-20 20:53 +0000 [r70494] Jason Parker <jparker@digium.com>
11862 * channels/chan_skinny.c: Make sure we clear the previously dialed
11863 number if it did not exist. Issue 9958.
11865 2007-06-20 19:29 +0000 [r70445] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
11867 * apps/app_dial.c, /: Merged revisions 70444 via svnmerge from
11868 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11869 r70444 | tilghman | 2007-06-20 14:25:54 -0500 (Wed, 20 Jun 2007)
11870 | 2 lines Issue 9997 - Timelimit times out the wrong channel
11873 2007-06-20 18:46 +0000 [r70397] Russell Bryant <russell@digium.com>
11875 * channels/chan_zap.c, /: Merged revisions 70396 via svnmerge from
11876 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11877 r70396 | russell | 2007-06-20 13:45:38 -0500 (Wed, 20 Jun 2007) |
11878 5 lines Fix a problem where an established call would not be
11879 properly disconnected when a PRI disconnect is received depending
11880 on which cause code was received. (issue #9588, original patch by
11881 softins, updated patch from jtexter3, and some additional
11882 feedback from mhardeman) ........
11884 2007-06-20 17:52 +0000 [r70198-70360] Joshua Colp <jcolp@digium.com>
11886 * main/rtp.c, main/frame.c: Put the speex packetization values back
11887 in but disable it when setting up the smoother.
11889 * main/frame.c: Don't do packetization/smoother stuff with speex,
11892 2007-06-20 00:03 +0000 [r70084-70164] Russell Bryant <russell@digium.com>
11894 * contrib/scripts/ast_grab_core: don't delete the backtrace in
11897 * channels/chan_gtalk.c: Only attempt to queue a hangup on the
11898 owner channel if it actually exists. (issue #9795, patch from
11901 2007-06-19 18:23 +0000 [r70062] Steve Murphy <murf@digium.com>
11903 * main/channel.c, /: Merged revisions 70053 via svnmerge from
11904 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11905 r70053 | murf | 2007-06-19 12:07:59 -0600 (Tue, 19 Jun 2007) | 1
11906 line This fixes 9246, where channel variables are not available
11907 in the 'h' exten, on a 'ZOMBIE' channel. The fix is to
11908 consolidate the channel variables during a masquerade, and then
11909 copy the merged variables back onto the clone, so the zombie has
11910 the same vars that the 'original' has. ........
11912 2007-06-19 17:07 +0000 [r70003] Joshua Colp <jcolp@digium.com>
11914 * main/rtp.c, /: Merged revisions 69992 via svnmerge from
11915 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11916 r69992 | file | 2007-06-19 13:00:58 -0400 (Tue, 19 Jun 2007) | 2
11917 lines Handle the CC field in the RTP header. (issue #9384
11918 reported by DoodleHu) ........
11920 2007-06-19 16:24 +0000 [r69987] Joshua Colp <jcolp@digium.com>
11922 * main/channel.c, /: Merged revisions 69986 via svnmerge from
11923 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11924 r69986 | file | 2007-06-19 12:21:29 -0400 (Tue, 19 Jun 2007) | 2
11925 lines Update BRIDGEPEER variable if set to the new channel name
11926 when a masquerade happens. (issue #9699 reported by dimas)
11929 2007-06-19 15:22 +0000 [r69944] Russell Bryant <russell@digium.com>
11931 * channels/chan_sip.c: Fix a crash that could occur when handing
11932 device state changes. When the state of a device changes, the
11933 device state thread tells the extension state handling code that
11934 it changed. Then, the extension state code calls the callback in
11935 chan_sip so that it can update subscriptions to that extension. A
11936 pointer to a sip_pvt structure is passed to this function as the
11937 call which needs a NOTIFY sent. However, there was no locking
11938 done to ensure that the pvt struct didn't disappear during this
11939 process. (issue #9946, reported by tdonahue, patch by me, patch
11940 updated to trunk to use the sip_pvt lock wrappers by eliel)
11942 2007-06-19 13:55 +0000 [r69805-69895] Joshua Colp <jcolp@digium.com>
11944 * /, apps/app_meetme.c: Merged revisions 69894 via svnmerge from
11945 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11946 r69894 | file | 2007-06-19 09:54:03 -0400 (Tue, 19 Jun 2007) | 2
11947 lines Perform an extra hangup check just in case. (issue #9589
11948 reported by bcnit) ........
11950 * /, res/res_features.c: Merged revisions 69846 via svnmerge from
11951 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11952 r69846 | file | 2007-06-19 08:57:55 -0400 (Tue, 19 Jun 2007) | 2
11953 lines Add parked call extension AFTER the parking slot has been
11954 announced, otherwise two threads will try to handle the same
11955 channel and it will go kaboom. (issue #9191 reported by japple)
11958 * main/callerid.c: Fix for building on PowerPC under Linux.
11960 2007-06-18 19:48 +0000 [r69796] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
11962 * channels/chan_sip.c: Issue 10005 - Segfault with missing
11963 arguments, plus fix a missing define for SIP INFO channels
11965 2007-06-18 19:00 +0000 [r69775-69794] Joshua Colp <jcolp@digium.com>
11967 * channels/chan_sip.c: Don't count RTP timeout when involved in a
11968 T38 fax session. (issue #9222 reported by ivoc)
11970 * /, channels/chan_sip.c: Merged revisions 69765 via svnmerge from
11971 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11972 r69765 | file | 2007-06-18 14:13:03 -0400 (Mon, 18 Jun 2007) | 2
11973 lines Set the peer name on the dialog to the one configured in
11974 sip.conf and NOT the username to be used for authentication
11975 attempts. (issue #9967 reported by achauvin) ........
11977 2007-06-18 17:46 +0000 [r69744] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
11979 * contrib/scripts/safe_asterisk, /: Merged revisions 69743 via
11981 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
11982 r69743 | tilghman | 2007-06-18 12:45:15 -0500 (Mon, 18 Jun 2007)
11983 | 2 lines Issue 9998 - Remove SIG prefix, since it's not
11984 supported by ksh ........
11986 2007-06-18 16:51 +0000 [r69708] Joshua Colp <jcolp@digium.com>
11988 * main/dnsmgr.c: Remember the DNS lookup done when dnsmgr is called
11989 for the first time so that it does not needlessly spit out
11990 changed messages when the host really didn't change.
11992 2007-06-18 16:35 +0000 [r69689-69702] Russell Bryant <russell@digium.com>
11994 * res/res_odbc.c, apps/app_voicemail.c, res/res_config_odbc.c,
11995 build_tools/menuselect-deps.in, configure, funcs/func_odbc.c,
11996 include/asterisk/autoconfig.h.in, configure.ac, cdr/cdr_odbc.c:
11997 To prevent 92138749238754 more reports of "I have unixodbc
11998 installed, but still can't build *_odbc.so!", check for ltdl
11999 directly, instead of just listing it as another library to
12000 include in the unixodbc check in the configure script. This also
12001 makes ltdl show up as a dependency in menuselect so people know
12002 what to go install. (related to issue #9989, patch by me)
12004 * build_tools/prep_moduledeps: Change the use of "echo -e" to
12005 "printf". On systems where /bin/sh is not bash, most of the lines
12006 in menuselect-tree were getting a "-e" at the beginning of every
12007 line. I'm surprised nobody noticed this, but I think the XML
12008 parser was being very nice and ignoring them.
12010 2007-06-18 16:04 +0000 [r69661-69668] Joshua Colp <jcolp@digium.com>
12012 * channels/chan_sip.c: Don't defer the BYE till later on a transfer
12013 when the transfer itself goes kaboom and has no hope of working.
12015 * channels/chan_sip.c: Few minor transfer tweaks. We can't unlock
12016 something we never locked, and better handle a specific scenario
12017 with doing an attended transfer between two non-bridged calls.
12019 2007-06-18 15:46 +0000 [r69660] Russell Bryant <russell@digium.com>
12021 * Makefile: Tweak paths for BSD systems (issue #10001, stuarth)
12023 2007-06-18 13:55 +0000 [r69625] Joshua Colp <jcolp@digium.com>
12025 * channels/chan_sip.c: Fix issue where it would be possible for the
12026 negotiated codecs to get set back to nothing. (issue #9992
12027 reported by yehavi)
12029 2007-06-15 Russell Bryant <russell@digium.com>
12031 * Asterisk 1.4.5 released.
12033 2007-06-15 20:18 +0000 [r69579] Russell Bryant <russell@digium.com>
12035 * res/res_features.c: Fix a silly deadlock in res_features that I
12036 found while debugging on one of blitzrage's test machines. It was
12037 one of the situations where he was seeing hung channels, and may
12038 be the cause of some of the reports from other people. (related
12041 2007-06-15 19:23 +0000 [r69558] Joshua Colp <jcolp@digium.com>
12043 * apps/app_speech_utils.c: Add support for setting the maximum
12044 length of acceptable DTMF in SpeechBackground.
12046 2007-06-15 15:27 +0000 [r69518] Russell Bryant <russell@digium.com>
12048 * apps/app_meetme.c: The SLATRUNK_STATUS variable indicated
12049 "SUCCESS" for both an answer of the incoming call on the trunk,
12050 or if the trunk reached its ring timeout. This patch changes the
12051 variable to say "RINGTIMEOUT" in that case. (issue #9973,
12052 reported by n00dle, patch by me)
12054 2007-06-14 23:22 +0000 [r69434-69470] Jason Parker <jparker@digium.com>
12056 * main/config.c, /: Merged revisions 69469 via svnmerge from
12057 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12058 r69469 | qwell | 2007-06-14 18:21:45 -0500 (Thu, 14 Jun 2007) | 4
12059 lines Fix an issue where the line number in an unterminated
12060 comment block error message would show the wrong line number.
12061 "Reported" to me on #asterisk (somebody posted an error message,
12062 and I happened to catch it) ........
12064 * sounds/Makefile: Update to latest versions of sound files.
12066 2007-06-14 21:50 +0000 [r69392] Kevin P. Fleming <kpfleming@digium.com>
12068 * cdr/cdr_tds.c, cdr/cdr_csv.c, main/cdr.c, channels/chan_phone.c,
12069 cdr/cdr_sqlite.c, main/logger.c, main/callerid.c, cdr/cdr_odbc.c,
12070 main/asterisk.c, channels/chan_mgcp.c, cdr/cdr_manager.c,
12071 apps/app_voicemail.c, include/asterisk/utils.h, main/pbx.c,
12072 main/say.c, cdr/cdr_pgsql.c, cdr/cdr_radius.c,
12073 channels/chan_iax2.c: use ast_localtime() in every place
12074 localtime_r() was being used
12076 2007-06-14 21:08 +0000 [r69358] Russell Bryant <russell@digium.com>
12078 * main/say.c: Fix some problems with saying dates and times for the
12079 "tw" langauge (issue #9964, ljmid)
12081 2007-06-14 15:21 +0000 [r69259] Jason Parker <jparker@digium.com>
12083 * funcs/func_groupcount.c, /: Merged revisions 69258 via svnmerge
12084 from https://origsvn.digium.com/svn/asterisk/branches/1.2
12085 ........ r69258 | qwell | 2007-06-14 10:15:53 -0500 (Thu, 14 Jun
12086 2007) | 4 lines Change a quite broken while loop to a for loop,
12087 so "continue;" works as expected instead of eating 99% CPU...
12088 Issue 9966, patch by me. ........
12090 2007-06-13 21:19 +0000 [r69184-69222] Joshua Colp <jcolp@digium.com>
12092 * channels/chan_iax2.c: Whoops...
12094 * channels/chan_iax2.c: Let's make chan_iax2 media only native
12095 transfers actually work. (issue #9376 reported by simone
12098 * channels/iax2-parser.c: Add TXMEDIA to list so that it is
12099 properly displayed during iax2 packet output.
12101 2007-06-13 19:57 +0000 [r69183] Russell Bryant <russell@digium.com>
12103 * channels/chan_sip.c: Move the logic for destroying a call when no
12104 response is received to a BYE outside of the block that checks
12105 for FLAG_FATAL to be set. This flag is only set when the packet
12106 is transmitted with the reliability set to XMIT_CRITICAL when the
12107 original packet is transmitted. A BYE is always sent with it set
12108 to XMIT_RELIABLE, meaning this code could never be encountered.
12109 This resulted in seeing some SIP channels that would never go
12110 away with the last packet sent being a BYE. (part of issue #9235,
12111 patch from jcmoore)
12113 2007-06-13 19:41 +0000 [r69181] Mark Michelson <mmichelson@digium.com>
12115 * apps/app_voicemail.c: Contains a patch for fixing an encoding
12116 problem when using Outlook to view voicemail emails and
12117 attachments. This fix has also been tested on Thunderbird,
12118 Evolution, Pine, and Mutt. (Issue 9336, reported by marwick,
12119 patched by mutterc)
12121 2007-06-13 19:08 +0000 [r69128-69144] Joshua Colp <jcolp@digium.com>
12123 * apps/app_meetme.c: Really ignore NULL frames and check whether
12124 the channel hungup or not. (issue #9912 reported by junky)
12126 * /, main/app.c: Merged revisions 69127 via svnmerge from
12127 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12128 r69127 | file | 2007-06-13 14:12:48 -0400 (Wed, 13 Jun 2007) | 2
12129 lines Return group counting to previous behavior where you could
12130 only have one group per category. (issue #9711 reported by
12133 2007-06-13 16:56 +0000 [r69016-69071] Russell Bryant <russell@digium.com>
12135 * channels/chan_sip.c: Clarify a bit of logic. This doesn't change
12136 behavior in any way, but it is helpful when following the logic
12137 to debug problems like 9235.
12139 * channels/chan_iax2.c: Fix a place where a chan_iax2 pvt struct
12140 was accessed without the lock held. This issue was reported to me
12141 via email by Dmitry Mishchenko. Thanks!
12143 * cdr/cdr_pgsql.c: Fix a memory leak pointed out by prashant_jois
12144 in #asterisk-bugs. PQclear() was not called on the result
12145 structure after doing a PQexec(). Also, fix up some formatting in
12148 2007-06-12 19:36 +0000 [r69012-69014] Joshua Colp <jcolp@digium.com>
12150 * channels/chan_iax2.c: Change the full frame dropping log message
12151 to debug to avoid future bug reports.
12153 * channels/chan_iax2.c: Schedule the sending of a PING packet a
12154 second later than previously so that it does not collide with the
12157 2007-06-12 19:13 +0000 [r69010] Russell Bryant <russell@digium.com>
12159 * main/channel.c: In ast_channel_make_compatible(), just return if
12160 the channels' read and write formats already match up. There are
12161 code paths that call this function on a pair of channels multiple
12162 times. This made calls fail that were using g729 in some cases.
12163 The reason is that codec_g729a will unregister itself from the
12164 list of available translators will all licenses are in use. So,
12165 the first time the function got called, the right translation
12166 path was allocated. However, the second time it got called, the
12167 code would not find a translation path to/from g729 and make the
12168 call fail, even if the channel actually already had a g729
12169 translation path allocated. (SPD-32)
12171 2007-06-12 14:23 +0000 [r68922] Joshua Colp <jcolp@digium.com>
12173 * main/rtp.c, /: Merged revisions 68921 via svnmerge from
12174 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12175 r68921 | file | 2007-06-12 10:18:57 -0400 (Tue, 12 Jun 2007) | 2
12176 lines Bring RTP back to Asterisk at the end of a native bridge no
12177 matter what. ........
12179 2007-06-11 21:20 +0000 [r68814] Jason Parker <jparker@digium.com>
12181 * include/asterisk/time.h: Solaris 10 sometimes (?) needs this
12182 include in order to have NULL defined.
12184 2007-06-11 20:45 +0000 [r68781] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
12186 * apps/app_directory.c: Issue 9947 - fn2 was unused / incorrectly
12189 2007-06-11 16:57 +0000 [r68733] Christian Richter <christian.richter@beronet.com>
12191 * channels/chan_misdn.c, /, channels/misdn/isdn_msg_parser.c:
12192 Merged revisions 68732 via svnmerge from
12193 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12194 r68732 | crichter | 2007-06-11 18:49:00 +0200 (Mo, 11 Jun 2007) |
12195 1 line added check for NULL Pointer when calling misdn_new.
12196 Asterisk does not allow us to create channels anymore when stop
12197 gracefully is used :). also modified the restart_indicator to 0
12200 2007-06-11 14:33 +0000 [r68683] Joshua Colp <jcolp@digium.com>
12202 * main/channel.c, /: Merged revisions 68682 via svnmerge from
12203 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12204 r68682 | file | 2007-06-11 10:29:58 -0400 (Mon, 11 Jun 2007) | 2
12205 lines Improve deadlock handling of the channel list. (issue #8376
12206 reported by one47) ........
12208 2007-06-11 10:29 +0000 [r68644] Christian Richter <christian.richter@beronet.com>
12210 * channels/misdn/isdn_lib.c, channels/misdn/isdn_lib.h,
12211 channels/chan_misdn.c, /, channels/misdn/ie.c,
12212 channels/misdn/isdn_msg_parser.c: Merged revisions 68631 via
12214 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12215 r68631 | crichter | 2007-06-11 11:18:01 +0200 (Mo, 11 Jun 2007) |
12216 1 line fixed problem that the dummybc chanels had no lock,
12217 checking for the lock now. Also fixed the channel restart stuff,
12218 we can now specify and restart particular channels too. ........
12220 2007-06-11 04:21 +0000 [r68595] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
12222 * pbx/pbx_config.c: "dialplan save" produced garbage in the config
12225 2007-06-08 22:23 +0000 [r68527] Russell Bryant <russell@digium.com>
12227 * /, apps/app_dictate.c: Merged revisions 68526 via svnmerge from
12228 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12229 r68526 | russell | 2007-06-08 17:22:36 -0500 (Fri, 08 Jun 2007) |
12230 4 lines Don't automatically hang up after running Dictate so that
12231 callers can exit cleanly using '#' (closes issue #9577, patch
12232 from Thomas Andrews) ........
12234 2007-06-08 15:52 +0000 [r68450] Kevin P. Fleming <kpfleming@digium.com>
12236 * channels/chan_iax2.c: actually remember the type/subclass of full
12237 frames that are in process
12239 2007-06-08 00:17 +0000 [r68370-68401] Joshua Colp <jcolp@digium.com>
12241 * /, main/say.c: Merged revisions 68397 via svnmerge from
12242 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12243 r68397 | file | 2007-06-07 20:15:33 -0400 (Thu, 07 Jun 2007) | 2
12244 lines Don't call ast_waitstream_full when the control file
12245 descriptor and audio file descriptor are not set, simply call
12246 ast_waitstream! (issue #8530 reported by rickead2000) ........
12248 * main/dnsmgr.c, /: Merged revisions 68368 via svnmerge from
12249 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12250 r68368 | file | 2007-06-07 19:59:04 -0400 (Thu, 07 Jun 2007) | 2
12251 lines Do a DNS lookup immediately upon calling the dnsmgr
12252 function, don't wait until a refresh happens. (issue #9097
12253 reported by plack) ........
12255 2007-06-07 23:14 +0000 [r68354] Russell Bryant <russell@digium.com>
12257 * /, main/say.c: Merged revisions 68351 via svnmerge from
12258 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12259 r68351 | russell | 2007-06-07 18:13:33 -0500 (Thu, 07 Jun 2007) |
12260 3 lines Fix a problem where saying a character wouldn't properly
12261 break out when the caller pressed '#' (issue #8113, reported by
12262 patbaker82, patch from jamesgolovich (hey, long time no see!) and
12263 patbaker82) ........
12265 2007-06-07 23:00 +0000 [r68326] Jason Parker <jparker@digium.com>
12267 * apps/app_voicemail.c: Fix incorrect French syntax of "old
12268 messages". Request for feedback was sent to asterisk-dev mailing
12269 list, with little response. Issue 9118, patch by junky.
12271 2007-06-07 22:14 +0000 [r68313] Kevin P. Fleming <kpfleming@digium.com>
12273 * channels/chan_iax2.c: some improvements to the IAX2 full frame
12274 dropping logic recently added: - use inaddrcmp(), since we have
12275 it - output the type of frame and subclass being dropped, and the
12276 type/subclass that is already being processed (which caused the
12279 2007-06-07 21:16 +0000 [r68280] Russell Bryant <russell@digium.com>
12281 * channels/chan_agent.c, apps/app_queue.c: Fix loading persistent
12282 queue members when using realtime configuration for queues. Also,
12283 remove an unneeded leading slash for the astdb family. (issue
12284 #9911, patch by atis)
12286 2007-06-07 20:25 +0000 [r68211-68249] Jason Parker <jparker@digium.com>
12288 * channels/chan_skinny.c: Fix an issue with newer phones which
12289 require packets be padded out to the correct length. Issue 9887,
12292 * apps/app_voicemail.c, /: Merged revisions 68204 via svnmerge from
12293 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12294 r68204 | qwell | 2007-06-07 15:02:50 -0500 (Thu, 07 Jun 2007) | 4
12295 lines Don't try to save voicemail greetings unless the user
12296 presses '1' to accept/save. Issue 9904, patch by me. ........
12298 2007-06-07 19:47 +0000 [r68198] Mark Michelson <mmichelson@digium.com>
12300 * apps/app_voicemail.c: Submitting a fix for Issue 8016. Added a
12301 check to make sure that greetings get stored properly. (Issue
12302 8016, reported by edhorton, patched by alamantia with
12303 modification by me. Thanks to Jason Parker for the advice on
12306 2007-06-07 19:46 +0000 [r68196] Olle Johansson <oej@edvina.net>
12308 * channels/chan_features.c: Disable chan_features by default in
12311 2007-06-07 19:30 +0000 [r68192] Russell Bryant <russell@digium.com>
12313 * main/strcompat.c: Include stdarg.h for build issues on Solaris
12316 2007-06-07 18:39 +0000 [r68071-68157] Joshua Colp <jcolp@digium.com>
12318 * main/channel.c: Fix logic when doing a name based channel search
12319 for a structure when you want to start from a specific point in
12320 the channel list. (issue #9324 reported by slavon)
12322 * apps/app_dial.c, /: Merged revisions 68070 via svnmerge from
12323 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12324 r68070 | file | 2007-06-07 10:19:40 -0400 (Thu, 07 Jun 2007) | 2
12325 lines Allow the 'g' option to work if used with the 'S' option.
12326 (issue #9888 reported by gasparz) ........
12328 2007-06-07 10:00 +0000 [r67993-68030] Olle Johansson <oej@edvina.net>
12330 * res/res_jabber.c: Adding a few Todo's to res_jabber so we don't
12333 * res/res_jabber.c: Ok, we found out that this is not about if you
12334 have any *active* clients using TLS, but if you have initialized
12335 TLS at all during the lifetime of the module. So if you reload to
12336 disable TLS, it won't help.
12338 * res/res_jabber.c: If you have a jabber client that uses TLS,
12339 refuse unload. Bad fix, but will prevent crashes while we are
12340 trying to find a workaround. Iksemel development seems to have
12341 stalled and we might have to stop using the TCP/TLS connections
12342 in that library and use our own, which would scale better from a
12343 poll/select perspective I guess. It would also make it easier to
12344 migrate to OpenSSL and stop Asterisk from depending on both
12345 OpenSSL and GnuTLS.
12347 * include/asterisk/jabber.h, res/res_jabber.c: Issue #9738 - Make
12348 sure we can unload res_jabber. Patch by phsultan - thanks! Due to
12349 a bug in the iksemel library, this will not work if you are using
12350 GTLS in the connection. That's being investigated. If you figure
12351 out a way to handle that without us having to patch iksemel, let
12352 us know in the bug report. Thanks.
12354 2007-06-07 00:10 +0000 [r67924-67941] Joshua Colp <jcolp@digium.com>
12356 * /, channels/chan_sip.c: Merged revisions 67938 via svnmerge from
12357 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12358 r67938 | file | 2007-06-06 20:09:13 -0400 (Wed, 06 Jun 2007) | 2
12359 lines Only notify the devicestate system of a peer state change
12360 when the peer is built from the config file. (issue #9900
12361 reported by arkadia) ........
12363 * main/file.c: Properly handle cases where a stream can't be
12364 written to. (issue #9757 reported by junky)
12366 2007-06-06 22:08 +0000 [r67862-67872] Russell Bryant <russell@digium.com>
12368 * res/res_snmp.c: Disable reload functionality in res_snmp. It is
12369 not possible to initialize the snmp library more than once
12370 without completely unloading the module and loading it again.
12371 (issue #9571, reported by hristo, additional helpful debug
12372 information from festr, patch from me)
12374 * channels/chan_sip.c: Fix a crash when doing call pickups with SIP
12375 phones. The code unlocked the channel when it should not have.
12376 (issue #9652, reported by corruptor, fixed by me)
12378 2007-06-06 19:26 +0000 [r67804] Mark Michelson <mmichelson@digium.com>
12380 * apps/app_voicemail.c: Fix for Issue 9810. There was a segfault
12381 under a specific set of circumstances: 1. VoiceMailMain was
12382 configured in the dialplan with an extension as its argument 2. A
12383 message was left for this mailbox 3. Tried to call VoiceMailMain
12384 but hung up before entering password. This was fixed by checking
12385 that a pointer was non-null prior to trying to dereference it.
12386 (Issue 9810, reported by xmarksthespot, patched by Corydon76 with
12387 modifications by me).
12389 2007-06-06 16:55 +0000 [r67716] Russell Bryant <russell@digium.com>
12391 * main/channel.c, /, include/asterisk/linkedlists.h: Merged
12392 revisions 67715 via svnmerge from
12393 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12394 r67715 | russell | 2007-06-06 11:40:51 -0500 (Wed, 06 Jun 2007) |
12395 5 lines We have some bug reports showing crashes due to a double
12396 free of a channel. Add a sanity check to ast_channel_free() to
12397 make sure we don't go on trying to free a channel that wasn't
12398 found in the channel list. (issue #8850, and others...) ........
12400 2007-06-06 13:30 +0000 [r67594-67650] Joshua Colp <jcolp@digium.com>
12402 * main/rtp.c, /: Merged revisions 67649 via svnmerge from
12403 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12404 r67649 | file | 2007-06-06 09:28:34 -0400 (Wed, 06 Jun 2007) | 2
12405 lines Reinvite the RTP back to the Asterisk machine when the
12406 timeout happens. (issue #9888 reported by gasparz) ........
12408 * main/translate.c: Fix plc_samples warning when registering a
12409 translator. (issue #9897 reported by xylome)
12411 * apps/app_directed_pickup.c: Include macroexten while searching
12412 for a channel to pick up in case they are in a macro. (issue
12413 #9491 reported by jamesb63)
12415 * res/res_agi.c: Make the new "agi debug off" CLI command work.
12416 (issue #9890 reported by eliel)
12418 * /, main/devicestate.c: Merged revisions 67593 via svnmerge from
12419 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12420 r67593 | file | 2007-06-06 08:18:36 -0400 (Wed, 06 Jun 2007) | 2
12421 lines Revert channel name splitting fix for Zap. The moral of the
12422 story is don't use - in your user/peer names. (issue #9668
12423 reported by stevedavies) ........
12425 2007-06-05 23:01 +0000 [r67558] Russell Bryant <russell@digium.com>
12427 * apps/app_meetme.c: Fix some crashes related to the use of the
12428 "meetme" CLI command. The code for this command was not locking
12429 the conference list at all. (issue #9351, reported by and patch
12430 submitted by Junk-Y, committed patch is different and by me)
12432 2007-06-05 21:30 +0000 [r67526] Steve Murphy <murf@digium.com>
12434 * pbx/ael/ael.tab.c, pbx/ael/ael.y, pbx/pbx_ael.c: this fixes bug
12435 9883, wherein macros were not allowing the includes construct.
12436 fixed and tested, looks OK. Now includes can serve as an adjunct
12439 2007-06-05 20:53 +0000 [r67457-67492] Russell Bryant <russell@digium.com>
12441 * include/asterisk/linkedlists.h: This bug has been hanging over my
12442 head ever since I wrote this SLA code. Every time I tried to go
12443 debug it by adding some debug output, the behavior would change.
12444 It turns out I wasn't crazy. I had the following piece of code:
12445 if (remove) AST_LIST_REMOVE_CURRENT(...); Well,
12446 AST_LIST_REMOVE_CURRENT was not wrapped in braces, so my
12447 conditional statement didn't do much good at all. It always ran
12448 at least all of the macro minus the first statement, so I was
12449 seeing list entries magically disappear when they weren't
12450 supposed to. After many hours of debugging, I have come to this
12451 extremely irritating fix. :) (issues #9581, #9497)
12453 * channels/chan_zap.c: Suppress a bunch of debug output unless
12456 2007-06-05 18:32 +0000 [r67424] Mark Michelson <mmichelson@digium.com>
12458 * apps/app_voicemail.c: Fix for bug number 9786, wherein voicemails
12459 saved to IMAP storage using extensions other than gsm were unable
12460 to be played over the phone. (Issue 9786, reporter:
12461 xmarksthespot, Patched by xmarksthe spot with revisions by me,
12462 reviewed by Russell Bryant).
12464 2007-06-05 18:18 +0000 [r67421] Jason Parker <jparker@digium.com>
12466 * channels/chan_skinny.c: Correctly update date/time on devices
12467 throughout the life of the device, instead of just at
12468 registration. Issue 9152, yet another patch by DEA.
12470 2007-06-05 18:17 +0000 [r67420] Steve Murphy <murf@digium.com>
12472 * pbx/pbx_ael.c: Added code to automatically add a default case to
12473 switches that don't have one. In some cases, rather than fall
12474 thru, it results in a goto with -1 result, which terminates the
12475 extension; a sort of dialplan seqfault, sort of. This was
12476 required to fix bug reported in 9881
12478 2007-06-05 17:07 +0000 [r67360-67372] Russell Bryant <russell@digium.com>
12480 * main/channel.c: Handle a failure in malloc() in
12481 ast_safe_string_alloc()
12483 * main/channel.c: Fix a problem that showed itself by causing Zap
12484 channel names to be completely bogus on my machine.
12485 ast_safe_string_alloc() was broken. It called vsnprintf() on a
12486 va_args list twice without re-initializing it. After the first
12487 usage, va_end() and va_start() must be called again.
12489 2007-06-05 16:14 +0000 [r67329-67334] Christian Richter <christian.richter@beronet.com>
12491 * /, channels/misdn/chan_misdn_config.h: Merged revisions 67307 via
12493 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12494 r67307 | crichter | 2007-06-05 17:42:03 +0200 (Di, 05 Jun 2007) |
12495 1 line briding is a bool, fixed copy and paste issue. ........
12497 * channels/chan_misdn.c, /: Merged revisions 67306 via svnmerge
12498 from https://origsvn.digium.com/svn/asterisk/branches/1.2
12499 ........ r67306 | crichter | 2007-06-05 17:39:43 +0200 (Di, 05
12500 Jun 2007) | 1 line simplified the EVENT_SETUP handling in the
12501 cb_events function a lot. Commented the different possibilities a
12502 bit and made functions of shared code. When the dialed extension
12503 does not exist in the extensions.conf we'll jump into the 'i'
12504 extension if this does exist, else we disconnect the call with
12505 the cause:1 = No Route to Destination. ........
12507 2007-06-05 15:51 +0000 [r67308] Russell Bryant <russell@digium.com>
12509 * main/asterisk.c, main/loader.c, include/asterisk/module.h: When
12510 shutting down "gracefully", go through and run the unload()
12511 callbacks for all of the modules. "stop now" is considered a
12512 non-graceful shutdown and will not go through this process.
12513 (issue #9804, reported by chrisost, patch by me)
12515 2007-06-05 15:22 +0000 [r67304] Joshua Colp <jcolp@digium.com>
12517 * channels/chan_iax2.c: Only muck with the thread structure if an
12518 idle one was found/created.
12520 2007-06-05 14:35 +0000 [r67270] Kevin P. Fleming <kpfleming@digium.com>
12522 * channels/chan_iax2.c: ensure that a burst of full frames
12523 (AST_FRAME_DTMF being the prime example) will not be processed
12524 out of order... this is a brute force fix, but seems to be the
12525 safest fix for now (thanks to the Digium PQ department for
12528 2007-06-05 10:25 +0000 [r67210] Christian Richter <christian.richter@beronet.com>
12530 * channels/misdn_config.c, channels/chan_misdn.c, /,
12531 channels/misdn/chan_misdn_config.h: Merged revisions 67209 via
12533 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12534 r67209 | crichter | 2007-06-05 12:05:45 +0200 (Di, 05 Jun 2007) |
12535 1 line added possibility to deactivate bridging per port ........
12537 2007-06-04 23:43 +0000 [r67162] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
12539 * /, funcs/func_math.c: Merged revisions 67161 via svnmerge from
12540 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12541 r67161 | tilghman | 2007-06-04 18:41:49 -0500 (Mon, 04 Jun 2007)
12542 | 2 lines According to MATH, 0+1181000386 = 1181000448. Oops.
12545 2007-06-04 23:31 +0000 [r67158] Russell Bryant <russell@digium.com>
12547 * channels/chan_iax2.c: Fix up a bunch of places where the iax2 pvt
12548 structure can disappear and the code did not account for it and
12549 crashes. (issues #9642, #9569, #9666, probably others ... based
12550 on the work by stevedavies and mihai, with additional changes
12553 2007-06-04 23:26 +0000 [r67121-67156] Jason Parker <jparker@digium.com>
12555 * channels/chan_skinny.c: Fix for skinny keepalives. If there is no
12556 traffic from the phone for (keep_alive * 1100) ms (arbitrarily
12557 adding 10% for network issues, etc), unregister the device. Issue
12558 8394, patch by DEA.
12560 * channels/chan_mgcp.c: Fixes for dtmf/dialing with mgcp (similar
12561 to the recent fix for chan_skinny) Issue 9855, patch by DEA.
12563 2007-06-04 22:28 +0000 [r67119] Russell Bryant <russell@digium.com>
12565 * channels/chan_iax2.c: Add comments for two functions that get
12566 called with the appropriate call locked, but perform operations
12567 that could result in the pvt structure getting destroyed before
12568 returning again, causing numerous seg faults all over the module.
12569 (inspired by issues #9642, #9569, and #9666, and the work done by
12570 stevedavies and mihai)
12572 2007-06-04 21:59 +0000 [r67073] Steve Murphy <murf@digium.com>
12574 * main/cdr.c: This typo has been here since 1.4 forked. It has been
12575 the source of heartburn to many a dialplan/CDR programmer.
12577 2007-06-04 21:47 +0000 [r67071] Russell Bryant <russell@digium.com>
12579 * main/rtp.c: Add a missing \n. (pointed out by jcmoore on IRC)
12581 2007-06-04 19:31 +0000 [r67064-67068] Joshua Colp <jcolp@digium.com>
12583 * channels/chan_sip.c: Better handle SIP devices that say they have
12584 SDP content... but really don't. (issue #9398 reported by
12587 * apps/app_dial.c: Initialize cidname variable to nothing since it
12588 may be used without having been touched. (issue #9661 reported by
12591 * res/res_features.c: Returning a value that indicates the parking
12592 of a call was a success when it really wasn't (because the
12593 parking slot selected was in use) is the wrong thing to do.
12594 (issue #9723 reported by mdu113)
12596 2007-06-04 17:11 +0000 [r67061] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
12598 * contrib/init.d/rc.debian.asterisk,
12599 contrib/init.d/rc.mandrake.asterisk, /,
12600 contrib/init.d/rc.redhat.asterisk,
12601 contrib/init.d/rc.gentoo.asterisk,
12602 contrib/init.d/rc.mandrake.zaptel,
12603 contrib/init.d/rc.slackware.asterisk: Merged revisions 67060 via
12605 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12606 r67060 | tilghman | 2007-06-04 12:10:30 -0500 (Mon, 04 Jun 2007)
12607 | 2 lines Add revision Id tags (by request of tzafrir) ........
12609 2007-06-04 16:02 +0000 [r67026] Russell Bryant <russell@digium.com>
12611 * configure, configure.ac: Change the configure script to build a
12612 test program against libcurl to make sure the results from
12613 curl-config can be used to compile successfully. This is intended
12614 to help prevent a situation where you are cross compiling, and
12615 the configure script finds the curl library installed on the
12616 host. (issue #9865, reported and patched by zandbelt)
12618 2007-06-04 15:50 +0000 [r67021] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
12620 * res/res_jabber.c: Issue 9739 - Malformed jid causes a crash
12622 2007-06-04 15:47 +0000 [r67018-67020] Russell Bryant <russell@digium.com>
12624 * channels/chan_iax2.c: Resolve a deadlock in chan_iax2. When
12625 handling an implicit ACK to a frame that was marked as the final
12626 transmission for a call, don't call iax2_destroy() for that call
12627 while the global frame queue is still locked. There is a very
12628 nice explanation of the deadlock in the report. (issue #9663,
12629 thorough report and patch from stevedavies, additional positive
12630 test reports from mihai and joff_oconnell)
12632 * include/asterisk/stringfields.h: Fix some compiler warnings in
12633 C++ modules. (issue #9866, reported by osk, patch by Corydon76)
12635 2007-06-01 21:45 +0000 [r66919] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
12637 * funcs/func_odbc.c: On some drivers, deallocating the statement
12638 handle isn't enough. We also have to clear the cursor (nice,
12641 2007-06-01 21:31 +0000 [r66897-66917] Mark Michelson <mmichelson@digium.com>
12643 * apps/app_voicemail.c: Removing extraneous debugging lines from
12644 revision 66897. Sorry :)
12646 * apps/app_voicemail.c: Submitting a fix for voicemail with IMAP
12647 storage. Attachments with format specified as gsm were duplicated
12648 (i.e. two attachments) were left. Thank you very much to
12649 xmarksthespot for submitting the patch that fixed this. (Issues
12650 9787 and 8873, Reported by xmarksthespot and jerjer, patched by
12653 2007-06-01 19:41 +0000 [r66879-66881] Russell Bryant <russell@digium.com>
12655 * channels/chan_skinny.c: Changes to the way DTMF is handled in the
12656 core broke dialing in chan_skinny. This patch makes chan_skinny
12657 usable again. I did not end up testing this, but there are
12658 multiple positive test reports listed in the bug report. (issue
12659 #9596, reported by pj, testing by pj and mvanbaak, and the fix
12660 was written by DEA)
12662 * apps/app_page.c: List app_meetme as a module that app_page
12665 2007-05-31 23:03 +0000 [r66821] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
12667 * doc/asterisk.8: Issue 9850 - update preferred command line syntax
12669 2007-05-31 18:41 +0000 [r66775] Russell Bryant <russell@digium.com>
12671 * res/res_speech.c, include/asterisk/app.h,
12672 include/asterisk/speech.h: Change a couple of header files to not
12673 use "new", which is a reserved keyword in C++. (issue #9830,
12676 2007-05-31 17:15 +0000 [r66770] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
12678 * /, apps/app_macro.c: Merged revisions 66744 via svnmerge from
12679 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12680 r66744 | tilghman | 2007-05-31 10:58:45 -0500 (Thu, 31 May 2007)
12681 | 2 lines Issue 9818 - Fix for issue 8329 breaks pbx_realtime.
12682 Issue 8329 will remain unfixed for pbx_realtime, but only because
12683 we lack core API to do it. ........
12685 2007-05-31 16:14 +0000 [r66768] Joshua Colp <jcolp@digium.com>
12687 * /, channels/chan_sip.c: Merged revisions 66764 via svnmerge from
12688 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12689 r66764 | file | 2007-05-31 12:12:39 -0400 (Thu, 31 May 2007) | 2
12690 lines It is now possible for this path of execution to have the
12691 frame pointer be NULL, therefore we need to check for it before
12692 trying to access it. (issue #9836 reported by barthpbx) ........
12694 2007-05-30 23:26 +0000 [r66671] Mark Michelson <mmichelson@digium.com>
12696 * apps/app_voicemail.c: Fixed seg-faults when recording greetings
12697 in voicemail with IMAP enabled. (Issue No. 9735, reported by
12698 xmarksthespot, patched by me)
12700 2007-05-30 17:28 +0000 [r66602-66639] Joshua Colp <jcolp@digium.com>
12702 * channels/chan_sip.c: Silly me for having out of date source! Oh
12703 well... I'm still leaving my comment.
12705 * channels/chan_sip.c: When calling some peer/host that may not
12706 exist/reply back... don't keep the dialog in memory for all of
12709 * channels/chan_zap.c, channels/chan_features.c: Change how channel
12710 names are generated a bit. (issue #9825 reported by eldadran)
12712 2007-05-29 21:56 +0000 [r66538] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
12714 * /, funcs/func_strings.c: Merged revisions 66537 via svnmerge from
12715 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12716 r66537 | tilghman | 2007-05-29 16:49:35 -0500 (Tue, 29 May 2007)
12717 | 2 lines If the value of a variable passed to FIELDQTY is blank,
12718 then FIELDQTY should return 0, not 1. ........
12720 2007-05-29 19:32 +0000 [r66474-66503] Olle Johansson <oej@edvina.net>
12722 * channels/chan_sip.c: Properly handle 408 request timeout -
12723 according to the RFC, the dialog dies if a request in a dialog
12724 gets this response.
12726 * channels/chan_sip.c: Don't issue hangup on hangup on hangup on
12727 hangup (for jcmoore)
12729 2007-05-29 16:44 +0000 [r66437] Joshua Colp <jcolp@digium.com>
12731 * main/rtp.c: Handle cases where a frame may have no data. (issue
12732 #9519 reported by dmb)
12734 2007-05-29 16:07 +0000 [r66404-66414] Olle Johansson <oej@edvina.net>
12736 * channels/chan_sip.c: Don't reset hangupcause if we already have
12739 * channels/chan_sip.c: Tracking down hanging channels, killing them
12740 one by one. Issue #9235 and related
12742 2007-05-29 15:43 +0000 [r66398] Joshua Colp <jcolp@digium.com>
12744 * doc/datastores.txt: Update datastores documentation. (issue #9801
12745 reported by mnicholson)
12747 2007-05-29 09:41 +0000 [r66363] Olle Johansson <oej@edvina.net>
12749 * /, channels/chan_sip.c: Merged revisions 66349 via svnmerge from
12750 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12751 r66349 | oej | 2007-05-29 09:53:14 +0200 (Tue, 29 May 2007) | 2
12752 lines Issue #9802 - Change inuse counter on CANCEL ........
12754 2007-05-28 23:16 +0000 [r66312] Joshua Colp <jcolp@digium.com>
12756 * channels/chan_zap.c: Make the usedistinctiveringdetection option
12757 work again. (issue #9823 reported by premeau)
12759 2007-05-27 04:12 +0000 [r66244] Jason Parker <jparker@digium.com>
12761 * channels/chan_zap.c: I don't know what this was trying to do, but
12762 it's clearly incorrect. Issues 9808 and 9809.
12764 2007-05-25 14:43 +0000 [r66160] Kevin P. Fleming <kpfleming@digium.com>
12766 * configure, configure.ac: have to check for OSP toolkit _after_
12767 checking for OpenSSL
12769 2007-05-25 14:41 +0000 [r66159] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
12771 * /, main/say.c: Merged revisions 66127 via svnmerge from
12772 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12773 r66127 | tilghman | 2007-05-25 08:46:35 -0500 (Fri, 25 May 2007)
12774 | 2 lines Issue 9791 - Fix pronunciation of seconds in Dutch
12777 2007-05-25 14:28 +0000 [r66157] Kevin P. Fleming <kpfleming@digium.com>
12779 * configure, configure.ac, channels/chan_gtalk.c, makeopts.in,
12780 res/res_jabber.c: handle the GNUTLS library properly in the
12781 configure script and build system don't build in OSP support
12782 unless we have found and are allowed to use SSL support
12784 2007-05-24 22:23 +0000 [r66076] Russell Bryant <russell@digium.com>
12786 * main/channel.c: if the string field init fails, clean up the
12787 stuff that was allocated already
12789 2007-05-24 22:16 +0000 [r66074] Joshua Colp <jcolp@digium.com>
12791 * main/slinfactory.c: Fix slinfactory logic when dealing with
12792 frames coming in that may already be in the signed linear format.
12794 2007-05-24 22:07 +0000 [r66068-66070] Russell Bryant <russell@digium.com>
12796 * main/channel.c: Check the result of ast_string_field_init() in
12797 ast_channel_alloc()
12799 * main/rtp.c: Make 1.4 build on my machine, too..
12801 2007-05-24 20:54 +0000 [r66029-66030] Jason Parker <jparker@digium.com>
12803 * configure: Rebuild configure script for previous ar fix.
12805 * configure.ac: Following moving strip to AC_PATH_TOOL, we need to
12806 do something similar for ar.
12808 2007-05-24 20:42 +0000 [r65978-66026] Russell Bryant <russell@digium.com>
12810 * configure, include/asterisk/autoconfig.h.in, configure.ac:
12811 Checking for the strip application needs to be done with
12812 AC_PATH_TOOL instead of AC_PATH_PROG to properly handle cross
12813 compilation environments.
12815 * Makefile: Clear CFLAGS before running make for menuselect. (issue
12816 #9784, reported by ovi, patch by me)
12818 2007-05-24 18:28 +0000 [r65965-65967] Kevin P. Fleming <kpfleming@digium.com>
12820 * channels/chan_gtalk.c: oops, use #ifdef instead of #if
12822 * channels/chan_gtalk.c: don't reference GnuTLS headers and
12823 functions unless the configure script found it
12825 * main/rtp.c: don't use uninitialized variables
12827 2007-05-24 15:27 +0000 [r65902] Joshua Colp <jcolp@digium.com>
12829 * main/manager.c: Add the ability to blacklist certain commands
12830 from being executed using the Command AMI action. (issue #9240
12833 2007-05-24 15:26 +0000 [r65892-65901] Olle Johansson <oej@edvina.net>
12835 * channels/chan_gtalk.c: Issue 7672 - fix by zandbelt - Asterisk
12836 core dump since the GnuTLS interface did not support
12837 multithreading correctly.
12839 * channels/chan_gtalk.c: Issue 8193 - NAT issues with gtalk/STUN.
12840 Patch by phsultan. Thanks!
12842 2007-05-24 15:16 +0000 [r65877-65883] Jason Parker <jparker@digium.com>
12844 * .cleancount: Update cleancount for that last commit - just for
12847 * include/asterisk/translate.h, codecs/codec_speex.c,
12848 main/translate.c, codecs/codec_ilbc.c: Fix handling of
12849 zero-length frames when a codec is capable of native PLC. Issue
12850 9183, patch by Mihai.
12852 2007-05-24 15:08 +0000 [r65866] Dwayne M. Hubbard <dhubbard@digium.com>
12854 * funcs/func_math.c: merged qwell's func_math patch for issue 9507
12856 2007-05-24 15:08 +0000 [r65863] Joshua Colp <jcolp@digium.com>
12858 * main/rtp.c: I like it when the RTP stack compiles myself...
12860 2007-05-24 15:05 +0000 [r65857] Olle Johansson <oej@edvina.net>
12862 * channels/chan_gtalk.c: Issue 7686, fix by phsultan, NAT issues
12863 when calling from gtalk to SIP over nat.
12865 2007-05-24 15:04 +0000 [r65842-65853] Russell Bryant <russell@digium.com>
12867 * apps/app_festival.c: Ensure that frames are fully initialized.
12868 This will probably fix getting weird timestamp log messages in
12869 logs when using the Festival app. (issue #9781, patch by me)
12871 * main/rtp.c: Fix the calculation of the RTT for RTCP. The previous
12872 code would result in oscillating and incorrect data.
12873 Additionally, the RTT would sometimes report negative values due
12874 to incorrect calculations. (issue #9601, patch from davetroy)
12876 2007-05-24 14:48 +0000 [r65841] Olle Johansson <oej@edvina.net>
12878 * channels/chan_gtalk.c: Issue #8536 - Caller ID not set in CDR for
12881 2007-05-24 14:42 +0000 [r65839] Joshua Colp <jcolp@digium.com>
12883 * /, channels/chan_sip.c: Merged revisions 65837 via svnmerge from
12884 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12885 r65837 | file | 2007-05-24 10:40:38 -0400 (Thu, 24 May 2007) | 2
12886 lines Allow RFC2833 to be negotiated when an INVITE comes in
12887 without SDP and is not matched to a user or peer. (issue #9546
12888 reported by mcrawford) ........
12890 2007-05-24 14:38 +0000 [r65836] Olle Johansson <oej@edvina.net>
12892 * channels/chan_sip.c, res/res_jabber.c: Issue 8409 - phsultan -
12893 Fix "login" as component to jabber server. ...and, by accident,
12894 fix a bug in chan_sip for stopping a loop on retransmits of BYE
12897 2007-05-24 09:37 +0000 [r65768] Christian Richter <christian.richter@beronet.com>
12899 * channels/chan_misdn.c, /: Merged revisions 65767 via svnmerge
12900 from https://origsvn.digium.com/svn/asterisk/branches/1.2
12901 ........ r65767 | crichter | 2007-05-24 11:19:58 +0200 (Do, 24
12902 Mai 2007) | 1 line we should only activate the generator in
12903 chan_misdn, when asterisk hask not yet taken the call
12904 (WAITING4DIGS state). Alerting audio will be generated fomr
12905 asterisk for example. ........
12907 2007-05-23 20:59 +0000 [r65677-65685] Kevin P. Fleming <kpfleming@digium.com>
12909 * channels/chan_iax2.c: start the delayed PBX when receive voice or
12910 video full frames as well, and comment this delayed-PBX activity
12912 * /, channels/chan_sip.c: Merged revisions 65682 via svnmerge from
12913 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12914 r65682 | kpfleming | 2007-05-23 16:46:22 -0400 (Wed, 23 May 2007)
12915 | 2 lines ensure that variables are set on a newly created
12916 channel before we start a PBX on it ........
12918 * channels/chan_iax2.c: clear the 'delay PBX' flag when we are
12919 ready to start the PBX
12921 * channels/chan_iax2.c: don't start a PBX on a new incoming IAX2
12922 channel until we have some sort of response to our ACCEPT (ACK or
12925 * /, channels/chan_iax2.c: Merged revisions 65676 via svnmerge from
12926 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12927 r65676 | kpfleming | 2007-05-23 16:06:13 -0400 (Wed, 23 May 2007)
12928 | 2 lines if we are going to set variables on a newly created
12929 channel, it should be done *before* we start the PBX on it
12932 2007-05-23 13:07 +0000 [r65589] Russell Bryant <russell@digium.com>
12934 * channels/chan_zap.c, /: Merged revisions 65588 via svnmerge from
12935 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12936 r65588 | russell | 2007-05-23 08:06:17 -0500 (Wed, 23 May 2007) |
12937 3 lines Revert revision 62417 as someone reported problems with
12938 it to Mark. This was related to issue #9588. ........
12940 2007-05-22 20:25 +0000 [r65541] Kevin P. Fleming <kpfleming@digium.com>
12942 * build_tools/make_version: when building a version string for a
12943 developer branch, include the base branch in the version string
12945 2007-05-22 18:40 +0000 [r65501] Russell Bryant <russell@digium.com>
12947 * apps/app_voicemail.c, channels/chan_zap.c: List res_smdi as a
12948 dependency for app_voicemail and chan_zap (Thanks to mnicholson
12949 for pointing it out)
12951 2007-05-22 15:04 +0000 [r65452] Joshua Colp <jcolp@digium.com>
12953 * apps/app_meetme.c: Remove a double const.
12955 2007-05-22 14:02 +0000 [r65408] BJ Weschke <bweschke@btwtech.com>
12957 * apps/app_followme.c: Fix a problem with flag recognition.
12959 2007-05-22 13:09 +0000 [r65394] Russell Bryant <russell@digium.com>
12961 * /, apps/app_queue.c: Merged revisions 65389 via svnmerge from
12962 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12963 r65389 | russell | 2007-05-22 08:07:03 -0500 (Tue, 22 May 2007) |
12964 4 lines Fix a memory leak that I just noticed in the device state
12965 handling in app_queue. On most device state changes, it would
12966 leak roughly 8 to 64 bytes (the length of the name of the
12969 2007-05-22 08:12 +0000 [r65342] Christian Richter <christian.richter@beronet.com>
12971 * channels/chan_misdn.c, /: Merged revisions 65328 via svnmerge
12972 from https://origsvn.digium.com/svn/asterisk/branches/1.2
12973 ........ r65328 | crichter | 2007-05-22 09:46:39 +0200 (Di, 22
12974 Mai 2007) | 1 line we stop the tones only when we're in the
12975 pre-call phase, otherwise e.g. when in CONNECTED state we should
12976 not stop tones when we receive an Information Message ........
12978 2007-05-20 17:59 +0000 [r65250] Joshua Colp <jcolp@digium.com>
12980 * res/res_agi.c: res_agi needs to export two symbols
12981 (ast_agi_register and ast_agi_unregister) for usage by others.
12982 (issue #9755 reported by mnicholson)
12984 2007-05-18 22:26 +0000 [r65200-65201] Steve Murphy <murf@digium.com>
12986 * main/cdr.c: Ugh. The svnmerge didn't catch the shift from cdr.c
12987 to main/cdr.c, and neither did I. This is the remainder of the
12988 9717 patch, the fix for the run-away FAIL status for a call
12990 * apps/app_dial.c, /, include/asterisk/cdr.h: Merged revisions
12991 65172 via svnmerge from
12992 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
12993 r65172 | murf | 2007-05-18 14:56:20 -0600 (Fri, 18 May 2007) | 1
12994 line This update will fix the situation that occurs as described
12995 by 9717, where when several targets are specified for a dial, if
12996 any one them reports FAIL, the whole call gets FAIL, even though
12997 others were ringing OK. I rearranged the priorities, so that a
12998 new disposition, NULL, is at the lowest level, and the
12999 disposition get init'd to NULL. Then, next up is FAIL, and next
13000 up is BUSY, then NOANSWER, then ANSWERED. All the related set
13001 routines will only do so if the disposition value to be set to is
13002 greater than what's already there. This gives the intended
13003 effect. So, if all the targets are busy, you'd get BUSY for the
13004 call disposition. If all get BUSY, but one, and that one rings is
13005 not answered, you get NOANSWER. If by some freak of nature, the
13006 NULL value doesn't get overridden, then the disp2str routine will
13007 report NOANSWER as before. ........
13009 2007-05-18 18:16 +0000 [r65041-65123] Olle Johansson <oej@edvina.net>
13011 * /, channels/chan_sip.c: Merged revisions 65122 via svnmerge from
13012 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13013 r65122 | oej | 2007-05-18 20:10:46 +0200 (Fri, 18 May 2007) | 2
13014 lines Not getting an ACK to a 200 OK in the initial invite is
13015 critical to the call. ........
13017 * /, channels/chan_sip.c: Merged revisions 65075 via svnmerge from
13018 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13019 r65075 | oej | 2007-05-18 17:12:09 +0200 (Fri, 18 May 2007) | 5
13020 lines Issue 9235 - part of the problem, maybe not all. Please
13021 retry with this patch (and no other patch) if you have problems
13022 with hanging SIP channels. Thank you. A special Thank You to
13023 WeBRainstorm that gave me access to his system. ........
13025 * channels/chan_sip.c: - Adding support for putting calls OFF hold
13026 with a re-invite with blank SDP. This was a bug found while doing
13027 tests at SIPit in Antwerp. - In order to not duplicate code, I
13028 restructured some of the code for putting calls on/off hold.
13029 Thanks DEA for reminding me. This fix has been asleep in the
13030 videocaps branch until now.
13032 2007-05-18 12:40 +0000 [r65039] Christian Richter <christian.richter@beronet.com>
13034 * /, channels/misdn/ie.c, channels/misdn/isdn_msg_parser.c: Merged
13035 revisions 65007 via svnmerge from
13036 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13037 r65007 | crichter | 2007-05-18 13:23:11 +0200 (Fr, 18 Mai 2007) |
13038 1 line fixed a warning regarding Keypad encoding. encode the IE
13039 sending_complete at the right position. ........
13041 2007-05-18 10:37 +0000 [r64974] Olle Johansson <oej@edvina.net>
13043 * channels/chan_sip.c: Issue 9487 - stop media flows at hangup of
13046 2007-05-18 08:58 +0000 [r64904] Christian Richter <christian.richter@beronet.com>
13048 * channels/chan_misdn.c, /: Merged revisions 64902 via svnmerge
13049 from https://origsvn.digium.com/svn/asterisk/branches/1.2
13050 ........ r64902 | crichter | 2007-05-18 10:24:08 +0200 (Fr, 18
13051 Mai 2007) | 1 line we *need* to send a PROCEEDING when
13052 sending_complete is set, even if need_more_infos is requested.
13055 2007-05-18 02:48 +0000 [r64868] Russell Bryant <russell@digium.com>
13057 * apps/app_queue.c: Fix a small bug I noticed while working on
13058 something else. app_queue did not unregister its device state
13059 monitoring callback in unload_module(). So, this would make
13060 Asterisk crash on the first device state change after you unload
13063 2007-05-17 21:19 +0000 [r64820] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
13065 * /, include/asterisk/linkedlists.h: Merged revisions 64819 via
13067 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13068 r64819 | tilghman | 2007-05-17 16:14:36 -0500 (Thu, 17 May 2007)
13069 | 2 lines How is it that we never caught that this is returning
13070 the opposite of our documentation, until now? ........
13072 2007-05-17 16:53 +0000 [r64761] Jason Parker <jparker@digium.com>
13074 * apps/app_voicemail.c, /: Merged revisions 64758 via svnmerge from
13075 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13076 r64758 | qwell | 2007-05-17 11:52:38 -0500 (Thu, 17 May 2007) | 4
13077 lines If we have a negative current message, we shouldn't go back
13078 even further... Issue 9727. ........
13080 2007-05-17 16:52 +0000 [r64756-64759] Russell Bryant <russell@digium.com>
13082 * contrib/scripts/astxs (removed): Remove script that is no longer
13083 functional since the build system was redone. (issue #9340,
13086 * apps/app_dial.c: Increase the size of a buffer to support longer
13087 dial strings for channels. (issue #9291, reported and fix
13090 2007-05-17 16:10 +0000 [r64720-64754] Joshua Colp <jcolp@digium.com>
13092 * channels/chan_sip.c: Even more direct RTP setup fixes! Don't
13093 allow a codec that isn't supported to creep into the SDP of
13094 either side. (issue #9446 reported by marcelbarbulescu)
13096 * apps/app_voicemail.c: Fix authuser support. (issue #9740 reported
13099 2007-05-17 06:13 +0000 [r64686] Russell Bryant <russell@digium.com>
13101 * README: Update the main README to reflect the new build process
13102 for 1.4 and above. (issue #9725, patch by eliel)
13104 2007-05-16 11:01 +0000 [r64516-64609] Olle Johansson <oej@edvina.net>
13106 * /: Blocking patch already in this code
13108 * channels/chan_sip.c: Fix auth on BYE. (Different patch than for
13111 * channels/chan_sip.c: Issue #9681 - Handle www-auth on BYE
13113 * channels/chan_sip.c: Final part of issue #9483 - fixing
13114 transfer() of sip calls in the dial plan (twilson)
13116 * channels/chan_sip.c: Issue #9439 - properly handle username
13117 parameters in SIP uri.
13119 * /, channels/chan_sip.c: Merged revisions 64535 via svnmerge from
13120 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13121 r64535 | oej | 2007-05-16 11:08:22 +0200 (Wed, 16 May 2007) | 2
13122 lines Support SIP uri's starting with SIP: and sip: (reported by
13123 Tony Mountfield on the mailing list. Thanks!) ........
13125 * /, channels/chan_sip.c: Merged following patch with a lot of
13126 changes for 1.4 ------ Merged revisions 64514 via svnmerge from
13127 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13128 r64514 | oej | 2007-05-16 10:25:56 +0200 (Wed, 16 May 2007) | 6
13129 lines Issue #9726 - rlister - Better logging for ACL denials
13130 While at it, also added better logging and handling of peers that
13131 are not supposed to register. My patch, stole the issue report
13132 from Russell. My apologies, Russell :-) ........
13134 2007-05-16 08:44 +0000 [r64515] Christian Richter <christian.richter@beronet.com>
13136 * channels/chan_misdn.c, /: Merged revisions 64513 via svnmerge
13137 from https://origsvn.digium.com/svn/asterisk/branches/1.2
13138 ........ r64513 | crichter | 2007-05-16 10:23:42 +0200 (Mi, 16
13139 Mai 2007) | 1 line in the case immediate=yes, we directly jump
13140 into the dialplan, where people can use PlayTones to indicate a
13141 Dialtone, so we don't need to to that by ourself. also we should
13142 not do a dialtone_indicate for incoming calls on a TE port in
13143 overlapdialmode. ........
13145 2007-05-15 19:52 +0000 [r64353-64426] Russell Bryant <russell@digium.com>
13147 * res/res_features.c: Properly fix a problem that occurs when you
13148 set PARKINGEXTEN to an exten where a call is already parked.
13149 (issue #9723, patch by me)
13151 * res/res_features.c: When someone requests a specific parking
13152 space using the PARKINGEXTEN variable, ensure that no other
13153 caller is already there. (issue #9723, reported by mdu113, patch
13156 2007-05-14 19:26 +0000 [r64324] Olle Johansson <oej@edvina.net>
13158 * channels/chan_sip.c: Change -2 to XMIT_ERROR to clarify a bit
13161 2007-05-14 19:13 +0000 [r64306] Russell Bryant <russell@digium.com>
13163 * channels/chan_alsa.c: Properly handle AST_CONTROL_PROGRESS by
13164 just ignoring it. An unknown indication will trigger an error and
13165 cause sounds to stop, which in this case, is ringing.
13167 2007-05-14 18:52 +0000 [r64280] Olle Johansson <oej@edvina.net>
13169 * channels/chan_sip.c: Handle network errors, like host or network
13170 unreachable, in a better way. This means that calls to hosts or
13171 qualify (OPTION) messages will fail quicker if the TCP/IP stack
13172 tells us that there is an issue. Since this is an unconnected UDP
13173 socket, we will not get error messages directly in most cases,
13174 but maybe on the second and third try. This is already
13175 implemented in trunk.
13177 2007-05-14 18:48 +0000 [r64240-64278] Joshua Colp <jcolp@digium.com>
13179 * codecs/codec_speex.c: Properly set datalen field when doing PLC
13180 in codec_speex. (issue #9722 reported by mihai)
13182 * /, main/devicestate.c: Merged revisions 64275 via svnmerge from
13183 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13184 r64275 | file | 2007-05-14 14:34:06 -0400 (Mon, 14 May 2007) | 2
13185 lines Only perform stripping of - strings from the channel name
13186 for Zap channels. Anywhere else we might remove a legitimate part
13187 of a device name. (issue #9668 reported by stevedavies) ........
13189 * main/channel.c: Fix scenario where if a phone that simply called
13190 Echo() put itself on hold it could never get off hold.
13192 2007-05-14 13:58 +0000 [r64193] Steve Murphy <murf@digium.com>
13194 * main/cdr.c, main/pbx.c, channels/chan_local.c: As per 9570,
13195 worrisome CDR warnings have been removed, that are either not
13196 helpful, or not relevant.
13198 2007-05-14 10:39 +0000 [r64157] Olle Johansson <oej@edvina.net>
13200 * main/channel.c: Add hangupcause when we lack codecs for
13203 2007-05-12 22:27 +0000 [r64044-64114] Joshua Colp <jcolp@digium.com>
13205 * channels/chan_sip.c: This concludes my final adventure with
13206 bitmasks and the onhold flag. Would anyone care for some peanuts?
13208 * channels/chan_sip.c: Tweak hold flags some more. They can be of
13209 three states when active: active, inactive, one direction.
13211 * channels/chan_sip.c: Ensure the onhold flag is set no matter what
13212 when being put on hold.
13214 2007-05-11 20:16 +0000 [r63982] Jason Parker <jparker@digium.com>
13216 * main/manager.c: Hide manager password from "manager show user
13217 foo". I realize that there are other ways to get this, but we
13218 really don't need to just show it in plain text so easily. Issue
13219 9273, patch by junky
13221 2007-05-11 16:35 +0000 [r63905] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
13223 * contrib/scripts/safe_asterisk, Makefile, /: Merged revisions
13224 63903 via svnmerge from
13225 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13226 r63903 | tilghman | 2007-05-11 11:31:03 -0500 (Fri, 11 May 2007)
13227 | 2 lines Issue 9121 - fixups for safe_asterisk script ........
13229 2007-05-11 16:05 +0000 [r63886] Russell Bryant <russell@digium.com>
13231 * main/manager.c: When MD5 authentication is not possible because
13232 there is no challenge present, either because the Challenge
13233 action was never issued, or some other reason, give a proper
13234 error message and return an error instead of claiming that the
13235 user wasn't found. (reported by jsmith on IRC)
13237 2007-05-11 15:43 +0000 [r63872] Joshua Colp <jcolp@digium.com>
13239 * res/res_features.c: Make the PARKINGEXTEN feature of parking
13240 actually work. (issue #9708 reported by mdu113)
13242 2007-05-10 23:15 +0000 [r63830] Jason Parker <jparker@digium.com>
13244 * /, channels/chan_iax2.c: Merged revisions 63828 via svnmerge from
13245 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13246 r63828 | qwell | 2007-05-10 18:14:55 -0500 (Thu, 10 May 2007) | 4
13247 lines Fix an issue with trying to kill a thread before it gets
13248 created. Issue 9709, patch by nic_bellamy. ........
13250 2007-05-10 22:23 +0000 [r63804] Russell Bryant <russell@digium.com>
13252 * main/manager.c: Strip terminal escape sequences from CLI command
13253 output that is going to be sent out over the manager interface.
13254 (issue #9659, reported by pari, fixed by me)
13256 2007-05-10 20:48 +0000 [r63750] Doug Bailey <dbailey@digium.com>
13258 * main/callerid.c: Add test for negative offsets in cid data to
13259 prevent infinite loops.
13261 2007-05-10 20:46 +0000 [r63749] Olle Johansson <oej@edvina.net>
13263 * /, channels/chan_sip.c: Merged revisions 63748 via svnmerge from
13264 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13265 r63748 | oej | 2007-05-10 22:38:54 +0200 (Thu, 10 May 2007) | 4
13266 lines Do not allocate SIP pvt's for PEERs we can not reach. This
13267 was seen as a lot of dialogs being created then immediately
13268 destroyed at reload/restart of the SIP channel. ........
13270 2007-05-09 19:22 +0000 [r63656-63698] Joshua Colp <jcolp@digium.com>
13272 * main/channel.c: Use the DTMF frame on the channel when returning
13273 a DTMF frame from AST_FRAME_NULL or AST_FRAME_VOICE.
13275 * channels/chan_sip.c: Do not prematurely go on hold if sendonly
13276 was not actually set.
13278 2007-05-09 17:25 +0000 [r63654] Matthew Fredrickson <creslin@digium.com>
13280 * channels/chan_zap.c, /: Merged revisions 63653 via svnmerge from
13281 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13282 r63653 | mattf | 2007-05-09 12:20:20 -0500 (Wed, 09 May 2007) | 2
13283 lines Make sure we only create a DSP if it's requested on
13286 2007-05-09 16:55 +0000 [r63612] Russell Bryant <russell@digium.com>
13288 * main/channel.c: Modify ast_senddigit_begin() to use the same
13289 assumptions used elsewhere in the code in that if a channel does
13290 not have a send_digit_begin() callback, it only cares about DTMF
13291 END events. (pointed out by Michael Neuhauser on the asterisk-dev
13294 2007-05-09 16:54 +0000 [r63611] Joshua Colp <jcolp@digium.com>
13296 * /, channels/chan_sip.c: Merged revisions 63610 via svnmerge from
13297 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13298 r63610 | file | 2007-05-09 12:51:03 -0400 (Wed, 09 May 2007) | 2
13299 lines Properly handle hints that point to multiple devices in
13300 chan_sip. Why chan_sip is even doing this I have no idea but I
13301 would rather not go into a rant. (issue #9536 reported by
13304 2007-05-09 16:43 +0000 [r63608] Russell Bryant <russell@digium.com>
13306 * main/channel.c: Only call ast_senddigit_begin() in
13307 ast_senddigit() if the channel has a send_digit_begin() callback.
13308 Checking the END_DTMF_ONLY flag was the wrong thing to do,
13309 because that flag indicates that a *bridged* channel only wants
13310 DTMF END events coming from this channel.
13312 2007-05-09 14:50 +0000 [r63566] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
13314 * /, apps/app_directory.c: Merged revisions 63565 via svnmerge from
13315 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13316 r63565 | tilghman | 2007-05-09 09:48:06 -0500 (Wed, 09 May 2007)
13317 | 2 lines Replicate fix from 51158 (app_voicemail) to
13318 app_directory (Issue 9224) ........
13320 2007-05-09 13:24 +0000 [r63535] Russell Bryant <russell@digium.com>
13322 * Makefile: I have seen multiple people post questions trying to
13323 figure out what the message "The configure script must be
13324 executed before running 'make'" means. So, add another like that
13325 says to specifically run ./configure. If this isn't obvious
13326 enough, then they should be using something like AsteriskNOW and
13327 not installing from source.
13329 2007-05-09 13:17 +0000 [r63534] Christian Richter <christian.richter@beronet.com>
13331 * channels/misdn/isdn_lib.c, channels/chan_misdn.c, /,
13332 channels/misdn/isdn_msg_parser.c: Merged revisions
13333 62945,63402,63519 via svnmerge from
13334 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13335 r62945 | crichter | 2007-05-03 17:39:21 +0200 (Do, 03 Mai 2007) |
13336 1 line when we're in state WAITING4DIGS, we use the asterisk
13337 tone-generator which prods us, so we can't just return -1 in
13338 misdn_write in this case. Added a MISDN_KEYPAD channel variable,
13339 and fixed the sending of keypad. this enables us to modify the
13340 call forward parameters in the switch. ........ r63402 | crichter
13341 | 2007-05-08 17:07:37 +0200 (Di, 08 Mai 2007) | 1 line added
13342 application misdn_check_l2l1 which tries to pull up the L1/L2 on
13343 all ports that have the layers down in a group. It waits then for
13344 a timeout. This helps for scenarios where multiple PMP BRIs are
13345 grouped together, or where a provider has a faulty PTP
13346 Implementation, that looses the L2 after a while. ........ r63519
13347 | crichter | 2007-05-09 13:26:16 +0200 (Mi, 09 Mai 2007) | 1 line
13348 release_chan frees ch, so we should never touch ch after
13349 release_chan, this may cause segfaults. ........
13351 2007-05-09 13:04 +0000 [r63532] Olle Johansson <oej@edvina.net>
13353 * channels/chan_sip.c: Don't retransmit 200 OK's on ignore status.
13354 (Reported on asterisk-users)
13356 2007-05-08 22:38 +0000 [r63478] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
13358 * /, apps/app_macro.c: Merged revisions 63477 via svnmerge from
13359 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13360 r63477 | tilghman | 2007-05-08 17:19:15 -0500 (Tue, 08 May 2007)
13361 | 2 lines Issue 9602 - segfault in app_macro ........
13363 2007-05-08 16:53 +0000 [r63403-63448] Russell Bryant <russell@digium.com>
13365 * res/res_features.c: I mixed up the use of the find_feature()
13366 function, so I renamed it find_dynamic_feature, and changed the
13367 code to use the correct lock when using it.
13369 * res/res_features.c: Use a read/write lock when accessing the
13372 * contrib/scripts/realtime_pgsql.sql (added),
13373 contrib/realtime_pgsql.sql (removed): Move realtime_pgsql.sql to
13374 contrib/scripts to be with the rest of the sql examples. (issue
13377 2007-05-08 06:22 +0000 [r63360] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
13379 * apps/app_voicemail.c, /: Merged revisions 63359 via svnmerge from
13380 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13381 r63359 | tilghman | 2007-05-08 01:20:16 -0500 (Tue, 08 May 2007)
13382 | 2 lines Issue 9527 - upon entering a folder, no message is
13383 selected (curmsg == -1), so deleting causes memory corruption
13384 (beyond bounds) ........
13386 2007-05-07 22:28 +0000 [r63329] Russell Bryant <russell@digium.com>
13388 * configs/res_pgsql.conf.sample (added),
13389 configs/extconfig.conf.sample, contrib/realtime_pgsql.sql
13390 (added): Add a sample configuration file and example tables for
13391 use with res_config_pgsql. (issue #9676, suretec)
13393 2007-05-07 21:45 +0000 [r63283-63286] Joshua Colp <jcolp@digium.com>
13395 * main/channel.c, include/asterisk/app.h, /, main/app.c: Merged
13396 revisions 63285 via svnmerge from
13397 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13398 r63285 | file | 2007-05-07 17:39:52 -0400 (Mon, 07 May 2007) | 2
13399 lines Properly handle what happens during a masquerade in
13400 relation to group counting. (issue #9657 reported by ramonpeek)
13403 * channels/chan_sip.c: Minor backport of revision 59083 in trunk.
13404 Don't queue an unhold frame up if the call was never on hold to
13407 2007-05-07 20:05 +0000 [r63196-63254] Olle Johansson <oej@edvina.net>
13409 * main/config.c: Don't remove configuration from memory just
13410 because one section failed.
13412 * /: Guess svnmerge doesn't handle files that move around. Blocking
13413 patch to ./config.c
13415 2007-05-06 12:28 +0000 [r63152] Olle Johansson <oej@edvina.net>
13417 * main/file.c: Stop the video stream when you stop playback of all
13420 2007-05-04 20:03 +0000 [r63099] Jason Parker <jparker@digium.com>
13422 * res/res_jabber.c: Fix a crash when checking version attribute in
13423 an incoming XML caps element. Issue 9667, patch by phsultan.
13425 2007-05-04 16:45 +0000 [r63047] Pari Nannapaneni <paripurnachand@digium.com>
13427 * configs/manager.conf.sample: explanation for httptimeout in
13430 2007-05-03 16:44 +0000 [r62989] Joshua Colp <jcolp@digium.com>
13432 * /, channels/chan_sip.c: Merged revisions 62987 via svnmerge from
13433 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13434 r62987 | file | 2007-05-03 13:42:19 -0300 (Thu, 03 May 2007) | 2
13435 lines When a peer is seeded or built tell the devicestate core to
13436 update it's status. This is easier then having chan_sip load
13437 before pbx_config. (issue #9658 reported by dlynes) ........
13439 2007-05-03 16:38 +0000 [r62986] Kevin P. Fleming <kpfleming@digium.com>
13441 * main/loader.c: improve loader a bit, by avoiding trying to
13442 initialize embedded modules twice and avoiding trying to load
13443 modules from disk when they have been loaded already during the
13444 'preload' pass (reported by blitzrage on IRC, patch by me)
13446 2007-05-03 15:23 +0000 [r62942] Russell Bryant <russell@digium.com>
13448 * main/channel.c: Fix YADB (Yet Another DTMF Bug) ((C) Russell
13449 Bryant, 2007, TM, Patent Pending). This set of changes came from
13450 a debugging session I had with Dwayne Hubbard. When he called
13451 into his home FXO, ran the Echo application, and pressed a digit,
13452 the digit would be echoed back and would never end. This is
13453 fixed, along with a couple other little improvements. * When
13454 chan_zap is in the middle of playing a digit to a channel, it
13455 feeds back null frames, not voice frames. So, I have modified
13456 ast_read to check the timing on emulated DTMF when it receives
13457 null frames, in addition to where it was doing this on voice
13458 frames. * Make a tweak to setting the duration on emulated DTMF
13459 digits. If there was no duration specified, it set it to be the
13460 minimum, instead of the default. * Instead of timing the emulated
13461 digits off of the number of samples in audio frames that pass
13462 through, just use time values. Now there is no code in this
13463 section that assumes 8kHz audio.
13465 2007-05-03 14:41 +0000 [r62913] Steve Murphy <murf@digium.com>
13467 * pbx/ael/ael-test/ref.ael-test18, pbx/ael/ael-test/ref.ael-test19
13468 (added), pbx/ael/ael-test/ael-test18/extensions.ael,
13469 pbx/ael/ael-test/ael-test19/extensions.ael (added),
13470 pbx/ael/ael-test/ael-test19 (added),
13471 pbx/ael/ael-test/ref.ael-test20 (added),
13472 pbx/ael/ael-test/ael-test20/extensions.ael (added),
13473 pbx/ael/ael-test/ael-test20 (added): updated the ael regressions
13474 to match what's in trunk
13476 2007-05-03 14:36 +0000 [r62912] Christian Richter <christian.richter@beronet.com>
13478 * channels/misdn/isdn_lib.c, channels/misdn/isdn_lib_intern.h,
13479 channels/misdn/isdn_lib.h, channels/chan_misdn.c, /,
13480 channels/misdn/ie.c, channels/misdn/isdn_msg_parser.c: Merged
13481 revisions 61357,61770,62885 via svnmerge from
13482 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13483 r61357 | crichter | 2007-04-11 14:05:57 +0200 (Mi, 11 Apr 2007) |
13484 1 line some fixes for PMP Hold/Retrieve, it should work now, when
13485 briding=no ........ r61770 | crichter | 2007-04-24 15:50:05 +0200
13486 (Di, 24 Apr 2007) | 1 line added lock for sending messages to
13487 avoid double sending. shuffled some empty_chans after the
13488 cb_event calls, this avoids that a release_complete from a quite
13489 different call releases a fresh created setup by accident.
13490 ........ r62885 | crichter | 2007-05-03 15:59:00 +0200 (Do, 03
13491 Mai 2007) | 1 line fixed the problem that misdn_write did not
13492 return -1 when called with 0 samples in a frame this resultet in
13493 a deadlock in some circumstances, when the call ended because of
13494 a busy extension. added encoding of keypad. ........
13496 2007-05-03 13:54 +0000 [r62883] Steve Murphy <murf@digium.com>
13498 * pbx/ael/ael-test/ref.ael-test18 (added),
13499 pbx/ael/ael-test/ref.ael-vtest13,
13500 pbx/ael/ael-test/ael-test18/extensions.ael (added),
13501 pbx/ael/ael-test/ael-test18 (added),
13502 pbx/ael/ael-test/ref.ael-vtest17, pbx/ael/ael.tab.c,
13503 pbx/ael/ael.y, pbx/ael/ael.tab.h, pbx/ael/ael-test/ref.ael-test7:
13504 These mods fix bug 9623, where an '@' in the eswitch contents
13505 causes a syntax error. I also updated the regressions.
13507 2007-05-03 00:23 +0000 [r62797-62842] Kevin P. Fleming <kpfleming@digium.com>
13509 * res/res_config_odbc.c, /: Merged revisions 62841 via svnmerge
13510 from https://origsvn.digium.com/svn/asterisk/branches/1.2
13511 ........ r62841 | kpfleming | 2007-05-02 20:23:00 -0400 (Wed, 02
13512 May 2007) | 2 lines doh... initializing the pointer variable will
13513 work just a bit better ........
13515 * res/res_config_odbc.c, /: Merged revisions 62796 via svnmerge
13516 from https://origsvn.digium.com/svn/asterisk/branches/1.2
13517 ........ r62796 | kpfleming | 2007-05-02 19:53:46 -0400 (Wed, 02
13518 May 2007) | 7 lines increase reliability and efficiency of static
13519 Realtime config loading via ODBC: don't request fields we aren't
13520 going to use don't request sorting on fields that are pointless
13521 to sort on explicitly request the fields we want, because we
13522 can't expect the database to always return them in the order they
13523 were created (reported by blitzrage in person (!), patch by me)
13526 * res/res_config_pgsql.c: improve static Realtime config loading
13527 from PostgreSQL: don't request sorting on fields that are
13528 pointless to sort on use ast_build_string() instead of snprintf()
13529 don't request the list of fieldnames that resulted from the query
13530 when we both knew what they were before we ran the query _AND_ we
13531 aren't going to do anything with them anyway (patch by me,
13532 inspired by blitzrage's bug report about res_config_odbc)
13534 2007-05-02 22:59 +0000 [r62739-62789] Russell Bryant <russell@digium.com>
13536 * main/channel.c: Merge changes from team/russell/inband_dtmf ...
13537 Fix some issues related to generating inband DTMF. There are two
13538 changes here: 1) The list of DTMF tones in the senddigit_begin()
13539 function explicitly specified 100ms of the tone followed by 100ms
13540 of silence. This really broke things with the way that Asterisk
13541 now wants complete control over when the digit begins and ends.
13542 So, regardless of what Asterisk really wanted to do, this was
13543 going to play out the tone at the length it wanted to. This
13544 caused various problems like DTMF translation to inband to be
13545 extremely unreliable. The list of tones has been changed so that
13546 the correct DTMF tone is played indefinitely until Asterisk tells
13547 it to stop. 2) ast_write() had to be modified to let a DTMF_END
13548 frame get processed even when a generator is present. This is how
13549 the tone will finally get stopped. (issues #8944, #9250, #9348,
13550 maybe others. Thanks to mdu113 from #8944 for the testing and
13553 * main/manager.c: Backport the change that only went in to trunk
13554 that fixes the command manager action over http. (reported
13555 internally by pari and bkruse)
13557 2007-05-02 20:46 +0000 [r62738] Steve Murphy <murf@digium.com>
13559 * main/cdr.c, main/pbx.c, /: Merged revisions 62737 via svnmerge
13560 from https://origsvn.digium.com/svn/asterisk/branches/1.2
13561 ........ r62737 | murf | 2007-05-02 14:10:32 -0600 (Wed, 02 May
13562 2007) | 1 line Some tweaks to satisfy CDR bug 8796, where being
13563 in 'h' extension louses up the dst field ........
13565 2007-05-02 17:43 +0000 [r62692] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
13567 * /, channels/chan_iax2.c: Merged revisions 62691 via svnmerge from
13568 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13569 r62691 | tilghman | 2007-05-02 12:38:16 -0500 (Wed, 02 May 2007)
13570 | 4 lines Issue 9638 - if a text frame is sent with no
13571 terminating NULL through a bridged IAX connection, the remote end
13572 will receive garbage characters tacked onto the end. ........
13574 2007-05-02 17:10 +0000 [r62689] Steve Murphy <murf@digium.com>
13576 * configs/extensions.conf.sample, main/channel.c, main/pbx.c,
13577 channels/chan_zap.c, cdr/cdr_radius.c: a)In chan_zap, set the
13578 clid, src fields in channel_alloc call. b)in the channel_alloc
13579 func, set the cid_num and name fields from the arglist[blush]. c)
13580 don't update the channel app & app data fields if you are in the
13581 'h' extension. d)the load_module func in cdr_radius needs to
13582 return DECLINE, SUCCESS.
13584 2007-05-02 06:15 +0000 [r62624] Olle Johansson <oej@edvina.net>
13586 * channels/chan_sip.c: Don't unlock a channel that we already know
13587 does not exist (propably isue 8228)
13589 2007-05-01 21:57 +0000 [r62548] Russell Bryant <russell@digium.com>
13591 * /, res/res_features.c: Merged revisions 62547 via svnmerge from
13592 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13593 r62547 | russell | 2007-05-01 16:55:19 -0500 (Tue, 01 May 2007) |
13594 4 lines Remove an unnecessary check that makes it so if you hang
13595 up after doing an attended transfer before the target extension
13596 answers the channel, the transfer is not successful. (issue
13597 #9338, patch by svanlund) ........
13599 2007-05-01 21:34 +0000 [r62545] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
13601 * apps/app_voicemail.c: Bug 9590 - Memory leaks around find_user()
13602 (found by rayjay, different fixes by me)
13604 2007-05-01 16:26 +0000 [r62497] Russell Bryant <russell@digium.com>
13606 * /, configs/indications.conf.sample: Merged revisions 62496 via
13608 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13609 r62496 | russell | 2007-05-01 11:26:23 -0500 (Tue, 01 May 2007) |
13610 3 lines Add indications.conf information for the Philippines.
13611 (issue #9525, reported and patched by loloski) ........
13613 2007-04-30 15:58 +0000 [r62414-62419] Russell Bryant <russell@digium.com>
13615 * channels/chan_zap.c, /: Merged revisions 62417 via svnmerge from
13616 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13617 r62417 | russell | 2007-04-30 10:57:26 -0500 (Mon, 30 Apr 2007) |
13618 4 lines This patch fixes an issue where depending on the cause
13619 code, when the network sends a PRI disconnect, the call may not
13620 be properly hung up. (issue #9588, reported and patched by
13623 * include/asterisk/http.h, main/http.c: When serving dynamic
13624 content, include a Cache-Control header to instruct the browsers
13625 to not store the resulting content. (issue #9621, reported by
13628 2007-04-30 14:52 +0000 [r62371] Jason Parker <jparker@digium.com>
13630 * configs/iax.conf.sample: Remove unused (and potentially
13631 confusing) jitterbuffer options from sample config.
13633 2007-04-30 14:36 +0000 [r62369] Joshua Colp <jcolp@digium.com>
13635 * main/asterisk.c, /: Merged revisions 62368 via svnmerge from
13636 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13637 r62368 | file | 2007-04-30 11:34:07 -0300 (Mon, 30 Apr 2007) | 2
13638 lines Update copyright notice. It's now the year 2007! ........
13640 2007-04-29 05:50 +0000 [r62299-62331] Russell Bryant <russell@digium.com>
13642 * channels/chan_zap.c: Fix a bug that made the "language" setting
13643 in zapata.conf not functional. (issue #9626, reported and fixed
13646 * apps/app_meetme.c: Note that the "talker optimization" option
13647 will be enabled by default in 1.6
13649 2007-04-27 Russell Bryant <russell@digium.com>
13651 * Asterisk 1.4.4 released.
13653 2007-04-27 21:10 +0000 [r62218] Russell Bryant <russell@digium.com>
13655 * channels/chan_agent.c: Fix a weird problem where when a caller
13656 talking to someone sitting behind an agent channel sent a digit,
13657 the digit would be played to the agent for forever. This is
13658 because chan_agent always returned -1 from its send_digit_begin
13659 and _end callbacks. This non-zero return value indicates to the
13660 Asterisk core that it would like an inband DTMF generator put on
13661 the channel. However, this is the wrong thing to do. It should
13662 *always* return 0, instead. When the digit begin and end
13663 functions are called on the proxied channel, the underlying
13664 channel will indicate whether inband DTMF is needed or not, and
13665 the generator will be put on that one, and not the Agent channel.
13666 (issue #9615, #9616, reported by jiddings and BigJimmy, and fixed
13669 2007-04-27 16:17 +0000 [r62174] Jason Parker <jparker@digium.com>
13671 * /, codecs/codec_zap.c: Merged revisions 62173 via svnmerge from
13672 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13673 r62173 | qwell | 2007-04-27 11:16:16 -0500 (Fri, 27 Apr 2007) | 3
13674 lines This transcoder message needn't be a NOTICE. I've seen it
13675 cause confusion more than a few times. ........
13677 2007-04-27 16:14 +0000 [r62171] Russell Bryant <russell@digium.com>
13679 * main/pbx.c: If no variables were passed into
13680 pbx_substitute_variables_helper_full(), then don't even bother
13681 creating a temporary bogus channel, since that is only for
13682 allowing certain functions to operate on the variables as if they
13683 were on a channel. Most importantly, this fixes a crash. (issue
13684 #9613, reported by callguy, fixed by me)
13686 2007-04-27 14:04 +0000 [r62095-62137] Olle Johansson <oej@edvina.net>
13688 * /, channels/chan_sip.c: Merged revisions 62126 via svnmerge from
13689 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13690 r62126 | oej | 2007-04-27 15:57:45 +0200 (Fri, 27 Apr 2007) | 4
13691 lines Issue #7351 - SIP Cancel fails due to the wrong contact
13692 uri. Reported by PPYY, failed to fix by OEJ final fix by wojtekka
13693 - THANKS!!!! THis was a hard one to catch. ........
13695 * channels/chan_zap.c, main/manager.c: Issue #9608 - fix some
13696 annoying DEBUG messages not controlled by option_debug (DEA).
13699 2007-04-26 16:33 +0000 [r61959-62038] Joshua Colp <jcolp@digium.com>
13701 * /, channels/chan_iax2.c: Merged revisions 62037 via svnmerge from
13702 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13703 r62037 | file | 2007-04-26 12:30:57 -0400 (Thu, 26 Apr 2007) | 2
13704 lines Revert previous fix for when the IAX2 channel goes funky
13705 (that's the technical term). This is causing legit calls to be
13706 prematurely hung up. (issue #9600 reported by justdave) ........
13708 * main/channel.c: Missed an ast_app_group_discard during merge.
13711 * res/res_monitor.c: Don't always say that the channel is being
13712 paused if it is actually being unpaused in the Manager ack
13713 message. (reported by jsmith in #asterisk-bugs)
13715 * main/config.c, /: Merged revisions 61958 via svnmerge from
13716 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13717 r61958 | file | 2007-04-25 21:25:03 -0400 (Wed, 25 Apr 2007) | 2
13718 lines Don't count failed include attempts against the
13719 configuration include level. (issue #9593 reported by mostyn)
13722 2007-04-25 22:29 +0000 [r61914] Kevin P. Fleming <kpfleming@digium.com>
13724 * channels/chan_zap.c, /: Merged revisions 61913 via svnmerge from
13725 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13726 r61913 | kpfleming | 2007-04-25 17:24:59 -0500 (Wed, 25 Apr 2007)
13727 | 2 lines handle a very bizarre race condition with channels
13728 being redirected before a simple switch can be started on them
13729 (issue #9286) ........
13731 2007-04-25 21:59 +0000 [r61863-61870] Russell Bryant <russell@digium.com>
13733 * /, channels/chan_iax2.c: Merged revisions 61866 via svnmerge from
13734 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13735 r61866 | russell | 2007-04-25 16:55:23 -0500 (Wed, 25 Apr 2007) |
13736 2 lines If the callerid= option is specified, but empty, clear
13737 any previous data. ........
13739 * /, channels/chan_iax2.c: Merged revisions 61862 via svnmerge from
13740 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13741 r61862 | russell | 2007-04-25 16:06:22 -0500 (Wed, 25 Apr 2007) |
13742 2 lines Ensure that callerid settings are reset on a reload.
13745 2007-04-25 19:21 +0000 [r61805] Joshua Colp <jcolp@digium.com>
13747 * main/cli.c, main/channel.c, include/asterisk/app.h,
13748 funcs/func_groupcount.c, /, main/app.c: Merged revisions 61804
13750 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13751 r61804 | file | 2007-04-25 14:52:50 -0400 (Wed, 25 Apr 2007) | 2
13752 lines Merge rewritten group counting support. No more storing
13753 data on the variable list of the channels. That was bad, mmmk?
13754 (issue #7497 reported by sabbathbh) ........
13756 2007-04-25 16:22 +0000 [r61799] Russell Bryant <russell@digium.com>
13758 * channels/chan_zap.c, /: Merged revisions 61798 via svnmerge from
13759 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13760 r61798 | russell | 2007-04-25 11:20:38 -0500 (Wed, 25 Apr 2007) |
13761 3 lines Fix a typo where cid_num got copied instead of cid_ani.
13762 (issue #9587, reported and patched by xrg) ........
13764 2007-04-24 Russell Bryant <russell@digium.com>
13766 * Asterisk 1.4.3 released.
13768 2007-04-24 21:34 +0000 [r61781-61787] Russell Bryant <russell@digium.com>
13770 * main/manager.c, /: Merged revisions 61786 via svnmerge from
13771 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13772 r61786 | russell | 2007-04-24 16:33:59 -0500 (Tue, 24 Apr 2007) |
13773 4 lines Don't crash if a manager connection provides a username
13774 that exists in manager.conf but does not have a password, and
13775 also requests MD5 authentication. (ASA-2007-012) ........
13777 * main/channel.c, include/asterisk/channel.h: Improve DTMF handling
13778 in ast_read() even more in response to a discussion on the
13779 asterisk-dev mailing list. I changed the enforced minimum length
13780 of a digit from 100ms to 80ms. Furthermore, I made it now enforce
13781 a gap of 45ms in between digits. These values are not
13782 configurable in a configuration file right now, but they can be
13783 easily changed near the top of main/channel.c.
13785 2007-04-24 18:43 +0000 [r61779] Dwayne M. Hubbard <dhubbard@digium.com>
13787 * channels/chan_zap.c, /: Merged revisions 61777 via svnmerge from
13788 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13789 r61777 | dhubbard | 2007-04-24 13:20:31 -0500 (Tue, 24 Apr 2007)
13790 | 1 line removed #if 0 block from chan_phone, chan_zap, and
13791 chan_modem restart_monitor() ........
13793 2007-04-24 16:16 +0000 [r61774] Russell Bryant <russell@digium.com>
13795 * main/dial.c: Add a few more state changes in
13796 handle_frame_ownerless() so that the SLA code will get notified
13797 of these changes even when an owner channel is not provided. This
13798 isn't from a specific bug report, it's just something I noticed
13799 while poking around.
13801 2007-04-24 16:07 +0000 [r61772] Joshua Colp <jcolp@digium.com>
13803 * /, channels/chan_sip.c: Merged revisions 61771 via svnmerge from
13804 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13805 r61771 | file | 2007-04-24 12:05:06 -0400 (Tue, 24 Apr 2007) | 2
13806 lines Allow RFC2833 to be sent in the response SDP when an INVITE
13807 comes in without SDP. (issue #9546 reported by mcrawford)
13810 2007-04-23 18:17 +0000 [r61763-61765] Russell Bryant <russell@digium.com>
13812 * main/pbx.c: Some dialplan functions, such as CUT(), expect to
13813 operate on variables on a channel. So, this little hack lets them
13814 work in places where a channel doesn't exist, such as within
13815 DUNDi configuration. (issue #9465, reported and patched by
13816 Corydon76, testing by blitzrage)
13818 * main/channel.c: Ensure that digits passing through Asterisk have
13819 a reasonable minimum length. It is currently 100 ms. If someone
13820 thinks this should be different, feel free to speak up. (related
13821 to issues #8944, #9250, and #9348)
13823 2007-04-20 21:35 +0000 [r61705-61707] Jason Parker <jparker@digium.com>
13825 * main/rtp.c: Avoid invalid seqno cycling detection. Per comment
13826 from Dave Troy: This adds back in some simple typecasting I had
13827 in an earlier version which I realize now may be breaking things.
13830 * main/loader.c, /: Merged revisions 61704 via svnmerge from
13831 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13832 r61704 | qwell | 2007-04-20 16:14:27 -0500 (Fri, 20 Apr 2007) | 4
13833 lines Fix an issue that I noticed while looking over issue 9571.
13834 The reload timestamp was getting set after reloading the built-in
13835 stuff, and before the modules. ........
13837 2007-04-20 20:42 +0000 [r61697] Russell Bryant <russell@digium.com>
13839 * main/rtp.c: Remove a stray debug message introduced by a recent
13842 2007-04-20 19:51 +0000 [r61694] Jason Parker <jparker@digium.com>
13844 * /, apps/app_queue.c: Merged revisions 61692 via svnmerge from
13845 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13846 r61692 | qwell | 2007-04-20 14:49:54 -0500 (Fri, 20 Apr 2007) | 5
13847 lines If the '* to hangup' option is not enabled, we don't need
13848 to disable * as a valid exit key. If it was enabled, this
13849 statement would've never been checked in the first place. Issue
13852 2007-04-20 18:19 +0000 [r61690] Russell Bryant <russell@digium.com>
13854 * main/config.c, apps/app_voicemail.c, main/manager.c,
13855 include/asterisk/config.h: Fix the UpdateConfig manager action to
13856 properly treat "variables" and "objects" differently (a=b versus
13857 a=>b). (issue #9568, reported by pari, patch by me)
13859 2007-04-19 08:37 +0000 [r61686] Olle Johansson <oej@edvina.net>
13861 * /, channels/chan_sip.c: Merged revisions 61685 via svnmerge from
13862 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13863 r61685 | oej | 2007-04-19 09:56:21 +0200 (Thu, 19 Apr 2007) | 3
13864 lines Send NOTIFY to Contact: in SUBSCRIBE - as reported by
13865 Intertex and Citel. Fixed during SIPit 20 in Antwerp. ........
13867 2007-04-19 04:36 +0000 [r61681-61683] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
13869 * main/manager.c: Bug 9557 - simple reason why reading a function
13870 always returned NULL
13872 * funcs/func_callerid.c, funcs/func_language.c, funcs/func_moh.c,
13873 funcs/func_groupcount.c, /, funcs/func_timeout.c,
13874 funcs/func_cdr.c: Merged revisions 61680 via svnmerge from
13875 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13876 r61680 | tilghman | 2007-04-18 21:30:18 -0500 (Wed, 18 Apr 2007)
13877 | 5 lines Bug 9557 - Specifying the GetVar AMI action without a
13878 Channel parameter can cause Asterisk to crash. The reason this
13879 needs to be fixed in the functions instead of in AMI is because
13880 Channel can legitimately be NULL, such as when retrieving global
13881 variables. ........
13883 2007-04-18 22:10 +0000 [r61678] Kevin P. Fleming <kpfleming@digium.com>
13885 * sounds/Makefile: allow external build systems to extract the
13886 required sound file versions
13888 2007-04-18 20:46 +0000 [r61674-61676] Olle Johansson <oej@edvina.net>
13890 * main/rtp.c: Clean upp formatting, add some doxygen stuff while
13891 we're in cleaning mode... Thanks Kevin!
13893 * main/rtp.c: Issue #9554 - Improve RTCP (Dave Troy)
13895 2007-04-16 14:47 +0000 [r61664-61666] Olle Johansson <oej@edvina.net>
13897 * channels/chan_sip.c: #9483, half of patch by twilson to solve 302
13900 * /: Blocking AstHoloPatch from 1.2
13902 2007-04-13 21:17 +0000 [r61658] Steve Murphy <murf@digium.com>
13904 * main/cdr.c: This is a fix to the way CDR merge handles the data
13905 that results from ForkCDR.
13907 2007-04-13 19:17 +0000 [r61648-61656] Joshua Colp <jcolp@digium.com>
13909 * apps/app_dial.c, /: Merged revisions 61655 via svnmerge from
13910 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13911 r61655 | file | 2007-04-13 15:15:12 -0400 (Fri, 13 Apr 2007) | 2
13912 lines Add OUTBOUND_GROUP_ONCE variable to app_dial. This behaves
13913 the same as OUTBOUND_GROUP except it will get unset after use so
13914 it won't get accidentally inherited. (issue #BE-140) ........
13916 * apps/app_speech_utils.c: Do not bother looking for a result if
13919 * channels/chan_sip.c: For those very verbose SIP implementations
13920 that attach tons of info to the Contact header... let's increase
13921 our variable sizes. (issue #9535 reported by jeffg)
13923 2007-04-13 17:10 +0000 [r61645] Russell Bryant <russell@digium.com>
13925 * apps/app_voicemail.c: Eliminate a compiler warning with
13926 ODBC_STORAGE enabled so that it will build under dev-mode.
13928 2007-04-13 17:01 +0000 [r61644] Steve Murphy <murf@digium.com>
13930 * channels/chan_oss.c: A fix for chan_oss that resulted from the
13931 CDR changes; it helps to use the right info.
13933 2007-04-13 16:32 +0000 [r61641] Joshua Colp <jcolp@digium.com>
13935 * channels/chan_sip.c: Don't assume the callid of a dialog will be
13936 set, as in some circumstances it may not. (issue #9534 reported
13939 2007-04-11 16:05 +0000 [r61477] Russell Bryant <russell@digium.com>
13941 * /, channels/chan_sip.c: Merged revisions 61476 via svnmerge from
13942 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13943 r61476 | russell | 2007-04-11 11:01:25 -0500 (Wed, 11 Apr 2007) |
13944 5 lines If someone sets the "useragent" option in sip.conf to be
13945 empty, then don't add the User-Agent header at all. It is an
13946 optional header, anyway. Also, the bug report says that some of
13947 Japan's SIP providers don't allow it for some weird reason.
13948 (issue #9488, reported by makoto, fixed by me) ........
13950 2007-04-11 15:39 +0000 [r61443] Nadi Sarrar <ns@beronet.com>
13952 * channels/chan_misdn.c: Don't export AOCD variables on
13953 misdn_hangup anymore, this was mainly a fix for trunk..
13955 2007-04-11 15:09 +0000 [r61377-61427] Russell Bryant <russell@digium.com>
13957 * /, channels/chan_sip.c: Merged revisions 61426 via svnmerge from
13958 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13959 r61426 | russell | 2007-04-11 10:05:36 -0500 (Wed, 11 Apr 2007) |
13960 6 lines Fix a bug with switching between host=dynamic and using
13961 specific hosts for peers. The code would only reset the peer's
13962 address when it is dynamic if it was a new peer structure. Now,
13963 it will also reset the address if it was already in the peer
13964 list, but before the reload, it was not dynamic. (issue #9515,
13965 reported by caio1982, fixed by me) ........
13967 * main/http.c: Add "svgz" to the mimetypes table. (issue #9510,
13968 bkruse) In passing, constify the elements of the mimetypes table.
13970 * /, channels/chan_sip.c: Merged revisions 61376 via svnmerge from
13971 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
13972 r61376 | russell | 2007-04-11 09:02:54 -0500 (Wed, 11 Apr 2007) |
13973 5 lines Remove the attempt at reporting configuration errors in
13974 sip.conf. This can cause a bunch of improper messages when using
13975 realtime. I give up. As oej tried to convince me when I put this
13976 in, there is just no easy way to do it. (inspired by a message on
13977 the -dev list) ........
13979 2007-04-11 13:40 +0000 [r61342-61373] Nadi Sarrar <ns@beronet.com>
13981 * channels/chan_misdn.c: Export AOCD variables on misdn_hangup.
13983 * channels/chan_misdn.c: Ignore facility messages in case we don't
13984 have a corresponding channel object.
13986 * channels/chan_misdn.c: AOCD's are now exported to asterisk
13989 2007-04-10 16:05 +0000 [r61220] Russell Bryant <russell@digium.com>
13991 * main/Makefile, main/http.c, main/minimime (removed): File upload
13992 support was added to solve some needs for the Asterisk GUI.
13993 However, after much discussion, it has been decided that adding
13994 this to 1.4 is not in the best interests of the project. It has
13995 been removed here, but will remain in trunk.
13997 2007-04-10 12:43 +0000 [r61183] Nadi Sarrar <ns@beronet.com>
13999 * channels/misdn_config.c, /: Merged revisions 61170 via svnmerge
14000 from https://origsvn.digium.com/svn/asterisk/branches/1.2
14001 ........ r61170 | nadi | 2007-04-10 14:31:45 +0200 (Di, 10 Apr
14002 2007) | 2 lines msns config parameter defaults to '*' ........
14004 2007-04-10 05:18 +0000 [r61136] Steve Murphy <murf@digium.com>
14006 * apps/app_cdr.c, main/cdr.c, res/res_features.c: Finished up a
14007 previous fix to overcome a compiler warning; the app NoCDR() has
14008 been updated to mark the channel CDR as POST_DISABLED instead of
14009 destroying the CDR; this way its flags are propagated thru a
14010 bridge and the CDR is actually dropped. The cases where only one
14011 channel in a bridge has a CDR was cleaned up.
14013 2007-04-09 19:58 +0000 [r61072] Olle Johansson <oej@edvina.net>
14015 * /, channels/chan_sip.c: Merged revisions 61038 via svnmerge from
14016 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14017 r61038 | oej | 2007-04-09 21:38:59 +0200 (Mon, 09 Apr 2007) | 3
14018 lines - Don't send ActionID before Response: header. - Don't use
14019 a blank in an AMI header ........
14021 2007-04-09 19:55 +0000 [r61062-61070] Kevin P. Fleming <kpfleming@digium.com>
14023 * main/minimime/mm_envelope.c, res/res_features.c: fix up some
14024 warnings found using --enable-dev-mode
14026 * main/minimime/Doxyfile (removed),
14027 main/minimime/tests/messages/CVS (removed),
14028 main/minimime/tests/CVS (removed): remove some more stuff we
14031 2007-04-09 19:41 +0000 [r61042-61044] Russell Bryant <russell@digium.com>
14033 * main/minimime/test (removed): Remove another directory that
14034 should no longer be there
14036 * main/minimime/Make.conf (removed), main/minimime/mytest_files
14037 (removed), main/minimime/.cvsignore (removed), main/minimime/sys
14038 (removed), main/minimime/mm-docs (removed): Remove various files
14039 that I thought I already removed.
14041 2007-04-09 19:05 +0000 [r61022] Jason Parker <jparker@digium.com>
14043 * apps/app_queue.c: Use the appropriate interface name with
14044 COMPLETECALLER. Issue 9395.
14046 2007-04-09 18:32 +0000 [r60989] Steve Murphy <murf@digium.com>
14048 * channels/chan_oss.c, main/channel.c, main/cdr.c,
14049 channels/chan_phone.c, channels/chan_misdn.c,
14050 channels/chan_skinny.c, channels/chan_features.c,
14051 channels/chan_h323.c, channels/chan_alsa.c, channels/chan_nbs.c,
14052 channels/chan_mgcp.c, apps/app_voicemail.c, main/pbx.c,
14053 channels/chan_vpb.cc, channels/chan_local.c, channels/chan_zap.c,
14054 channels/chan_sip.c, res/res_features.c, channels/chan_agent.c,
14055 include/asterisk/channel.h, channels/chan_gtalk.c,
14056 channels/chan_iax2.c: This is a big improvement over the current
14057 CDR fixes. It may still need refinement, but this won't have as
14058 many folks bothered.
14060 2007-04-09 18:02 +0000 [r60984] Olle Johansson <oej@edvina.net>
14062 * res/res_jabber.c: Add final new line after JabberEvent
14064 2007-04-09 17:22 +0000 [r60936] Jason Parker <jparker@digium.com>
14066 * /, apps/app_directory.c: Merged revisions 60935 via svnmerge from
14067 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14068 r60935 | qwell | 2007-04-09 12:22:15 -0500 (Mon, 09 Apr 2007) | 5
14069 lines Allow matching on names shorter than 3 chars. This also
14070 fixes the case where somebody wants to match on less then 3
14071 chars. Issue 9071 ........
14073 2007-04-09 03:01 +0000 [r60847-60850] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
14075 * main/asterisk.c, include/asterisk.h, /: Merged revisions 60849
14077 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14078 r60849 | tilghman | 2007-04-08 21:49:06 -0500 (Sun, 08 Apr 2007)
14079 | 2 lines Don't check for error when lowering priority (according
14080 to the manpage, it should never happen anyway). It might could
14081 happen, though, if another thread messed with the priority, so
14082 safeguard against that (reported via -dev list). ........
14084 * channels/chan_local.c, /: Merged revisions 60846 via svnmerge
14085 from https://origsvn.digium.com/svn/asterisk/branches/1.2
14086 ........ r60846 | tilghman | 2007-04-08 21:37:18 -0500 (Sun, 08
14087 Apr 2007) | 2 lines Bug 9505 - If the return value for
14088 local_queue_frame is set, then p->lock is no longer valid.
14091 2007-04-09 01:03 +0000 [r60762-60798] Joshua Colp <jcolp@digium.com>
14093 * apps/app_dial.c, /: Merged revisions 60797 via svnmerge from
14094 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14095 r60797 | file | 2007-04-08 20:59:29 -0400 (Sun, 08 Apr 2007) | 2
14096 lines When calling a device that then forwards us elsewhere... we
14097 have to make our channels compatible if it is the only channel
14098 being dialed. (issue #9445 reported by marcelbarbulescu) ........
14100 * apps/app_queue.c: Allow app_queue to use MONITOR_EXEC even if
14101 MONITOR_OPTIONS is not set. (issue #9495 reported by cduffy)
14103 2007-04-08 14:14 +0000 [r60661-60713] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
14105 * /, apps/app_macro.c: Merged revisions 60711 via svnmerge from
14106 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14107 r60711 | tilghman | 2007-04-08 09:00:22 -0500 (Sun, 08 Apr 2007)
14108 | 2 lines Gosub called within a Macro resets the arguments
14109 improperly and causes general weirdness. (Issue 8329) ........
14111 * main/http.c: Fix --enable-dev-mode
14113 * channels/chan_oss.c: Off by one error, resulting in a crash
14116 * /, main/file.c: Merged revisions 60660 via svnmerge from
14117 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14118 r60660 | tilghman | 2007-04-07 20:39:25 -0500 (Sat, 07 Apr 2007)
14119 | 2 lines Bug 9486 - memory leak when opening a filestream
14122 2007-04-06 20:58 +0000 [r60603] Russell Bryant <russell@digium.com>
14124 * main/minimime/sys/mm_queue.h, main/minimime/Doxyfile,
14125 main/minimime/mimeparser.yy.c, main/minimime/minimime.c,
14126 main/manager.c, main/minimime/mm_mimepart.c,
14127 main/minimime/test.sh, configure, include/asterisk/compat.h,
14128 main/strcompat.c, main/minimime/mm_internal.h, main/http.c,
14129 main/minimime/tests/parse.c, main/minimime/mm_base64.c,
14130 main/minimime/mm_mimeutil.c, main/minimime/mm.h,
14131 main/minimime/tests, main/minimime/mm_header.c,
14132 main/minimime/mm_error.c, main/Makefile,
14133 main/minimime/mm_codecs.c, main/minimime/mm_param.c,
14134 configure.ac, main/minimime/Makefile, main/minimime/mm_init.c,
14135 include/asterisk/manager.h, main/minimime/strlcpy.c,
14136 configs/http.conf.sample, main/minimime/mm_parse.c,
14137 main/minimime/tests/create.c, main/minimime/mm_contenttype.c,
14138 main/minimime/mm_util.c, main/minimime/mm_envelope.c,
14139 main/minimime/tests/messages/test1.txt, main/minimime/mm_mem.c,
14140 main/minimime/tests/messages/test2.txt,
14141 main/minimime/tests/messages/test3.txt,
14142 main/minimime/mimeparser.h, main/minimime/mimeparser.tab.c,
14143 main/minimime/tests/messages/test4.txt,
14144 main/minimime/tests/messages/test5.txt, main/minimime/mm_util.h,
14145 main/minimime/tests/messages/test6.txt, main/minimime/strlcat.c,
14146 main/minimime/mm_mem.h, main/minimime/tests/messages/test7.txt,
14147 main/minimime/mimeparser.l, main/minimime/mm_context.c,
14148 main/minimime/mimeparser.tab.h, main/minimime (added),
14149 main/minimime/mm_warnings.c, main/minimime/mm_queue.h,
14150 main/minimime/tests/messages, include/asterisk/autoconfig.h.in,
14151 main/minimime/mimeparser.y, Makefile.moddir_rules,
14152 main/minimime/sys, main/minimime/tests/Makefile: To be able to
14153 achieve the things that we would like to achieve with the
14154 Asterisk GUI project, we need a fully functional HTTP interface
14155 with access to the Asterisk manager interface. One of the things
14156 that was intended to be a part of this system, but was never
14157 actually implemented, was the ability for the GUI to be able to
14158 upload files to Asterisk. So, this commit adds this in the most
14159 minimally invasive way that we could come up with. A lot of work
14160 on minimime was done by Steve Murphy. He fixed a lot of bugs in
14161 the parser, and updated it to be thread-safe. The ability to
14162 check permissions of active manager sessions was added by Dwayne
14163 Hubbard. Then, hacking this all together and do doing the
14164 modifications necessary to the HTTP interface was done by me.
14166 2007-04-06 20:32 +0000 [r60568-60572] Dwayne M. Hubbard <dhubbard@digium.com>
14168 * UPGRADE.txt: clarified a sentence in the format_wav section
14170 * UPGRADE.txt: updated UPGRADE.txt with format_wav GAIN change and
14171 plan to remove GAIN code from trunk
14173 2007-04-06 19:50 +0000 [r60521-60565] Russell Bryant <russell@digium.com>
14175 * apps/app_meetme.c: When a station picks up a trunk that was on
14176 hold, make the hints reflect that nobody has the trunk on hold
14179 * apps/app_meetme.c: Fix a few problems with SLA. (issue #9459,
14180 reported by francesco_r, fixed by me) * The original behavior was
14181 that if one station put a call on hold, another one picked it up,
14182 and then hung up, the code would still consider the call on hold
14183 by the first station, so the trunk would not be hung up. However,
14184 to better comply with what most people seem to expect it to
14185 behave, it will now hang up the trunk. * Fix a problem with
14186 "barge=no". This was only intended to prevent people from joining
14187 calls that are in progress. However, it also prevented other
14188 people from picking up a call that was on hold. This has been
14189 fixed. * When there are no active stations on a trunk and it is
14190 on hold, the code now indicates the HOLD and UNHOLD conditions to
14191 the trunk channel. This allows music on hold to be played to the
14192 trunk when it is on hold.
14194 2007-04-06 18:21 +0000 [r60459-60485] Matt Frederickson <creslin@digium.com>
14196 * channels/chan_zap.c: Make sure we check the faxdetect option
14197 before doing fax processing
14199 * channels/chan_zap.c, /: Merged revisions 60456 via svnmerge from
14200 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14201 r60456 | mattf | 2007-04-06 12:03:15 -0500 (Fri, 06 Apr 2007) | 2
14202 lines There should only be one code path for doing DTMF
14203 conditionals on channels. This fixes it. ........
14205 2007-04-06 14:49 +0000 [r60399] Kevin P. Fleming <kpfleming@digium.com>
14207 * /, codecs/codec_zap.c: Merged revisions 60398 via svnmerge from
14208 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14209 r60398 | kpfleming | 2007-04-06 09:41:37 -0500 (Fri, 06 Apr 2007)
14210 | 2 lines remove undocumented 'cardsmode' parameter and stop
14211 searching for transcoders during reload() ........
14213 2007-04-06 01:14 +0000 [r60361] Joshua Colp <jcolp@digium.com>
14215 * res/res_speech.c, apps/app_speech_utils.c,
14216 include/asterisk/speech.h: Add support for returning different
14217 types of results (ie: NBest).
14219 2007-04-05 22:58 +0000 [r60325] Dwayne M. Hubbard <dhubbard@digium.com>
14221 * formats/format_wav.c: modified default GAIN for issue 5823,
14224 2007-04-05 22:35 +0000 [r60323] Steve Murphy <murf@digium.com>
14226 * configs/cdr_custom.conf.sample, configs/cdr.conf.sample: Added
14227 some clarification to the example configs for CDRs, on how to
14228 select a backend. Also, made cdr-csv the default if you 'make
14229 samples', and no other changes.
14231 2007-04-05 16:10 +0000 [r60268] Jason Parker <jparker@digium.com>
14233 * apps/app_voicemail.c, /: Merged revisions 60267 via svnmerge from
14234 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14235 r60267 | qwell | 2007-04-05 11:09:41 -0500 (Thu, 05 Apr 2007) | 5
14236 lines Just because we can't find the voicemail configuration
14237 file, doesn't mean that the module failed to load. The user could
14238 be using realtime. Issue #9473 ........
14240 2007-04-05 15:47 +0000 [r60265] Russell Bryant <russell@digium.com>
14242 * main/http.c: Add the MIME type for gif by request from Pari
14244 2007-04-05 12:55 +0000 [r60214] Joshua Colp <jcolp@digium.com>
14246 * /, channels/chan_sip.c: Merged revisions 60213 via svnmerge from
14247 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14248 r60213 | file | 2007-04-05 08:52:50 -0400 (Thu, 05 Apr 2007) | 2
14249 lines Only unlock our pvt and net locks if we are actually going
14250 to try to lock the owner again. (issue #9472 reported by zoa)
14253 2007-04-04 17:40 +0000 [r60013-60137] Russell Bryant <russell@digium.com>
14255 * main/manager.c, /: Merged revisions 60134 via svnmerge from
14256 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14257 r60134 | russell | 2007-04-04 12:38:47 -0500 (Wed, 04 Apr 2007) |
14258 6 lines It is valid to redirect channels via the manager
14259 interface that are not in the UP state. Instead of checking for
14260 that to prevent to ensure a dead channel doesn't get redirected,
14261 just use the ast_check_hangup() API call. (issue #9457, reported
14262 by Callmewind, patch by me) (related to issue #8977) ........
14264 * channels/chan_sip.c: Add a Content-Length of 0 to the response
14265 built by transmit_response_with_unsupported(). (issue #9454,
14266 reported by makoto, fixed by me)
14268 * /, channels/chan_sip.c: Merged revisions 60083 via svnmerge from
14269 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14270 r60083 | russell | 2007-04-04 11:37:04 -0500 (Wed, 04 Apr 2007) |
14271 4 lines Fix the return value of handle_common_options() so that
14272 it always properly indicates whether it handled the option or
14273 not. (issue #9455, reported by Netview, fixed by me) ........
14275 * apps/app_meetme.c: Fix a problem where if a trunk was hung up
14276 while it was on hold, all of the hints would reflect the line
14277 still on hold, even though it should reflect that it is back to
14278 not in use. (issue #9459, reported by francesco_r, fixed by me)
14280 2007-04-03 19:40 +0000 [r59963] Joshua Colp <jcolp@digium.com>
14282 * apps/app_speech_utils.c: Don't clash when a person both speaks
14285 2007-04-03 19:16 +0000 [r59853-59939] Russell Bryant <russell@digium.com>
14287 * /, channels/chan_sip.c: Merged revisions 59938 via svnmerge from
14288 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14289 r59938 | russell | 2007-04-03 14:15:04 -0500 (Tue, 03 Apr 2007) |
14290 4 lines Don't attempt to report configuration errors in
14291 build_user(). oej pointed out that for a "friend" entry, this
14292 won't work, because all user options are valid for peers, but not
14293 the other way around. ........
14295 * /, channels/chan_sip.c: Merged revisions 59916 via svnmerge from
14296 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14297 r59916 | russell | 2007-04-03 13:43:54 -0500 (Tue, 03 Apr 2007) |
14298 3 lines Make chan_sip report when it encounters an unknown
14299 option. (issue #9440, reported by nightcrawler) ........
14301 * /, main/app.c: Merged revisions 59886 via svnmerge from
14302 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14303 r59886 | russell | 2007-04-03 12:58:19 -0500 (Tue, 03 Apr 2007) |
14304 5 lines When doing a built-in blind or attended transfer, restore
14305 the ability to use '#' to terminate the number and immediately do
14306 the transfer instead of having to dial the number and just wait
14307 for the feature digit timeout. (issue #8366, xueliangliang)
14310 * Makefile: Ensure that menuselect gets executed in dependency
14311 check mode every time you run make.
14313 2007-04-03 11:02 +0000 [r59804] Nadi Sarrar <ns@beronet.com>
14315 * channels/misdn_config.c, /, channels/misdn/chan_misdn_config.h:
14316 Merged revisions 59788,59803 via svnmerge from
14317 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14318 r59788 | nadi | 2007-04-03 11:37:00 +0200 (Di, 03 Apr 2007) | 2
14319 lines Use the new sysfs way of mISDN 1.2 to check if a port is NT
14320 or not. ........ r59803 | nadi | 2007-04-03 12:40:58 +0200 (Di,
14321 03 Apr 2007) | 2 lines ptp is the 5th bit, not the 4th. ........
14323 2007-04-03 07:20 +0000 [r59774] Christian Richter <christian.richter@beronet.com>
14325 * channels/misdn/isdn_lib.c, channels/misdn_config.c,
14326 channels/chan_misdn.c, /, channels/misdn/chan_misdn_config.h:
14327 Merged revisions 59623-59624,59639 via svnmerge from
14328 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14329 r59623 | crichter | 2007-04-02 09:12:24 +0200 (Mo, 02 Apr 2007) |
14330 1 line we can now make 30 channels on a PRI (before we forgot
14331 chan 31..) ........ r59624 | crichter | 2007-04-02 09:25:54 +0200
14332 (Mo, 02 Apr 2007) | 1 line don't be verbose if no need ........
14333 r59639 | crichter | 2007-04-02 14:08:12 +0200 (Mo, 02 Apr 2007) |
14334 1 line added option which allows us to accept incoming SETUP
14335 Messages without automatically sending Proceeding or Setup
14336 Acknowledge, this is useful with some broken switches and if you
14337 want to Release incoming calls without previously having
14338 acknowledged them. The new option is
14339 noautorespond_on_setup=yes|no default is no, so we don't break
14340 the existing behaviour ........
14342 2007-04-02 18:58 +0000 [r59724] Joshua Colp <jcolp@digium.com>
14344 * apps/app_voicemail.c, /: Merged revisions 59723 via svnmerge from
14345 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14346 r59723 | file | 2007-04-02 14:55:25 -0400 (Mon, 02 Apr 2007) | 2
14347 lines Increase the maximum size for a string of mailboxes to
14348 1024. (issue #9270 reported by rtucker) ........
14350 2007-04-02 17:31 +0000 [r59688] Steve Murphy <murf@digium.com>
14352 * pbx/pbx_ael.c: continue in for-loop should go to the incrementer,
14353 not the test. As per 9435, thanks to marcelbarbulescu
14355 2007-04-02 15:39 +0000 [r59654] Russell Bryant <russell@digium.com>
14357 * main/netsock.c, /: Merged revisions 59608 via svnmerge from
14358 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14359 r59608 | russell | 2007-04-01 17:35:25 -0500 (Sun, 01 Apr 2007) |
14360 6 lines Add the SO_REUSEADDR flag to sockets handled by netsock.
14361 This is needed by the patch that went in for issue 7874.
14362 chan_iax2 needs to be able to create socket that is lisetning on
14363 INADDR_ANY, but also be able to bind sockets to specific
14364 addresses. (Thanks to Stevenson on the asterisk-dev mailing list
14365 for explaining why this flag was needed.) ........
14367 2007-03-30 22:50 +0000 [r59573] Jason Parker <jparker@digium.com>
14369 * configure, main/Makefile, acinclude.m4: Add linux-uclibc host
14370 arch..."thingy". Sorry, I don't know what it's called...
14372 2007-03-30 17:51 +0000 [r59452-59522] Steve Murphy <murf@digium.com>
14374 * main/cdr.c, main/channel.c, main/pbx.c, res/res_features.c,
14375 include/asterisk/cdr.h: several changes via kpflemings review
14377 * main/cdr.c, main/channel.c, main/pbx.c, res/res_features.c,
14378 include/asterisk/cdr.h: These mods fix CDR issues from 8221,
14379 8593, 8680, 8743, and perhaps others. Mainly with CDRs generated
14380 from transfer situations.
14382 * configs/extensions.conf.sample: A small clarification to keep
14383 bugs from being filed, and confusion from rising, if
14384 clearglobalvars is set, and globals are set in the AEL file.
14387 2007-03-29 17:43 +0000 [r59363] Russell Bryant <russell@digium.com>
14389 * res/res_jabber.c: When building a response to a subscription, the
14390 "from" must be the full Jabber ID. This fixes some problems where
14391 jabber users are not able to add their Asterisk account to their
14392 user list, since they are unable to get Asterisk to approve their
14393 subscription. (issue #8210, reported by caspy, and verified by
14396 2007-03-29 17:38 +0000 [r59361] Joshua Colp <jcolp@digium.com>
14398 * /, apps/app_meetme.c: Merged revisions 59360 via svnmerge from
14399 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14400 r59360 | file | 2007-03-29 13:33:58 -0400 (Thu, 29 Mar 2007) | 2
14401 lines Keep a global array of variables indicating whether certain
14402 conference rooms are in use. This ensures that two people going
14403 into a new dynamic conference when the 'e' option is set don't go
14404 into the same conference room. (issue #8835 reported by eliel)
14407 2007-03-29 17:17 +0000 [r59304-59358] Russell Bryant <russell@digium.com>
14409 * main/rtp.c, /: Merged revisions 59357 via svnmerge from
14410 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14411 r59357 | russell | 2007-03-29 12:14:33 -0500 (Thu, 29 Mar 2007) |
14412 5 lines If an error occurs when reading from an RTP socket, and
14413 the error code does not indicate that we should try again, then
14414 return NULL instead of a "null frame". This will prevent Asterisk
14415 from trying over and over again, and eventually causing the
14416 system to crash. (issue #8285, john) ........
14418 * channels/chan_iax2.c: When the IAX2 read callback gets called,
14419 return NULL instead of a "null frame". This will cause Asterisk
14420 to hangup the call instead of keep trying whatever it was doing.
14421 Under normal conditions, this function would *never* be called.
14422 However, the author of this patch says an error will occur that
14423 will cause it to get called every 100 thousand calls or so. When
14424 this does happen, it puts the channel in a loop that eventually
14425 brings down the system. So, hangup up the call is certainly a
14426 better alternative. (issue #8286, john)
14428 * Makefile: Export the GTK2 library and include information to sub
14431 2007-03-29 16:07 +0000 [r59300-59302] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
14433 * /, cdr/cdr_odbc.c: Merged revisions 59301 via svnmerge from
14434 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14435 r59301 | tilghman | 2007-03-29 11:04:46 -0500 (Thu, 29 Mar 2007)
14436 | 3 lines Issue 9415 - No point to getting a diagnostic field if
14437 we aren't doing anything with the information. (Plus, it tends to
14438 crash the Postgres ODBC driver.) ........
14440 2007-03-28 03:38 +0000 [r59281-59289] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
14442 * res/res_odbc.c: Another crash that I thought we had fixed already
14445 * apps/app_voicemail.c, /: Merged revisions 59283 via svnmerge from
14446 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14447 r59283 | tilghman | 2007-03-27 18:36:49 -0500 (Tue, 27 Mar 2007)
14448 | 2 lines Oops ........
14450 * apps/app_voicemail.c, /: Merged revisions 59280 via svnmerge from
14451 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14452 r59280 | tilghman | 2007-03-27 18:31:20 -0500 (Tue, 27 Mar 2007)
14453 | 2 lines Fix a few remaining bad mmap(2) return values ........
14455 2007-03-27 23:20 +0000 [r59262-59278] Russell Bryant <russell@digium.com>
14457 * /, apps/app_directory.c: Merged revisions 59277 via svnmerge from
14458 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14459 r59277 | russell | 2007-03-27 18:19:41 -0500 (Tue, 27 Mar 2007) |
14460 3 lines Fix the check of the return value from mmap(). Thanks to
14461 Corydon for catching this one. ........
14463 * apps/app_directory.c: Fix app_directory to actually compile with
14464 ODBC_STORAGE, and update the code to the latest res_odbc API.
14466 * apps/Makefile: Fix app_directory when ODBC_STORAGE is being used.
14467 The Makefile did not properly ensure that this information got
14468 copied from what was selected for app_voicemail. (issue #9224)
14470 * channels/chan_sip.c: Fix the check that ensures that the CHANNEL
14471 function's first argument is "rtpqos". Thanks, Corydon. :)
14473 2007-03-27 18:16 +0000 [r59261] Steve Murphy <murf@digium.com>
14475 * pbx/pbx_ael.c: via 9373 (duplicate context in AEL crashes
14476 asterisk), kpfleming pointed on asterisk-dev, that DECLINE in
14477 this case the proper thing to do. This change now has it doing
14480 2007-03-27 18:05 +0000 [r59256-59259] Russell Bryant <russell@digium.com>
14482 * /, channels/chan_iax2.c: Merged revisions 59258 via svnmerge from
14483 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14484 r59258 | russell | 2007-03-27 13:04:02 -0500 (Tue, 27 Mar 2007) |
14485 4 lines Fix the use of the "sourceaddress" option when "bindaddr"
14486 is set to 0.0.0.0 instead of having each interface explicitly
14487 listed. (issue #7874, patch by stevens) ........
14489 * channels/chan_sip.c, funcs/func_channel.c: Convert the RTPQOS
14490 function to just be additional parameter of the CHANNEL function.
14491 This way, it will be possible for other RTP based channel drivers
14492 to expose this information in the future.
14494 2007-03-27 15:00 +0000 [r59254] Christian Richter <christian.richter@beronet.com>
14496 * channels/chan_misdn.c, /: Merged revisions 59252 via svnmerge
14497 from https://origsvn.digium.com/svn/asterisk/branches/1.2
14498 ........ r59252 | crichter | 2007-03-27 15:56:15 +0200 (Di, 27
14499 Mär 2007) | 1 line fixed #9355 ........
14501 2007-03-26 21:45 +0000 [r59230] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
14503 * channels/chan_sip.c: Oops, this should be case insensitive
14505 2007-03-26 21:41 +0000 [r59228] Steve Murphy <murf@digium.com>
14507 * pbx/pbx_ael.c: fix for 9373 (duplicate context in AEL crashes
14508 asterisk). I turned a duplicate context from a WARNING to an
14509 ERROR. Now you get a module load failure, and asterisk just
14510 exits. That's better than a crash, right\?
14512 2007-03-26 21:37 +0000 [r59227] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
14514 * channels/chan_sip.c: Change this to a single dp function to make
14517 2007-03-26 20:06 +0000 [r59225] Steve Murphy <murf@digium.com>
14519 * main/config.c: Fix for 9257; by eliminating the globals in
14520 main/config.c, we make it thread-safe, which is a minimum
14523 2007-03-26 19:34 +0000 [r59223] Joshua Colp <jcolp@digium.com>
14525 * apps/app_speech_utils.c: Add ability to specify no timeout. This
14526 means as soon as the prompt is done playing it moves on to the
14529 2007-03-26 18:33 +0000 [r59215-59217] Russell Bryant <russell@digium.com>
14531 * apps/app_voicemail.c: Somehow the code for building the email for
14532 voicemail got out of sync. This change makes a few tweaks to get
14533 1.4 in sync with trunk. (issue #9301)
14535 * apps/app_meetme.c: Fix some codec negotiation problems when
14536 CallerID support is not enabled in SLA. (issue #9308, reported by
14539 2007-03-26 18:13 +0000 [r59213] Joshua Colp <jcolp@digium.com>
14541 * apps/app_speech_utils.c: Make SpeechBackground obey the digit
14544 2007-03-26 17:53 +0000 [r59207-59209] Russell Bryant <russell@digium.com>
14546 * channels/chan_sip.c: Rename the new dialplan functions to match
14549 * main/rtp.c, channels/chan_sip.c, include/asterisk/rtp.h: The
14550 AUDIORTPQOS and VIDEORTPQOS variables are not fully functional in
14551 some because they get set in sip_hangup. So, there are common
14552 situations where the variables will not be available in the
14553 dialplan at all. So, this patch provides an alternate method for
14554 getting to this information by introducing AUDIORTPQOS and
14555 VIDEORTPQOS dialplan functions. (issue #9370, patch by Corydon76,
14556 with some testing by blitzrage)
14558 2007-03-26 17:38 +0000 [r59206] Steve Murphy <murf@digium.com>
14560 * main/ast_expr2.fl, main/ast_expr2f.c, pbx/ael/ael_lex.c,
14561 pbx/ael/ael.flex: A fix for the flex input files, DONT_COMPILE,
14564 2007-03-26 15:25 +0000 [r59202] Nadi Sarrar <ns@beronet.com>
14566 * channels/misdn/isdn_lib.c, channels/misdn_config.c,
14567 channels/misdn/isdn_lib.h, channels/chan_misdn.c, configure,
14568 include/asterisk/autoconfig.h.in, channels/misdn/Makefile,
14569 channels/misdn/chan_misdn_config.h, configure.ac: * mISDN >= 1.2
14570 provides a dsp pipeline for i.e. echo cancellation modules, make
14571 chan_misdn use it. * add a check for linux/mISDNdsp.h to
14572 configure.ac and update the autogenerated files: 'configure',
14573 'autoconfig.h.in' (the 'configure' script was not in sync with
14574 the latest configure.ac, so the diff is a bit bigger than
14577 2007-03-26 15:16 +0000 [r59200] Joshua Colp <jcolp@digium.com>
14579 * pbx/ael/ael_lex.c: Have ast_copy_string magically appear in the
14580 aelparse binary! DONT_OPTIMIZE should now work once again.
14582 2007-03-24 01:39 +0000 [r59195] Joshua Colp <jcolp@digium.com>
14584 * /, channels/chan_sip.c: Merged revisions 59194 via svnmerge from
14585 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14586 r59194 | file | 2007-03-23 21:35:49 -0400 (Fri, 23 Mar 2007) | 2
14587 lines Only try to handle a response if it has a response code.
14588 (ASA-2007-011) ........
14590 2007-03-23 16:11 +0000 [r59188-59189] Steve Murphy <murf@digium.com>
14592 * /: blocking out the fix in 59187... already incorporated here
14594 * /, apps/app_macro.c: Merged revisions 59186 via svnmerge from
14595 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14596 r59186 | murf | 2007-03-23 09:57:26 -0600 (Fri, 23 Mar 2007) | 1
14597 line Added a few words in the Macro doc strings about the
14598 behavior of macros with hangups (et al.), as per 9337 ........
14600 2007-03-22 23:40 +0000 [r59180-59182] Kevin P. Fleming <kpfleming@digium.com>
14602 * channels/chan_sip.c: don't allow string input to overrun the
14603 buffer to hold it (ASA-2007-010)
14605 * channels/chan_misdn.c: remove variables that are no longer used
14606 (--enable-dev-mode is good, developers should be using it)
14608 2007-03-22 14:40 +0000 [r59145] Steve Murphy <murf@digium.com>
14610 * utils/Makefile: The stuff in utils was compiling with -O6 even if
14611 DONT_OPTIMIZE is set in menuconfig. Added the include to fix that
14613 2007-03-21 18:08 +0000 [r59081-59089] Joshua Colp <jcolp@digium.com>
14615 * main/http.c: Add svg mimetype for pari.
14617 * res/res_monitor.c, /: Merged revisions 59086 via svnmerge from
14618 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14619 r59086 | file | 2007-03-21 14:03:20 -0400 (Wed, 21 Mar 2007) | 2
14620 lines Indicate the filename changed when it is changed. (issue
14621 #9311 reported by jsmith) ........
14623 * channels/chan_sip.c: Until we can do media level parsing for
14624 sendrecv/etc just use the first value found. This crept up when a
14625 phone was offered audio+video and returned an inactive video
14626 stream. chan_sip thought the phone said to put the person on hold
14627 but that was totally wrong. (issue #9319 reported by benbrown)
14629 2007-03-20 21:04 +0000 [r59078] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
14631 * main/logger.c: Fix defines for inline stack backtraces (only used
14632 by developers anyway)
14634 2007-03-20 20:42 +0000 [r59076] Joshua Colp <jcolp@digium.com>
14636 * channels/iax2-parser.c: Copy len variable as well, should fix
14637 remaining IAX2 DTMF issues.
14639 2007-03-20 17:48 +0000 [r59069-59070] Steve Murphy <murf@digium.com>
14641 * apps/app_stack.c: Ooops. Sorry, messed up app_stack. This should
14642 return it to its previous, untouched, state.
14644 * apps/app_stack.c, pbx/pbx_ael.c, include/asterisk/ael_structs.h:
14645 The fix for the AEL <<security hole>> (bug 9316) is here...
14647 2007-03-20 13:16 +0000 [r59064] Christian Richter <christian.richter@beronet.com>
14649 * channels/misdn/isdn_lib.c, channels/misdn_config.c,
14650 channels/misdn/isdn_lib.h, channels/chan_misdn.c, /,
14651 channels/misdn/chan_misdn_config.h: Merged revisions
14652 58849-58850,59062-59063 via svnmerge from
14653 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14654 r58849 | crichter | 2007-03-13 12:58:16 +0100 (Di, 13 Mär 2007) |
14655 1 line added method standard_dec for dialing out on groups, to
14656 avoid conflicts, which caused issues with some ISDN providers
14657 ........ r58850 | crichter | 2007-03-13 13:58:32 +0100 (Di, 13
14658 Mär 2007) | 1 line fixed the crypt_keys stuff ........ r59062 |
14659 crichter | 2007-03-20 10:18:06 +0100 (Di, 20 Mär 2007) | 1 line
14660 avoid sending a disconnect when we already received one. ........
14661 r59063 | crichter | 2007-03-20 10:23:22 +0100 (Di, 20 Mär 2007) |
14662 1 line modified a loglevel ........
14664 2007-03-19 Jason Parker <jparker@digium.com>
14666 * Asterisk 1.4.2 released.
14668 2007-03-19 22:29 +0000 [r59049] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
14670 * funcs/func_strings.c: Oops, this should have been a %d all along
14672 2007-03-19 15:52 +0000 [r59042] Joshua Colp <jcolp@digium.com>
14674 * funcs/func_cdr.c: Fix typo in help for CDR function. (issue #9295
14675 reported by ajohnson)
14677 2007-03-19 15:42 +0000 [r59040] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
14679 * configs/sip_notify.conf.sample: Fix unescaped semicolon (reported
14682 2007-03-18 20:37 +0000 [r59037] Olle Johansson <oej@edvina.net>
14684 * channels/chan_sip.c: Issue #9313, Asterisk crash on SIP return
14685 code 0 (reported by qwerty1979)
14687 2007-03-18 16:36 +0000 [r59035] BJ Weschke <bweschke@btwtech.com>
14689 * apps/app_followme.c: Don't return a non-zero return code if the
14690 profile doesn't exist, to match what the documentation says it
14691 already does. (#9307 Reported by kkiely)
14693 2007-03-16 16:12 +0000 [r58992] Joshua Colp <jcolp@digium.com>
14695 * apps/app_page.c: Wait for the async thread to exit when hanging
14696 up all of the paged phones under all circumstances. (issue #9181
14697 reported by PhilSmith)
14699 2007-03-16 01:42 +0000 [r58947-58957] Russell Bryant <russell@digium.com>
14701 * configs/sla.conf.sample: fix a couple SLA documentation
14704 * doc/ajam.tex (removed), doc/manager.tex (removed), doc/misdn.tex
14705 (removed), doc/freetds.txt (added), doc/odbcstorage.txt (added),
14706 doc/sla.tex, doc/cygwin.txt (added), doc/model.txt (added),
14707 doc/channelvariables.txt (added), doc/ael.txt (added),
14708 doc/billing.tex (removed), build_tools/prep_tarball,
14709 doc/callingpres.txt (added), doc/enum.txt (added),
14710 doc/localchannel.tex (removed), doc/musiconhold-fpm.txt (added),
14711 doc/cdrdriver.tex (removed), build_tools/make_buildopts_h,
14712 doc/security.txt (added), doc/imapstorage.txt (added),
14713 doc/PEERING, main/pbx.c, doc/odbcstorage.tex (removed),
14714 doc/freetds.tex (removed), doc/privacy.txt (added), configure.ac,
14715 doc/iax.txt (added), doc/ael.tex (removed),
14716 doc/channelvariables.tex (removed), doc/enum.tex (removed),
14717 doc/security.tex (removed), doc/math.txt (added), Makefile,
14718 doc/imapstorage.tex (removed), doc/privacy.tex (removed),
14719 doc/realtime.txt (added), doc/dundi.txt (added), doc/mysql.txt
14720 (added), apps/app_voicemail.c, doc/cliprompt.txt (added),
14721 doc/chaniax.txt (added), doc/app-sms.txt (added),
14722 doc/ast_appdocs.tex (removed), doc/realtime.tex (removed),
14723 doc/ices.txt (added), doc/dundi.tex (removed),
14724 doc/linkedlists.txt (added), doc/queuelog.txt (added),
14725 doc/extconfig.txt (added), doc/radius.txt (added),
14726 doc/cliprompt.tex (removed), doc/chaniax.tex (removed),
14727 doc/hardware.txt (added), doc/mp3.txt (added), doc/app-sms.tex
14728 (removed), doc/ices.tex (removed), doc/asterisk.tex (removed),
14729 doc/queuelog.tex (removed), doc/configuration.txt (added),
14730 doc/asterisk-conf.txt (added), doc/sla.pdf (added),
14731 doc/ip-tos.txt (added), doc/hardware.tex (removed), doc/h323.txt
14732 (added), doc/mp3.tex (removed), doc/configuration.tex (removed),
14733 doc/asterisk-conf.tex (removed), doc/jitterbuffer.txt (added),
14734 doc/channels.txt (added), doc/ip-tos.tex (removed),
14735 doc/extensions.txt (added), doc/queues-with-callback-members.txt
14736 (added), doc/apps.txt (added), makeopts.in, doc/ajam.txt (added),
14737 doc/misdn.txt (added), doc/manager.txt (added),
14738 doc/jitterbuffer.tex (removed), doc/extensions.tex (removed),
14739 doc/billing.txt (added), doc/localchannel.txt (added),
14740 doc/queues-with-callback-members.tex (removed), doc/cdrdriver.txt
14741 (added), doc/00README.1st (added): Making these documentation
14742 changes in the 1.4 branch upset various people, so these chanes
14743 will only be done in the trunk.
14745 * build_tools/prep_tarball: Add the --pdf option to the usage of
14746 rubber in prep_tarball
14748 * Makefile, build_tools/menuselect-deps.in, configure,
14749 include/asterisk/autoconfig.h.in, configure.ac, makeopts.in: Add
14750 configure script checking for GTK2 and some additional Makefile
14751 targets to support gmenuselect
14753 2007-03-15 23:52 +0000 [r58946] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
14755 * main/pbx.c, doc/ast_appdocs.tex: Refashion dump command to match
14756 common syntax and update the resulting appdocs TeX file
14758 2007-03-15 23:24 +0000 [r58941] Russell Bryant <russell@digium.com>
14760 * doc/asterisk.tex: add a link to the rubber homepage
14762 2007-03-15 23:11 +0000 [r58939] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
14764 * apps/app_setcdruserfield.c, main/pbx.c,
14765 apps/app_hasnewvoicemail.c, apps/app_settransfercapability.c:
14766 Expand deprecation warnings from simply warning on use to the
14767 builtin documentation.
14769 2007-03-15 22:51 +0000 [r58935-58937] Russell Bryant <russell@digium.com>
14771 * doc/asterisk.tex, Makefile: Add Asterisk version information to
14774 * build_tools/prep_tarball: have prep_tarball attempt to build
14777 2007-03-15 22:32 +0000 [r58933] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
14779 * funcs/func_realtime.c: Function works fine, but the documentation
14782 2007-03-15 22:25 +0000 [r58931] Russell Bryant <russell@digium.com>
14784 * doc/ajam.tex (added), doc/manager.tex (added), doc/misdn.tex
14785 (added), doc/freetds.txt (removed), doc/odbcstorage.txt
14786 (removed), configure, doc/sla.tex, doc/cygwin.txt (removed),
14787 doc/model.txt (removed), doc/channelvariables.txt (removed),
14788 doc/ael.txt (removed), doc/billing.tex (added),
14789 doc/callingpres.txt (removed), doc/enum.txt (removed),
14790 doc/localchannel.tex (added), doc/musiconhold-fpm.txt (removed),
14791 doc/cdrdriver.tex (added), build_tools/make_buildopts_h,
14792 doc/security.txt (removed), doc/imapstorage.txt (removed),
14793 doc/PEERING, main/pbx.c, doc/odbcstorage.tex (added),
14794 doc/freetds.tex (added), doc/privacy.txt (removed), configure.ac,
14795 doc/iax.txt (removed), doc/ael.tex (added),
14796 doc/channelvariables.tex (added), doc/enum.tex (added),
14797 doc/security.tex (added), doc/math.txt (removed), Makefile,
14798 doc/imapstorage.tex (added), doc/privacy.tex (added),
14799 doc/realtime.txt (removed), doc/dundi.txt (removed),
14800 doc/mysql.txt (removed), apps/app_voicemail.c, doc/cliprompt.txt
14801 (removed), doc/chaniax.txt (removed), doc/app-sms.txt (removed),
14802 doc/ast_appdocs.tex (added), doc/realtime.tex (added),
14803 doc/ices.txt (removed), doc/dundi.tex (added),
14804 doc/linkedlists.txt (removed), doc/queuelog.txt (removed),
14805 doc/extconfig.txt (removed), doc/radius.txt (removed),
14806 doc/cliprompt.tex (added), doc/chaniax.tex (added),
14807 doc/hardware.txt (removed), doc/mp3.txt (removed),
14808 doc/app-sms.tex (added), doc/ices.tex (added), doc/asterisk.tex
14809 (added), doc/queuelog.tex (added), doc/configuration.txt
14810 (removed), doc/asterisk-conf.txt (removed), doc/sla.pdf
14811 (removed), doc/ip-tos.txt (removed), doc/hardware.tex (added),
14812 doc/h323.txt (removed), doc/mp3.tex (added),
14813 doc/configuration.tex (added), doc/asterisk-conf.tex (added),
14814 doc/jitterbuffer.txt (removed), doc/channels.txt (removed),
14815 doc/ip-tos.tex (added), doc/extensions.txt (removed),
14816 doc/queues-with-callback-members.txt (removed), doc/apps.txt
14817 (removed), makeopts.in, doc/ajam.txt (removed), doc/misdn.txt
14818 (removed), doc/manager.txt (removed), doc/jitterbuffer.tex
14819 (added), doc/extensions.tex (added), doc/billing.txt (removed),
14820 doc/localchannel.txt (removed),
14821 doc/queues-with-callback-members.tex (added), doc/cdrdriver.txt
14822 (removed), doc/00README.1st (removed): Merge changes from
14823 svn/asterisk/team/russell/LaTeX_docs. * Convert most of the doc
14824 directory into a single LaTeX formatted document so that we can
14825 generate a PDF, HTML, or other formats from this information. *
14826 Add a CLI command to dump the application documentation into
14827 LaTeX format which will only be include if the configure script
14828 is run with --enable-dev-mode. * The PDF turned out to be close
14829 to 1 MB, so it is not included. However, you can simply run "make
14830 asterisk.pdf" to generate it yourself. We may include it in
14831 release tarballs or have automatically generated ones on the web
14832 site, but that has yet to be decided.
14834 2007-03-15 18:13 +0000 [r58923] Joshua Colp <jcolp@digium.com>
14836 * channels/chan_iax2.c: Don't assume that the pvt structure will
14837 still exist after calling schedule_delivery as it may not. (issue
14838 #9278 reported by fmachado)
14840 2007-03-14 19:18 +0000 [r58894-58906] Russell Bryant <russell@digium.com>
14842 * channels/chan_sip.c: Some people like to put "limitonpeer"
14843 instead of "limitonpeers" in their configuration. While we're at
14844 it, support "limitonpeerz" and "limitonpeerssssss". (inspired by
14847 * doc/sla.pdf, doc/sla.tex: Add a more basic example setup to the
14850 * doc/security.txt, /: Merged revisions 58896 via svnmerge from
14851 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14852 r58896 | russell | 2007-03-14 11:38:48 -0500 (Wed, 14 Mar 2007) |
14853 3 lines Add a note to the security file that the Asterisk CLI and
14854 log files may contain sensitive information, and that people
14855 should keep this in mind. ........
14857 * configs/sla.conf.sample, apps/app_meetme.c: By default, don't
14858 attempt to do any CallerID handling at all with SLA because it is
14859 known to not work properly in some situations. However, add an
14860 option to enable it for those that would like to use it anyway.
14861 The short story behind this is that to properly handle CallerID
14862 with SLA, we need the ability to change the CallerID on an
14863 existing call, and we are not ready to handle that.
14865 2007-03-14 01:47 +0000 [r58880] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
14867 * funcs/func_strings.c: Issue 9162 -
14868 pbx_substitute_variables_helper assumes the buffer is initialized
14869 to all zeroes. This fixes a case where it wasn't.
14871 2007-03-13 23:19 +0000 [r58870-58872] Russell Bryant <russell@digium.com>
14873 * apps/app_meetme.c: Ensure that the blinky lights show that the
14874 trunk stopped ringing when the trunk hangs up before a station
14875 has answered it. (issue #9234, reported by francesco_r)
14877 * configs/sla.conf.sample: fix the reference to the SLA
14880 2007-03-13 11:49 +0000 [r58843-58848] Olle Johansson <oej@edvina.net>
14882 * /, channels/chan_sip.c: Merged revisions 58847 via svnmerge from
14883 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14884 r58847 | oej | 2007-03-13 12:45:52 +0100 (Tue, 13 Mar 2007) | 2
14885 lines Issue #9229 - No port in request URI on register to non
14886 default SIP ports (neelakantan) ........
14888 * channels/chan_sip.c: Don't hangup the call on OK or errors on
14889 MESSAGE and INFO inside of a dialog (like video update requests).
14891 * channels/chan_sip.c: Issue #9251 - Clear From URI from user
14892 attributes (tgrman)
14894 2007-03-12 13:08 +0000 [r58825-58826] Christian Richter <christian.richter@beronet.com>
14896 * channels/misdn/isdn_lib.c, channels/chan_misdn.c, /: Merged
14897 revisions 57034,57523,57753,58558 via svnmerge from
14898 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14899 r57034 | crichter | 2007-02-28 17:09:27 +0100 (Mi, 28 Feb 2007) |
14900 1 line fixed bugs.digium.com bugs: #9157 and bugs.beronet.com
14901 bugs: #302, #303, #304 ........ r57523 | crichter | 2007-03-02
14902 19:32:51 +0100 (Fr, 02 Mar 2007) | 1 line fixed typo ........
14903 r57753 | crichter | 2007-03-04 11:39:50 +0100 (So, 04 Mar 2007) |
14904 1 line fixed another place where the out_cause was hardcoded to
14905 16 ........ r58558 | crichter | 2007-03-09 15:43:58 +0100 (Fr, 09
14906 Mar 2007) | 1 line we can free channel 31 as well, since we can
14909 * channels/misdn/isdn_lib.c, channels/misdn/isdn_lib.h,
14910 channels/chan_misdn.c, channels/misdn/ie.c,
14911 channels/misdn/isdn_msg_parser.c: added UU transceiving and
14912 corect handling for rdnis
14914 2007-03-12 01:21 +0000 [r58779-58783] Joshua Colp <jcolp@digium.com>
14916 * main/rtp.c: Allow RFC2833 compensation to compensate for even
14917 stupider implementations by queueing up the end frame at the
14918 start, not the actual end. (issue #8963 reported by AndrewZ)
14920 * channels/chan_sip.c, configs/sip.conf.sample: Add
14921 matchexterniplocally setting which only substitutes your
14922 externip/externhost setting if it matches the localnet setting. I
14923 know of at least two people who need opposite settings, so I made
14924 it an option! (issue #8821 reported by kokoskarokoska)
14926 2007-03-10 18:11 +0000 [r58638-58705] Russell Bryant <russell@digium.com>
14928 * channels/chan_iax2.c: Fix a few more places in chan_iax2 where
14929 the ast_frame used for receiving a frame was not properly
14930 initialized. - Interpolating a frame when the jitterbuffer is in
14931 use - decrypting a frame when IAX2 encryption is on - frames in
14934 * apps/app_meetme.c: Make the compiler happy and initialize a
14937 * doc/sla.pdf (added), doc/sla.txt (removed), doc/sla.tex (added):
14938 Merge some updates to the SLA documentation. I plan to keep
14939 working on this to explain all of the expected behavior with call
14940 handling, configuration details for specific phones, and other
14941 things. However, I got tired of doing it in plain text, so I
14942 switched to using LaTeX. I have included the PDF version. I
14943 haven't been able to get a nice looking plain text version out of
14944 it yet, but I'm not terribly concerned since this is supposed to
14945 be more of the manual, while the plain text sample configuration
14946 file is the reference.
14948 2007-03-09 21:08 +0000 [r58584-58604] Joshua Colp <jcolp@digium.com>
14950 * apps/app_voicemail.c: Fix spelling of unavailable in voicemail
14951 documentation. (issue #9248 reported by tensai)
14953 * /, channels/chan_sip.c: Merged revisions 58579 via svnmerge from
14954 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14955 r58579 | file | 2007-03-09 15:46:43 -0500 (Fri, 09 Mar 2007) | 2
14956 lines If we are unable to lookup the host in a c line we have to
14957 abort, otherwise the previous data is gone and we will
14958 (potentially) have no data when all is said and done. ........
14960 2007-03-08 22:15 +0000 [r58510-58512] Russell Bryant <russell@digium.com>
14962 * apps/app_meetme.c: Hang up the channel that put the call on hold
14963 in the event processing thread to avoid a race condition. Also,
14964 if the station originated the call that it is putting on hold,
14965 don't hang up the trunk if it was the only station on the call
14966 and it is hanging up due to hold and not a normal hangup.
14968 * channels/chan_zap.c: Add a missing break statement so that
14969 handling the above event does not incorrectly destroy the
14970 channel. (issue #9242, andrew)
14972 2007-03-08 21:33 +0000 [r58479] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
14974 * res/res_odbc.c: Fix segfault (Issue 9236)
14976 2007-03-08 20:54 +0000 [r58474] Russell Bryant <russell@digium.com>
14978 * apps/app_meetme.c: Refactor hold handling a bit so that it does
14979 not require keeping the call up when a call is put on hold.
14981 2007-03-08 18:01 +0000 [r58389-58436] Joshua Colp <jcolp@digium.com>
14983 * main/rtp.c: Make early SDP seeding even smarter! We have to check
14984 codecs in the make_compatible function too. (issue #9221 reported
14985 by marcelbarbulescu)
14987 * main/dsp.c, /: Merged revisions 58388 via svnmerge from
14988 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
14989 r58388 | file | 2007-03-08 11:04:58 -0500 (Thu, 08 Mar 2007) | 2
14990 lines Only print out debug message if the definition that makes
14991 the variables shows up was actually defined. (issue #9233
14992 reported by serginuez) ........
14994 2007-03-08 13:23 +0000 [r58351-58354] Kevin P. Fleming <kpfleming@digium.com>
14996 * main/http.c: this change was not needed; fclose() handles closing
14997 the file descriptor already
14999 * apps/app_meetme.c: fix a compiler warning, and overwriting 'res'
15002 * main/http.c: fix two cases where HTTP session file descriptors
15003 would not be closed
15005 2007-03-08 01:01 +0000 [r58243-58320] Russell Bryant <russell@digium.com>
15007 * channels/chan_zap.c, configure, configure.ac: If we receive
15008 ZT_EVENT_REMOVED, destroy the specified channel. (issue #7256,
15009 tzafrir) Also, update the configure script to make sure that we
15010 don't try to build chan_zap if the installed version of zaptel
15011 does not include ZT_EVENT_REMOVED.
15013 * /, channels/chan_iax2.c: (This bug was reported to me by Kinsey
15014 Moore) Merged revisions 58242 via svnmerge from
15015 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15016 r58242 | russell | 2007-03-07 12:17:07 -0600 (Wed, 07 Mar 2007) |
15017 7 lines Fix a problem where the Asterisk channel name could be
15018 that of the wrong IAX2 user for a call. This is because the first
15019 step of choosing this name is to look for an IAX2 peer that
15020 happens to have the same IP/port number that this call is coming
15021 from and assuming that is it. However, this is not always
15022 correct. So, I have made it change this name after authentication
15023 happens since at that point, we have an exact match. ........
15025 2007-03-07 17:52 +0000 [r58240] Joshua Colp <jcolp@digium.com>
15027 * main/rtp.c, channels/chan_sip.c: Ensure we have (or should have)
15028 at least one matching codec before attempting early bridge SDP
15029 seeding. (issue #9221 reported by marcelbarbulescu)
15031 2007-03-07 00:27 +0000 [r58165-58168] Russell Bryant <russell@digium.com>
15033 * main/manager.c, /: Merged revisions 58164 via svnmerge from
15034 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15035 r58164 | russell | 2007-03-06 18:20:13 -0600 (Tue, 06 Mar 2007) |
15036 4 lines If the channels acquired using the manager Redirect
15037 action are not up, then don't attempt to do anything with them.
15038 It could lead to weird behavior, including crashes. (issue #8977)
15041 2007-03-06 23:10 +0000 [r58121] Steve Murphy <murf@digium.com>
15043 * /, channels/chan_sip.c: Merged revisions 58115 via svnmerge from
15044 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15045 r58115 | murf | 2007-03-06 15:52:52 -0700 (Tue, 06 Mar 2007) | 1
15046 line Fix for 9220: Eyebeam cannot renew subscriptions for
15047 presence info. Reason: re-SUBSCRIBE requests don't include Accept
15048 headers, which the rfc says are optional (to put it tersely), (it
15049 uses MAY), and luckily, the sip_pvt struct has the format info
15050 stored, so we simply leave it if the format is set, and the
15051 accept header null. ........
15053 2007-03-06 23:00 +0000 [r58119] Russell Bryant <russell@digium.com>
15055 * configs/voicemail.conf.sample: Clarify the documentation of the
15056 dialout and sendvoicemail options. (issue #9000, caio1982 and
15059 2007-03-06 20:37 +0000 [r58053] Olle Johansson <oej@edvina.net>
15061 * /, channels/chan_sip.c: Merged revisions 58052 via svnmerge from
15062 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15063 r58052 | oej | 2007-03-06 21:33:21 +0100 (Tue, 06 Mar 2007) | 2
15064 lines Change error message to proper message ........
15066 2007-03-06 18:01 +0000 [r58023] Russell Bryant <russell@digium.com>
15068 * channels/chan_skinny.c: Return an error of transmit_response is
15069 called without a session. (issue #9002)
15071 2007-03-05 19:19 +0000 [r57870-57914] Joshua Colp <jcolp@digium.com>
15073 * channels/chan_iax2.c: Since chan_iax2 does not support reception
15074 of DTMF with duration ensure that it is set to 0 on the frame.
15075 (issue #8521 reported by gdhgdh)
15077 * apps/app_meetme.c: Don't create a listen channel and record the
15078 conference unless the option is turned on. (issue #9204 reported
15081 * apps/app_voicemail.c, /: Merged revisions 57869 via svnmerge from
15082 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15083 r57869 | file | 2007-03-05 12:49:18 -0500 (Mon, 05 Mar 2007) | 2
15084 lines Make create_dirpath use our standard for return values. -1
15085 is failure, 0 is success. (issue #9205 reported by ballares)
15088 2007-03-05 15:20 +0000 [r57826] Steve Murphy <murf@digium.com>
15090 * main/pbx.c, /: Merged revisions 57825 via svnmerge from
15091 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15092 r57825 | murf | 2007-03-05 07:53:57 -0700 (Mon, 05 Mar 2007) | 1
15093 line Fixed a typo introduced via 9156 (either the gotos or their
15094 doc strings are wrong) ........
15096 2007-03-05 04:19 +0000 [r57768-57798] Joshua Colp <jcolp@digium.com>
15098 * main/slinfactory.c: Don't allow a NULL pointer to reach
15099 ast_frdup. (issue #9155 reported by cmaj)
15101 * res/res_jabber.c: Don't reference a potentially NULL pointer.
15102 (issue #9199 reported by klolik)
15104 * main/rtp.c: Preserve marker bit when P2P bridging. (issue #9198
15105 reported by edgreenberg)
15107 2007-03-03 15:31 +0000 [r57707] Steve Murphy <murf@digium.com>
15109 * pbx/ael/ael-test/ref.ael-vtest13, pbx/ael/ael-test/ref.ael-test2,
15110 pbx/ael/ael-test/ref.ael-test4, pbx/ael/ael-test/ref.ael-test7:
15111 Updated the regression tests
15113 2007-03-03 06:45 +0000 [r57649] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
15115 * apps/app_voicemail.c, /: Merged revisions 57648 via svnmerge from
15116 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15117 r57648 | tilghman | 2007-03-03 00:36:55 -0600 (Sat, 03 Mar 2007)
15118 | 2 lines Memory leak of a list, if call recording was abandoned
15121 2007-03-03 00:59 +0000 [r57620] Dwayne M. Hubbard <dhubbard@digium.com>
15123 * main/say.c: submitted patch for Georgian language, issue 9010,
15124 submitted by Alexander Shaduri
15126 2007-03-03 00:02 +0000 [r57591] Russell Bryant <russell@digium.com>
15128 * configs/sla.conf.sample: add missing configuration template.
15129 Thanks to Lacy Moore on asterisk-users for pointing this out\!
15131 2007-03-02 Russell Bryant <russell@digium.com>
15133 * Asterisk 1.4.1 released.
15135 2007-03-02 23:03 +0000 [r57556] Russell Bryant <russell@digium.com>
15137 * configure, configure.ac: Update the check that is used to
15138 determine whether zaptel transcoder support is present. The
15139 interface has changed.
15141 2007-03-02 17:06 +0000 [r57477] Joshua Colp <jcolp@digium.com>
15143 * /, channels/chan_sip.c: Merged revisions 57475 via svnmerge from
15144 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15145 r57475 | file | 2007-03-02 12:02:46 -0500 (Fri, 02 Mar 2007) | 2
15146 lines If a SIP message comes in and goes to a method handler that
15147 requires additional values that may not be present then send back
15150 2007-03-02 16:55 +0000 [r57426-57473] Steve Murphy <murf@digium.com>
15152 * main/pbx.c, /: Merged revisions 57458 via svnmerge from
15153 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15154 r57458 | murf | 2007-03-02 09:39:33 -0700 (Fri, 02 Mar 2007) | 1
15155 line further refinement in wording of goto documentation, as per
15156 9156, goto not proceeding to next instruction ........
15158 * pbx/pbx_ael.c, utils/ael_main.c: I almost had comma escapes
15159 right, but 9184 points out the problem-- the escape is removed by
15160 pbx_config, and pbx_ael should also, before sending it down into
15161 the pbx engine. Also, you have to insert it back in, if you are
15162 generating extensions.conf code from the AEL.
15164 2007-03-02 00:20 +0000 [r57364-57396] Russell Bryant <russell@digium.com>
15166 * main/file.c: Return the correct digit that interrupted the
15167 stream. This fixes exiting the Background application when using
15168 the m option. (issue #9176, mjagdis)
15170 * configs/sla.conf.sample, apps/app_meetme.c, doc/sla.txt,
15171 include/asterisk/channel.h: Merge changes from
15172 svn/asterisk/team/russell/sla_updates * Originally, I put in the
15173 documentation that only Zap interfaces would be supported on the
15174 trunk side. However, after a discussion with Qwell, we came up
15175 with a way to make IP trunks work as well, using some things
15176 already in Asterisk. So, here it is, this now officially supports
15177 IP trunks. * Update the SLA documentation to reflect how to setup
15178 IP trunks. * Add a section in sla.txt that describes how to set
15179 up an SLA system with voicemail. * Simplify the way DTMF
15180 passthrough is handled in MeetMe. * Fix a bug that exposed itself
15181 when using a Local channel on the trunk side in SLA. The
15182 station's channel needs to be passed to the dial API when dialing
15183 the trunk. * Change a WARNING message to DEBUG in channel.h. This
15184 message is of no use to users.
15186 2007-03-01 22:21 +0000 [r57318] Joshua Colp <jcolp@digium.com>
15188 * channels/chan_local.c, /: Merged revisions 57317 via svnmerge
15189 from https://origsvn.digium.com/svn/asterisk/branches/1.2
15190 ........ r57317 | file | 2007-03-01 17:19:32 -0500 (Thu, 01 Mar
15191 2007) | 2 lines Don't even attempt to optimize things when a
15192 proxy channel is involved. It will just explode in weird and
15193 unexplaineable ways. (issue #9175 reported by
15194 clegall_proformatique) ........
15196 2007-03-01 03:02 +0000 [r57263] TransNexus OSP Development <support@transnexus.com>
15198 * doc/osp.txt: 1. Corrected a typo for www.etsi.org. Thank Patrick.
15200 2007-02-28 23:01 +0000 [r57144-57207] Russell Bryant <russell@digium.com>
15202 * configs/sla.conf.sample, doc/sla.txt: minor tweaks to the sla
15205 * configs/sla.conf.sample, apps/app_meetme.c: Merge more changes
15206 from svn/asterisk/team/russell/sla_updates * Add support for
15207 private hold. By setting "hold=private" for a trunk, only the
15208 station that put the call on hold will be able to retrieve it
15209 from hold. Also, by setting "hold=private" for a station, any
15210 call that station puts on hold can only be retrieved by that
15213 * apps/app_meetme.c: Minor formatting change
15215 * configs/sla.conf.sample, apps/app_meetme.c: Merge changes from
15216 svn/asterisk/team/russell/sla_updates * Add support for the
15217 "barge=no" option for trunks. If this option is set, then
15218 stations will not be able to join in on a call that is on
15219 progress on this trunk.
15221 2007-02-28 19:23 +0000 [r57139] Steve Murphy <murf@digium.com>
15223 * main/pbx.c, /: Merged revisions 57118 via svnmerge from
15224 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15225 r57118 | murf | 2007-02-28 12:12:41 -0700 (Wed, 28 Feb 2007) | 1
15226 line a small documentation update, to reflect reality in the goto
15227 doc strings, as per 9156, Goto does not proceed to next prio if
15228 jump fails ........
15230 2007-02-28 18:57 +0000 [r57093] Joshua Colp <jcolp@digium.com>
15232 * /, channels/chan_agent.c: Merged revisions 57092 via svnmerge
15233 from https://origsvn.digium.com/svn/asterisk/branches/1.2
15234 ........ r57092 | file | 2007-02-28 13:55:45 -0500 (Wed, 28 Feb
15235 2007) | 2 lines Fix a few more issues with the agent logoff CLI
15236 command. (issue #9123 reported by arbrandes) ........
15238 2007-02-28 18:20 +0000 [r57089] Russell Bryant <russell@digium.com>
15240 * configs/sla.conf.sample, apps/app_meetme.c: Merge current set of
15241 changes from svn/asterisk/team/russell/sla_updates * Add support
15242 for station ring delays. Ring delays can be set globally for a
15243 station or for specific trunks on the station. * Fix a few bugs
15244 in existing code. * Restructure and Reorganize code to improve
15245 readability and maintainability. * Improve formatting of the "sla
15246 show (trunks|stations)" CLI commands.
15248 2007-02-28 17:55 +0000 [r57053-57055] Joshua Colp <jcolp@digium.com>
15250 * apps/app_meetme.c: Picky compiler...
15252 * apps/app_speech_utils.c: Better handle timeouts when the
15253 individual speaks after everything has been played but before the
15256 2007-02-28 17:15 +0000 [r57049] Steve Murphy <murf@digium.com>
15258 * pbx/pbx_ael.c: I was surprised that I had not yet downgraded
15259 missing goto targets and macro call defs to a warning, in case
15260 they are in extensions.conf; I rectified this problem. Also, A
15261 goto in a macro to a target in a catch block was not being found;
15262 I fixed this too; the cause was that I needed to treat catch
15263 statements like an extension in the find_match code.
15265 2007-02-27 17:36 +0000 [r56975] Russell Bryant <russell@digium.com>
15267 * apps/app_voicemail.c: Fix voicemail email attachments. I missed
15268 the conversion of one of the line endings and there was an extra
15269 one where it should not have been. (issue #9128)
15271 2007-02-26 22:01 +0000 [r56922] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
15273 * apps/app_lookupcidname.c, apps/app_lookupblacklist.c: Picky,
15274 picky... show deprecation warning in application help, too
15275 (reported via list)
15277 2007-02-26 20:42 +0000 [r56888] Russell Bryant <russell@digium.com>
15279 * channels/chan_alsa.c: Restore the behavior of Asterisk 1.2 where
15280 if a device was not specified in alsa.conf, then we just use the
15281 system default, instead of creating our own default of hw:0,0.
15284 2007-02-26 20:07 +0000 [r56856] Joshua Colp <jcolp@digium.com>
15286 * /, pbx/pbx_config.c: Merged revisions 56850 via svnmerge from
15287 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15288 r56850 | file | 2007-02-26 15:05:02 -0500 (Mon, 26 Feb 2007) | 2
15289 lines Obey the clearglobalvars option in extensions reload (or
15290 dialplan reload depending on your version). (issue #9146 reported
15291 by ramonpeek) ........
15293 2007-02-26 20:04 +0000 [r56847] Russell Bryant <russell@digium.com>
15295 * channels/chan_iax2.c: Fix a crash in my last change to
15296 iax2_indicate(). (issue #9150)
15298 2007-02-26 19:33 +0000 [r56805-56839] Joshua Colp <jcolp@digium.com>
15300 * apps/app_record.c: Update app_record documentation to use new CLI
15301 command, core show file formats. (issue #9151 reported by junky)
15303 * main/pbx.c: Use ast_strlen_zero to see if the language and/or
15304 context argument is not present for Background instead of just
15305 checking if it is NULL. (issue #9141 reported by mjagdis)
15307 2007-02-26 16:51 +0000 [r56785] Russell Bryant <russell@digium.com>
15309 * channels/chan_iax2.c: Do more complete locking of the
15310 chan_iax2_pvt struct in the indicate callback. (Problem brought
15311 up by Ben Smithurst on the asterisk-dev list)
15313 2007-02-26 16:36 +0000 [r56783] Joshua Colp <jcolp@digium.com>
15315 * main/asterisk.c: Allow both of the show version files and core
15316 show file versions CLI commands to work. (issue #9135 reported by
15319 2007-02-26 01:04 +0000 [r56730-56740] Russell Bryant <russell@digium.com>
15321 * apps/app_meetme.c: Move a comment to be in the correct struct.
15323 2007-02-25 14:46 +0000 [r56685] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
15325 * main/channel.c, /: Merged revisions 56684 via svnmerge from
15326 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15327 r56684 | tilghman | 2007-02-25 08:38:03 -0600 (Sun, 25 Feb 2007)
15328 | 3 lines Issue 9130 - If prev is the last item on the channel
15329 list, then evaluating additional conditions (e.g. name prefix)
15330 will cause a NULL dereference. ........
15332 2007-02-24 02:02 +0000 [r56569] Jason Parker <jparker@digium.com>
15334 * channels/chan_skinny.c: Make sure to set a speeddials parent on
15335 creation. Don't crash if hold is pressed when no call is active.
15336 Don't return in places that we shouldn't..
15338 2007-02-24 00:53 +0000 [r56548] Kevin P. Fleming <kpfleming@digium.com>
15340 * codecs/codec_zap.c: update to match zaptel 1.4 API change that
15341 was committed a few minutes ago
15343 2007-02-23 23:24 +0000 [r56505] Russell Bryant <russell@digium.com>
15345 * main/asterisk.c, /: Merged revisions 56504 via svnmerge from
15346 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15347 r56504 | russell | 2007-02-23 17:20:55 -0600 (Fri, 23 Feb 2007) |
15348 8 lines Fix up a couple more signal handlers to not do bad things
15349 that could cause various undesirable results. The other day, I
15350 made Asterisk deadlock by hitting Control-C because of a bad
15351 signal handler. Now, signal handlers just set a flag and write to
15352 an alert pipe for the flag to be handled. Then, there is another
15353 thread that is monitoring for these flags. If being run in
15354 console mode, it is just the main thread. If Asterisk is in the
15355 background, a thread is created to do it. ........
15357 2007-02-23 21:53 +0000 [r56457] Joshua Colp <jcolp@digium.com>
15359 * main/sched.c: Change log notice to debug. It is possible for a
15360 scheduled item to execute and be deleted at close to the same
15361 time and unavoidable. If this happens this message creeps up.
15363 2007-02-23 20:20 +0000 [r56407] Russell Bryant <russell@digium.com>
15365 * /, channels/chan_iax2.c: Merged revisions 56406 via svnmerge from
15366 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15367 r56406 | russell | 2007-02-23 14:17:56 -0600 (Fri, 23 Feb 2007) |
15368 4 lines Don't destroy mutexes before unregistering all of the
15369 entry points from the core. Also, fix a potential memory leak
15370 from not destroying the locks for all of the possible call
15371 numbers (about 32k of them). ........
15373 2007-02-23 18:59 +0000 [r56372] Kevin P. Fleming <kpfleming@digium.com>
15375 * build_tools/make_version_h: build special version strings for
15378 2007-02-23 17:58 +0000 [r56341] Russell Bryant <russell@digium.com>
15380 * apps/app_voicemail.c: The IMAP storage code uses the same code to
15381 build the email that is used when voicemail is sent via email
15382 using something like sendmail. In the patch from bug 8033 to fix
15383 various IMAP storage problems, the line endings in the email file
15384 were changed in the code from "\n" to "\r\n". However, this
15385 breaks sending regular voicemail to email. So, this change
15386 conditionally sets line endings to "\r\n" only if IMAP_STORAGE is
15387 enabled. (issue #9128, patch by jarjarbinks, modified by me to
15388 not break IMAP storage)
15390 2007-02-22 23:08 +0000 [r56277] Russell Bryant <russell@digium.com>
15392 * configs/sla.conf.sample, main/dial.c, apps/app_meetme.c,
15393 doc/sla.txt: Merge changes from team/russell/sla_updates. This
15394 batch of changes to the SLA code does a few different things. * I
15395 made the SLA code event driven instead of having to act in a lot
15396 of busy loops while dialing things to wait for state changes.
15397 This makes the code more efficient and readable at the same time.
15398 * I have implemented a couple of new features. The first is
15399 inbound trunk ringing timeouts. This is an option that defines
15400 how long to let an incoming call on a trunk to ring. * I have
15401 also implemented ring timeouts for stations. They may be
15402 specified for the entire station, meaning it is how long to let
15403 the station ring before giving up. You can also specify a ring
15404 timeout for a specific trunk on a station. So, you can say that
15405 you only want a specific station to ring 5 seconds if it is line1
15406 ringing, but otherwise, there is no timeout.
15408 2007-02-22 18:49 +0000 [r56231] Joshua Colp <jcolp@digium.com>
15410 * main/channel.c, /, channels/chan_sip.c: Merged revisions 56230
15412 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15413 r56230 | file | 2007-02-22 13:44:24 -0500 (Thu, 22 Feb 2007) | 2
15414 lines Only change the original or clone channel if it's the
15415 channel behind the proxy channel, not if it's just a regular
15416 bridged channel. ........
15418 2007-02-22 14:06 +0000 [r56169] TransNexus OSP Development <support@transnexus.com>
15420 * doc/osp.txt: Update OSP documentation for v1.4.
15422 2007-02-22 10:33 +0000 [r56125] Olle Johansson <oej@edvina.net>
15424 * channels/chan_sip.c: Move message from verbose to debug
15426 2007-02-22 02:39 +0000 [r56094] Steve Murphy <murf@digium.com>
15428 * sounds/Makefile: updated the sound tarball versions in Makefile
15430 2007-02-22 01:24 +0000 [r56011-56055] Russell Bryant <russell@digium.com>
15432 * channels/chan_sip.c: Restructure a little bit of code to reduce
15433 nesting. There is no functionality change here.
15435 * /, channels/chan_sip.c: Merged revisions 56010 via svnmerge from
15436 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15437 r56010 | russell | 2007-02-21 18:53:25 -0600 (Wed, 21 Feb 2007) |
15438 3 lines If we receive a frame that is not in any of the
15439 negotiated formats, then drop it. (potentially issue #8781 and
15442 2007-02-22 00:35 +0000 [r56008] Joshua Colp <jcolp@digium.com>
15444 * main/cli.c: Print out deprecation notice on usage output of CLI
15445 commands. (issue #8925 reported by blitzrage)
15447 2007-02-22 00:08 +0000 [r56006] Kevin P. Fleming <kpfleming@digium.com>
15449 * main/loader.c: disable unloading of embedded modules... there is
15450 a fundamental problem with doing so that will not be fixed in
15451 this version of Asterisk due to its invasiveness
15453 2007-02-21 20:35 +0000 [r55957] Joshua Colp <jcolp@digium.com>
15455 * /, apps/app_meetme.c: Merged revisions 55956 via svnmerge from
15456 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15457 r55956 | file | 2007-02-21 15:32:16 -0500 (Wed, 21 Feb 2007) | 2
15458 lines Change naughty warning message to provide useful
15459 information. If a write now fails on a channel in meetme it will
15460 tell you the channel name instead of spitting out the wrong error
15463 2007-02-21 20:27 +0000 [r55954] Jason Parker <jparker@digium.com>
15465 * channels/chan_gtalk.c: Fix locking issue, and accept
15466 "transport-accept" as a valid accept message. This should solve
15467 issues 8970 and 8503.
15469 2007-02-21 20:22 +0000 [r55951] Russell Bryant <russell@digium.com>
15471 * apps/app_meetme.c: Simplify the last change to app_meetme, and
15472 move the call to dispose_conf() up into the block where we know a
15475 2007-02-21 20:16 +0000 [r55914-55949] Joshua Colp <jcolp@digium.com>
15477 * apps/app_meetme.c: Only dispose of the conference if one was
15480 * apps/app_speech_utils.c: Only start playing the next file if we
15481 have not been quieted.
15483 * channels/chan_sip.c: Add a flag that indicates whether a SIP
15484 dialog is an outgoing call or not. SIP_OUTGOING originally did it
15485 but it was repurposed to the direction of the last transaction,
15486 which can cause update_call_counter to falsely decrease the wrong
15487 counters. (please don't hurt me oej) (issue #8943 reported by
15490 2007-02-21 14:06 +0000 [r55869] Kevin P. Fleming <kpfleming@digium.com>
15492 * /, build_tools/make_version: Merged revisions 55868 via svnmerge
15493 from https://origsvn.digium.com/svn/asterisk/branches/1.2
15494 ........ r55868 | kpfleming | 2007-02-21 08:03:11 -0600 (Wed, 21
15495 Feb 2007) | 2 lines use new tag version script ........
15497 2007-02-21 08:32 +0000 [r55834] Olle Johansson <oej@edvina.net>
15499 * channels/chan_sip.c: Issue #8848 - Turn off lamp more quickly
15500 after transfer (decrement inuse early on transferer's call leg)
15502 2007-02-21 02:01 +0000 [r55799] Jason Parker <jparker@digium.com>
15504 * channels/chan_gtalk.c: Fix segfault when buddy couldn't be found.
15505 Issue 7764, patch by sailer
15507 2007-02-21 01:03 +0000 [r55751-55758] Russell Bryant <russell@digium.com>
15509 * apps/app_meetme.c: Improve the reference counting to fix bugs
15510 where people report seeing conferences listed that have no
15511 members. (issue #9073)
15513 2007-02-21 00:11 +0000 [r55670-55741] Joshua Colp <jcolp@digium.com>
15515 * apps/app_voicemail.c: Better handle dropped IMAP connections.
15516 (issue #9054 reported by bsmithurst)
15518 * channels/chan_sip.c: Return behavior I removed. I did not
15519 remember that you could just add a localnet entry to make it
15522 * channels/chan_sip.c: Don't test our own address against the
15523 localnet settings. At least one person has had issues as a result
15524 of this from #7051 so I'm reversing it. (issue #8821 reported by
15527 * /, channels/chan_agent.c: Merged revisions 55669 via svnmerge
15528 from https://origsvn.digium.com/svn/asterisk/branches/1.2
15529 ........ r55669 | file | 2007-02-20 17:39:14 -0500 (Tue, 20 Feb
15530 2007) | 2 lines Defer clearing callback information if channels
15531 are up until they are hung up. This ensures the hangup process
15532 goes smoothly and no channels get hung in limbo. (issue #8088
15533 reported by kebl0155) ........
15535 2007-02-20 20:26 +0000 [r55589-55634] Russell Bryant <russell@digium.com>
15537 * main/http.c: Add the Asterisk version information to the Server
15538 header in HTTP responses. (requested by Pari)
15540 * include/asterisk/manager.h: Increase the maximum number of
15541 manager headers to 128, at the request of Pari.
15543 2007-02-20 16:53 +0000 [r55555] Jason Parker <jparker@digium.com>
15545 * channels/chan_gtalk.c, res/res_jabber.c: No need to cast nor free
15546 with strdupa (thanks file) 55555!
15548 2007-02-20 16:41 +0000 [r55553] Russell Bryant <russell@digium.com>
15550 * configs/sla.conf.sample: Change the formatting of sla.conf.sample
15551 to make it more readable. (issue #9112, blitzrage)
15553 2007-02-19 21:12 +0000 [r55483] Olle Johansson <oej@edvina.net>
15555 * res/res_jabber.c: - Not sending arguments to an application is
15556 not "out of memory" - Making error messages a bit more clear
15558 2007-02-19 18:11 +0000 [r55435] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
15560 * apps/app_voicemail.c, /: Merged revisions 55434 via svnmerge from
15561 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15562 r55434 | tilghman | 2007-02-19 12:09:09 -0600 (Mon, 19 Feb 2007)
15563 | 2 lines forcename and forcegreetings options should check to
15564 see if the recording already exists ........
15566 2007-02-19 14:52 +0000 [r55397] Doug Bailey <dbailey@digium.com>
15568 * channels/chan_iax2.c: Changed iax2 process thread to detached to
15569 correct memory leak due to left over thread context on thread
15570 exit. Modified module unload process to avoid deadlocks on
15573 2007-02-18 12:35 +0000 [r55250-55278] Olle Johansson <oej@edvina.net>
15575 * /, apps/app_record.c: Merged revisions 55277 via svnmerge from
15576 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15577 r55277 | oej | 2007-02-18 13:32:13 +0100 (Sun, 18 Feb 2007) | 2
15578 lines Documentation update (#9053, jsmith) ........
15580 * /: Block patch that was made only for 1.2 (already implemented in
15583 2007-02-17 17:39 +0000 [r55219] Joshua Colp <jcolp@digium.com>
15585 * apps/app_queue.c: Add missing membername option to AddQueueMember
15586 documentation. (issue #9088 reported by seanbright)
15588 2007-02-17 17:10 +0000 [r55217] Jason Parker <jparker@digium.com>
15590 * channels/chan_skinny.c: Fix an issue where callerid would not be
15591 displayed on some phones. Issue 8995, initial patch and research
15594 2007-02-17 03:55 +0000 [r55086-55154] Joshua Colp <jcolp@digium.com>
15596 * apps/app_dial.c, /: Merged revisions 55153 via svnmerge from
15597 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15598 r55153 | file | 2007-02-16 22:53:45 -0500 (Fri, 16 Feb 2007) | 2
15599 lines Answer the channel before recording privacy information.
15600 (issue #8926 reported by lmamane) ........
15602 * apps/app_queue.c: Make the 'i' option of Queue actually work.
15603 (issue #8986 reported by utis)
15605 * /, channels/chan_sip.c: Merged revisions 55073 via svnmerge from
15606 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15607 r55073 | file | 2007-02-16 20:09:50 -0500 (Fri, 16 Feb 2007) | 2
15608 lines Allow chan_sip to handle attended transfers from a SIP
15609 phone that is sitting behind chan_agent. Yes folks, all it took
15610 was one line of code. (issue #8784 reported by pzieba) ........
15612 2007-02-17 00:40 +0000 [r55006-55052] Russell Bryant <russell@digium.com>
15614 * configure, include/asterisk/autoconfig.h.in, configure.ac: If the
15615 pg_config application is found, but there is probably executing
15616 it, then consider postgres unavailable. (issue #8637)
15618 * codecs/gsm/Makefile: Filter out yet another architecture that
15619 does not work with the optimizations in the built-in libgsm.
15622 * /, apps/app_meetme.c, configs/meetme.conf.sample: Merged
15623 revisions 55005 via svnmerge from
15624 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15625 r55005 | russell | 2007-02-16 16:48:22 -0600 (Fri, 16 Feb 2007) |
15626 9 lines Revert the change I did in revisions 54955, 54969, and
15627 54970, in 1.2, 1.4, and trunk. I decided that once a conference
15628 is created from meetme.conf, it is acceptable behavior that the
15629 pin can not be changed until the conference goes away. I also
15630 added a note in meetme.conf to describe this behavior. We still
15631 have another issue in 1.4 and trunk where some conferences with
15632 no users don't go away. That is the real bug that needs to be
15633 addressed here. ........
15635 2007-02-16 22:18 +0000 [r55002] Joshua Colp <jcolp@digium.com>
15637 * /, channels/chan_agent.c: Merged revisions 54999 via svnmerge
15638 from https://origsvn.digium.com/svn/asterisk/branches/1.2
15639 ........ r54999 | file | 2007-02-16 17:13:45 -0500 (Fri, 16 Feb
15640 2007) | 2 lines Do not send indications through ast_indicate in
15641 chan_agent but instead go directly to the technology. This way
15642 when indications are emulated they happen on the Agent channel
15643 and do not screw up formats on the channels. (issue #8439
15644 reported by punkgode) ........
15646 2007-02-16 21:12 +0000 [r54969] Russell Bryant <russell@digium.com>
15648 * /, apps/app_meetme.c: Merged revisions 54955 via svnmerge from
15649 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15650 r54955 | russell | 2007-02-16 14:56:58 -0600 (Fri, 16 Feb 2007) |
15651 5 lines For conferences that are configured in meetme.conf, check
15652 the configuration file every time someone joins the conference
15653 instead of only when the conference is first created. This is to
15654 ensure that changes to the pin numbers in the config file are
15655 always honored. (issue #9073) ........
15657 2007-02-16 18:51 +0000 [r54924] Joshua Colp <jcolp@digium.com>
15659 * apps/app_dial.c: Need to check macro extension as well as macro
15660 context for directed pickup.
15662 2007-02-16 18:03 +0000 [r54888-54898] Russell Bryant <russell@digium.com>
15664 * pbx/pbx_config.c: Fix setting "autofallthrough" to yes by
15665 default. It was set to enabled in pbx.c. However, if the option
15666 was not present in extensions.conf, then pbx_config.c would set
15667 it back to disabled.
15669 * res/res_features.c: Clean up a few coding guidelines issues -
15670 spaces to tabs, use sizeof() to pass the size of a static buffer,
15673 2007-02-16 17:25 +0000 [r54886] Jason Parker <jparker@digium.com>
15675 * main/asterisk.c: Clarify a restart message. It's silly, but the
15676 reporter had a very valid point. Issue 9079
15678 2007-02-16 17:02 +0000 [r54884] Joshua Colp <jcolp@digium.com>
15680 * apps/app_dial.c: Allow directed pickup to pick up the real
15681 context instead of the macro context if a Macro is used. (issue
15682 #8984 reported by jamesb63)
15684 2007-02-16 12:06 +0000 [r54772-54787] Olle Johansson <oej@edvina.net>
15686 * channels/chan_sip.c: Issue #7541 - Handle multipart attachments
15687 to SIP messages - even if boundary is quoted.
15689 * /, res/res_agi.c: Merged revisions 54771 via svnmerge from
15690 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15691 r54771 | oej | 2007-02-16 12:38:03 +0100 (Fri, 16 Feb 2007) | 2
15692 lines Issue #9069 - If we open with TH we should not close with
15693 /TD. (seanbright) ........
15695 2007-02-16 00:48 +0000 [r54481-54714] Joshua Colp <jcolp@digium.com>
15697 * apps/app_speech_utils.c: Don't let dtmf leak over into the engine
15698 and let it skew the results... also give DTMF results priority.
15699 (issue #9014 reported by surftek)
15701 * apps/app_dial.c, /: Merged revisions 54622 via svnmerge from
15702 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15703 r54622 | file | 2007-02-15 11:14:40 -0500 (Thu, 15 Feb 2007) | 2
15704 lines Use a separate variable to indicate execution should
15705 continue instead of the return value. (issue #8842 reported by
15708 * apps/app_dial.c: Forward begin DTMF frames as well as end. (issue
15709 #9068 reported by mhardeman)
15711 2007-02-14 18:44 +0000 [r54439] Olle Johansson <oej@edvina.net>
15713 * /: Block patch only needed in 1.2
15715 2007-02-14 16:56 +0000 [r54375] Matt Frederickson <creslin@digium.com>
15717 * channels/chan_zap.c, /: Merged revisions 54373 via svnmerge from
15718 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15719 r54373 | mattf | 2007-02-14 10:25:49 -0600 (Wed, 14 Feb 2007) | 2
15720 lines When handling glare on a PRI, move the requested channel
15721 rather than hang up the old one. Fix for 8957 and 9011. ........
15723 2007-02-14 01:09 +0000 [r54290] Joshua Colp <jcolp@digium.com>
15725 * main/channel.c: Add G722 to ast_best_codec. If anyone disagrees
15726 with it's placement, feel free to change it. (issue #9045
15729 2007-02-13 21:31 +0000 [r54204-54235] Russell Bryant <russell@digium.com>
15731 * channels/chan_sip.c: Remove a couple of leftover debug messages
15733 * include/asterisk/devicestate.h: Fix the documentation on the
15734 return values from device state provider registration and
15737 * channels/chan_sip.c: If we fail to create the SIP socket, then
15738 return -1 from reload_config() so that load_module() will return
15739 AST_MODULE_LOAD_DECLINE. Otherwise, the console will just get
15740 spammed with error messages every time chan_sip tries to send a
15743 2007-02-13 18:41 +0000 [r54180] Olle Johansson <oej@edvina.net>
15745 * /: Blocking patch for 1.2 only
15747 2007-02-12 19:17 +0000 [r54066-54103] Russell Bryant <russell@digium.com>
15749 * main/dial.c, include/asterisk/dial.h: Change
15750 ast_set_state_callback() to ast_dial_set_state_callback()
15752 * main/dial.c, apps/app_meetme.c, apps/app_page.c,
15753 include/asterisk/dial.h: - Add the ability to register a callback
15754 to monitor state changes in an asynchronous dial operation. -
15755 Rename the various references to "status" to "state" in the dial
15758 2007-02-12 16:34 +0000 [r54026] Joshua Colp <jcolp@digium.com>
15760 * configure, configure.ac: Make the --without-oss argument work.
15761 (issue #9026 reported by puzzled)
15763 2007-02-12 15:38 +0000 [r54002] Russell Bryant <russell@digium.com>
15765 * configs/users.conf.sample: Fix a typo where "vmpassword" should
15768 2007-02-10 09:09 +0000 [r53878-53881] Paul Cadach <paul@odt.east.telecom.kz>
15770 * channels/chan_h323.c: Fix VLDTMF reception
15772 * apps/app_echo.c: Much simpler than previous one ;-)
15774 * main/channel.c: Provide correct DTMF duration
15776 * main/cli.c: Bring deprecated 'debug channel <x|all>' command back
15778 2007-02-10 06:06 +0000 [r53850] Kevin P. Fleming <kpfleming@digium.com>
15780 * configure, configure.ac, acinclude.m4: don't display the
15781 --with-imap message unless --with-imap was specified without a
15782 path use '-n' instead of '! -z' for tests
15784 2007-02-10 01:02 +0000 [r53783-53821] Russell Bryant <russell@digium.com>
15786 * apps/app_meetme.c: Add some output for "show application
15787 SLAStation/SLATrunk"
15789 * channels/chan_sip.c: Change some text to properly state "On
15790 Hold", which was already done in trunk.
15792 * configs/sla.conf.sample, include/asterisk/app.h,
15793 include/asterisk/utils.h, main/dial.c, apps/app_meetme.c,
15794 channels/chan_sip.c, doc/sla.txt (added),
15795 include/asterisk/linkedlists.h, include/asterisk/dial.h: Merge
15796 team/russell/sla_rewrite This is a completely new implementation
15797 of the SLA functionality introduced in Asterisk 1.4. It is now
15798 functional and ready for testing. However, I will be adding some
15799 additional features over the next week, as well. For information
15800 on how to set this up, see configs/sla.conf.sample and
15801 doc/sla.txt. In addition to the changes in app_meetme.c for the
15802 SLA implementation itself, this merge brings in various other
15803 changes: chan_sip: - Add the ability to indicate HOLD state in
15804 NOTIFY messages. - Queue HOLD and UNHOLD control frames even if
15805 the channel is not bridged to another channel. linkedlists.h: -
15806 Add support for rwlock based linked lists. dial.c: - Add the
15807 ability to run ast_dial_start() without a reference channel to
15808 inherit information from.
15810 * apps/app_echo.c: When the Echo() application receives the digit
15811 '#', echo that back as well. Since we already sent the BEGIN
15812 frame for that digit, it makes sense to send the END as well.
15814 2007-02-09 23:52 +0000 [r53779-53781] Kevin P. Fleming <kpfleming@digium.com>
15816 * channels/chan_gtalk.c: another dependency
15818 * apps/app_adsiprog.c, apps/app_voicemail.c, res/res_config_odbc.c,
15819 funcs/func_odbc.c, res/res_adsi.c: add some inter-module
15822 * build_tools/get_moduleinfo, build_tools/get_makeopts: fix awk
15823 scripts to work when both MODULEINFO and MAKEOPTS are present in
15826 2007-02-09 19:33 +0000 [r53749] Joshua Colp <jcolp@digium.com>
15828 * apps/app_dial.c: Temporarily change musicclass on channel to one
15829 specified in Dial so that the 'm' option functions properly.
15830 (issue #8969 reported by christianbee)
15832 2007-02-09 16:42 +0000 [r53715] Kevin P. Fleming <kpfleming@digium.com>
15834 * doc/imapstorage.txt, configure, configure.ac: clarify the fact
15835 that voicemail IMAP storage cannot be built against a distro's
15836 binary c-client library package (at least not at this time)
15838 2007-02-08 23:18 +0000 [r53672] Olle Johansson <oej@edvina.net>
15840 * main/acl.c: Don't output debug unless we asked for it
15842 2007-02-08 17:54 +0000 [r53601] Joshua Colp <jcolp@digium.com>
15844 * apps/app_speech_utils.c: Fix timeout issue when utterance is
15845 longer then timeout itself.
15847 2007-02-08 13:47 +0000 [r53530-53532] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
15849 * main/loader.c: Issue 9007 - Mutex not released on early return
15851 * apps/app_voicemail.c, /: Merged revisions 53529 via svnmerge from
15852 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15853 r53529 | tilghman | 2007-02-08 07:36:10 -0600 (Thu, 08 Feb 2007)
15854 | 2 lines Issue 9003 - If fullname is empty, quote() passes back
15857 2007-02-07 23:52 +0000 [r53464-53497] Russell Bryant <russell@digium.com>
15859 * main/db1-ast/Makefile: When building libdb1.a, put the additional
15860 flags needed at the beginning of ASTCFLAGS, instead of at the
15861 end. This way, we ensure that we find the local headers first
15862 before accidentally trying to use headers that exist in locations
15863 specified in the ASTCFLAGS passed from the main Makefile. (issue
15866 * main/Makefile: The clean target actually needs to run "distclean"
15867 on editline. This is because we need to make sure that its
15868 configure script gets executed again, because the CFLAGS we want
15869 to pass to editline may have changed.
15871 2007-02-07 17:53 +0000 [r53434] Joshua Colp <jcolp@digium.com>
15873 * main/rtp.c: We can not reliably do P2P bridging with DTMF passing
15874 back with compensation if we need to listen for DTMF frames.
15875 (issue #8962 reported by caio1982)
15877 2007-02-07 17:39 +0000 [r53429] Russell Bryant <russell@digium.com>
15879 * main/rtp.c: When parsing the NTP timestamp in a sender report
15880 message, you are supposed to take the low 16 bits of the integer
15881 part, and the high 16 bits of the fractional part. However, the
15882 code here was erroneously taking the low 16 bits of the
15883 fractional part. It then shifted the result 16 bits down, so the
15884 result was always zero. This fix makes it grab the appropriate
15885 high 16 bits, instead. (issue #8991, pointed out by
15888 2007-02-07 17:04 +0000 [r53358-53399] Joshua Colp <jcolp@digium.com>
15890 * apps/app_playback.c: Directly load say.conf in load_module
15891 instead of calling the reload function. (issue #8946 reported by
15894 * /, channels/chan_iax2.c: Merged revisions 53357 via svnmerge from
15895 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15896 r53357 | file | 2007-02-07 10:38:48 -0500 (Wed, 07 Feb 2007) | 2
15897 lines Fix a few potential memory leaks with realtime users and
15898 peers. (issue #8999 reported by bsmithurst) ........
15900 2007-02-07 15:33 +0000 [r53355] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
15902 * /, apps/app_macro.c: Merged revisions 53354 via svnmerge from
15903 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15904 r53354 | tilghman | 2007-02-07 09:30:02 -0600 (Wed, 07 Feb 2007)
15905 | 2 lines Issue 7440 - Macro called from Macro from the h
15906 extension exits prematurely ........
15908 2007-02-07 09:22 +0000 [r53324] Christian Richter <christian.richter@beronet.com>
15910 * channels/misdn/isdn_lib.c, channels/chan_misdn.c, /: Merged
15911 revisions 52843 via svnmerge from
15912 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15913 r52843 | crichter | 2007-01-30 15:38:08 +0100 (Di, 30 Jan 2007) |
15914 1 line fixed some possible segfaults. also fixed an very
15915 important bug which occurs on high load (when calls are very fast
15916 generated) ........
15918 2007-02-07 05:24 +0000 [r53246-53294] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
15920 * res/res_jabber.c: Text fix for jabber reload command (reported by
15923 * main/manager.c, /: Merged revisions 53245 via svnmerge from
15924 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15925 r53245 | tilghman | 2007-02-06 00:58:28 -0600 (Tue, 06 Feb 2007)
15926 | 2 lines Issue 8987 - Status could return two responses
15927 (mnicholson) ........
15929 2007-02-05 23:43 +0000 [r53222] Olle Johansson <oej@edvina.net>
15931 * channels/chan_sip.c: Formatting
15933 2007-02-05 17:06 +0000 [r53150-53152] Joshua Colp <jcolp@digium.com>
15935 * apps/app_playback.c: Ensure say_cfg is NULL when the module is
15936 loaded. (issue #8946 reported by junky)
15938 * apps/app_playback.c: Unregister Playback CLI commands as well as
15939 dialplan application. (issue #8946 reported by junky)
15941 2007-02-05 00:18 +0000 [r53143] Olle Johansson <oej@edvina.net>
15943 * channels/chan_sip.c: Add some comments on queue system behaviour
15944 and how it affects the SIP channel
15946 2007-02-03 21:05 +0000 [r53138] Joshua Colp <jcolp@digium.com>
15948 * channels/chan_sip.c: Make SIPDtmfMode application work with
15949 recent capability changes, and also fix an RTP stack issue when
15950 the auto option was used. (issue #8972 reported by mdu113)
15952 2007-02-03 20:44 +0000 [r53135-53136] Russell Bryant <russell@digium.com>
15954 * apps/app_dial.c, /: Merged revisions 53133 via svnmerge from
15955 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15956 r53133 | russell | 2007-02-03 14:38:13 -0600 (Sat, 03 Feb 2007) |
15957 4 lines set the DIALSTATUS variable to contain "INVALIDARGS" when
15958 the dial application exits early because of invalid arguments
15959 instead of just leaving it empty. (issue #8975) ........
15961 2007-02-03 10:02 +0000 [r53131] Paul Cadach <paul@odt.east.telecom.kz>
15963 * channels/h323/ast_h323.cxx: Remove quote from H.323 vendor string
15964 because due to compatibilities with CS1000 reported at
15967 2007-02-02 21:26 +0000 [r53129] BJ Weschke <bweschke@btwtech.com>
15969 * UPGRADE.txt, apps/app_queue.c: I'm baaaaaaaaaack. :) Post a
15970 warning to the console that things might possibly be
15971 misconfigured when queue member's states are still 'Not in Use'
15972 when we're about to bridge them with a caller from queue. Also,
15973 put some documentation quoted from oej's queues.txt efforts
15974 started in /trunk today. This commit puts #7433 into feedback
15975 state for 1.4, and pending no further negative feedback, it will
15978 2007-02-02 17:15 +0000 [r53114-53120] Joshua Colp <jcolp@digium.com>
15980 * main/rtp.c: Correct a copy/pasted error message line for RTCP.
15982 * main/config.c, /: Merged revisions 53117 via svnmerge from
15983 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
15984 r53117 | file | 2007-02-02 10:58:09 -0600 (Fri, 02 Feb 2007) | 2
15985 lines Pass the glob expanded filename to process_text_line so
15986 that error messages contain the actual filename, not the original
15987 include one. (issue #8959 reported by tzafrir) ........
15989 * Makefile: Add systemname to asterisk.conf generation per recent
15990 discussions about it. (issue #8968 reported by blitzrage)
15992 2007-02-02 00:24 +0000 [r53109] Olle Johansson <oej@edvina.net>
15994 * channels/chan_sip.c, configs/sip.conf.sample: Disable the direct
15995 p2p RTP call setup in SIP. You can enable it in sip.conf, but it
15996 is now considered experimental until we solve the
15997 AST_CONTROL_ANSWER with payload and videocaps stuff.
15999 2007-02-01 22:24 +0000 [r53097-53104] Joshua Colp <jcolp@digium.com>
16001 * /, channels/chan_sip.c: Merged revisions 53103 via svnmerge from
16002 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16003 r53103 | file | 2007-02-01 16:21:56 -0600 (Thu, 01 Feb 2007) | 2
16004 lines Copy noncodeccapability over to the joint variable so that
16005 telephone-event will get transmitted in the sent INVITE. ........
16007 * main/db1-ast/hash/hash.c: Huh... fix the berkeley DB to compile
16008 here as well, but it apparently required both dev mode and no
16009 optimizations to creep up.
16011 * /, channels/chan_sip.c: Merged revisions 53095 via svnmerge from
16012 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16013 r53095 | file | 2007-02-01 15:47:11 -0600 (Thu, 01 Feb 2007) | 2
16014 lines Don't negotiate RFC2833 when not configured to do so.
16015 (issue #8799 reported by mdu113) ........
16017 2007-02-01 21:24 +0000 [r53093] Russell Bryant <russell@digium.com>
16019 * funcs/func_strings.c: Fix the FIELDQTY function to not crash.
16020 (reported by blitzrage and Corydon on IRC)
16022 2007-02-01 21:15 +0000 [r53091] Olle Johansson <oej@edvina.net>
16024 * /: Going backwards, blame file.
16026 2007-02-01 21:11 +0000 [r53086-53088] Joshua Colp <jcolp@digium.com>
16028 * /, res/res_musiconhold.c: Merged revisions 53084 via svnmerge
16029 from https://origsvn.digium.com/svn/asterisk/branches/1.2
16030 ........ r53084 | file | 2007-02-01 15:03:10 -0600 (Thu, 01 Feb
16031 2007) | 2 lines Return previous behavior of having MOH pick up
16032 where it was left off. (issue #8672 reported by sinistermidget)
16035 * funcs/func_strings.c: Make func_strings build under dev mode.
16036 Didn't I do this today already in the berkeley DB?
16038 2007-02-01 21:05 +0000 [r53079-53085] Olle Johansson <oej@edvina.net>
16040 * channels/chan_sip.c: - Clean INC_COUNT flag when we decrement
16041 call counter - If it's still set at time of dialog destruction,
16042 make sure we decrement the device call counter properly before we
16045 * apps/app_queue.c: Change debug level for state change message
16046 that is not really informative when debugging app_queue
16048 * channels/chan_sip.c: Cleaning up the devicestate callback
16051 2007-02-01 20:13 +0000 [r53075-53077] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
16053 * funcs/func_strings.c: Oops.
16055 * /, funcs/func_strings.c: Merged revisions 53074 via svnmerge from
16056 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16057 r53074 | tilghman | 2007-02-01 14:07:35 -0600 (Thu, 01 Feb 2007)
16058 | 2 lines Bug 8965 ........
16060 2007-02-01 19:33 +0000 [r53072] Joshua Colp <jcolp@digium.com>
16062 * main/asterisk.c: Add missing 'F' letter to getopt so it magically
16063 becomes a valid option. (issue #8960 reported by tzafrir)
16065 2007-02-01 19:21 +0000 [r53070] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
16067 * main/pbx.c, /, funcs/func_strings.c: Merged revisions 53069 via
16069 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16070 r53069 | tilghman | 2007-02-01 13:13:53 -0600 (Thu, 01 Feb 2007)
16071 | 2 lines No wonder FIELDQTY doesn't work with functions... the
16072 documentation in pbx.c was wrong ........
16074 2007-02-01 17:37 +0000 [r53064] Joshua Colp <jcolp@digium.com>
16076 * channels/chan_sip.c: Fix silly logic. We really want to write
16077 UDPTL frames out when the call is up.
16079 2007-02-01 16:35 +0000 [r53062] Olle Johansson <oej@edvina.net>
16081 * configs/sip.conf.sample: Add explanation of port= in combination
16082 with defaultip= (thanks jsmith)
16084 2007-02-01 13:17 +0000 [r53060] Christian Richter <christian.richter@beronet.com>
16086 * channels/chan_misdn.c: we update the name on any first reply of
16089 2007-02-01 11:07 +0000 [r53057] Paul Cadach <paul@odt.east.telecom.kz>
16091 * channels/chan_h323.c: chan_h323 is very stable, so let it built
16094 2007-02-01 00:24 +0000 [r53050-53052] Joshua Colp <jcolp@digium.com>
16096 * main/rtp.c: When going on hold have the side that was put on hold
16097 reinvite back to Asterisk. When going off hold have the side that
16098 was taken off hold reinvited back to the other party.
16100 * main/rtp.c: Add more frame types to forward in the RTP bridge
16103 2007-01-31 21:32 +0000 [r52859-53046] Russell Bryant <russell@digium.com>
16105 * main/cdr.c, main/manager.c, pbx/pbx_spool.c,
16106 channels/chan_skinny.c, channels/chan_h323.c, main/http.c,
16107 pbx/pbx_dundi.c, apps/app_rpt.c, channels/chan_mgcp.c,
16108 main/pbx.c, channels/chan_zap.c, /, apps/app_meetme.c,
16109 channels/chan_sip.c, apps/app_queue.c, channels/chan_iax2.c:
16110 Merged revisions 53045 via svnmerge from
16111 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16112 r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) |
16113 3 lines Fix a bunch of places where pthread_attr_init() was
16114 called, but pthread_attr_destroy() was not. ........
16116 * apps/app_userevent.c: Remove an extra \r\n from manager user
16117 events. (issue #8955, mnicholson)
16119 * main/rtp.c, /: Merged revisions 53039 via svnmerge from
16120 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16121 r53039 | russell | 2007-01-31 11:41:51 -0600 (Wed, 31 Jan 2007) |
16122 3 lines Use the proper format string to print unsigned values in
16123 the rtp debug output. (issue #8954, wmis) ........
16125 * apps/app_queue.c: Only changed the paused status in an existing
16126 queue member if the paused column exists.
16128 * apps/app_queue.c: Instead of always creating a realtime queue
16129 member as unpaused, read the "paused" column and use that value
16130 for the paused status of the member. (issue #8949, jmls)
16132 * contrib/init.d/rc.suse.asterisk: Update init script for SuSE 10.
16133 (issue #8363, johnlange)
16135 * doc/cdrdriver.txt: Add documentation for using cdr_pgsql. (issue
16138 * configure, include/asterisk/autoconfig.h.in, configure.ac,
16139 codecs/codec_gsm.c: When we are checking for a system installed
16140 version of libgsm, we need to check for gsm.h as well.
16141 Furthermore, when checking for this header, it may be located in
16142 a gsm/ sub directory, so check for that, as well. (issue #8773)
16144 * channels/chan_sip.c: Only set the DTMF flag on the rtp structure
16145 if the DTMF mode is actually RFC2833, not just that it is not
16146 INFO. This makes it get set for inband DTMF as well, which is not
16147 valid. (issue #8936)
16149 * main/asterisk.c, /: Merged revisions 52903 via svnmerge from
16150 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16151 r52903 | russell | 2007-01-30 11:12:04 -0600 (Tue, 30 Jan 2007) |
16152 9 lines The SIGHUP handler was implemented to allow admins to
16153 send SIGHUP to a running Asterisk process to reload the
16154 configuration. However, doing the actual reload in the signal
16155 handler itself is a very bad thing to do, because the reload
16156 process includes calling non-reentrant functions such as
16157 malloc/calloc/etc. If Asterisk is running in the background, then
16158 the reload will happen immediately. However, if running in
16159 console mode, the reload doesn't work until something is typed at
16160 the console. That sort of defeats the purpose, but I don't see an
16161 easy way to get around it at this point. ........
16163 2007-01-30 15:29 +0000 [r52856] Joshua Colp <jcolp@digium.com>
16165 * channels/chan_iax2.c: Drop the deprecated show commands since the
16166 original ones were changed back. (issue #8937 reported by
16169 2007-01-30 08:46 +0000 [r52807-52809] Paul Cadach <paul@odt.east.telecom.kz>
16171 * channels/chan_h323.c: Revert reprecation of h.323 gk cycle
16172 command from pre-1.4 version instead of duplicated h323 cycle gk
16174 * res/res_odbc.c: Don't play with free()'d pointers
16176 * configure, acinclude.m4: Handle non-standard OpenH323/PWLib
16179 2007-01-30 00:15 +0000 [r52763] Russell Bryant <russell@digium.com>
16181 * /, channels/chan_iax2.c: Merged revisions 52762 via svnmerge from
16182 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16183 r52762 | russell | 2007-01-29 18:15:06 -0600 (Mon, 29 Jan 2007) |
16184 5 lines Fix the extraction of the timestamp from video frames. It
16185 was using the mapping for a mini-frame instead of a video-frame,
16186 which caused it to get invalid data. (issue #8795, mihai)
16189 2007-01-29 23:43 +0000 [r52717] Joshua Colp <jcolp@digium.com>
16191 * apps/app_mixmonitor.c, /: Merged revisions 52716 via svnmerge
16192 from https://origsvn.digium.com/svn/asterisk/branches/1.2
16193 ........ r52716 | file | 2007-01-29 18:39:39 -0500 (Mon, 29 Jan
16194 2007) | 2 lines Now that filename is part of the structure and
16195 since it comes before postprocess... we have to add it to our
16196 postprocess line. (reported on asterisk-dev by Boris Bakchiev)
16199 2007-01-29 22:58 +0000 [r52688-52695] Russell Bryant <russell@digium.com>
16201 * main/Makefile: Add a missing quotation mark. This was pointed out
16202 by jcmoore on #asterisk-dev.
16204 * main/manager.c: Remove a recursive lock of the manager session.
16205 This was pointed out by zandbelt in issue #8711.
16207 2007-01-29 22:12 +0000 [r52679] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
16209 * pbx/pbx_config.c: Argument number correction
16211 2007-01-29 21:36 +0000 [r52611-52647] Russell Bryant <russell@digium.com>
16213 * main/Makefile: ASTLDFLAGS needs to be passed to the editline
16214 configure script as LDFLAGS. (issue #8928, zandbelt)
16216 * main/rtp.c: Fix a problem with packet-to-packet bridging and DTMF
16217 mode translation. P2P bridging can only be used when the DTMF
16218 modes don't match if the core is monitoring DTMF in both
16219 directions. Then, the core will handle the translation.
16220 Otherwise, this bridging method can not be used. (issue #8936)
16222 * main/manager.c: The session lock can not be held while calling
16223 action callbacks. If so, then when the WaitEvent callback gets
16224 called, then no event can happen because the session can't be
16225 locked by another thread. Also, the session needs to be locked in
16226 the HTTP callback when it reads out the output string. This fixes
16227 the deadlock reported in both 8711 and 8934. Regarding issue
16228 8711, there still may be an issue. If there is a second action
16229 requested before the processing of the first action is finished,
16230 there could still be some corruption of the output string buffer
16231 used to build the result. (issue #8711, #8934)
16233 2007-01-29 18:59 +0000 [r52572] Joshua Colp <jcolp@digium.com>
16235 * apps/app_voicemail.c: Use ast_calloc instead of malloc.
16237 2007-01-29 17:57 +0000 [r52535] Steve Murphy <murf@digium.com>
16239 * apps/app_voicemail.c, main/say.c: this is for 8778 (pt_BR
16240 backport to 1.4). It was committed to trunk via 7663. But it
16241 wasn't so much an enhancement as a fix for the bad language
16242 output for portuguese in Brazil, so, after a lot of prodding from
16243 patient Brazilians, here is the same fix for 1.4
16245 2007-01-29 17:33 +0000 [r52523] Joshua Colp <jcolp@digium.com>
16247 * apps/app_voicemail.c: Set quota information to 0 when creating a
16248 vm_state. (issue #8924 reported by neutrino88)
16250 2007-01-29 16:54 +0000 [r52506] Russell Bryant <russell@digium.com>
16252 * main/jitterbuf.c, include/jitterbuf.h: Clean up a few things in
16253 the last commit to the adaptive jitterbuffer code. - Specifically
16254 indicate to the compiler that the "dropem" variable only needs
16255 one but. - Change formatting to conform to coding guidelines.
16257 2007-01-29 04:18 +0000 [r52494] Jim Dixon <telesistant@hotmail.com>
16259 * main/jitterbuf.c, include/jitterbuf.h: Fixed problem with
16260 jitterbuf, whereas it would not complain about, and would allow
16261 itself to be overfilled (per the max_jitterbuf parameter). Now it
16262 rejects any data over and above that size, and complains about
16265 2007-01-28 05:15 +0000 [r52462] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
16267 * configure, configure.ac: Suggested change to fix normal usage of
16268 --with-tds=/usr/local (Sean Bright, via asterisk-dev mailing
16271 2007-01-27 02:13 +0000 [r52335-52416] Joshua Colp <jcolp@digium.com>
16273 * /, apps/app_queue.c: Merged revisions 52415 via svnmerge from
16274 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16275 r52415 | file | 2007-01-26 21:09:10 -0500 (Fri, 26 Jan 2007) | 2
16276 lines Make COMPLETECALLER and COMPLETEAGENT output to queue_log
16277 follow documentation. (issue #7677 reported by amilcar) ........
16279 * main/manager.c: Have the manager interface send back an "Already
16280 logged in" message instead of "Invalid/Unknown Command" when the
16281 client authenticates for a second time. (issue #8509 reported by
16284 * /, channels/chan_iax2.c: Merged revisions 52360 via svnmerge from
16285 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16286 r52360 | file | 2007-01-26 19:03:23 -0500 (Fri, 26 Jan 2007) | 2
16287 lines Make the last context entry read in the dominant one.
16288 (issue #8918 reported by pj) ........
16290 * main/file.c: Fix core show file formats CLI command.
16292 2007-01-25 19:18 +0000 [r52163-52265] Joshua Colp <jcolp@digium.com>
16294 * /, main/jitterbuf.c: Merged revisions 52264 via svnmerge from
16295 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16296 r52264 | file | 2007-01-25 14:15:29 -0500 (Thu, 25 Jan 2007) | 2
16297 lines Allow dequeueing of frames with negative timestamp by
16298 moving jitterbuffer frames check to jb_next. (issue #8546
16299 reported by harmen) ........
16301 * channels/chan_sip.c: Drop out variables I accidentally put in.
16303 * channels/chan_sip.c: Decrement onHold count if we are hung up on
16304 and still on hold. (issue #8909 reported by alexh42)
16306 * apps/app_mixmonitor.c, /: Merged revisions 52162 via svnmerge
16307 from https://origsvn.digium.com/svn/asterisk/branches/1.2
16308 ........ r52162 | file | 2007-01-24 20:48:52 -0500 (Wed, 24 Jan
16309 2007) | 2 lines Add another note about audio files being played
16310 back to each bridged party. (issue #8718 reported by ppyy)
16313 2007-01-25 01:37 +0000 [r52107-52160] Russell Bryant <russell@digium.com>
16315 * apps/app_voicemail.c, configs/users.conf.sample: By suggestion
16316 from kpfleming last week, change "vmpassword" to "vmsecret".
16318 * configure, configure.ac: Remove libnsl as a required lib for
16319 libiksemel to work. This change was already made in the trunk.
16322 * include/asterisk/dial.h: Fix the formatting of doxygen comments
16323 to properly indicate that the comment documents the previous
16324 entity, as opposed to the next one.
16326 2007-01-24 18:26 +0000 [r52052] Steve Murphy <murf@digium.com>
16328 * utils/check_expr.c, utils/Makefile, /: Merged revisions 52002 via
16330 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16331 r52002 | murf | 2007-01-24 10:43:50 -0700 (Wed, 24 Jan 2007) | 1
16332 line updated check_expr via 8322 (refactoring of expression
16333 checking impl); elfring contributed a nice code reorg, I
16334 contributed some time to get it working again, better messages
16337 2007-01-24 18:20 +0000 [r52016-52049] Joshua Colp <jcolp@digium.com>
16339 * main/dial.c (added), apps/app_page.c, main/Makefile,
16340 include/asterisk/dial.h (added): Merge in dialing API and the
16341 app_page that uses it. (issue #BE-118)
16343 * channels/chan_sip.c: Fix changing channel formats when joint
16344 capability changes and there are no audio formats... I didn't
16345 break it originally! (issue #8535 reported by ivoc)
16347 2007-01-24 17:14 +0000 [r52000] Russell Bryant <russell@digium.com>
16349 * configure: rebuild configure script to reflect last chan_h323
16352 2007-01-24 12:57 +0000 [r51979-51989] Christian Richter <christian.richter@beronet.com>
16354 * channels/chan_misdn.c: added fix from #8899
16356 * channels/chan_misdn.c, /: Merged revisions 51966 via svnmerge
16357 from https://origsvn.digium.com/svn/asterisk/branches/1.2
16358 ........ r51966 | crichter | 2007-01-24 11:48:09 +0100 (Mi, 24
16359 Jan 2007) | 1 line fixed the busy problem (dialstatus was not
16360 busy when we called a busy extension) ........
16362 2007-01-24 09:30 +0000 [r51931] Olle Johansson <oej@edvina.net>
16364 * channels/chan_sip.c: Show capabilities *and* preference in
16365 general settings in "sip show settings" (reported by Clona/Telio
16368 2007-01-24 08:04 +0000 [r51895] Paul Cadach <paul@odt.east.telecom.kz>
16370 * acinclude.m4: Allow x64 builds of H.323 (please, rebuild
16373 2007-01-24 00:59 +0000 [r51829-51848] Russell Bryant <russell@digium.com>
16375 * main/channel.c, /: Merged revisions 51843 via svnmerge from
16376 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16377 r51843 | russell | 2007-01-23 18:57:28 -0600 (Tue, 23 Jan 2007) |
16378 6 lines Fix an issue related to synchronization of recordings
16379 when using Monitor(). The bug is a miscalculation of the amount
16380 to seek the stream for writing to disk when the number of samples
16381 coming in and out of a channel do not match up. (issue #8298,
16382 #8887, report and patch by guillecabeza, patch files created and
16383 testing done by whoiswes) ........
16385 * apps/app_while.c, /: Merged revisions 51828 via svnmerge from
16386 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16387 r51828 | russell | 2007-01-23 18:17:50 -0600 (Tue, 23 Jan 2007) |
16388 4 lines Don't set a new value for the END_ variable on the
16389 channel before using the old value. If you do, it will lead to
16390 accessing a memory address that has been free()'d. (issue #8895,
16393 2007-01-23 22:46 +0000 [r51788] Joshua Colp <jcolp@digium.com>
16395 * channels/chan_oss.c, channels/chan_phone.c, channels/chan_zap.c,
16396 channels/chan_sip.c, channels/chan_skinny.c,
16397 channels/chan_features.c, channels/chan_alsa.c,
16398 channels/chan_gtalk.c, channels/chan_iax2.c: Update channel
16399 drivers to use module referencing so that unloading them while in
16400 use will not result in crashes. (issue #8897 reported by junky)
16402 2007-01-23 22:04 +0000 [r51750-51781] Russell Bryant <russell@digium.com>
16404 * main/manager.c: Fix some bugs in process_message(). The manager
16405 session lock needs to be held when sending some sort of response,
16406 or calling one of the manager action callbacks. This resolves an
16407 issue where people using the GUI would get random crashes when
16408 they start clicking around a lot. (issue #8711, reported and
16409 debugged by zandbelt)
16411 * main/http.c: Fix setting the default port of 8088 on 64-bit or
16412 big-endian machines.
16414 * main/manager.c: When traversing the list of manager actions, the
16415 iterator needs to be initialized to the list head *after* locking
16416 the list. Also, lock the actions list in one place it is being
16417 accessed where it was not being done.
16419 2007-01-23 20:32 +0000 [r51683-51716] Steve Murphy <murf@digium.com>
16421 * res/res_features.c: this mod from 8593 (dstchannel in cdr is
16422 empty when transfer call).
16424 * main/callerid.c: via 8748 (callerid.c loses name when returning
16425 PRIVATE_NUMBER flag), the user suggested this mod, saying it
16426 would allow 'WITHHELD' to appear in the name field, which would
16429 2007-01-23 10:28 +0000 [r51648-51649] Christian Richter <christian.richter@beronet.com>
16431 * channels/misdn/isdn_lib.c, channels/chan_misdn.c, /,
16432 channels/misdn/isdn_msg_parser.c: Merged revisions 50495,50506
16434 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16435 r50495 | crichter | 2007-01-11 14:27:52 +0100 (Do, 11 Jan 2007) |
16436 6 lines * more additions to make the RESTART message work * added
16437 fix for misdn_call to allow SETUPs with empty extensions,
16438 replaced the strtok_r functions with strsep for that (inspired by
16439 Sandro Cappellazzo, thanks) ........ r50506 | crichter |
16440 2007-01-11 15:45:38 +0100 (Do, 11 Jan 2007) | 1 line when we get
16441 L2 UP, the L1 is UP definitely too, so we set the L1 state up as
16444 * channels/misdn/isdn_lib.c, channels/misdn/isdn_lib.h,
16445 channels/chan_misdn.c: manually merged r49922 and r50335, because
16446 of conflicts. this commint includes addition of the ISDN RESTART
16449 2007-01-23 06:51 +0000 [r51615] Paul Cadach <paul@odt.east.telecom.kz>
16451 * channels/chan_h323.c, channels/Makefile: Do not abort Asterisk
16452 startup if h323 configuration file not found (reported by
16455 2007-01-23 03:00 +0000 [r51513-51558] Joshua Colp <jcolp@digium.com>
16457 * channels/chan_sip.c: Only change audio formats on the channel if
16458 we have an audio format to change to. (issue #8535 reported by
16461 * /, res/res_musiconhold.c: Merged revisions 51512 via svnmerge
16462 from https://origsvn.digium.com/svn/asterisk/branches/1.2
16463 ........ r51512 | file | 2007-01-22 20:41:35 -0500 (Mon, 22 Jan
16464 2007) | 2 lines Yield before reading from zaptel timing source
16465 under Solaris so that other threads get a chance to do things.
16466 (issue #7875 reported by bob) ........
16468 2007-01-22 19:28 +0000 [r51409] Steve Murphy <murf@digium.com>
16470 * pbx/pbx_ael.c: This fixes 8836, according to dnatural
16472 2007-01-22 19:13 +0000 [r51360-51407] Joshua Colp <jcolp@digium.com>
16474 * apps/app_mixmonitor.c, /: Merged revisions 51406 via svnmerge
16475 from https://origsvn.digium.com/svn/asterisk/branches/1.2
16476 ........ r51406 | file | 2007-01-22 14:08:52 -0500 (Mon, 22 Jan
16477 2007) | 2 lines Move filestream creation to Mixmonitor loop. This
16478 will prevent a blank file from being created if no frames ever
16479 pass through to be recorded. (issue #7589 reported by
16480 steve_mcneil) ........
16482 2007-01-20 06:53 +0000 [r51348-51350] Jason Parker <jparker@digium.com>
16484 * configs/say.conf.sample: Fix Italian numeral support in say.conf
16485 for "_[2-9]00" case. "2131" would've translated to something
16486 along the lines of (pardon my..Italian {or lack thereof})
16487 "duecentocentotrentuno", which makes no sense at all.
16489 * configs/say.conf.sample: Fix German language support in say.conf
16490 Properly support 21, 31, 41, 51, 61, 71, 81, and 91.
16491 einundzwanzig has the same format as zweiundzwanzig (as do all
16492 other "_ZX" spoken numerals) Fix support for numbers in the
16493 10,000,000 to 99,999,999 range. Add support for numbers in the
16494 100,000,000 to 999,999,999 range.
16496 2007-01-20 00:13 +0000 [r51302-51343] Russell Bryant <russell@digium.com>
16498 * apps/app_meetme.c: Remove an unused instance of an unnamed enum.
16500 * apps/app_meetme.c: Remove another duplicated definition
16502 * apps/app_meetme.c: Remove a variable that was declared twice.
16504 * codecs/gsm/Makefile: Add a couple more processors that need
16505 optimizations excluded. (issue #8637)
16507 * channels/chan_gtalk.c: Fix VLDTMF support in chan_gtalk.
16508 AST_FRAME_DTMF and AST_FRAME_DTMF_END are actually the same
16509 thing. So, a digit would have been interpreted incorrectly here.
16510 Since the channel driver will always have the begin and end
16511 callbacks called for a digit, only support the button-down and
16512 button-up messages.
16514 * .cleancount: Bump the cleancount since my last commit changed the
16517 * channels/chan_oss.c, main/rtp.c, main/channel.c,
16518 channels/chan_phone.c, channels/chan_misdn.c,
16519 channels/chan_skinny.c, channels/chan_features.c,
16520 channels/chan_h323.c, channels/chan_alsa.c, channels/chan_mgcp.c,
16521 channels/chan_zap.c, channels/chan_local.c, main/frame.c,
16522 channels/chan_sip.c, channels/chan_agent.c,
16523 include/asterisk/channel.h, channels/chan_gtalk.c,
16524 channels/chan_iax2.c: Merge the changes from the
16525 /team/group/vldtmf_fixup branch. The main bug being addressed
16526 here is a problem introduced when two SIP channels using SIP INFO
16527 dtmf have their media directly bridged. So, when a DTMF END frame
16528 comes into Asterisk from an incoming INFO message, Asterisk would
16529 try to emulate a digit of some length by first sending a DTMF
16530 BEGIN frame and sending a DTMF END later timed off of incoming
16531 audio. However, since there was no audio coming in, the DTMF_END
16532 was never generated. This caused DTMF based features to no longer
16533 work. To fix this, the core now knows when a channel doesn't care
16534 about DTMF BEGIN frames (such as a SIP channel sending INFO
16535 dtmf). If this is the case, then Asterisk will not emulate a
16536 digit of some length, and will instead just pass through the
16537 single DTMF END event. Channel drivers also now get passed the
16538 length of the digit to their digit_end callback. This improves
16539 SIP INFO support even further by enabling us to put the real
16540 digit duration in the INFO message instead of a hard coded 250ms.
16541 Also, for an incoming INFO message, the duration is read from the
16542 frame and passed into the core instead of just getting ignored.
16543 (issue #8597, maybe others...)
16545 * main/asterisk.c: Merged revisions 51300 via svnmerge from
16546 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16547 r51300 | russell | 2007-01-19 10:44:09 -0600 (Fri, 19 Jan 2007) |
16548 4 lines Fix a memory leak on command line tab completion. The
16549 container for the matches was freed, but the individual matches
16550 themselves were not. (issue #8851, arkadia) ........
16552 2007-01-19 00:17 +0000 [r51272-51274] Dwayne M. Hubbard <dhubbard@digium.com>
16554 * channels/chan_zap.c: chan_zap compiles without libpri after
16555 committing 7877 patch
16557 * channels/chan_zap.c, /: Merged revisions 51271 via svnmerge from
16558 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16559 r51271 | dhubbard | 2007-01-18 17:47:10 -0600 (Thu, 18 Jan 2007)
16560 | 3 lines issue 7877: chan_zap module reload does not use
16561 default/initialized values on subsequent loads. Reset
16562 configuration variables to default values prior to parsing
16563 configuration file. ........
16565 2007-01-18 23:36 +0000 [r51270] Kevin P. Fleming <kpfleming@digium.com>
16567 * /: block this patch since it is already here
16569 2007-01-18 22:50 +0000 [r51265] Jason Parker <jparker@digium.com>
16571 * apps/app_voicemail.c, main/channel.c, main/pbx.c,
16572 funcs/func_strings.c, main/app.c: Add some more checks for
16573 option_debug before ast_log(LOG_DEBUG, ...) calls. Issue 8832,
16574 patch(es) by tgrman
16576 2007-01-18 21:54 +0000 [r51262] Russell Bryant <russell@digium.com>
16578 * Makefile, configure, main/Makefile, acinclude.m4, makeopts.in:
16579 Ensure that the locations given to the Asterisk configure script
16580 for ncurses, curses, termcap, or tinfo are further passed along
16581 to the editline configure script. This fixes some
16582 cross-compilation environments. (issue #8637, reported by ovi,
16585 2007-01-18 21:14 +0000 [r51256] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
16587 * /, main/stdtime/localtime.c: Merged revisions 51255 via svnmerge
16588 from https://origsvn.digium.com/svn/asterisk/branches/1.2
16589 ........ r51255 | tilghman | 2007-01-18 15:11:34 -0600 (Thu, 18
16590 Jan 2007) | 2 lines If a timezone is not specified, assume
16591 localtime (instead of gmtime) (Issue #7748) ........
16593 2007-01-18 19:17 +0000 [r51251] Joshua Colp <jcolp@digium.com>
16595 * apps/app_speech_utils.c: Only start timeout once we reach the end
16596 of the files to play back.
16598 2007-01-18 18:42 +0000 [r51245] Jason Parker <jparker@digium.com>
16600 * main/cli.c: Fix an issue with file name completion in "module
16601 load" and "load". Issue 8846
16603 2007-01-18 18:36 +0000 [r51243] Joshua Colp <jcolp@digium.com>
16605 * channels/chan_sip.c: Copy MOH settings when calling a peer so
16606 that if they put someone on hold or get put on hold themselves
16607 they get the right music class. (issue #8840 reported by mdu113)
16609 2007-01-18 18:28 +0000 [r51241] Jason Parker <jparker@digium.com>
16611 * main/channel.c: Fix an issue with deprecated commands
16613 2007-01-18 17:49 +0000 [r51236] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
16615 * contrib/scripts/vmdb.sql, /: Merged revisions 51235 via svnmerge
16616 from https://origsvn.digium.com/svn/asterisk/branches/1.2
16617 ........ r51235 | tilghman | 2007-01-18 11:42:17 -0600 (Thu, 18
16618 Jan 2007) | 2 lines Document all the fields, including the
16619 indication that "uniqueid" should not be renamed. ........
16621 2007-01-18 17:18 +0000 [r51233] Russell Bryant <russell@digium.com>
16623 * main/manager.c: Make the "hasmanager" option in users.conf
16624 actually have an effect. (issue #8740, LnxPrgr3)
16626 2007-01-18 00:48 +0000 [r51211-51213] Joshua Colp <jcolp@digium.com>
16628 * apps/app_voicemail.c: Build the IMAP remote directory string
16629 better and properly. Fix an issue with encoding the GSM voicemail
16630 when attaching to the voicemail. (issue #8808 reported by
16633 * main/rtp.c: Pass data as well for hold/unhold/vidupdate frames.
16634 (issue #8840 reported by mdu113)
16636 2007-01-17 23:31 +0000 [r51198-51205] Russell Bryant <russell@digium.com>
16638 * funcs/func_odbc.c: Fix some instances where when loading
16639 func_odbc, a double-free could occur. Also, remove an unneeded
16640 error message. If the failure condition is actually a memory
16641 allocation failure, a log message will already be generated
16644 * channels/chan_zap.c: Instead of dividing the offset by 2
16645 directly, make it more clear that the offset is being scaled by
16646 the size of the elements in the buffer. (Inspired by a discussing
16647 on the asterisk-dev list about this code)
16649 * /, channels/chan_sip.c: Merged revisions 51197 via svnmerge from
16650 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16651 r51197 | russell | 2007-01-17 15:17:21 -0600 (Wed, 17 Jan 2007) |
16652 3 lines Move the check for a failure of ast_channel_alloc() to
16653 before locking the pvt structure again. Otherwise, on a failure,
16654 this will cause a deadlock. ........
16656 2007-01-17 20:56 +0000 [r51195] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
16658 * /, main/utils.c: Merged revisions 51194 via svnmerge from
16659 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16660 r51194 | tilghman | 2007-01-17 14:52:21 -0600 (Wed, 17 Jan 2007)
16661 | 4 lines When ast_strip_quoted was called with a zero-length
16662 string, it would treat a NULL as if it were the quoting character
16663 (and would thus return the string in memory immediately following
16664 the passed-in string). ........
16666 2007-01-17 17:36 +0000 [r51186] Jason Parker <jparker@digium.com>
16668 * apps/app_voicemail.c: re-add "password" for realtime voicemail
16670 2007-01-17 06:36 +0000 [r51182] Joshua Colp <jcolp@digium.com>
16672 * main/rtp.c: Return the correct result when directly writing out a
16673 packet so that the core doesn't then decide to handle it the
16674 regular way again. (issue #8833 reported by rcourtna)
16676 2007-01-17 01:29 +0000 [r51176] Kevin P. Fleming <kpfleming@digium.com>
16678 * apps/app_voicemail.c: a few more coding style cleanups and one
16679 bug fix (from AnthonyL)
16681 2007-01-17 00:46 +0000 [r51172] Joshua Colp <jcolp@digium.com>
16683 * channels/chan_iax2.c: Move rescheduling of lagrq/pings into the
16684 scheduler callback.
16686 2007-01-17 00:20 +0000 [r51165-51170] Jason Parker <jparker@digium.com>
16688 * main/rtp.c: Fix issue with dtmf continuation packets when the
16689 dtmf digit is 0... Issue 8831
16691 * apps/app_voicemail.c, contrib/scripts/vmdb.sql: Fix an issue with
16692 IMAP storage and realtime voicemail. Also update the vmdb sql
16693 script for IMAP specific options. Issue 8819, initial patches by
16694 bsmithurst (slightly modified by me)
16696 * doc/voicemail_odbc_postgresql.txt: change documentation to
16697 reflect new procedure in 1.4/trunk
16699 2007-01-16 21:51 +0000 [r51159-51162] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
16701 * /, doc/voicemail_odbc_postgresql.txt (added): Merged revisions
16702 51161 via svnmerge from
16703 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16704 r51161 | tilghman | 2007-01-16 15:50:04 -0600 (Tue, 16 Jan 2007)
16705 | 2 lines Add documentation walkthrough on getting Postgres to
16706 work with voicemail (from Issue 8513) ........
16708 * apps/app_voicemail.c, /: Merged revisions 51158 via svnmerge from
16709 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16710 r51158 | tilghman | 2007-01-16 15:26:06 -0600 (Tue, 16 Jan 2007)
16711 | 2 lines Postgres driver doesn't like a NULL pointer when
16712 retrieving the length (Bug 8513) ........
16714 2007-01-16 17:46 +0000 [r51150] Matt O'Gorman <mogorman@digium.com>
16716 * apps/app_voicemail.c: minor things i missed before i get jumped
16719 2007-01-16 17:39 +0000 [r51148] Joshua Colp <jcolp@digium.com>
16721 * /, res/res_features.c: Merged revisions 51145 via svnmerge from
16722 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16723 r51145 | file | 2007-01-16 12:36:50 -0500 (Tue, 16 Jan 2007) | 2
16724 lines Return previous behavior. ParkedCalls will be able to do
16725 DTMF based transfers again. trunk however will get an option to
16726 allow this to be set on/off. (issue #8804 reported by nortex)
16729 2007-01-16 17:36 +0000 [r51146] Jason Parker <jparker@digium.com>
16731 * main/file.c: Display more useful output when streaming files.
16732 Include the channel name to which the file is being played. Issue
16733 8828, patch by junky.
16735 2007-01-16 05:55 +0000 [r51087] Joshua Colp <jcolp@digium.com>
16737 * channels/chan_zap.c, /: Merged revisions 51085 via svnmerge from
16738 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16739 r51085 | file | 2007-01-16 00:53:31 -0500 (Tue, 16 Jan 2007) | 2
16740 lines Add none as a valid callgroup/pickupgroup option. I
16741 consider it a bug that it would inherit it all the way down and
16742 not have any way to reset it to nothing - so that's why it is in
16743 1.2. (issue #8296 reported by gkloepfer) ........
16745 2007-01-16 01:15 +0000 [r51057] Russell Bryant <russell@digium.com>
16747 * main/config.c: It is possible for the config pointer to be NULL
16748 here, so it needs to be checked before dereferencing it.
16750 2007-01-16 00:22 +0000 [r51030] Matt O'Gorman <mogorman@digium.com>
16752 * apps/app_voicemail.c, configs/users.conf.sample: Patch allows for
16753 changing voicemail password in users.conf from voicemail main,
16754 written by AnthonyL bug #8436
16756 2007-01-15 23:49 +0000 [r50994] Russell Bryant <russell@digium.com>
16758 * Makefile.rules: Filter out a few CFLAGS that are not valid
16761 2007-01-15 21:08 +0000 [r50957] Matt O'Gorman <mogorman@digium.com>
16763 * apps/app_voicemail.c, /: Merged revisions 50946 via svnmerge from
16764 https://svn.digium.com/svn/asterisk/branches/1.2 ........ r50946
16765 | mogorman | 2007-01-15 14:44:53 -0600 (Mon, 15 Jan 2007) | 4
16766 lines Solves issue with forwarding voicemails from folders other
16767 than inbox. patch by anthonyl. ........
16769 2007-01-15 18:23 +0000 [r50921] Jason Parker <jparker@digium.com>
16771 * main/asterisk.c: re-add deprecated "show version" CLI command.
16773 2007-01-15 16:36 +0000 [r50895] Joshua Colp <jcolp@digium.com>
16775 * main/manager.c: Move event processing into do_message so that it
16776 gets executed again when events are tripped.
16778 2007-01-15 15:03 +0000 [r50867] Kevin P. Fleming <kpfleming@digium.com>
16780 * configure, include/asterisk/autoconfig.h.in, main/Makefile,
16781 configure.ac, Makefile.rules, acinclude.m4, makeopts.in: use the
16782 ACX_PTHREAD macro from the Autoconf macro archive for setting up
16783 compiler pthreads support... should improve portability to
16784 platforms with unusual pthreads requirements
16786 2007-01-14 21:59 +0000 [r50820] Joshua Colp <jcolp@digium.com>
16788 * main/astmm.c: Add missing newlines for two memory CLI commands.
16790 2007-01-14 05:13 +0000 [r50782] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
16792 * main/db1-ast/db/db.c, main/db1-ast/recno/rec_get.c,
16793 main/db1-ast/btree/bt_seq.c, main/db1-ast/hash/hash_func.c,
16794 main/db1-ast/btree/bt_utils.c, main/db1-ast/recno/rec_seq.c,
16795 main/db1-ast/btree/bt_overflow.c, main/db1-ast/btree/bt_search.c,
16796 main/db1-ast/btree/bt_conv.c, main/db1-ast/btree/bt_close.c,
16797 main/db1-ast/btree/bt_put.c, main/db1-ast/recno/rec_utils.c,
16798 main/db1-ast/recno/rec_open.c, main/db1-ast/hash/hash_bigkey.c,
16799 main/db1-ast/recno/rec_delete.c, main/db1-ast/hash/hash_buf.c,
16800 main/db1-ast/hash/hash_page.c, main/db1-ast/recno/rec_close.c,
16801 main/db1-ast/recno/rec_put.c, main/db1-ast/include/ndbm.h,
16802 main/db1-ast/btree/bt_debug.c, main/db1-ast/mpool/mpool.c,
16803 main/db1-ast/btree/bt_split.c, main/db1-ast/btree/bt_open.c,
16804 main/db1-ast/btree/bt_delete.c, main/db1-ast/hash/hash_log2.c,
16805 main/db1-ast/hash/hsearch.c, /, main/db1-ast/btree/bt_page.c,
16806 main/db1-ast/recno/rec_search.c, main/db1-ast/btree/bt_get.c,
16807 main/db1-ast/hash/hash.c: Merged revisions 50781 via svnmerge
16808 from https://origsvn.digium.com/svn/asterisk/branches/1.2
16809 ........ r50781 | tilghman | 2007-01-13 23:01:16 -0600 (Sat, 13
16810 Jan 2007) | 2 lines Bug 8814 - db should look for its header
16811 using a relative path, instead of the system path (Fixes FreeWRT)
16814 2007-01-13 16:45 +0000 [r50754] Kevin P. Fleming <kpfleming@digium.com>
16816 * Makefile, build_tools/make_sample_voicemail (added): when
16817 building the sample greetings for maibox 1234@default during
16818 'make samples', build a greeting for each language and file
16819 format the user selected to install with menuselect (reported by
16820 Brian Capouch on asterisk-dev)
16822 2007-01-13 06:00 +0000 [r50674-50727] Joshua Colp <jcolp@digium.com>
16824 * main/channel.c: Only write a frame out to the channel if one
16825 exists. There are cases where one may not and would therefore
16826 cause the channel driver to segfault. (issue #8434 reported by
16829 * res/res_snmp.c: Only join the snmp thread on an unload if the
16830 thread is actually running. (issue #8810 reported by junky)
16832 2007-01-12 19:24 +0000 [r50647] Jason Parker <jparker@digium.com>
16834 * configs/voicemail.conf.sample: Update documentation to state that
16835 you shouldn't use realtime static with voicemail.conf
16837 2007-01-12 16:42 +0000 [r50602] Joshua Colp <jcolp@digium.com>
16839 * main/manager.c: We need to check for res being 0 in do_message
16840 itself, otherwise our headers will get lost.
16842 2007-01-12 14:42 +0000 [r50562] Kevin P. Fleming <kpfleming@digium.com>
16844 * main/pbx.c, /: Merged revisions 50561 via svnmerge from
16845 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16846 r50561 | kpfleming | 2007-01-12 08:34:15 -0600 (Fri, 12 Jan 2007)
16847 | 2 lines minor documentation clarification ........
16849 2007-01-11 05:53 +0000 [r50377-50468] Joshua Colp <jcolp@digium.com>
16851 * channels/chan_sip.c: Remove check for channel state as it can
16852 definitely be something other then ring, and also clean up the
16853 code a bit. This should solve the parking issues and maybe some
16854 attended transfer issues people have been seeing.
16856 * main/rtp.c, channels/chan_sip.c, include/asterisk/rtp.h: Add
16857 support to see whether NAT was detected (yay symmetric RTP) and
16858 also add a check in chan_sip so that if NAT has been detected and
16859 the reinvite behind nat option has been turned off, then just do
16860 partial bridge. (issue #8655 reported by mnicholson)
16862 * apps/app_speech_utils.c: Merge speech-multi branch which adds
16863 support for joining multiple sound files together to be played
16864 one after another in SpeechBackground.
16866 * main/config.c: Fix parsing when using something like ldap
16867 settings. (done by anthonyl)
16869 * channels/chan_sip.c: Fix chan_sip not working issue. Let's not
16870 prematurely return 0. (issue #8783 reported by st41ker)
16872 2007-01-10 16:45 +0000 [r50346] Jason Parker <jparker@digium.com>
16874 * cdr/cdr_manager.c: Reverse some logic in cdr_manager, which made
16875 it fail to load if the config file existed. Issue 8777
16877 2007-01-10 04:55 +0000 [r50266-50298] Joshua Colp <jcolp@digium.com>
16879 * apps/app_dial.c, /: Merged revisions 50295 via svnmerge from
16880 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16881 r50295 | file | 2007-01-09 23:51:06 -0500 (Tue, 09 Jan 2007) | 2
16882 lines Add another return value to dial_exec_full that indicates
16883 execution is going to continuing at a new
16884 extension/context/priority and to just let it slide. (issue #8598
16885 reported by jon) ........
16887 * main/pbx.c: Ensure data's existence before trying to access it.
16888 (issue #8774 reported by rcourtna)
16890 2007-01-10 02:17 +0000 [r50228] Russell Bryant <russell@digium.com>
16892 * Makefile, /: Merged revisions 50227 via svnmerge from
16893 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16894 r50227 | russell | 2007-01-09 21:16:45 -0500 (Tue, 09 Jan 2007) |
16895 6 lines Make the number that represents the major version number
16896 a single digit instead of 2. Using two digits makes it an octal
16897 number when put into version.h, which breaks the compilation of
16898 any out of tree module that checks the version for any version
16899 after 1.2.7 (reported by Matteo Brancaleoni on the asterisk-dev
16900 mailing list, who gave credit to vihai for pointing it out)
16903 2007-01-09 17:11 +0000 [r50186] Jason Parker <jparker@digium.com>
16905 * main/cli.c: Re-add CLI command that should have only been
16906 deprecated in 1.4. Thanks kshumard! (reported in person, so no
16907 associated issue #)
16909 2007-01-09 13:40 +0000 [r50151] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
16911 * apps/app_voicemail.c, /: Merged revisions 50150 via svnmerge from
16912 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16913 r50150 | tilghman | 2007-01-09 07:30:04 -0600 (Tue, 09 Jan 2007)
16914 | 4 lines The advent of realtime has enabled people to use commas
16915 in the fullname field. This could cause an issue with sending
16916 voicemails, when the field is unquoted. (Issue 8595) ........
16918 2007-01-09 11:25 +0000 [r50124] Olle Johansson <oej@edvina.net>
16920 * channels/chan_sip.c: - handle re-invites properly in sip_hangup()
16921 - Add some invitestate status changes just to be sure
16923 2007-01-08 23:39 +0000 [r50098] Jason Parker <jparker@digium.com>
16925 * apps/app_voicemail.c: Fix an issue with voicemail and users.conf,
16926 where it wouldn't ever parse a password, since it was using
16927 "secret" instead of "password" Issue 8761, reported by and patch
16928 suggestion from ssokol.
16930 2007-01-08 21:11 +0000 [r50073] Matt O'Gorman <mogorman@digium.com>
16932 * apps/app_senddtmf.c: we can't unlock a channel if we cant find
16933 it. - AnthonyL bug #8741
16935 2007-01-08 18:21 +0000 [r50032] Joshua Colp <jcolp@digium.com>
16937 * main/rtp.c: Disable the more intense packet2packet bridging until
16938 the bugs can be worked out.
16940 2007-01-08 14:26 +0000 [r49925-50006] Olle Johansson <oej@edvina.net>
16942 * channels/chan_sip.c: Issue #8677 - Handle failure of T.38
16943 re-invite This is not a fix, but adding an error message to tell
16944 the admin that we have a bad configuration. We should not send
16945 T.38 re-invites to devices that can't handle it (with the current
16946 architecture where you have to hard-code t.38 support per
16947 device). To really fix this, we need to figure out a way to tell
16948 the incoming call that the re-invite failed, so we can signal
16949 failure on that end and go back to the original call.
16951 * channels/chan_sip.c: Issue #8524, support multiple via header
16952 values (tardieu) Thanks!
16954 * channels/chan_sip.c: We only need one forward declaration
16956 * channels/chan_sip.c: Issue 8735: Terminate state when extension
16957 is unavailable for subscription
16959 2007-01-08 05:11 +0000 [r49890] Joshua Colp <jcolp@digium.com>
16961 * /, channels/chan_iax2.c: Merged revisions 49889 via svnmerge from
16962 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16963 r49889 | file | 2007-01-08 00:10:07 -0500 (Mon, 08 Jan 2007) | 2
16964 lines Ensure we use the default refresh value of 60 if the remote
16965 server does not send one. (issue #8746 reported by maethor)
16968 2007-01-08 03:53 +0000 [r49866] Kevin P. Fleming <kpfleming@digium.com>
16970 * configure, configure.ac: since we use AC_PATH_TOOL to find tools,
16971 we should use the results it provides for us (reported by Brian
16972 Capouch on the asterisk-dev list)
16974 2007-01-07 21:44 +0000 [r49831-49834] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
16976 * /, apps/app_dictate.c: Merged revisions 49833 via svnmerge from
16977 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
16978 r49833 | tilghman | 2007-01-07 15:43:10 -0600 (Sun, 07 Jan 2007)
16979 | 2 lines If openstream fails, then we crash (Issue 8564)
16982 * channels/chan_sip.c: Second condition was a subset of the first,
16983 so hold was never decremented, thus hint stayed stuck (Issue
16986 2007-01-06 00:24 +0000 [r49742] Jason Parker <jparker@digium.com>
16988 * main/pbx.c, res/res_features.c, pbx/pbx_config.c: Save 1 whopping
16989 byte of allocated memory! This looks like it may have been a
16990 chicken/egg scenario.. You had to call a cleanup func, because
16991 everything was allocated. Then since you had to call a cleanup
16992 func, you were forced to allocate - ie; strdup("").
16994 2007-01-05 23:51 +0000 [r49710-49715] Kevin P. Fleming <kpfleming@digium.com>
16996 * configure, acinclude.m4: one more time...
16998 * configure, acinclude.m4: proper fix for r49712
17000 * configure, acinclude.m4: if --with-foo=<path> is specific for a
17001 configure option, ensure that it is used for header file checking
17004 * main/manager.c: ast_func_read() needs a writable copy of the
17005 function name to be passed
17007 2007-01-05 23:16 +0000 [r49705] Jason Parker <jparker@digium.com>
17009 * channels/chan_zap.c, codecs/codec_zap.c: Make codec_zap and
17010 chan_zap also depend on zaptel. This fixes an issue (8727) with
17011 zaptel being in a different directory, using --with-zaptel.
17013 2007-01-05 22:52 +0000 [r49676-49680] Kevin P. Fleming <kpfleming@digium.com>
17015 * main/manager.c: don't 'consume' the params list before we try to
17018 * res/res_monitor.c, main/config.c, apps/app_setcdruserfield.c,
17019 main/manager.c, include/asterisk/jabber.h, apps/app_senddtmf.c,
17020 main/db.c, channels/chan_zap.c, channels/chan_sip.c,
17021 apps/app_meetme.c, res/res_features.c, channels/chan_agent.c,
17022 utils/astman.c, include/asterisk/manager.h, channels/chan_iax2.c,
17023 apps/app_queue.c, res/res_jabber.c: reduce stack consumption for
17024 AMI and AMI/HTTP requests by nearly 20K in most cases
17026 2007-01-05 22:14 +0000 [r49675] Joshua Colp <jcolp@digium.com>
17028 * main/channel.c: Don't keep repeating the warning over and over
17029 when the end of the call is reached. (issue #8724 reported by
17032 2007-01-05 17:09 +0000 [r49581-49636] Kevin P. Fleming <kpfleming@digium.com>
17034 * /, channels/chan_sip.c, channels/chan_skinny.c,
17035 channels/chan_iax2.c: Merged revisions 49635 via svnmerge from
17036 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17037 r49635 | kpfleming | 2007-01-05 10:56:40 -0600 (Fri, 05 Jan 2007)
17038 | 2 lines ensure that threads which are supposed to be detached
17039 (because we aren't going to wait on them) are created properly
17042 * channels/chan_iax2.c: revert the dynamic_list insertion change...
17043 that was not the right thing to do
17045 * channels/chan_iax2.c: create the IAX2 processing threads as
17046 background threads so they will use smaller stacks when we create
17047 a dynamic thread, put it on the dynamic_list right away so we
17048 don't lose track of it
17050 2007-01-04 23:00 +0000 [r49568] Joshua Colp <jcolp@digium.com>
17052 * channels/chan_iax2.c: It's possible for the iax2 pvt to
17053 disappear, so if it has... don't bother looking for dpentries.
17055 2007-01-04 22:51 +0000 [r49553] Kevin P. Fleming <kpfleming@digium.com>
17057 * include/asterisk/threadstorage.h, main/asterisk.c,
17058 build_tools/cflags.xml, include/asterisk.h, main/Makefile,
17059 main/threadstorage.c (added), main/utils.c: add support for
17060 tracking thread-local-storage objects that exist via
17061 'threadstorage' CLI commands
17063 2007-01-04 22:28 +0000 [r49551] Joshua Colp <jcolp@digium.com>
17065 * main/config.c: Only free comments and line buffer once we reach
17066 the first level. (issue #8678 reported by ssokol, fixed by
17069 2007-01-04 21:58 +0000 [r49460-49536] Kevin P. Fleming <kpfleming@digium.com>
17071 * channels/iax2-parser.c, main/frame.c: don't mark these
17072 allocations as 'cache' allocations when caching has been disabled
17074 * channels/iax2-parser.c: if we're going to decrement the frame
17075 count when we free a frame, we should inrement it when we create
17078 * channels/iax2-parser.c, channels/iax2-parser.h,
17079 channels/chan_iax2.c: only do IAX2 frame caching for voice and
17082 * main/frame.c: don't do frame header caching in the core if
17083 LOW_MEMORY is defined
17085 * channels/iax2-parser.c: don't define this type either if
17086 LOW_MEMORY is enabled
17088 2007-01-04 18:11 +0000 [r49459] Matt O'Gorman <mogorman@digium.com>
17090 * apps/app_voicemail.c, /: Merged revisions 49447 via svnmerge from
17091 https://svn.digium.com/svn/asterisk/branches/1.2 ........ r49447
17092 | mogorman | 2007-01-04 11:45:16 -0600 (Thu, 04 Jan 2007) | 2
17093 lines converted a lot of 256 to PATH_MAX and some white space
17096 2007-01-04 18:06 +0000 [r49457-49458] Kevin P. Fleming <kpfleming@digium.com>
17098 * channels/iax2-parser.c: don't do frame caching in LOW_MEMORY mode
17100 * codecs/Makefile: make building of codec_gsm against the system
17101 GSM library actually work
17103 2007-01-04 16:50 +0000 [r49413] Matt O'Gorman <mogorman@digium.com>
17105 * apps/app_voicemail.c, /: Merged revisions 49412 via svnmerge from
17106 https://svn.digium.com/svn/asterisk/branches/1.2 ........ r49412
17107 | mogorman | 2007-01-04 10:48:43 -0600 (Thu, 04 Jan 2007) | 3
17108 lines good catch russell sorry i missed that. fix magic number
17109 with proper sizeof ........
17111 2007-01-04 04:33 +0000 [r49388] Russell Bryant <russell@digium.com>
17113 * funcs/func_realtime.c: Fix the REALTIME() dialplan function.
17114 ast_build_string() advances the string pointer to the position to
17115 begin the next write into the buffer. So, this pointer can not be
17116 used to copy the contents of the string later. The beginning of
17117 the buffer must be saved. Interestingly enough, this code could
17118 not have ever worked. (Pointed out by Sebb on IRC, thanks!)
17120 2007-01-03 23:32 +0000 [r49355] Matt O'Gorman <mogorman@digium.com>
17122 * apps/app_voicemail.c, /: Merged revisions 49354 via svnmerge from
17123 https://svn.digium.com/svn/asterisk/branches/1.2 ........ r49354
17124 | mogorman | 2007-01-03 17:22:47 -0600 (Wed, 03 Jan 2007) | 6
17125 lines When using ODBC_STORAGE VoicemailMain doesn't create the
17126 subdirectories for a mailbox such as the INBOX directory. this
17127 patch solves that problem, was written by anthony be-125 ........
17129 2007-01-03 09:06 +0000 [r49313] Christian Richter <christian.richter@beronet.com>
17131 * channels/misdn/isdn_lib.c, channels/misdn_config.c,
17132 doc/misdn.txt, channels/misdn/isdn_lib.h, channels/chan_misdn.c,
17133 /, channels/misdn/ie.c, channels/misdn/isdn_msg_parser.c,
17134 configs/misdn.conf.sample: Merged revisions
17135 48319,48321,48467,48552,48576,49135,49303 via svnmerge from
17136 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17137 r48319 | crichter | 2006-12-06 15:35:25 +0100 (Mi, 06 Dez 2006) |
17138 1 line changed a few debugs to higher debug levels ........
17139 r48321 | crichter | 2006-12-06 16:48:45 +0100 (Mi, 06 Dez 2006) |
17140 1 line added the export and import of the MISDN_ADDRESS_COMPLETE
17141 Variable to inidcate wether the extension is already completely
17142 dialed or if there might come additional digits by information
17143 elements. also added some docs for that. ........ r48467 |
17144 crichter | 2006-12-14 14:03:49 +0100 (Do, 14 Dez 2006) | 1 line
17145 removed FIXUP state. added check for channel allocation conflict
17146 when we create a setup while the other site creates a setup on
17147 the same channel, besides the check we resolve this conflict.
17148 ........ r48552 | crichter | 2006-12-18 11:19:39 +0100 (Mo, 18
17149 Dez 2006) | 1 line when our PTP Partner sends us a SETUP with a
17150 preselected channel we just accept it, even when we're NT. added
17151 some checks for segfaults. ........ r48576 | crichter |
17152 2006-12-19 14:08:51 +0100 (Di, 19 Dez 2006) | 1 line when we
17153 reject a channel, because it's in use already, we shouldn't
17154 process the setup anymore. made the channel allocation a bit
17155 easier and more understandable, removed a few unused lines
17156 ........ r49135 | crichter | 2007-01-02 11:07:22 +0100 (Di, 02
17157 Jan 2007) | 1 line added check for channel ranges in the
17158 set/empty channel functions. set pmp_l1_check default to no.
17159 added misdn restart pid cli command. added cleaning of channel
17160 when we send a RELEASE_COMPLETE. ........ r49303 | crichter |
17161 2007-01-03 09:24:00 +0100 (Mi, 03 Jan 2007) | 9 lines * Added
17162 check for bridging in misdn_call to avoid setting
17163 echocancellation when 2 mISDN channels are involved and when
17164 bridging is set. That lead to a kernel panic before under
17165 different situations, because we switched about 2 times between
17166 hardware bridging and echocancelation * readded MISDN_URATE
17167 variable which got lost before, this should make app_v110 work
17168 again * fixed typo ........
17170 2007-01-03 03:21 +0000 [r49282] Kevin P. Fleming <kpfleming@digium.com>
17172 * Makefile, Makefile.rules: various Makefile improvements to get
17173 chan_vpb (and any other C++ modules) to build properly
17175 2007-01-03 01:19 +0000 [r49259] Joshua Colp <jcolp@digium.com>
17177 * channels/chan_iax2.c: Check pvt structure presence before passing
17178 to send_command. This gets rid of the irritating message about a
17179 packet without pvt structure. This happens because the scheduled
17180 item is getting cancelled at almost the exact moment it is
17183 2007-01-02 22:30 +0000 [r49237] Steve Murphy <murf@digium.com>
17185 * main/ast_expr2.fl, main/ast_expr2f.c, pbx/ael/ael_lex.c,
17186 pbx/ael/ael.flex: This is a slight modification to Josh's edits
17187 for #8579; both files edited were the produced by flex; so the
17188 source files need to be changed instead, and the generated files
17191 2007-01-02 19:58 +0000 [r49212] Olle Johansson <oej@edvina.net>
17193 * channels/chan_sip.c: Small cleanup of add_t38sdp - it's always
17194 enabled at that point in the code
17196 2007-01-02 17:33 +0000 [r49189] Jason Parker <jparker@digium.com>
17198 * main/pbx.c: Allow fractions of a second in the Wait()
17199 application, like it says it allows.
17201 2007-01-02 13:59 +0000 [r49165] Kevin P. Fleming <kpfleming@digium.com>
17203 * channels/chan_zap.c: remove comment that is unrelated to this
17206 2007-01-02 12:08 +0000 [r49145] Olle Johansson <oej@edvina.net>
17208 * configs/features.conf.sample: Adding note on effect of
17209 applicationmap features on re-invites
17211 2007-01-01 23:34 +0000 [r49098-49102] Kevin P. Fleming <kpfleming@digium.com>
17213 * channels/chan_zap.c, build_tools/menuselect-deps.in, configure,
17214 configure.ac, codecs/codec_zap.c: check specifically for VLDTMF
17215 and transcoding support in the system's Zaptel installation, and
17216 make only the modules that need those features dependent on them
17217 (this will allow building the other Zaptel-using parts of
17218 Asterisk against older versions of Zaptel or those on other
17219 platforms that haven't caught up yet to the Linux version)
17221 * Makefile: use a simpler (and portable) method to ensure that
17222 menuselect is built as a host binary
17224 * Makefile: revert this change until a better solution can be
17225 found... 'env -i' was not being used properly, but even when
17226 changed to do so, this process fails during cross-compilation
17227 because the menuselect build still sees 'CC' as set to the
17230 2007-01-01 20:14 +0000 [r49096] Olle Johansson <oej@edvina.net>
17232 * channels/chan_sip.c: remove incomplete implementation of dnsmgr.
17233 Let's fix this in trunk.
17235 2006-12-30 18:31 +0000 [r49063-49073] Joshua Colp <jcolp@digium.com>
17237 * pbx/pbx_config.c: IAX has been deprecated for quite some time so
17238 we had better use IAX2 when creating the dial string for users.
17239 (issue #8697 reported by ssokol)
17241 * channels/chan_zap.c: Use asprintf to build the channel names
17242 instead of custom function. I believe the custom function is
17243 doing some things that are not portable across all
17244 implementations. (issue #8570 reported by hterag & issue #8692
17245 reported by nicolasg)
17247 * main/rtp.c: If the Packet2Packet bridge is being broken because
17248 of a masquerade then attempt to read a frame in so the masquerade
17249 actually happens. Otherwise weirdness will occur. (issue #8696
17250 reported by kjotte)
17252 * channels/chan_iax2.c: Initialize the packet queue in load_module
17253 instead of just declaring the list with the default value. (issue
17254 #8695 reported by ssokol)
17256 2006-12-30 00:40 +0000 [r49061] Steve Murphy <murf@digium.com>
17258 * pbx/pbx_ael.c: A fix for 8661, where the CUT func needed to have
17259 comma args converted to vertical bars. I hope this change does
17262 2006-12-29 00:50 +0000 [r49042-49048] Kevin P. Fleming <kpfleming@digium.com>
17264 * /: put this value into the correct property
17266 * /, BUGS: Merged revisions 49045 via svnmerge from
17267 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17268 r49045 | kpfleming | 2006-12-28 18:32:32 -0600 (Thu, 28 Dec 2006)
17269 | 2 lines location of the bug posting guidelines has changed
17272 * sample.call: simple commit to test CIA integration
17274 2006-12-28 21:26 +0000 [r49032-49035] Jason Parker <jparker@digium.com>
17276 * main/cli.c: Fix some deprecated commands. Issue 8682, patch by me
17278 * main/http.c: saw this in passing... fix a small typo
17280 2006-12-28 20:08 +0000 [r49028] Kevin P. Fleming <kpfleming@digium.com>
17282 * sounds/Makefile: new versions of sounds
17284 2006-12-28 19:52 +0000 [r49024] Jason Parker <jparker@digium.com>
17286 * main/http.c: make the uris_lock a rwlock instead of a mutex lock
17287 - needs to be forward ported to trunk
17289 2006-12-28 19:43 +0000 [r49022] Joshua Colp <jcolp@digium.com>
17291 * configure, include/asterisk/autoconfig.h.in, configure.ac,
17292 include/asterisk/lock.h: Backport support for read/write locks.
17294 2006-12-28 19:21 +0000 [r49020] Steve Murphy <murf@digium.com>
17296 * main/ast_expr2.fl, main/ast_expr2.c, main/frame.c,
17297 pbx/ael/ael.tab.c, main/ast_expr2.y, main/ast_expr2f.c,
17298 pbx/ael/ael_lex.c, include/asterisk/ael_structs.h,
17299 pbx/ael/ael.tab.h, utils/ael_main.c: removed <err.h> as in trunk
17300 from the ael stuff. Also, threw in a minor fix to frame.c to
17301 avoid build-killing compiler warnings.
17303 2006-12-27 22:28 +0000 [r49009] Joshua Colp <jcolp@digium.com>
17305 * main/ast_expr2f.c, pbx/ael/ael_lex.c: ast_copy_string is not
17306 available when LOW_MEMORY is used and things are being built in
17307 the utils directory, so we need to resort to the old method of
17308 strncpy. (issue #8579 reported by mottano)
17310 2006-12-27 22:06 +0000 [r48998-49006] Kevin P. Fleming <kpfleming@digium.com>
17312 * main/enum.c, main/asterisk.c, main/rtp.c, main/term.c,
17313 main/cdr.c, main/channel.c, main/udptl.c, main/pbx.c,
17314 main/dnsmgr.c, main/frame.c, main/manager.c, main/file.c,
17315 main/http.c, main/logger.c: since these variables all have static
17316 duration, none of them need initializers (they default to zero
17319 * include/asterisk/options.h, main/asterisk.c, main/file.c: move
17320 extern declaration for this option to a header file where it
17321 belongs provide an initial value for 'languageprefix' option,
17322 instead of relying on randomness to provide a useful value
17324 2006-12-27 21:06 +0000 [r48993-48997] Olle Johansson <oej@edvina.net>
17326 * channels/chan_sip.c: Only include acl.h and lock.h once
17328 * channels/chan_sip.c: Only set rfc2833compensate flag once
17329 (handle_common_options)
17331 * channels/chan_sip.c: - Remove checking for T38 options twice.
17332 Keeping them in handle_common_options
17334 2006-12-27 18:33 +0000 [r48987-48988] Kevin P. Fleming <kpfleming@digium.com>
17336 * channels/chan_sip.c: make the option actually match the
17339 * channels/iax2-parser.c, include/asterisk/utils.h,
17340 include/asterisk/astmm.h, main/frame.c, main/astmm.c: allow 'show
17341 memory' and 'show memory summary' to distinguish memory
17342 allocations that were done for caching purposes, so they don't
17343 look like memory leaks
17345 2006-12-27 17:59 +0000 [r48975-48985] Olle Johansson <oej@edvina.net>
17347 * channels/chan_sip.c, configs/sip.conf.sample: Be a bit more
17348 politically correct
17350 * channels/chan_sip.c, configs/sip.conf.sample: Issue #8575 - Buggy
17351 cisco MWI support. Normally we try not to change our software for
17352 bugs in other devices. But in this case, the Cisco phones are so
17353 widespread so we try to implement a fix while waiting for a
17356 * channels/chan_sip.c: - Make sure handle_common_options return 1
17357 when we found a common option - Move uncommon (only global)
17358 option away from handle_common_options Reported by rizzo. Thanks!
17360 * channels/chan_sip.c: Issue 8599 (rizzo) Change invitestate before
17361 re-sending invite with auth.
17363 * /, channels/chan_sip.c: Fix bogus content-length in t38 sdp.
17366 2006-12-26 05:20 +0000 [r48960-48966] Joshua Colp <jcolp@digium.com>
17368 * apps/app_meetme.c: Get rid of a needless memory allocation and
17369 only create a conference structure in find_conf_realtime if data
17370 was read from realtime. (issue #8669 reported by robl)
17372 * main/rtp.c, channels/chan_sip.c, include/asterisk/rtp.h: Add an
17373 API call that initializes an RTP structure. We need this because
17374 chan_sip is cheeky and uses a temporary RTP structure for codec
17375 purposes, and the API calls that are used rely on the lock.
17376 (Pointed out on asterisk-dev by Andy Wang)
17378 * configure, configure.ac: Clean up autoconf file (gets rid of
17379 warnings seen when rebuilding configure) and rebuild configure.
17381 2006-12-25 05:21 +0000 [r48931-48956] Russell Bryant <russell@digium.com>
17383 * /, funcs/func_math.c: Merged revisions 48955 via svnmerge from
17384 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17385 r48955 | russell | 2006-12-25 00:19:48 -0500 (Mon, 25 Dec 2006) |
17386 6 lines Fix an error introduced by copying and pasting the
17387 handling of the >= operator for the MATH function. If a single
17388 equal sign was used as an operator, the function would treat it
17389 is as if it were the >= operator. Now, it properly handles it as
17390 an invalid operator. (issue #8665, patch by tempest1) ........
17392 * channels/chan_oss.c: Fix a typo in an error message that
17393 indicated that the MGCP channel type could not be registered,
17394 instead of the correct type, OSS.
17396 * /, channels/chan_iax2.c: Merged revisions 48943 via svnmerge from
17397 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17398 r48943 | russell | 2006-12-24 02:23:07 -0500 (Sun, 24 Dec 2006) |
17399 3 lines Check for the proper return value on an error in a call
17400 to mmap(). This was reported by Andy Wang on the asterisk-dev
17401 list. Thanks! ........
17403 * /, channels/chan_sip.c: Merged revisions 48939 via svnmerge from
17404 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17405 r48939 | russell | 2006-12-24 01:47:29 -0500 (Sun, 24 Dec 2006) |
17406 3 lines Remove a couple of misplaced dots in log messages. This
17407 was reported by Andrea Spadaccini on the asterisk-dev mailing
17410 * main/http.c: Implement locking for the list of URI handlers to
17411 make it thread-safe.
17413 2006-12-23 Kevin P. Fleming <kpfleming@digium.com>
17415 * Asterisk 1.4.0 released.
17417 2006-12-22 22:33 +0000 [r48870-48906] Jason Parker <jparker@digium.com>
17419 * Makefile, main/stdtime/localtime.c: Minor fixes for Solaris.
17421 * channels/chan_skinny.c: Fix for issue 7774 - patch by alamantia
17423 2006-12-21 20:26 +0000 [r48783] Joshua Colp <jcolp@digium.com>
17425 * /, redhat/asterisk.spec: Merged revisions 48782 via svnmerge from
17426 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17427 r48782 | file | 2006-12-21 15:25:01 -0500 (Thu, 21 Dec 2006) | 2
17428 lines Add new silence sound files to the spec for Redhat. (issue
17429 #8652 reported by alvaro_palma_aste) ........
17431 2006-12-20 02:56 +0000 [r48592-48637] Joshua Colp <jcolp@digium.com>
17433 * apps/app_voicemail.c: vms doesn't exist on non-IMAP storage
17436 * apps/app_voicemail.c: Pass 'vms' pointer to record_and_review so
17437 it is then passed to the IMAP store file function. (issue #8614
17438 reported by punknow)
17440 * doc/snmp.txt: find is not the same as bind when it comes to
17441 documentation. (issue #8626 reported by johann8384)
17443 2006-12-19 21:28 +0000 [r48586] Kevin P. Fleming <kpfleming@digium.com>
17445 * channels/Makefile: suppress compiler warnings in this module
17446 until it can be improved
17448 2006-12-19 21:12 +0000 [r48585] Joshua Colp <jcolp@digium.com>
17450 * apps/app_dial.c, /: Merged revisions 48584 via svnmerge from
17451 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17452 r48584 | file | 2006-12-19 16:10:26 -0500 (Tue, 19 Dec 2006) | 2
17453 lines Free localuser structure when we fail to dial (issue #8612
17454 reported by rizzo) ........
17456 2006-12-19 21:03 +0000 [r48583] Luigi Rizzo <rizzo@icir.org>
17458 * apps/app_sms.c: fix a bogus datalen in the frames generated by
17459 app_sms (causing noisy output if you listen to the output!) This
17460 affects trunk as well, whereas 1.2 is ok.
17462 2006-12-19 14:57 +0000 [r48577] Kevin P. Fleming <kpfleming@digium.com>
17464 * res/res_config_odbc.c, funcs/func_odbc.c: use the proper variable
17465 type for these unixODBC API calls, eliminating warnings on 64-bit
17466 platforms that use the 'new' 64-bit types for ODBC API calls
17468 2006-12-19 03:46 +0000 [r48571] Joshua Colp <jcolp@digium.com>
17470 * Makefile: Use env -i to start a fresh environment when going to
17471 build menuselect. This is more portable then using unset. (issue
17472 #8543 reported by jtodd)
17474 2006-12-18 17:23 +0000 [r48566] Luigi Rizzo <rizzo@icir.org>
17476 * include/asterisk/channel.h: unbreak the macro used for
17477 incrementing the frame counters. I don't know when the bug was
17478 introduced, but with the typical usage c->fin =
17479 FRAMECOUNT_INC(c->fin) the frame counters stay to 0. affects
17480 trunk as well (fix coming).
17482 2006-12-18 17:15 +0000 [r48564] Joshua Colp <jcolp@digium.com>
17484 * channels/chan_iax2.c: Put thread into proper list if we abort
17485 handling due to an error, and also hold the lock while putting it
17486 back into the proper idle list so we don't prematurely get a
17487 signal. (issue #8604 reported by arkadia)
17489 2006-12-18 11:59 +0000 [r48513-48554] Kevin P. Fleming <kpfleming@digium.com>
17491 * codecs/lpc10/Makefile, main/Makefile, codecs/gsm/Makefile,
17492 utils/astman.c, utils/smsq.c, codecs/ilbc/Makefile,
17493 utils/ael_main.c: remove some now-unnecessary explicit includes
17494 of autoconfig.h clean up per-file dependencies during 'make
17497 * build_tools/prep_tarball: need an additional argument here to
17498 make the downloads actually occur
17500 * configure, include/asterisk/autoconfig.h.in, configure.ac,
17501 acinclude.m4: use m4 quoting for AC_MSG_NOTICE calls, to keep
17502 these calls from thinking they have multiple arguments
17504 * codecs/ilbc, formats, utils/Makefile, agi/Makefile, Makefile,
17505 funcs, build_tools/mkdep (removed), codecs/lpc10, main/db1-ast,
17506 main, codecs/gsm, pbx, res, channels, codecs, utils, agi,
17507 main/Makefile, apps, Makefile.moddir_rules, Makefile.rules, cdr:
17508 simplify dependency tracking system, using the compiler's
17509 built-in method for generating them, and only doing dependency
17510 tracking if developer mode is enabled via the configure script
17512 * Makefile, include/asterisk.h, main/stdtime/localtime.c: since we
17513 really, really have to have autoconfig.h included before all
17514 other headers (especially system headers), the Makefile will now
17515 force it to happen (this will fix build problems with files like
17516 ast_expr2f.c, where we can't control the inclusion order in the
17519 * funcs/func_curl.c: instead of initializing the curl library every
17520 time the CURL() function is invoked, do it only once per thread
17521 (this allows multiple calls to CURL() in the dialplan for a
17522 channel to run much more quickly, and also to re-use connections
17523 to the server) (thanks to JerJer for frequently complaining about
17524 this performance problem)
17526 2006-12-15 19:55 +0000 [r48502-48506] Joshua Colp <jcolp@digium.com>
17528 * main/rtp.c: Turn payload_lock into bridge_lock and make it
17529 encompass all RTP structure contents that may relate to bridge
17530 information, including who we are bridged to.
17532 * channels/chan_iax2.c: Hold call structure lock in places where a
17533 qualify or peer action can destroy it.
17535 * channels/chan_iax2.c: Lock network retransmission queue in all
17536 places that it is used.
17538 2006-12-15 10:55 +0000 [r48481-48487] Olle Johansson <oej@edvina.net>
17540 * /, channels/chan_sip.c: Issue #8592 - treat 504 as 503 (imported
17543 * channels/chan_sip.c: Update to latest IANA spec
17545 2006-12-15 06:28 +0000 [r48461-48478] Joshua Colp <jcolp@digium.com>
17547 * channels/chan_iax2.c: Use a wakeup variable so that we don't wait
17548 on IO indefinitely if packets need to be retransmitted.
17550 * main/rtp.c, include/asterisk/rtp.h: Payload values on the RTP
17551 structure can change AFTER a bridge has started. This comes from
17552 the packet handling of the SIP response when indication that it
17553 was answered has been sent. Therefore we need to protect this
17554 data with a lock when we read/write. (issue #8232 reported by
17557 * main/rtp.c: Remove direct RTCP bridging. I've come to the
17558 conclusion that we should handle this through the core and not
17559 just forward it on. Should solve a few bugs.
17561 2006-12-12 Kevin P. Fleming <kpfleming@digium.com>
17563 * Asterisk 1.4.0-beta4 released.
17565 2006-12-12 04:13 +0000 [r48401] Joshua Colp <jcolp@digium.com>
17567 * apps/app_voicemail.c: Use S_OR in my previous app_voicemail. This
17568 is the way it should have been done.
17570 2006-12-11 23:02 +0000 [r48396-48399] Matt O'Gorman <mogorman@digium.com>
17572 * sounds/Makefile: new sounds package with 100% more silence
17574 * /, apps/app_externalivr.c: Merged revisions 48394 via svnmerge
17575 from https://svn.digium.com/svn/asterisk/branches/1.2 ........
17576 r48394 | mogorman | 2006-12-11 15:55:43 -0600 (Mon, 11 Dec 2006)
17577 | 4 lines app_externalivr needs a real silence file, and
17578 additional changes to add silence files into core instead of
17579 extra patch provided by bug 8177 with minor additions. ........
17581 2006-12-11 21:31 +0000 [r48391] Joshua Colp <jcolp@digium.com>
17583 * apps/app_voicemail.c: Return non-existant callerid handling to
17584 that which it was before. In 1.4 and trunk callerid can be
17585 allocated but not have any contents so we have to use
17586 ast_strlen_zero before passing it to the relevant functions.
17587 (issue #8567 reported by pabelanger)
17589 2006-12-11 05:37 +0000 [r48382] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
17591 * funcs/func_strings.c: STRFTIME() does not actually require an
17592 argument (issue 8540)
17594 2006-12-11 05:36 +0000 [r48377-48381] Joshua Colp <jcolp@digium.com>
17596 * main/rtp.c: Merge in my latest RTP changes. Break out RTP and
17597 RTCP callback functions so they no longer share a common one.
17599 * apps/app_meetme.c: Use the correct API call to say a device state
17600 changed. (Yes, I'm a nub.)
17602 * apps/app_meetme.c: Don't access the conference structure after it
17605 2006-12-11 00:47 +0000 [r48375] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
17607 * apps/app_nbscat.c, /, apps/app_festival.c, apps/app_mp3.c,
17608 res/res_agi.c, apps/app_zapras.c, apps/app_externalivr.c,
17609 apps/app_ices.c, res/res_musiconhold.c: Merged revisions 48374
17611 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17612 r48374 | tilghman | 2006-12-10 18:33:59 -0600 (Sun, 10 Dec 2006)
17613 | 5 lines When doing a fork() and exec(), two problems existed
17614 (Issue 8086): 1) Ignored signals stayed ignored after the exec().
17615 2) Signals could possibly fire between the fork() and exec(),
17616 causing Asterisk signal handlers within the child to execute,
17617 which caused nasty race conditions. ........
17619 2006-12-10 03:04 +0000 [r48372] Steve Murphy <murf@digium.com>
17621 * channels/chan_zap.c, /: Merged revisions 48371 via svnmerge from
17622 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17623 r48371 | murf | 2006-12-09 19:14:13 -0700 (Sat, 09 Dec 2006) | 1
17624 line This version applies the patch suggested by stevens in bug
17625 7836 (make inbound channel RINGING state consistent with other
17626 channels). ........
17628 2006-12-09 15:59 +0000 [r48362-48363] Russell Bryant <russell@digium.com>
17630 * channels/chan_iax2.c: Use locking when accessing the
17631 registrations list. This list is not actually used very often, so
17632 the likelihood of there being a problem is pretty small, but
17633 still possible. For example, if the CLI command to list the
17634 registrations was called at the same time that a reload was
17635 occurring and the registrations list was getting destroyed and
17636 rebuilt, a crash could occur. In passing, go ahead and convert
17637 this list to use the linked list macros.
17639 2006-12-07 18:17 +0000 [r48357] Russell Bryant <russell@digium.com>
17641 * /, res/res_musiconhold.c: Merged revisions 48356 via svnmerge
17642 from https://origsvn.digium.com/svn/asterisk/branches/1.2
17643 ........ r48356 | russell | 2006-12-07 13:14:13 -0500 (Thu, 07
17644 Dec 2006) | 3 lines Ensure that the file position is not
17645 incremented beyond the total number of files available for
17646 playback. (issue #8539, ulogic) ........
17648 2006-12-07 15:33 +0000 [r48349] Steve Murphy <murf@digium.com>
17650 * main/manager.c, UPGRADE.txt, CHANGES: Here lies the fixes that
17651 killed bug 8423 -- OriginateSuccess and OriginateError incomplete
17652 channel name. May it rest in peace.
17654 2006-12-06 16:25 +0000 [r48326] Olle Johansson <oej@edvina.net>
17656 * /, channels/chan_sip.c: Issue #8258 - fix handling of 487 being
17657 retransmitted to Asterisk
17659 2006-12-06 16:15 +0000 [r48323] Russell Bryant <russell@digium.com>
17661 * configs/iax.conf.sample, /: Merged revisions 48322 via svnmerge
17662 from https://origsvn.digium.com/svn/asterisk/branches/1.2
17663 ........ r48322 | russell | 2006-12-06 11:05:54 -0500 (Wed, 06
17664 Dec 2006) | 3 lines Fix the name of the rtignoreregexpire option
17665 in the sample configuration file. (issue #8526, arkadia) ........
17667 2006-12-06 12:27 +0000 [r48316-48317] Olle Johansson <oej@edvina.net>
17669 * /, channels/chan_sip.c: Don't send Contact on MESSAGE
17671 2006-12-05 20:42 +0000 [r48279] Jason Parker <jparker@digium.com>
17673 * configure.ac: Fix curl version number testing to be much more
17674 friendly to non-bash shells. Issue 8508, patch by me. This
17675 *SHOULD* be POSIX compliant now..
17677 2006-12-05 17:29 +0000 [r48264-48270] Olle Johansson <oej@edvina.net>
17679 * channels/chan_sip.c: Merging the invitestate-1.4 branch after
17680 successful testing. Will check if I can solve this with less
17683 * configs/sip.conf.sample: Add missing s from another repository.
17686 * configs/sip.conf.sample: Updating sip.conf.sample with
17687 information about T38 not working when chan_local or chan_agent
17688 is involved in the call. I don't know how big a fix that would be
17689 to solve, but this is the current state of affairs. (Chan_sip
17690 currently checks if the other side of the bridge has a SIP tech.
17691 We could/should implement another check, possibly for udptl_write
17692 or some flag in the ast_channel structure).
17694 2006-12-05 01:41 +0000 [r48252-48254] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
17696 * apps/app_voicemail.c: Oops, forgot to release the odbc handle
17698 * apps/app_voicemail.c, /: Merged revisions 48251 via svnmerge from
17699 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17700 r48251 | tilghman | 2006-12-04 19:26:08 -0600 (Mon, 04 Dec 2006)
17701 | 6 lines If the recording in the database is too large, it will
17702 fail to retrieve with an mmap error. Not too sure why this
17703 doesn't happen when we put it in the database, also, but since
17704 that doesn't seem to be broken, I'm not going to fix it (at least
17705 until someone reports it). Solution is to ask for the file in
17706 smaller chunks. (Bug 8385) ........
17708 2006-12-04 21:48 +0000 [r48237-48248] Jason Parker <jparker@digium.com>
17710 * apps/app_voicemail.c: Fix an issue which didn't allow
17711 unavail/greet/busy/etc messages from being saved into ODBC (and
17714 2006-12-04 17:54 +0000 [r48228-48230] Jason Parker <jparker@digium.com>
17716 * configs/voicemail.conf.sample: Add documentation to
17717 voicemail.conf.sample for ODBC storage. Issue 8499 - patch by
17720 * doc/snmp.txt: Attempt to document some of the dependencies that
17721 are needed for net-snmp Issue 8499 - initial patch by blitzrage.
17723 2006-12-03 06:34 +0000 [r48223] Russell Bryant <russell@digium.com>
17725 * sounds/Makefile: When "fetch" is in use, instead of "wget",
17726 --continue is not a valid option. (issue #8451)
17728 2006-12-02 21:45 +0000 [r48199-48219] Olle Johansson <oej@edvina.net>
17730 * channels/chan_sip.c: - Removing one of two pieces of code to
17731 handle 481 response on INVITE - Move handling of REFER response
17732 to handle_response_refer()
17734 * main/rtp.c, channels/chan_sip.c, include/asterisk/rtp.h,
17735 configs/sip.conf.sample: - Disable RTP hold timers while T.38 fax
17736 transmission happens - Encapsulate RTP timers in the rtp
17737 structure so we have one for video and one for audio The video
17738 one is not used in 1.4, really. Will be used for RTP keepalives
17739 when we can send something that video phones support in the RTP
17740 stream. I now this is a big architectual change at this stage for
17741 1.4, but decided it was needed to avoid future bug reports. -
17742 Document the RTP NAT keepalive option in sip.conf.sample Issue
17743 7679 in the bug tracker. Please test.
17745 2006-12-02 03:50 +0000 [r48195] Russell Bryant <russell@digium.com>
17747 * include/asterisk/utils.h: Backport the comment containing the
17748 warning regarding the limitations on the usage of this function.
17749 It is thread safe, but not technically reentrant.
17751 2006-12-01 23:37 +0000 [r48193] Kevin P. Fleming <kpfleming@digium.com>
17753 * apps/app_dial.c, /: Merged revisions 48192 via svnmerge from
17754 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17755 r48192 | kpfleming | 2006-12-01 17:30:59 -0600 (Fri, 01 Dec 2006)
17756 | 2 lines if Dial() is going to send music-on-hold to the calling
17757 party, it has to send PROGRESS first to ensure that the reverse
17758 audio path has been setup first (BE-106) ........
17760 2006-12-01 23:16 +0000 [r48190] Russell Bryant <russell@digium.com>
17762 * Makefile, configure, configure.ac, makeopts.in, sounds/Makefile:
17763 FreeBSD 6.1 does not include wget by default. However, it has
17764 fetch which will work just fine for our purposes of downloading
17765 the sounds packages. So, check for both wget and fetch and the
17766 configure script and use what was found to download them. If
17767 neither one was found, and sound packages are selected that must
17768 be downloaded, the install process will print out an informative
17769 error message indicating the situation. Also, fix a couple places
17770 where "make" was hard coded into some output messages by
17771 replacing them with the $(MAKE) variable. (issue #8451, initial
17772 patch by pabelanger, with additional modifications by me)
17774 2006-12-01 20:25 +0000 [r48184-48186] Jason Parker <jparker@digium.com>
17776 * configs/extensions.conf.sample, /: Merged revisions 48183 via
17778 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17779 r48183 | qwell | 2006-12-01 14:19:10 -0600 (Fri, 01 Dec 2006) | 2
17780 lines Fix a small typo - issue 8848, reported by pabelanger
17783 2006-12-01 19:38 +0000 [r48179] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
17785 * main/cli.c: Double-unlock error (reported by blitzrage on IRC)
17787 2006-12-01 17:41 +0000 [r48177] Olle Johansson <oej@edvina.net>
17789 * channels/chan_sip.c, configs/sip.conf.sample: - Backport of the
17790 "limitonpeers" patch from trunk, to fix a lot of issues with
17791 queues and SIP device states - Remove support for T.38 early
17792 media, since it's impossible. (Two patches in one - extra friday
17793 evening offer due to being off line from svn today... :-)
17795 2006-11-30 21:18 +0000 [r48168] Joshua Colp <jcolp@digium.com>
17797 * main/rtp.c, include/asterisk/rtp.h, channels/chan_gtalk.c: Do not
17798 do a partial bridge for Google Talk since we need to handle STUN.
17799 (issue #8448 reported by phsultan)
17801 2006-11-30 20:51 +0000 [r48166] Olle Johansson <oej@edvina.net>
17803 * /, channels/chan_sip.c: Issue 8319 - change noncecount before
17806 2006-11-30 20:28 +0000 [r48143-48162] Joshua Colp <jcolp@digium.com>
17808 * /, channels/chan_iax2.c: Merged revisions 48157 via svnmerge from
17809 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17810 r48157 | file | 2006-11-30 15:06:43 -0500 (Thu, 30 Nov 2006) | 2
17811 lines Only print out debug message if bridged channel is not
17812 NULL. (issue #8412 reported by jubilex) ........
17814 * /, res/res_features.c: Merged revisions 48154 via svnmerge from
17815 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17816 r48154 | file | 2006-11-30 14:04:11 -0500 (Thu, 30 Nov 2006) | 2
17817 lines Do not listen for DTMF on the bridge that comes into
17818 existence when ParkedCall is executed. This means native bridging
17819 can now occur for this. (issue #8406 reported by kebl0155)
17822 * main/cdr.c, /: Merged revisions 48151 via svnmerge from
17823 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17824 r48151 | file | 2006-11-30 13:42:45 -0500 (Thu, 30 Nov 2006) | 2
17825 lines Print certain CDR messages out at the NOTICE level versus
17826 WARNING since they can occur when used with the CDR applications
17827 and are perfectly fine. (issue #8367 reported by dartvader)
17830 * /, configs/sip.conf.sample: Merged revisions 48142 via svnmerge
17831 from https://origsvn.digium.com/svn/asterisk/branches/1.2
17832 ........ r48142 | file | 2006-11-30 12:55:23 -0500 (Thu, 30 Nov
17833 2006) | 2 lines Document 'port' for SIP peers, came up because of
17834 the current mailing list thread. (issue #8450 reported by
17835 blitzrage) ........
17837 2006-11-30 14:29 +0000 [r48129-48135] Olle Johansson <oej@edvina.net>
17839 * doc/manager.txt: Explain status reports and make codefreeze more
17842 * /, channels/chan_sip.c: Clean up bad dialogs properly. Caused by
17843 GS 487 adapter without CSEQ on separate line in the REGISTER
17844 request. Imported from 1.2.
17846 2006-11-29 21:05 +0000 [r48115] Joshua Colp <jcolp@digium.com>
17848 * apps/app_voicemail.c: Use MAILTMPLEN instead of sizeof in
17849 mm_login. (issue #8420 reported by slimey)
17851 2006-11-29 19:56 +0000 [r48113] Olle Johansson <oej@edvina.net>
17853 * configs/sip.conf.sample: Explain the use device status system
17854 implemented in SIP for subscriptions, queues and manager a bit
17855 better. Like in 1.2, you will get more detailed information if
17856 you set a call limit for a device. When the call limit is
17857 reached, the status system will report a device as busy. For
17858 queues, setting a call limit per SIP device is propably a
17859 requirement. In most cases, it will work much better if you only
17860 use type=peer and not type=friend. We might decide to backport
17861 the new setting from trunk to apply all call limits to the peer
17862 part of a friend only.
17864 2006-11-29 16:50 +0000 [r48107] Joshua Colp <jcolp@digium.com>
17866 * main/rtp.c, /: Merged revisions 48106 via svnmerge from
17867 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17868 r48106 | file | 2006-11-29 11:47:10 -0500 (Wed, 29 Nov 2006) | 2
17869 lines If the frame was duplicated before writing out then we need
17870 to free it. (issue #8429 reported by edguy3) ........
17872 2006-11-29 08:03 +0000 [r48105] Olle Johansson <oej@edvina.net>
17874 * configs/sip.conf.sample: Clarify RTP timers. Sorry, grandma.
17876 2006-11-29 04:26 +0000 [r48101] Joshua Colp <jcolp@digium.com>
17878 * apps/app_voicemail.c: Don't crash if the mailstream was not
17881 2006-11-28 18:26 +0000 [r48095] Jason Parker <jparker@digium.com>
17883 * Makefile: Export several more variables in top level Makefile.
17884 Inspired by issue 8438.
17886 2006-11-28 16:57 +0000 [r48054-48088] Joshua Colp <jcolp@digium.com>
17888 * channels/chan_phone.c, /: Merged revisions 48087 via svnmerge
17889 from https://origsvn.digium.com/svn/asterisk/branches/1.2
17890 ........ r48087 | file | 2006-11-28 11:56:01 -0500 (Tue, 28 Nov
17891 2006) | 2 lines According to the research I have done we never
17892 needed to include compiler.h in the first place so let's not!
17893 (issue #8430 reported by edguy3) ........
17895 * apps/app_voicemail.c, /: Merged revisions 48053 via svnmerge from
17896 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17897 r48053 | file | 2006-11-27 13:03:57 -0500 (Mon, 27 Nov 2006) | 2
17898 lines Use the proper function to get the new message count
17899 instead of always using the filesystem. (issue #8421 reported by
17902 2006-11-27 17:20 +0000 [r48049] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
17904 * /, res/res_musiconhold.c: Merged revisions 48045 via svnmerge
17905 from https://origsvn.digium.com/svn/asterisk/branches/1.2
17906 ........ r48045 | tilghman | 2006-11-27 11:15:54 -0600 (Mon, 27
17907 Nov 2006) | 2 lines Random MOH wasn't really random (bug 8381)
17910 2006-11-27 17:17 +0000 [r48046] Russell Bryant <russell@digium.com>
17912 * main/manager.c: Remove a couple of unused variables (issue #8380,
17915 2006-11-27 15:32 +0000 [r48038] Joshua Colp <jcolp@digium.com>
17917 * pbx/pbx_spool.c, /: Merged revisions 48037 via svnmerge from
17918 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17919 r48037 | file | 2006-11-27 10:30:37 -0500 (Mon, 27 Nov 2006) | 2
17920 lines Do not reference the freed outgoing structure in the debug
17921 message. (issue #8425 reported by arkadia) ........
17923 2006-11-27 06:41 +0000 [r48031] Olle Johansson <oej@edvina.net>
17925 * channels/chan_sip.c: Change logging message
17927 2006-11-26 00:26 +0000 [r48015-48017] Steve Murphy <murf@digium.com>
17929 * funcs/func_cdr.c: might as well also document the raw values of
17932 * /, funcs/func_cdr.c: A little bit of func_cdr documentation
17933 upgrade-- no bug# involved, although 8221 may have inspired it.
17935 2006-11-25 09:28 +0000 [r48002] Olle Johansson <oej@edvina.net>
17937 * /, channels/chan_sip.c: Not having a HINT is not an ERROR. In 1.4
17938 and future releases, you can disable subscription support totally
17939 or per peer in sip.conf with allowsubscribe = yes | no
17941 2006-11-24 17:17 +0000 [r47992] Steve Murphy <murf@digium.com>
17943 * main/translate.c: bug 8189 posted this fix for main/translate.c
17946 2006-11-24 15:46 +0000 [r47989] Christian Richter <christian.richter@beronet.com>
17948 * channels/misdn/isdn_lib.c, channels/misdn_config.c,
17949 channels/chan_misdn.c, /: Merged revisions 47968 via svnmerge
17950 from https://origsvn.digium.com/svn/asterisk/branches/1.2
17951 ........ r47968 | crichter | 2006-11-23 17:10:23 +0100 (Do, 23
17952 Nov 2006) | 1 line fixed a litle bug regarding HOLD/RETRIEVE.
17953 beatufied some logs, changed some loglevels. changed the default
17954 value of block_on_alarm ........
17956 2006-11-23 11:01 +0000 [r47959] Olle Johansson <oej@edvina.net>
17958 * /, channels/chan_sip.c: Don't allocate unused variable.
17960 2006-11-22 21:47 +0000 [r47944] Joshua Colp <jcolp@digium.com>
17962 * main/rtp.c: Video will never reach Packet2Packet bridging and can
17963 do more harm then good.
17965 2006-11-21 17:32 +0000 [r47897] Joshua Colp <jcolp@digium.com>
17967 * main/rtp.c: If we have the non standard G726-32 setting turned on
17968 we want to return G726-32 to the SDP, not our AAL2 string. (issue
17969 #8330 reported by voipgate)
17971 2006-11-21 15:20 +0000 [r47892] Olle Johansson <oej@edvina.net>
17973 * channels/chan_sip.c: Apparently Exosip sends a 101 after a 100
17974 provisional response. Let's not treat that as early media.
17975 (discovered at the AVTF meeting in Paris).
17977 2006-11-20 20:01 +0000 [r47863-47864] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
17979 * apps/app_voicemail.c: Oops, merge missed release of odbc object
17981 * apps/app_voicemail.c, /: Merged revisions 47862 via svnmerge from
17982 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17983 r47862 | tilghman | 2006-11-20 13:59:07 -0600 (Mon, 20 Nov 2006)
17984 | 2 lines Failing to trap -1 error from mmap causes segfault
17985 (Issue 8385) ........
17987 2006-11-20 19:51 +0000 [r47850-47860] Joshua Colp <jcolp@digium.com>
17989 * main/frame.c, /: Merged revisions 47859 via svnmerge from
17990 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
17991 r47859 | file | 2006-11-20 14:50:21 -0500 (Mon, 20 Nov 2006) | 2
17992 lines Don't forget to byte swap if we are exiting the smoother
17993 feed early. (issue #8287 reported by arturs) ........
17995 2006-11-16 23:00 +0000 [r47777] Kevin P. Fleming <kpfleming@digium.com>
17997 * /, doc/billing.txt: update documentation regarding IAX2 transfers
17998 and CDRs Merged revisions 47776 via svnmerge from
17999 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18000 r47776 | kpfleming | 2006-11-16 16:57:31 -0600 (Thu, 16 Nov 2006)
18001 | 2 lines update clearly wrong documentation regarding cdr_custom
18004 2006-11-16 21:11 +0000 [r47762-47764] Joshua Colp <jcolp@digium.com>
18006 * channels/chan_sip.c: Compare technology using the pointers
18007 instead of a straight comparison based on name. (issue #8228
18008 reported by dean bath)
18010 2006-11-16 20:09 +0000 [r47758] Kevin P. Fleming <kpfleming@digium.com>
18012 * configure, configure.ac: check for pre-1.4 versions of Zaptel and
18013 abort the configure script if found with an appropriate error
18016 2006-11-16 19:24 +0000 [r47755] Olle Johansson <oej@edvina.net>
18018 * channels/chan_sip.c, configs/sip.conf.sample: Make the HOLD
18019 notification optional, in order to avoid a lot of extra database
18020 lookups for all those realtime users out there.
18022 2006-11-16 18:29 +0000 [r47748-47751] Joshua Colp <jcolp@digium.com>
18024 * channels/chan_local.c, /: Merged revisions 47750 via svnmerge
18025 from https://origsvn.digium.com/svn/asterisk/branches/1.2
18026 ........ r47750 | file | 2006-11-16 13:26:50 -0500 (Thu, 16 Nov
18027 2006) | 2 lines Because of the way chan_local is written we
18028 should be extra careful and make sure our callback functions have
18029 a tech_pvt. (issue #8275 reported by mflorell) ........
18031 * apps/app_meetme.c: Don't unreference the SLA object if there is
18032 no SLA object in the devicestate callback. (issue #8354 reported
18035 2006-11-16 16:51 +0000 [r47733-47744] Olle Johansson <oej@edvina.net>
18037 * /, channels/chan_sip.c: Don't fixup if there's nothing to fixup
18039 * UPGRADE.txt: Warn users about change in canreinvite
18041 * channels/chan_sip.c, configs/sip.conf.sample: - CANCEL is never
18042 authenticated (according to the RFC) - Update docs on
18043 canreinvite. "nonat" is the recommended setting for most users
18044 with phones behind a NAT.
18046 2006-11-15 22:31 +0000 [r47712] Joshua Colp <jcolp@digium.com>
18048 * channels/chan_local.c, /: Merged revisions 47711 via svnmerge
18049 from https://origsvn.digium.com/svn/asterisk/branches/1.2
18050 ........ r47711 | file | 2006-11-15 17:29:30 -0500 (Wed, 15 Nov
18051 2006) | 2 lines Make sure that the pvt structure exists before
18052 trying to do fixup on Local channels. (issue #7937 reported by
18053 mada123, fix by alamantia with mods by me) ........
18055 2006-11-15 21:56 +0000 [r47709] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
18057 * apps/app_voicemail.c: Fix ODBC_STORAGE for when context is NULL
18059 2006-11-15 21:33 +0000 [r47707] Joshua Colp <jcolp@digium.com>
18061 * main/channel.c: We need to ensure timelimit stuff is included as
18062 well so warnings get played. (issue #8050 reported by KNK)
18064 2006-11-15 20:50 +0000 [r47701] Kevin P. Fleming <kpfleming@digium.com>
18066 * main/file.c: don't try to call fclose() if fopen() failed
18068 2006-11-15 20:31 +0000 [r47698] Olle Johansson <oej@edvina.net>
18070 * channels/chan_sip.c: - Improve SIP history - Never send reply to
18073 2006-11-15 20:31 +0000 [r47684-47697] Kevin P. Fleming <kpfleming@digium.com>
18075 * apps/app_voicemail.c, /: Merged revisions 47677 via svnmerge from
18076 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18077 r47677 | kpfleming | 2006-11-15 11:56:42 -0600 (Wed, 15 Nov 2006)
18078 | 4 lines ensure that message duration is included in email
18079 notifications for forwarded messages (BE-96, fix by me after
18080 corydon used his clue-bat on me) ensure that duration in the
18081 message metadata is updated if prepending is done during
18082 forwarding (related to BE-96) remove prototype for API call that
18083 does not exist ........
18085 * main/config.c, /: Merged revisions 47686,47688-47689 via svnmerge
18086 from https://origsvn.digium.com/svn/asterisk/branches/1.2
18087 ........ r47686 | kpfleming | 2006-11-15 13:42:05 -0600 (Wed, 15
18088 Nov 2006) | 2 lines clear the category's variable tail pointer as
18089 well when variables are detached from it ........ r47688 |
18090 kpfleming | 2006-11-15 13:47:43 -0600 (Wed, 15 Nov 2006) | 2
18091 lines when appending a list of variable to a category, ensure the
18092 tail pointer points to the last variable in the list ........
18093 r47689 | kpfleming | 2006-11-15 13:58:46 -0600 (Wed, 15 Nov 2006)
18094 | 2 lines when re-writing the config file, don't repeat the path
18095 if it hasn't changed ........
18097 * main/config.c, /: Merged revisions 47682 via svnmerge from
18098 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18099 r47682 | kpfleming | 2006-11-15 12:39:47 -0600 (Wed, 15 Nov 2006)
18100 | 2 lines ouch... don't use printf, use ast_log/ast_verbose
18103 2006-11-15 17:46 +0000 [r47672] Luigi Rizzo <rizzo@icir.org>
18105 * main/cli.c: fix longest match search in find_cli. Trunk already
18106 fixed. 1.2 not affected (well, i have no idea, the code is
18107 totally different there).
18109 2006-11-15 15:25 +0000 [r47649-47656] Olle Johansson <oej@edvina.net>
18111 * /, channels/chan_sip.c: Send error message when we can't allocate
18112 SIP dialog, possibly due to limitation of file descriptors.
18113 (imported from 1.2)
18115 2006-11-15 04:45 +0000 [r47645] Joshua Colp <jcolp@digium.com>
18117 * main/rtp.c: If NAT detection is turned on or already detected
18118 then say NAT is active when setting the remote RTP peer when
18119 doing early bridging. (issue #8365 reported by marcelbarbulescu)
18121 2006-11-15 00:19 +0000 [r47641] Kevin P. Fleming <kpfleming@digium.com>
18123 * main/term.c: more formatting cleanup, and avoid running off the
18126 2006-11-15 00:14 +0000 [r47639] Joshua Colp <jcolp@digium.com>
18128 * main/rtp.c: Turn notice about unknown RTCP packet type into a
18129 debug message instead.
18131 2006-11-15 00:05 +0000 [r47635] Kevin P. Fleming <kpfleming@digium.com>
18133 * channels/misdn/isdn_lib.c: silence compiler warning on 64-bit
18134 platforms (this variable is an 'int' anyway, comparing it to
18135 'signed long' is not useful)
18137 2006-11-14 22:17 +0000 [r47625-47632] Joshua Colp <jcolp@digium.com>
18139 * apps/app_voicemail.c, /: Merged revisions 47631 via svnmerge from
18140 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18141 r47631 | file | 2006-11-14 17:15:10 -0500 (Tue, 14 Nov 2006) | 2
18142 lines Update copyright information in the ADSI logo blob.
18145 * channels/chan_sip.c: Only keep the video RTP structure around if
18146 1. Video support is enabled and 2. A video codec is enabled on
18149 * funcs/func_uri.c: Small documentation clarification for
18150 URIENCODE. (issue #8294 reported by salaud)
18152 2006-11-14 18:54 +0000 [r47621] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
18154 * apps/app_voicemail.c: Conversion of res_odbc API to include ast_
18155 prefix did not completely transition app_voicemail when
18156 ODBC_STORAGE is used (reported on IRC by caio1982, not in
18159 2006-11-14 16:45 +0000 [r47617] Joshua Colp <jcolp@digium.com>
18161 * apps/app_amd.c: Use LOG_DEBUG to print out the indication that
18162 app_amd is using default settings instead of using LOG_NOTICE.
18163 This stops needless logging of this information under normal
18164 circumstances. (issue #8361 reported by Seb7)
18166 2006-11-14 16:22 +0000 [r47597-47613] Olle Johansson <oej@edvina.net>
18168 * channels/chan_sip.c: Update documentation to fit the
18171 * /, channels/chan_sip.c: Issue #8272 - Don't destroy dialog in
18172 retransmission system if it's an OPTION packet from peerpoke
18174 2006-11-13 21:28 +0000 [r47584] Joshua Colp <jcolp@digium.com>
18176 * /, cdr/cdr_pgsql.c: Merged revisions 47583 via svnmerge from
18177 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18178 r47583 | file | 2006-11-13 16:26:36 -0500 (Mon, 13 Nov 2006) | 2
18179 lines Initialize global pointers for connection and result to
18180 NULL. (issue #8356 reported by james) ........
18182 2006-11-13 20:20 +0000 [r47581] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
18184 * /, channels/chan_sip.c: Merged revisions 47580 via svnmerge from
18185 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18186 r47580 | tilghman | 2006-11-13 14:18:30 -0600 (Mon, 13 Nov 2006)
18187 | 2 lines Having more than 255 old messages caused corruption in
18188 the new/old count ........
18190 2006-11-13 19:15 +0000 [r47576] Steve Murphy <murf@digium.com>
18192 * main/config.c: This solves bug 8342, whereby a crash occurs under
18193 certain circumstances while reading a config file with comments--
18194 a call to CB_ADD shouldn't happen if withcomments is zero
18196 2006-11-13 19:11 +0000 [r47573] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
18198 * main/cli.c, channels/chan_sip.c: Re-enable old deprecated
18201 2006-11-13 19:10 +0000 [r47572] Olle Johansson <oej@edvina.net>
18203 * /, channels/chan_sip.c: - Don't reply to INVITE already replied
18204 to when we get BYE - Declare errmsg as int. Oops.
18206 2006-11-13 18:18 +0000 [r47564] Steve Murphy <murf@digium.com>
18208 * pbx/ael/ael-test/ref.ael-test3: Eager people beat me to fixing
18209 the messed if, but we all forgot to update the regressions. Until
18212 2006-11-13 17:13 +0000 [r47553] Steve Murphy <murf@digium.com>
18214 * pbx/pbx_ael.c: AEL need not complain about parkedcalls not being
18215 found... just confuses users
18217 2006-11-13 17:08 +0000 [r47542-47551] Joshua Colp <jcolp@digium.com>
18219 * /, apps/app_sms.c: Merged revisions 47549 via svnmerge from
18220 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18221 r47549 | file | 2006-11-13 12:05:32 -0500 (Mon, 13 Nov 2006) | 2
18222 lines When sending an SMS with a user data header properly set
18223 the UDH flag in the first byte. (issue #8347 reported by
18226 * main/cli.c: Free full command string upon unregistering of CLI
18227 command. Backported from revision 47536 from rizzo.
18229 2006-11-13 16:00 +0000 [r47540] Olle Johansson <oej@edvina.net>
18231 * channels/chan_sip.c: Only produce error message about sip history
18234 2006-11-13 05:48 +0000 [r47527] Russell Bryant <russell@digium.com>
18236 * configure, acinclude.m4: AC_PROG_SED is included in autoconf
18237 2.60, but apparently it is not included in 2.59. So, to maintain
18238 compatability with 2.59 since it is a small change, copy this
18239 macro into acinclude.m4 and rename it to AST_PROG_SED. (issue
18242 2006-11-13 05:46 +0000 [r47523-47526] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
18244 * res/res_odbc.c, /: Merged revisions 47525 via svnmerge from
18245 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18246 r47525 | tilghman | 2006-11-12 23:45:11 -0600 (Sun, 12 Nov 2006)
18247 | 2 lines If the execute fails a second time, make sure that we
18248 don't pass back a stale handle ........
18250 * channels/chan_zap.c, /: Merged revisions 47522 via svnmerge from
18251 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18252 r47522 | tilghman | 2006-11-12 18:34:44 -0600 (Sun, 12 Nov 2006)
18253 | 2 lines Don't play dialtone if the seizing the channel fails
18254 (Bug 7754) ........
18256 2006-11-12 16:12 +0000 [r47507-47513] Olle Johansson <oej@edvina.net>
18258 * channels/chan_sip.c: Issue 8314 - Restore auto-framing (Thanks
18261 * channels/chan_sip.c: Part of issue 8078 - parse even if udptl is
18264 * channels/chan_sip.c: - Don't destroy SIP dialog because of a
18265 failed T.38 re-invite. Wait for a bye. Final response to a
18266 re-invite does not mean that the session dies, only that the
18267 re-invite fails. - Keep RTP active during processing of T.38
18268 re-invite. If the re-invite fails, RTP needs to remain as before
18269 the re-invite. Issue 8338 - darren1713. Please test.
18271 * channels/chan_sip.c: -Remove blocking of ptime: parsing in sdp
18272 -Add some comments to t.38 code
18274 2006-11-12 06:23 +0000 [r47492-47497] Russell Bryant <russell@digium.com>
18276 * /, channels/chan_iax2.c: Merged revisions 47496 via svnmerge from
18277 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18278 r47496 | russell | 2006-11-12 01:09:03 -0500 (Sun, 12 Nov 2006) |
18279 4 lines Only do the check to determine whether the channel
18280 calling this function is an IAX2 channel when getting the IP
18281 address using the special argument, CURRENTCHANNEL. (issue #8341,
18284 * Makefile: Add the target "menuconfig" as an alias for the
18285 "menuselect" target. This is just a favor to users so that if you
18286 accidentally type "make menuconfig" instead of "make menuselect",
18287 it still works. (inspired by a comment on IRC from wangster
18288 calling me an "especially devious asterisk developer" for having
18289 it be menuselect instead of menuconfig. :) )
18291 * main/term.c: Tweak the formatting of this new function to better
18292 conform to coding guidelines.
18294 2006-11-11 02:04 +0000 [r47490] Matt O'Gorman <mogorman@digium.com>
18296 * main/term.c, /, main/logger.c, include/asterisk/term.h: woohoo
18299 2006-11-10 22:23 +0000 [r47480] Matt Frederickson <creslin@digium.com>
18301 * channels/chan_zap.c: Make sure we don't use 32 bits when we only
18304 2006-11-10 21:42 +0000 [r47463-47476] Olle Johansson <oej@edvina.net>
18306 * channels/chan_sip.c: ...and make sure that the dialog is
18307 destroyed, even if we don't get any answer on the bye... This is
18308 the channel that remains dead after the SIP transfer
18310 * channels/chan_sip.c: Add debug output while trying to trace bug
18313 * channels/chan_sip.c: Make sure we destroy dialog...
18315 * /, channels/chan_sip.c: Small cleanup of handle_request_invite()
18316 - imported from 1.2 with changes
18318 2006-11-10 19:47 +0000 [r47462] Matt Frederickson <creslin@digium.com>
18320 * channels/chan_zap.c: Fix for #7321. Be able to explicitly hide
18321 callerid name for switches that bork on it.
18323 2006-11-10 18:56 +0000 [r47454] Olle Johansson <oej@edvina.net>
18325 * /, channels/chan_sip.c: Issue 8010 - Fix support for multipart
18328 2006-11-10 17:13 +0000 [r47444] Luigi Rizzo <rizzo@icir.org>
18330 * build_tools/prep_moduledeps: grep -m is not available on BSD, so
18331 use head -1 instead
18333 2006-11-10 16:53 +0000 [r47437] Joshua Colp <jcolp@digium.com>
18335 * apps/app_chanspy.c: Only split up extension and context if a
18336 value exists. (issue #8332 reported by loloski)
18338 2006-11-10 16:51 +0000 [r47436] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
18340 * channels/chan_mgcp.c, main/cli.c, channels/chan_sip.c,
18341 channels/chan_skinny.c, channels/chan_h323.c,
18342 channels/chan_iax2.c: Discussion of these CLI changes resulted in
18343 more consistency (Bug 8236)
18345 2006-11-10 16:36 +0000 [r47432-47433] Kevin P. Fleming <kpfleming@digium.com>
18347 * apps/app_queue.c: if adding a queue member is LOG_NOTICE, then
18348 removing them should be LOG_NOTICE, not LOG_DEBUG
18350 * apps/app_queue.c: reflect addition/removal of dynamic queue
18351 members in queue_log, so that people using dialplan replacement
18352 for AgentCallbackLogin can still track login/logout (issue #7736,
18353 reported/patched by whoiswes but this commit was written by me
18354 and covers all three paths for AQM/RQM)
18356 2006-11-10 13:04 +0000 [r47414-47418] Olle Johansson <oej@edvina.net>
18358 * channels/chan_sip.c: Rip out half implementation of 491 response
18359 support, since it wasn't implemented properly and caused memory
18360 leaks in the case of us getting 491's, which Asterisk actually
18361 sends... Since it is a bit too complicated to fix this, I'll rip
18362 it out of 1.4 and put it on the to-do-list for future releases.
18363 Now, we handle this as congestion, which it really is. Issue
18366 * channels/chan_sip.c: Fix bit definition for SIP_PAG2_CALL_ONHOLD.
18369 2006-11-10 03:44 +0000 [r47398-47405] Joshua Colp <jcolp@digium.com>
18371 * channels/chan_h323.c: Fix building of chan_h323 by completeing
18372 some structure definitions. (issue #8327 reported by Mithraen)
18374 * apps/app_voicemail.c: Do conversion in a more easier to read and
18375 working way for \r, \n, and \t. (issue #8324 reported by
18378 2006-11-09 21:26 +0000 [r47391] Russell Bryant <russell@digium.com>
18380 * apps/app_voicemail.c, channels/chan_zap.c,
18381 build_tools/prep_moduledeps: Work around an issue that caused
18382 menuselect to display a bogus description for app_voicemail and
18383 chan_zap. These modules use some preprocessor directives to
18384 determine what it will report to Asterisk as its description.
18385 However, the way we extract this information from the source
18386 files for menuselect is not smart enough to figure this out.
18387 (issue #8326, #8328)
18389 2006-11-09 16:53 +0000 [r47380] Joshua Colp <jcolp@digium.com>
18391 * channels/chan_phone.c, /: Merged revisions 47379 via svnmerge
18392 from https://origsvn.digium.com/svn/asterisk/branches/1.2
18393 ........ r47379 | file | 2006-11-09 11:48:05 -0500 (Thu, 09 Nov
18394 2006) | 2 lines Don't include compiler.h on kernels 2.6.18 and
18395 higher as, well, it's apparently going to be removed. This should
18396 make all you FC6 fans happy as your Asterisk will now build
18397 without any mods. ........
18399 2006-11-09 16:28 +0000 [r47352-47377] Russell Bryant <russell@digium.com>
18401 * main/cli.c: fix tab completion for "core debug channel" and "core
18404 * main/cli.c: Fix "core show channel". Also, fix tab completion for
18405 both "core show channel" and "core show channels".
18407 * main/cli.c: Fix "core debug channel <whatever>". I guess someone
18408 needs to go through and audit every CLI command that changed
18409 number of arguments ...
18411 * main/asterisk.c: revert the previous change, which actually
18412 modified the deprecated command, "show profile". Now, actually
18413 apply the change to "core show profile".
18415 * main/asterisk.c: Fix argument parsing for the "core show profile"
18416 CLI command (fixed by rizzo in his branch, team/rizzo/astobj2)
18418 * main/cli.c: Fix another CLI command, "core show uptime" ...
18419 (issue #8323, reported by johnlange, fixed by myself)
18421 * main/asterisk.c: fix "core show version" to reflect the new
18422 number of arguments for this CLI command (issue #8316, kshumard)
18424 2006-11-08 23:14 +0000 [r47344-47348] Steve Murphy <murf@digium.com>
18426 * main/channel.c: This update fixes 7531
18428 * channels/chan_skinny.c: Committed in behalf of 8190.
18430 2006-11-08 21:46 +0000 [r47333-47338] Kevin P. Fleming <kpfleming@digium.com>
18432 * main/frame.c: the battle over CLI command formats has broken
18435 * channels/chan_sip.c: add simple fix for SDP to report proper
18436 sample rate for G.722 media sessions
18438 2006-11-08 17:03 +0000 [r47323-47331] Russell Bryant <russell@digium.com>
18440 * utils/streamplayer.c: I occasionally get email from users that
18441 are trying to figure out what this does, or due to some
18442 misunderstanding as to what it is supposed to do, can't get it to
18443 work. So, I have added some text here to hopefully explain what
18444 this application does and does not do.
18446 * channels/chan_gtalk.c: Make this module build again
18448 * configure, configure.ac, acinclude.m4: Copy the macros from
18449 libtool.m4 to our own acinclude.m4 such that libtool is no longer
18450 required to be installed to be able to generated the configure
18453 2006-11-08 07:43 +0000 [r47309-47310] Olle Johansson <oej@edvina.net>
18455 * /, channels/chan_sip.c: Destroy dialog properly at unload (rizzo)
18457 2006-11-07 23:46 +0000 [r47303] Steve Murphy <murf@digium.com>
18459 * channels/chan_oss.c, main/channel.c, channels/chan_phone.c,
18460 channels/chan_misdn.c, channels/chan_skinny.c,
18461 channels/chan_features.c, channels/chan_h323.c,
18462 channels/chan_alsa.c, channels/chan_nbs.c, channels/chan_mgcp.c,
18463 include/asterisk/stringfields.h, apps/app_voicemail.c,
18464 main/pbx.c, channels/chan_vpb.cc, channels/chan_local.c,
18465 channels/chan_zap.c, channels/chan_sip.c, res/res_features.c,
18466 channels/chan_agent.c, main/utils.c, include/asterisk/channel.h,
18467 channels/chan_gtalk.c, channels/chan_iax2.c: These mods are to
18468 solve the problem in bug 7506. It's a lot of rework to solve a
18469 fairly small problem... such is life.
18471 2006-11-07 20:14 +0000 [r47284-47287] Joshua Colp <jcolp@digium.com>
18473 * channels/chan_local.c: Make MOH work as it did before in
18474 chan_local, without this then it can go funky when transfers and
18475 MOH are involved. (issue #7671 reported by jmls)
18477 2006-11-07 18:56 +0000 [r47279] Kevin P. Fleming <kpfleming@digium.com>
18479 * configs/musiconhold.conf.sample: clean up sample config, and make
18480 native file playback the more obvious default choice
18482 2006-11-07 18:38 +0000 [r47275] Matt O'Gorman <mogorman@digium.com>
18484 * apps/app_voicemail.c: large overhaul to voicemail imap support.
18485 Allows support for more imap servers, also a better
18486 implementation of several parts of the original work. patch
18487 provided by 8033 with major upgrades.
18489 2006-11-07 17:30 +0000 [r47268] Olle Johansson <oej@edvina.net>
18491 * channels/chan_sip.c: Issue 8303 (lrizzo) - break instead of
18494 2006-11-07 13:13 +0000 [r47250] Olle Johansson <oej@edvina.net>
18496 * /, channels/chan_sip.c: Fixing the attack shield so it doesn't
18497 produce attacks... Issue 8265 - never reply to an ACK
18499 2006-11-07 01:25 +0000 [r47239] Russell Bryant <russell@digium.com>
18501 * /, res/res_musiconhold.c: Merged revisions 47238 via svnmerge
18502 from https://origsvn.digium.com/svn/asterisk/branches/1.2
18503 ........ r47238 | russell | 2006-11-06 20:22:58 -0500 (Mon, 06
18504 Nov 2006) | 5 lines If random order is enabled for files mode
18505 music on hold, set a random initial position, instead of always
18506 starting at the first file, and doing the random operation only
18507 when switching to the next file. (bug reported by John Lange on
18508 the asterisk-dev mailing list) ........
18510 2006-11-04 18:32 +0000 [r47199] Olle Johansson <oej@edvina.net>
18512 * channels/chan_sip.c: Issue #8284: Fixes to Invite/replaces and
18513 transfer from "john" Thank you!
18515 2006-11-04 18:10 +0000 [r47192-47196] Russell Bryant <russell@digium.com>
18517 * main/cli.c: Fix another bug in "core set debug" ...
18519 * main/asterisk.c, main/cli.c: Really fix the "core set debug" and
18520 "core set verbose" CLI commands.
18522 * main/cli.c: fix the "atleast" option to the "core set verbose"
18523 and "core set debug" CLI commands
18525 2006-11-03 23:17 +0000 [r47176] Steve Murphy <murf@digium.com>
18527 * channels/chan_sip.c: This fix introduced via bug 8233
18529 2006-11-03 17:53 +0000 [r47107-47108] Luigi Rizzo <rizzo@icir.org>
18531 * bootstrap.sh: align bootstrap.sh with the version in trunk (needs
18532 to be blocked as it is already in trunk)
18534 * configure.ac: add proper environment vars to detect modules on
18535 freebsd. (already applied to trunk so it needs to be blocked
18538 2006-11-02 23:49 +0000 [r47051-47053] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
18540 * main/rtp.c, main/udptl.c, channels/chan_skinny.c, res/res_agi.c,
18541 channels/chan_h323.c, apps/app_queue.c, res/res_jabber.c: More
18542 changes making the CLI more consistent with "category verb
18543 arguments" (continuation of issue 8236)
18545 * main/config.c, main/cli.c, main/channel.c, main/manager.c,
18546 channels/chan_skinny.c, channels/chan_features.c, res/res_agi.c,
18547 main/http.c, main/file.c, main/logger.c, main/image.c,
18548 res/res_indications.c, main/asterisk.c, res/res_odbc.c,
18549 channels/chan_mgcp.c, apps/app_voicemail.c, main/pbx.c,
18550 channels/chan_local.c, main/frame.c, channels/chan_sip.c,
18551 res/res_features.c, channels/chan_agent.c, res/res_crypto.c,
18552 res/res_musiconhold.c, channels/chan_iax2.c, apps/app_queue.c:
18553 Reverse change of "show" to "list" and make several other
18554 commands more consistent with "category verb arguments"
18556 2006-11-02 19:56 +0000 [r46992-47015] Olle Johansson <oej@edvina.net>
18558 * channels/chan_sip.c: Move check for codec translation to
18559 sip_call() instead of in add_sdp. No one bothers with the result
18560 of add_sdp anyway... Yet...
18562 * channels/chan_sip.c: Disable code for T38 over TCP and RTP since
18563 there's no trace of actual functionality for it :-)
18565 2006-11-02 17:49 +0000 [r46965] Russell Bryant <russell@digium.com>
18567 * /, res/res_musiconhold.c: Merged revisions 46964 via svnmerge
18568 from https://origsvn.digium.com/svn/asterisk/branches/1.2
18569 ........ r46964 | russell | 2006-11-02 12:47:56 -0500 (Thu, 02
18570 Nov 2006) | 3 lines ignore files in a music on hold directory
18571 that begin with '.' (issue #8249, cboie) ........
18573 2006-11-02 17:17 +0000 [r46963] Nadi Sarrar <ns@beronet.com>
18575 * channels/misdn/isdn_lib.c: find_free_chan_in_stack usage fix
18577 2006-11-02 16:45 +0000 [r46937] Kevin P. Fleming <kpfleming@digium.com>
18579 * channels/chan_sip.c: don't send INVITE when we have determined
18580 that we can't offer any audio formats due to lack of transcoding
18581 support (or incorrect configuration)
18583 2006-11-02 16:06 +0000 [r46930] Joshua Colp <jcolp@digium.com>
18585 * /, channels/chan_sip.c: Merged revisions 46920 via svnmerge from
18586 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18587 r46920 | file | 2006-11-02 11:02:27 -0500 (Thu, 02 Nov 2006) | 2
18588 lines Repeat after me oej: I will at least make sure my code
18589 compiles before I commit it. ........
18591 2006-11-02 15:24 +0000 [r46901] Olle Johansson <oej@edvina.net>
18593 * /, channels/chan_sip.c: Dont overwrite pkt->flags (from 1.2)
18595 2006-11-02 14:02 +0000 [r46845-46883] Russell Bryant <russell@digium.com>
18597 * /, main/callerid.c: Add the missing call to free described in
18598 issue #8268. Also, add a bunch of missing calls to free in
18599 callerid_feed_jp().
18601 * main/say.c: fix saying one hundred and two hundred in hebrew
18602 (issue #7810, eldadran)
18604 * Makefile, configure, codecs/gsm/Makefile, configure.ac,
18605 build_tools/strip_nonapi, makeopts.in: Fixes for
18606 cross-compilation on mips (issue #8058, ywalther, with some
18609 * aclocal.m4, build_tools/menuselect-deps.in, configure,
18610 build_tools/embed_modules.xml, configure.ac: Add a check in the
18611 configure script to determine whether ld is GNU ld or not. This
18612 is needed because module embedding only works for gnu ld. GNU ld
18613 is now listed as a dependency for all of the module embedding
18614 options in menuselect. (issue #8143)
18616 2006-11-01 20:35 +0000 [r46822] Matt O'Gorman <mogorman@digium.com>
18618 * channels/chan_gtalk.c: bind address support from bug 8164
18620 2006-11-01 19:49 +0000 [r46802] Steve Murphy <murf@digium.com>
18622 * res/res_config_odbc.c: a fix for bug 8251; the var_val needs to
18623 accept longer strings or mass confusion and a lot of lost time is
18626 2006-11-01 18:39 +0000 [r46780] Joshua Colp <jcolp@digium.com>
18628 * main/Makefile: Force poll() emulation for Darwin to always be on.
18629 It's too broken to consider being used. This resolves the console
18630 issue OSX users have been seeing. I would have liked to autoconf
18631 this but I haven't been able to come up with a test case that
18634 2006-11-01 18:26 +0000 [r46778] Russell Bryant <russell@digium.com>
18636 * res/res_monitor.c, /: Merged revisions 46776 via svnmerge from
18637 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18638 r46776 | russell | 2006-11-01 13:24:17 -0500 (Wed, 01 Nov 2006) |
18639 9 lines soxmix and Asterisk expect different file extensions for
18640 certain formats. This was already handled for the wav49 format.
18641 However, it was not handled for ulaw and alaw. I fixed this in
18642 such a way that using the alternate extensions for ulaw and alaw
18643 will only happen if we know we're calling soxmix, and not a
18644 custom script defined using the MONITOR_EXEC variable. The wav49
18645 processing was left alone so that external scripts will see no
18646 behavior change. (issue #7550, reported by mnicholson, proposed
18647 patch by junky, committed fix is a bit different) ........
18649 2006-11-01 18:21 +0000 [r46775] Joshua Colp <jcolp@digium.com>
18651 * channels/chan_iax2.c: It's another round of chan_iax2 fixes!
18652 Should hopefully fix the deadlock issues people have been
18653 reporting. IAXtel now has qualify turned on for 800 peers and it
18654 is handling it fine.
18656 2006-11-01 17:48 +0000 [r46760] Steve Murphy <murf@digium.com>
18658 * main/config.c: Cleanups suggested by Russell.
18660 2006-11-01 16:39 +0000 [r46744] Russell Bryant <russell@digium.com>
18662 * channels/chan_zap.c: Prevent an infinite loop when config
18663 processing gets to a jitterbuffer option
18665 2006-10-31 22:02 +0000 [r46716] Jason Parker <jparker@digium.com>
18667 * main/translate.c: Fix "core show translation" output. Issue
18668 #8243, patch by Damin.
18670 2006-10-31 21:47 +0000 [r46711-46714] Kevin P. Fleming <kpfleming@digium.com>
18672 * include/asterisk/translate.h, main/translate.c: add an API so
18673 that translators can activate/deactivate themselves when needed
18675 * include/asterisk/translate.h, main/translate.c: revert changes
18676 that were the wrong way to address this... proper fix coming
18678 * main/translate.c: let's set the seen flag early enough to
18679 actually make a difference...
18681 * include/asterisk/translate.h, main/translate.c: don't re-do setup
18682 operations for translators that can dynamically register
18685 2006-10-31 10:56 +0000 [r46583-46631] Olle Johansson <oej@edvina.net>
18687 * main/enum.c, funcs/func_enum.c, include/asterisk/enum.h: Issue
18688 #8089 - Fix the ENUM support (picking one record by number).
18691 * /, channels/chan_sip.c, configs/sip.conf.sample: Support ;rport
18692 when we're supposed to support ;rport. Issue #7473.
18694 * /, channels/chan_sip.c: If peer fails ACL check, fail peer at
18697 * channels/chan_sip.c: Fix T38 too. Thanks, tgrman !
18699 2006-10-31 06:30 +0000 [r46554-46563] Russell Bryant <russell@digium.com>
18701 * contrib/init.d/rc.redhat.asterisk: Start Asterisk later in the
18702 boot process to ensure it starts after stuff like MySQL (issue
18705 * /, main/utils.c: Merged revisions 46560 via svnmerge from
18706 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18707 r46560 | russell | 2006-10-31 01:18:36 -0500 (Tue, 31 Oct 2006) |
18708 3 lines When handling the case where the hostname is just an IPV4
18709 numeric address, be sure to set the address type. (issue #8247,
18712 * /, res/res_agi.c: Merged revisions 46557 via svnmerge from
18713 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18714 r46557 | russell | 2006-10-31 01:13:09 -0500 (Tue, 31 Oct 2006) |
18715 3 lines fix some copy/paste bugs in the checking of arguments for
18716 the "control stream file" AGI command (issue #8255, mnicholson)
18719 * main/translate.c: Add a small tweak to the code that checks to
18720 see whether destination formats are translatable based on the
18721 source format. If we have already determined that there is no
18722 translation path in one direction, don't bother checking the
18725 2006-10-30 22:19 +0000 [r46511-46526] Kevin P. Fleming <kpfleming@digium.com>
18727 * main/translate.c: when unregistering a translator, don't rebuild
18728 the translation matrix unless needed when filtering formats out
18729 of an offer, ensure we check for translation ability in both
18732 * include/asterisk/linkedlists.h: ensure that items removed from a
18733 list are always unlinked from the list (next pointer set to NULL)
18735 2006-10-30 21:09 +0000 [r46474-46506] Joshua Colp <jcolp@digium.com>
18737 * configure, configure.ac: Don't explicitly link in crypt as it is
18738 not used on some platforms.
18740 * channels/chan_iax2.c: We need to lock the pvt structure during
18741 retransmission as another worker thread may be doing something as
18744 2006-10-30 16:27 +0000 [r46382-46433] Olle Johansson <oej@edvina.net>
18746 * main/asterisk.c, apps/app_voicemail.c, include/asterisk/file.h,
18747 include/asterisk/doxyref.h, channels/chan_sip.c,
18748 main/ast_expr2f.c, include/asterisk/module.h,
18749 formats/format_ogg_vorbis.c, main/app.c,
18750 include/asterisk/channel.h, include/asterisk/lock.h,
18751 include/asterisk/frame.h: Issue #8246 - Doxygen fixes from
18752 kshumard. An extra big thankyou is given to everyone that
18753 contributes to doxygen! THANK YOU!
18755 * main/rtp.c, /: Bind RTCP to the same IP as RTP
18757 * /, channels/chan_sip.c: Issue #7869 - Stop retransmission of 302
18758 redirects (imported from 1.2)
18760 * /, channels/chan_sip.c: Issue #7608 - Notifications sent with
18761 wrong content-type (imported from 1.2, modified)
18763 * channels/chan_sip.c, CHANGES: Backport of patch for #7828 that
18764 was reported for trunk, but obviously exists in 1.4 too.
18766 * channels/chan_sip.c: Restoring the old logic, since working
18767 around it and fixing it seemed too complicated. - The
18768 SIP_OUTGOING flag indicates the direction of the last transaction
18769 in the dialog. - The initreq stores the last request in the
18770 dialog, the request that opened the latest transaction. Please
18771 now retry all the 1.4 bug reports with mixed to/from headers,
18772 tags etc in ACK, BYE, CANCEL. Thanks!
18774 * channels/chan_sip.c: Accepting a message twice may be
18777 * channels/chan_sip.c: - 183 is not reliable message... - Error
18778 should not have SDP
18780 2006-10-28 16:37 +0000 [r46377] Joshua Colp <jcolp@digium.com>
18782 * utils/Makefile: Don't build muted on OpenBSD, it is not
18785 2006-10-27 19:03 +0000 [r46370] Russell Bryant <russell@digium.com>
18787 * channels/chan_zap.c: move the copy of the default settings to the
18788 global settings back out of process_zap, so that they aren't
18789 overwritten when process_zap is called multiple times
18791 2006-10-27 18:29 +0000 [r46367] Olle Johansson <oej@edvina.net>
18793 * contrib/asterisk-ng-doxygen: Put some doxygen pressure on
18796 2006-10-27 17:39 +0000 [r46358-46363] Russell Bryant <russell@digium.com>
18798 * main/asterisk.c, res/res_agi.c, apps/app_externalivr.c,
18799 res/res_musiconhold.c: We should always be using _exit() after a
18800 fork() or vfork() instead of exit(). This is because exit() does
18801 some extra cleanup which in some implementations of vfork(), for
18802 example, can actually modify the state of the parent process,
18803 causing very weird bugs or crashes. (issue #7971, Nick Gavrikov)
18805 * channels/chan_zap.c: Instead of iterating all of the options once
18806 to look for jitterbuffer options, and then again for everything
18807 else, move the processing of jitterbuffer options into the main
18808 loop so that there are no erroneous messages about ignoring
18809 unknown options. (issue #8226)
18811 2006-10-27 10:03 +0000 [r46351-46353] Christian Richter <christian.richter@beronet.com>
18813 * channels/misdn/isdn_lib.c, channels/misdn/isdn_lib.h,
18814 channels/chan_misdn.c, /, channels/misdn/isdn_msg_parser.c:
18815 Merged revisions 46350 via svnmerge from
18816 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18817 r46350 | crichter | 2006-10-27 11:24:01 +0200 (Fr, 27 Okt 2006) |
18818 1 line fixed a bug which caused chan_misdn to try to allocate 2
18819 times the same channel on high load, which then caused
18820 instability of mISDN. removed a useless function from isdn_lib.c
18823 * channels/misdn_config.c: fixed not compile issue, which was just
18826 * channels/misdn_config.c, channels/chan_misdn.c, /,
18827 channels/misdn/chan_misdn_config.h, configs/misdn.conf.sample:
18828 Merged revisions 46176 via svnmerge from
18829 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18830 r46176 | crichter | 2006-10-25 10:41:59 +0200 (Mi, 25 Okt 2006) |
18831 1 line added nttimeout option to configure wether we disconnect
18832 calls on NT timeouts or not during an overlapdial session
18835 2006-10-26 17:57 +0000 [r46335-46340] Jason Parker <jparker@digium.com>
18837 * /, contrib/scripts/astgenkey.8: Merged revisions 46337 via
18839 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
18840 r46337 | qwell | 2006-10-26 12:47:52 -0500 (Thu, 26 Oct 2006) | 2
18841 lines oops - somebody forgot to change this - long ago, probably.
18844 * CHANGES: grammar check
18846 2006-10-26 16:38 +0000 [r46331] Olle Johansson <oej@edvina.net>
18848 * CHANGES: Corrections to changes (Multiparking is not included)
18850 2006-10-26 16:31 +0000 [r46329] Russell Bryant <russell@digium.com>
18852 * main/translate.c: - If the source has no audio or no video
18853 portion, do not call powerof() to get the format index. - Don't
18854 run through the audio and video loops if there is no audio or
18855 video portion of the source If 0 is passed to powerof, it will
18856 return -1. This value of -1 was then being used as an array index
18857 in these loops, which caused a crash on some systems. Other than
18858 this issue, this code works as we expected it to. If a format is
18859 not in the source, and we have to translation path to it, it is
18860 not offered in the list of acceptable destination formats. (fixes
18863 2006-10-26 12:15 +0000 [r46317] Kevin P. Fleming <kpfleming@digium.com>
18865 * CHANGES: update to reflect G.722 addition
18867 2006-10-26 04:18 +0000 [r46298] Russell Bryant <russell@digium.com>
18869 * doc/backtrace.txt: update backtrace documentation to reflect
18870 changes in 1.4 (issue #8230, kshumard)
18872 2006-10-26 01:37 +0000 [r46287] Mark Spencer <markster@digium.com>
18874 * main/config.c, main/manager.c: Fix config comment code
18875 preservation code (thanks murf!)
18877 2006-10-25 20:14 +0000 [r46276] Olle Johansson <oej@edvina.net>
18879 * channels/chan_sip.c: Old todo note - Don't add Contact header on
18882 2006-10-25 19:24 +0000 [r46253-46255] Russell Bryant <russell@digium.com>
18884 * configure.ac: fix error output when checking for openh323 to
18885 refer to openh323 instead of pwlib (issue #8222, misaksen)
18887 2006-10-25 19:16 +0000 [r46252] Olle Johansson <oej@edvina.net>
18889 * channels/chan_sip.c: Somewhat ugly code to try to fix issue
18890 #7608. Since the problem was not very well defined, the fix is a
18891 bit fuzzy too... Thanks to Luigi for accidentally spotting the
18894 2006-10-25 19:08 +0000 [r46249] Russell Bryant <russell@digium.com>
18896 * apps/app_queue.c: update warning message to include "agi" option
18897 (issue #8225, jmls)
18899 2006-10-25 18:13 +0000 [r46237-46248] Kevin P. Fleming <kpfleming@digium.com>
18901 * sounds/Makefile: use 1.4.3 extra sounds with corrected silence
18904 * sounds/sounds.xml, sounds/Makefile: add support for prebuilt
18905 G.722 prompts and music on hold files
18907 2006-10-25 15:56 +0000 [r46214-46216] Olle Johansson <oej@edvina.net>
18909 * channels/chan_sip.c: show settings doesn't produce a list of
18910 similar objects, it should stay a "show"
18912 2006-10-25 14:32 +0000 [r46200] Kevin P. Fleming <kpfleming@digium.com>
18914 * main/cli.c, main/cdr.c, channels/chan_phone.c, pbx/pbx_spool.c,
18915 channels/chan_features.c, pbx/pbx_ael.c, channels/chan_h323.c,
18916 pbx/pbx_realtime.c, channels/chan_alsa.c, apps/app_sms.c,
18917 main/image.c, channels/chan_nbs.c, apps/app_rpt.c, main/db.c,
18918 cdr/cdr_custom.c, channels/chan_mgcp.c,
18919 apps/app_parkandannounce.c, apps/app_voicemail.c,
18920 channels/chan_sip.c, apps/app_softhangup.c, apps/app_record.c,
18921 res/res_adsi.c, main/utils.c, apps/app_ices.c,
18922 pbx/dundi-parser.c, channels/chan_iax2.c, apps/app_queue.c,
18923 apps/app_getcpeid.c: apparently developers are still not aware
18924 that they should be use ast_copy_string instead of strncpy... fix
18925 up many more users, and fix some bugs in the process
18927 2006-10-25 04:58 +0000 [r46165] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
18929 * main/pbx.c: WaitExten truncates decimals of times to wait,
18930 instead of accepting them (Bug 8208)
18932 2006-10-25 00:26 +0000 [r46152-46154] Kevin P. Fleming <kpfleming@digium.com>
18934 * main/rtp.c, main/frame.c, main/translate.c, formats/format_pcm.c,
18935 channels/chan_h323.c, channels/chan_iax2.c,
18936 include/asterisk/frame.h: add passthrough and file format support
18937 for G.722 16KHz audio (issue #5084, original patch by andrew,
18938 updated by mithraen)
18940 * channels/chan_sip.c, main/translate.c: code zone experiment:
18941 don't offer formats in the outbound INVITE that aren't either
18942 passthrough or translatable
18944 * main/translate.c: if multiple translators are registered for the
18945 same source/dest combination, ensure that the lowest-cost one is
18946 always inserted earlier in the list
18948 2006-10-24 20:30 +0000 [r46142] Mark Spencer <markster@digium.com>
18950 * res/res_agi.c: Fix FastAGI when there is no pid (bug #7628,
18953 2006-10-24 19:29 +0000 [r46130] Joshua Colp <jcolp@digium.com>
18955 * channels/chan_iax2.c: We need to initialize our scheduler pthread
18958 2006-10-24 08:34 +0000 [r46114-46117] Luigi Rizzo <rizzo@icir.org>
18960 * main/http.c: merge 45152 don't leak descriptors in http.c
18962 * channels/chan_sip.c: merge 45966 refer_to_domain potentially
18965 * channels/chan_sip.c: merge 46026 improper checks on get_header()
18968 * channels/chan_sip.c: merge 46045 prevent NULL args to
18969 ast_strdupa() in chan_sip.c
18971 2006-10-24 05:23 +0000 [r46093] Russell Bryant <russell@digium.com>
18973 * Makefile: Restore the ability to remove the firmware directory
18974 without causing the installation to fail (issue #8111)
18976 2006-10-24 03:53 +0000 [r46080-46083] Kevin P. Fleming <kpfleming@digium.com>
18978 * main/translate.c: ensure that the translation matrix is properly
18979 lock-protected every place it is used
18981 * include/asterisk/translate.h, main/translate.c: add an API call
18982 to allow channel drivers to determine which media formats are
18983 compatible (passthrough or transcode) with the format an existing
18984 channel is already using
18986 * doc/imapstorage.txt: simplify and correct voicemail IMAP storage
18989 2006-10-24 03:01 +0000 [r46078] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
18991 * main/channel.c: Pass through a frame if we don't know what it is,
18992 rather than trying to pass a NULL, which will segfault a channel
18995 2006-10-24 01:27 +0000 [r45999-46067] Russell Bryant <russell@digium.com>
18997 * utils/muted.c, utils/ael_main.c: In muted.c, check the return
18998 value of strdup. In ael_main.c, check the return value of calloc.
18999 (issue #8157) In passing fix a few minor bugs in ael_main.c. The
19000 last argument to strncpy() was a hard-coded 100, where it should
19001 have been 99. I changed this to use sizeof() - 1.
19003 * apps/app_meetme.c: Fix the descriptions of some of the
19004 MeetMeAdmin options (issue #8098, mflorell)
19006 * res/res_jabber.c: don't crash when an incoming message has no
19007 "from" (issue #8205, jmls)
19009 2006-10-23 00:27 +0000 [r45928] Joshua Colp <jcolp@digium.com>
19011 * /, cdr/cdr_odbc.c: Merged revisions 45927 via svnmerge from
19012 https://origsvn.digium.com/svn/asterisk/branches/1.2 ........
19013 r45927 | file | 2006-10-22 20:25:28 -0400 (Sun, 22 Oct 2006) | 2
19014 lines Don't leak memory mmmk? ........
19016 2006-10-22 21:44 +0000 [r45916] Christian Richter <christian.richter@beronet.com>
19018 * channels/chan_misdn.c, /: Merged revisions 45808 via svnmerge
19019 from https://origsvn.digium.com/svn/asterisk/branches/1.2
19020 ........ r45808 | crichter | 2006-10-21 14:35:13 +0200 (Sat, 21
19021 Oct 2006) | 1 line fixed issue, that if chan_misdn is loaded and
19022 couldn't be initialized it would cause a segfault after 'reload'.
19023 Reported by Drew/Matt thx. ........
19025 2006-10-21 18:49 +0000 [r45818] Russell Bryant <russell@digium.com>
19027 * res/res_monitor.c: Add a couple missing unregistrations of
19028 manager actions and remove duplicate unregistrations of
19029 applications. (issue #8194, jmls)
19031 2006-10-21 18:48 +0000 [r45775-45817] Joshua Colp <jcolp@digium.com>
19033 * main/loader.c: Don't use promotion on Darwin because it doesn't
19034 seem to work quite right in all cases, this should solve the
19035 unresolved symbol issue people have been seeing.
19037 * Makefile: Pass DESTDIR and ASTSBINDIR so that the utilities get
19038 installed in the proper location (reported on asterisk-dev
19041 2006-10-20 07:44 +0000 [r45741] Olle Johansson <oej@edvina.net>
19043 * channels/chan_sip.c: Let's understand SIP: - REFER can create
19044 dialog, Asterisk does not support it yet - NOTIFY can create
19045 dialog in Asterisk's implementation (voicemail) even though we
19046 don't support the server side of it. In this case, the standard
19047 is a side issue ;-) - Added extened functionality for unsupported
19048 methods (PING, PUBLISH) so we don't create PVT's for those
19049 either. Russellb needs to judge what to do with this in 1.2, but
19050 I think the current implementation n 1.2 is a bug since we're
19051 sending bad replies to NOTIFY and REFER outside of dialogs
19053 2006-10-19 17:24 +0000 [r45678-45694] Joshua Colp <jcolp@digium.com>
19055 * res/res_jabber.c: Let's remember to unregister JabberStatus too
19056 (issue #8184 reported by jmls)
19058 * /, apps/app_externalivr.c: Merged revisions 45691 via svnmerge
19059 from https://origsvn.digium.com/svn/asterisk/branches/1.2
19060 ........ r45691 | file | 2006-10-19 13:16:37 -0400 (Thu, 19 Oct
19061 2006) | 2 lines Respect language selection when seeing if the
19062 file exists (issue #8178 reported by mnicholson) ........
19064 * channels/chan_sip.c: If the jitterbuffer is forced on then we
19065 can't partially bridge (reported by wangster on #asterisk-dev)
19067 2006-10-19 00:59 +0000 [r45622] Russell Bryant <russell@digium.com>
19069 * channels/chan_sip.c: Don't leak the actual thread-specific
19072 2006-10-18 23:49 +0000 [r45621] Kevin P. Fleming <kpfleming@digium.com>
19074 * channels/chan_sip.c: don't leak memory when a chan_sip thread is
19075 destroyed that has a thread-local temp_pvt allocated
19077 2006-10-18 21:03 +0000 [r45595] Joshua Colp <jcolp@digium.com>
19079 * main/asterisk.c: Don't modify things if we are using vfork as
19080 this is very bad and may cause unexpected behavior (issue #7970
19081 reported by Nick Gavrikov)
19083 2006-10-18 11:54 +0000 [r45517] Olle Johansson <oej@edvina.net>
19085 * channels/chan_sip.c: remove duplicate declarations
19087 2006-10-18 04:09 +0000 [r45464] Luigi Rizzo <rizzo@icir.org>
19089 * main/http.c: merge from trunk: move ast_variables_destroy() to a
19090 better place in handle_uri() to avoid leaking memory on non
19093 2006-10-18 03:02 +0000 [r45452] Joshua Colp <jcolp@digium.com>
19095 * main/rtp.c: Don't segfault if you're using a channel driver that
19096 doesn't turn RTCP on
19098 2006-10-18 02:41 +0000 [r45439-45441] Russell Bryant <russell@digium.com>
19100 * main/channel.c: Don't attempt to access private data members of
19101 the pthread_mutex_t object, because this does not work on all
19102 linux systems. Instead, just access the reentrancy field in the
19103 ast_mutex_info struct when DEBUG_THREADS is enabled. If
19104 DEBUG_CHANNEL_LOCKS is enabled, the developer probably has
19105 DEBUG_THREADS on as well. (issue #8139, me)
19107 * configs/sip_notify.conf.sample: update entry to reboot a snom
19108 phone (issue #7850, pnlarsson)
19110 2006-10-17 Kevin P. Fleming <kpfleming@digium.com>
19112 * Asterisk 1.4.0-beta3 released.
19114 2006-10-17 22:31 +0000 [r45408-45410] Kevin P. Fleming <kpfleming@digium.com>
19116 * include/asterisk/stringfields.h, main/ast_expr2.c,
19117 main/channel.c, channels/chan_sip.c, channels/chan_iax2.c:
19118 optimize the 'quick response' code a bit more... no more malloc()
19119 or memset() for each response expand stringfields API a bit to
19120 allow reusing the stringfield pool on a structure when needed,
19121 and remove some unnecessary code when the structure was being
19124 2006-10-17 20:38 +0000 [r45378-45381] Joshua Colp <jcolp@digium.com>
19126 * channels/chan_sip.c: Don't create a "real" pvt structure for
19127 requests that shouldn't be able to create one. Instead use a
19128 temporary pvt and fill it with enough information so we can send
19131 2006-10-17 17:39 +0000 [r45329] Olle Johansson <oej@edvina.net>
19133 * configs/sip.conf.sample: Adding information about Marks
19134 direct-RTP hack to the docs...
19136 2006-10-17 17:22 +0000 [r45327] Kevin P. Fleming <kpfleming@digium.com>
19138 * LICENSE: provide licensing language for IAXy firmware file
19140 2006-10-16 20:06 +0000 [r45246-45280] Joshua Colp <jcolp@digium.com>
19142 * apps/app_dial.c, apps/app_directed_pickup.c: Backport of new
19143 directed pickup (BE-85).
19145 2006-10-16 13:59 +0000 [r45196-45213] Olle Johansson <oej@edvina.net>
19147 * CREDITS: Adding Inotel to credits for SIP transfers. Thanks for
19150 * channels/chan_sip.c: Don't destroy dialog for unexpected REFER
19153 2006-10-14 04:38 +0000 [r45143] Steve Murphy <murf@digium.com>
19155 * funcs/func_rand.c: update the doc string for both AEL and
19156 extensions.conf users.
19158 2006-10-13 23:02 +0000 [r45125] Kevin P. Fleming <kpfleming@digium.com>
19160 * main/acl.c don't drop the entire permit/deny list when an attempt
19161 is made to add an invalid entry (BE-92)
19163 2006-10-13 21:06 +0000 [r45104-45106] Joshua Colp <jcolp@digium.com>
19165 * res/res_speech.c: Clear the quiet flag too since we are
19166 restarting a recognition again (reported on -dev by Stephan
19169 * res/res_speech.c: Check return value from engine in case of
19170 failure (ie: out of licenses) (reported on -dev mailing list)
19172 2006-10-13 20:52 +0000 [r45103] Steve Murphy <murf@digium.com>
19174 * pbx/ael/ael-test/ref.ael-vtest17 (added),
19175 pbx/ael/ael-test/ael-vtest17/extensions.ael (added),
19176 pbx/ael/ael-test/ael-vtest17 (added),
19177 pbx/ael/ael-test/ref.ael-test3, pbx/pbx_ael.c: Bug 8128 fixed in
19178 this release via these changes
19180 2006-10-13 19:19 +0000 [r45088] Christian Richter <christian.richter@beronet.com>
19182 * channels/chan_misdn.c: avoiding warning, fixing potential bug
19184 2006-10-13 18:42 +0000 [r45051-45079] Joshua Colp <jcolp@digium.com>
19186 * codecs/lpc10/placev.c, codecs/lpc10/irc2pc.c,
19187 codecs/lpc10/decode.c, codecs/lpc10/dcbias.c,
19188 codecs/lpc10/pitsyn.c, codecs/lpc10/voicin.c,
19189 codecs/lpc10/difmag.c, codecs/lpc10/hp100.c,
19190 codecs/lpc10/synths.c, codecs/lpc10/preemp.c,
19191 codecs/lpc10/rcchk.c, codecs/lpc10/lpfilt.c,
19192 codecs/lpc10/mload.c, codecs/lpc10/lpcenc.c,
19193 codecs/lpc10/vparms.c, codecs/lpc10/dyptrk.c,
19194 codecs/lpc10/lpcini.c, codecs/lpc10/random.c,
19195 codecs/lpc10/ham84.c, codecs/lpc10/chanwr.c,
19196 codecs/lpc10/placea.c, codecs/lpc10/tbdm.c,
19197 codecs/lpc10/analys.c, codecs/lpc10/onset.c,
19198 codecs/lpc10/energy.c, codecs/lpc10/deemp.c,
19199 codecs/lpc10/lpcdec.c, codecs/lpc10/ivfilt.c,
19200 codecs/lpc10/median.c, codecs/lpc10/encode.c,
19201 codecs/lpc10/bsynz.c, codecs/lpc10/prepro.c,
19202 codecs/lpc10/invert.c: And file said... let the compiler warnings
19205 * apps/app_chanspy.c: Turn on volume adjustment if it needs to be on (issue #8136
19206 reported by mnicholson)
19208 * apps/app_playback.c: Move say.conf existence check to do_say
19209 function since it is called from multiple places (issue #8144
19210 reported by kshumard)
19212 2006-10-13 16:19 +0000 [r45049] Kevin P. Fleming <kpfleming@digium.com>
19214 * channels/chan_iax2.c: when sending a call to a peer, use the proper socket if
19215 we have multiple bindings (reported on asterisk-dev)
19217 2006-10-13 16:01 +0000 [r45031-45040] Joshua Colp <jcolp@digium.com>
19219 * channels/chan_sip.c: Complete merging in RPID screen changes
19220 (issue #8101 reported by hristo, patch by oej in revision 44757)
19222 * main/dnsmgr.c: Pass the right value to usleep for sleeping, and always add
19223 the background refresh item back into the scheduler if enabled
19224 since it is deleted during reload. (issue #8142 reported by
19227 2006-10-13 15:41 +0000 [r45027] Kevin P. Fleming <kpfleming@digium.com>
19229 * configure, include/asterisk/autoconfig.h.in, configure.ac,
19230 main/utils.c: use a configure script test for PMTU discovery
19231 control instead of just assuming it's available on Linux
19233 2006-10-13 14:45 +0000 [r44994-45026] Christian Richter <christian.richter@beronet.com>
19235 * channels/misdn/isdn_lib.c, channels/chan_misdn.c: fixed some
19236 echocandisable issues when bridged. this caused a kernel panic
19237 sometimes.. also some minor formatting fixes
19239 * channels/misdn/isdn_msg_parser.c: fixed issue that the hangupcause
19240 got a wrong isdn cause at RELEASE_COMPLETE
19242 2006-10-12 22:07 +0000 [r44992] Luigi Rizzo <rizzo@icir.org>
19244 * channels/chan_sip.c: merge formatting and minor code
19245 simplifications from trunk
19247 2006-10-12 20:34 +0000 [r44982] Matt O'Gorman <mogorman@digium.com>
19249 * channels/chan_gtalk.c: fix for bug 7764.
19251 2006-10-12 19:14 +0000 [r44956-44971] Kevin P. Fleming <kpfleming@digium.com>
19253 * channels/chan_sip.c: we can only send one 'a=ptime' attribute per
19254 media session, not one for each format
19256 * main/netsock.c, include/asterisk/utils.h, channels/chan_sip.c,
19257 main/utils.c: ensure that IAX2 and SIP sockets allow UDP
19258 fragmentation when running on Linux (thanks to Brian Candler on
19259 the asterisk-dev list for the tip)
19261 2006-10-12 16:56 +0000 [r44945] Russell Bryant <russell@digium.com>
19263 * main/manager.c: fix a silly typo in a comment that I saw while
19264 reading the commit list
19266 2006-10-12 16:08 +0000 [r44942] Joshua Colp <jcolp@digium.com>
19268 * Makefile: Pass off AUDIO_LIBS so muted can link on OSX (issue
19269 #8135 reported by ssokol)
19271 2006-10-12 12:55 +0000 [r44921] Nadi Sarrar <ns@beronet.com>
19273 * main/manager.c: append_event must be called while holding the
19276 2006-10-12 10:24 +0000 [r44911] Russell Bryant <russell@digium.com>
19278 * res/res_jabber.c: change some debug output to use LOG_DEBUG
19279 instead of verbose output
19281 2006-10-11 16:57 +0000 [r44888] Jason Parker <jparker@digium.com>
19283 * main/db1-ast/Makefile: These are already set by the parent
19284 Makefile.. There is no need to have this here (it doesn't
19285 actually work anyways).
19287 2006-10-11 09:18 +0000 [r44854] Christian Richter <christian.richter@beronet.com>
19289 * channels/misdn/isdn_lib.c: removed warning because of missing
19290 prototype declaration
19292 2006-10-10 19:23 +0000 [r44830] Olle Johansson <oej@edvina.net>
19294 * channels/chan_sip.c: Do not set default/global values in the
19295 variable declaration, set it in reload_config()
19297 2006-10-10 17:21 +0000 [r44819] Joshua Colp <jcolp@digium.com>
19299 * channels/chan_sip.c: Move some stuff around so that a NOTIFY
19300 dialog won't hang around until the end of the world under certain
19303 2006-10-10 16:44 +0000 [r44809] Paul Cadach <paul@odt.east.telecom.kz>
19305 * main/channel.c, funcs/func_channel.c, include/asterisk/channel.h:
19306 CHANNEL() function sometime mix parameter and value
19308 2006-10-10 16:42 +0000 [r44808] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
19310 * funcs/func_logic.c: Lost of a bit of logic when this was
19311 simplified between 1.2 and 1.4 (Bug 8117)
19313 2006-10-10 16:30 +0000 [r44806] Joshua Colp <jcolp@digium.com>
19315 * channels/chan_sip.c: Bail out if we have no refer structure and
19316 we get a refer response
19318 2006-10-10 16:21 +0000 [r44805] Luigi Rizzo <rizzo@icir.org>
19320 * channels/chan_sip.c: more merge from trunk (comments and change a
19321 static function name)
19323 2006-10-10 15:23 +0000 [r44788] Joshua Colp <jcolp@digium.com>
19325 * channels/chan_sip.c: Only set DTMF information if an RTP
19328 2006-10-10 13:50 +0000 [r44786] Christian Richter <christian.richter@beronet.com>
19330 * channels/misdn/isdn_lib.c, channels/chan_misdn.c: (re)added
19331 support of dynamically enabling hdlc on bchannels
19333 2006-10-10 08:25 +0000 [r44776-44777] Luigi Rizzo <rizzo@icir.org>
19335 * channels/chan_sip.c: whitespace changes related to previous
19338 * channels/chan_sip.c: merge a few code simplifications that have
19339 gone into trunk during last week, to reduce differences between
19340 the two branches and make porting fixes easier.
19342 2006-10-09 16:12 +0000 [r44764] Jason Parker <jparker@digium.com>
19344 * channels/chan_skinny.c: Fix a problem where phones that go
19345 "missing" never got unregistered. Issue #8067, reported by pj,
19346 patch by Anthony LaMantia (with minor whitespace modifications)
19348 2006-10-09 15:46 +0000 [r44759-44760] Joshua Colp <jcolp@digium.com>
19350 * channels/chan_iax2.c: iaxs[callno] may go away if we try to avoid
19353 * channels/chan_iax2.c: Properly avoid a collision with iax2_hangup
19354 (issue #8115 reported by vazir)
19356 2006-10-08 14:14 +0000 [r44746] Luigi Rizzo <rizzo@icir.org>
19358 * channels/chan_sip.c: do not dereference p if we
19361 2006-10-07 14:39 +0000 [r44684] Paul Cadach <paul@odt.east.telecom.kz>
19363 * channels/h323/ast_h323.cxx, channels/chan_h323.c,
19364 channels/h323/ast_h323.h, channels/h323/chan_h323.h: Propagate
19365 caller's transfer capability too
19367 2006-10-07 11:37 +0000 [r44650-44665] Luigi Rizzo <rizzo@icir.org>
19369 * channels/chan_sip.c: put common code in a
19370 function to avoid repetitions.
19372 * channels/chan_sip.c: remove hardwired usage of 5060, use
19373 DEFAULT_SIP_PORT instead
19375 * channels/chan_sip.c: option_debug checking
19376 before printing to debug channel.
19378 * channels/chan_sip.c: backport simplifications on sip_register,
19379 usage of ast_set2_flag(), and fixes to the handling of failed
19382 * channels/chan_sip.c: improve and document function
19383 get_in_brackets(), introducing a helper function
19384 find_closing_quote() of more general use.
19386 2006-10-06 21:28 +0000 [r44629-44631] Kevin P. Fleming <kpfleming@digium.com>
19388 * include/asterisk/linkedlists.h: ensure that mutex locks inside
19389 list heads are initialized properly on platforms that require
19390 constructor initialization (issue #8029, patch from timrobbins)
19392 * CHANGES: remove Jingle as per mog
19394 2006-10-06 21:08 +0000 [r44628] Joshua Colp <jcolp@digium.com>
19396 * main/rtp.c: Remove the seqno check for RFC2833, the handler is
19397 smart enough to not need it.
19399 2006-10-06 21:07 +0000 [r44627] Kevin P. Fleming <kpfleming@digium.com>
19401 * CHANGES: various cleanups
19403 2006-10-06 18:46 +0000 [r44581-44605] Joshua Colp <jcolp@digium.com>
19405 * main/rtp.c: When the sequence number rolls over then reset the
19406 recorded sequence number for DTMF (issue #8106 reported by
19409 * main/file.c: Even more frames to treat as though the remote side
19410 disappeared (issue #8097 reported by eldadran)
19412 2006-10-06 15:59 +0000 [r44567] Luigi Rizzo <rizzo@icir.org>
19414 * main/manager.c, main/http.c: make sure sockets are blocking when
19415 they should be blocking.
19417 2006-10-06 12:53 +0000 [r44559-44563] Christian Richter <christian.richter@beronet.com>
19419 * channels/chan_misdn.c: fixed segfault which happens during
19420 hold/transfer action
19422 * channels/chan_misdn.c: if INFORMATION Message come with keypad
19423 instead of called party number, we just use the keypad as called
19426 * channels/misdn/isdn_lib.c, channels/misdn_config.c,
19427 channels/misdn/isdn_lib.h, channels/chan_misdn.c,
19428 channels/misdn/chan_misdn_config.h, configs/misdn.conf.sample:
19429 added the option 'reject_cause' to make it possible to set
19430 the RELEASE_COMPLETE - cause on the 3. incoming PMP channel,
19431 which is automatically rejected because chan_misdn does not
19432 support that kind of callwaiting. Therefore chan_misdn supports
19433 now 3 incoming channels on a PMP BRI Port. misdn_lib_get_free_bc
19434 now gets the info if the requested channel is incoming or
19435 outgoing to make the 3. channel possible
19437 * channels/misdn/isdn_lib.c, channels/misdn/isdn_lib.h,
19438 channels/chan_misdn.c: fixed the hold/retrieve/transfer issues,
19439 removed a useless bc field, added setting of frame.delivery fields,
19440 some minor code cleanups
19442 2006-10-05 19:57 +0000 [r44502] Joshua Colp <jcolp@digium.com>
19444 * main/file.c: Treat busy control frames as hangup in the file streaming
19445 core (issue #8097 reported by eldadran)
19447 2006-10-05 18:21 +0000 [r44488] Steve Murphy <murf@digium.com>
19449 * pbx/pbx_ael.c: This mod fixes a problem pointed out by dgarstang.
19450 Many thanks to Doug!
19452 2006-10-05 18:01 +0000 [r44486] Joshua Colp <jcolp@digium.com>
19454 * channels/chan_sip.c: One more T.38 fix! Don't leave a reinvite
19455 hanging by a thread if the other side is already setup with T.38
19457 2006-10-05 16:10 +0000 [r44476] Kevin P. Fleming <kpfleming@digium.com>
19459 * main/app.c: don't segfault when an argument without a close
19460 parenthesis is found stop parsing as soon as that situation
19463 2006-10-05 15:22 +0000 [r44465-44466] Steve Murphy <murf@digium.com>
19465 * CHANGES: I put the accumulated changes from the commit logs and
19466 inspection, into CHANGES. Hope everyone approves!
19468 * configs/muted.conf.sample, utils/muted.c: Hang on a minute, the
19469 install process sticks muted.conf in /etc/asterisk, so that's
19470 where muted should look for it, right?
19472 2006-10-05 02:40 +0000 [r44450] Joshua Colp <jcolp@digium.com>
19474 * channels/chan_sip.c: Don't totally bail out if T.38 was
19477 2006-10-05 01:42 +0000 [r44433-44436] Kevin P. Fleming <kpfleming@digium.com>
19479 * channels/chan_sip.c: fix Polycom presence notification again
19481 2006-10-04 22:52 +0000 [r44407-44409] Luigi Rizzo <rizzo@icir.org>
19483 * utils/Makefile: as far as i can tell astman only uses newt...
19485 * Makefile: put linker flags in ASTLDFLAGS where they belong
19487 2006-10-04 21:17 +0000 [r44390-44393] Kevin P. Fleming <kpfleming@digium.com>
19489 * channels/chan_sip.c: remove workaround for old Polycom firmware SUBSCRIBE
19490 requests add workaround for new Polycom firmware SUBSCRIBE
19491 requests (bug is known to exist in 2.0.1 firmware)
19493 * include/asterisk.h, main/utils.c: make LOW_MEMORY builds actually
19496 2006-10-04 19:57 +0000 [r44380] Steve Murphy <murf@digium.com>
19498 * pbx/ael/ael-test/ref.ael-ntest10, pbx/ael/ael.tab.c,
19499 pbx/ael/ael-test/ref.ael-test1, pbx/ael/ael-test/ref.ael-ntest12,
19500 pbx/ael/ael-test/ref.ael-test2, pbx/ael/ael-test/ref.ael-test3,
19501 pbx/pbx_ael.c, pbx/ael/ael-test/ref.ael-test4,
19502 pbx/ael/ael-test/ref.ael-test5, pbx/ael/ael-test/ref.ael-test6,
19503 pbx/ael/ael-test/ref.ael-test7, pbx/ael/ael-test/ref.ael-test8,
19504 pbx/ael/ael-test/ael-test16/extensions.ael (added),
19505 pbx/ael/ael-test/ael-test16 (added), pbx/ael/ael.y,
19506 pbx/ael/ael-test/ref.ael-test11, pbx/ael/ael-test/ref.ael-test14,
19507 pbx/ael/ael-test/ref.ael-test15, pbx/ael/ael-test/ref.ael-ntest9,
19508 pbx/ael/ael-test/ref.ael-test16 (added): These changes fix the
19509 problems reported in bug 8090
19511 2006-10-04 19:47 +0000 [r44378] Kevin P. Fleming <kpfleming@digium.com>
19513 * channels/chan_oss.c, main/cdr.c, channels/chan_phone.c,
19514 main/manager.c, pbx/pbx_spool.c, res/res_smdi.c,
19515 channels/chan_skinny.c, channels/chan_h323.c, main/http.c,
19516 channels/chan_alsa.c, pbx/pbx_dundi.c, apps/app_mixmonitor.c,
19517 main/asterisk.c, channels/chan_mgcp.c, main/autoservice.c,
19518 include/asterisk/utils.h, main/dnsmgr.c, channels/chan_zap.c,
19519 channels/chan_sip.c, apps/app_meetme.c, res/res_snmp.c,
19520 main/devicestate.c, main/utils.c, res/res_musiconhold.c,
19521 channels/chan_iax2.c, apps/app_queue.c, res/res_jabber.c: update
19522 thread creation code a bit reduce standard thread stack size
19523 slightly to allow the pthreads library to allocate the stack+data
19524 and not overflow a power-of-2 allocation in the kernel and waste
19525 memory/address space add a new stack size for 'background'
19526 threads (those that don't handle PBX calls) when LOW_MEMORY is
19529 2006-10-04 17:04 +0000 [r44337-44365] Steve Murphy <murf@digium.com>
19531 * configs/muted.conf.sample: I've been meaning to add some
19532 explanation about muted... here it is
19534 * configs/manager.conf.sample: CLI reverbification update to this
19537 * apps/app_macro.c: In response to bug 7776, a Warning has been
19538 added to the doc string for Macro().
19540 2006-10-04 00:25 +0000 [r44322] Kevin P. Fleming <kpfleming@digium.com>
19542 * main/asterisk.c, main/loader.c, main/term.c, Makefile,
19543 include/asterisk.h: ensure that local include files are always
19544 used avoid a duplicate function name (term_init())
19546 2006-10-03 22:35 +0000 [r44312] Matt O'Gorman <mogorman@digium.com>
19548 * channels/chan_gtalk.c, res/res_jabber.c: fix issue with dialing
19549 client without resource.
19551 2006-10-03 20:18 +0000 [r44298] Kevin P. Fleming <kpfleming@digium.com>
19553 * apps/app_queue.c: fix a logic error in my previous fix to the queue
19556 2006-10-03 18:42 +0000 [r44286] Paul Cadach <paul@odt.east.telecom.kz>
19558 * channels/h323/ast_h323.cxx: Change default presentation indicator
19559 to "user provided not screened" if octet 3a missed in
19560 CallingPartyNumber IE
19562 2006-10-03 18:35 +0000 [r44284] Joshua Colp <jcolp@digium.com>
19564 * channels/chan_sip.c: Use VideoSupport instead so it is considered
19565 a valid XML attribute name. (issue #8075 reported by renemendoza)
19567 2006-10-03 18:30 +0000 [r44283] Paul Cadach <paul@odt.east.telecom.kz>
19569 * channels/h323/ast_h323.cxx: Fix preparation of type and
19570 presentation of calling number
19572 2006-10-03 00:01 +0000 [r44240] Matt O'Gorman <mogorman@digium.com>
19574 * doc/jingle.txt, channels/chan_jingle.c (removed),
19575 include/asterisk/jabber.h, configs/jingle.conf.sample (removed),
19576 res/res_jabber.c: updated res_jabber for even better component
19577 support, soon will be jep-0100 compliant. also removed
19578 chan_jingle and infromed info from jingle.txt, chan_gtalk still
19579 works and should be used in this version.
19581 2006-10-02 20:11 +0000 [r44199-44215] Joshua Colp <jcolp@digium.com>
19583 * channels/chan_sip.c: Change the fd on the I/O context in case it
19584 changed during the reload, which is indeed possible. (issue #7943
19585 reported by eclubb)
19587 * contrib/init.d/rc.redhat.asterisk: We should be using $AST_SBIN
19588 instead of hardcoding the path for the error message (issue #7942
19589 reported by eclubb)
19591 2006-10-02 18:52 +0000 [r44186] Paul Cadach <paul@odt.east.telecom.kz>
19593 * configs/users.conf.sample, pbx/pbx_config.c: Missed part of
19594 userconf functionality for chan_h323
19596 2006-10-02 17:25 +0000 [r44169] Joshua Colp <jcolp@digium.com>
19598 * main/io.c: Shrink when current_ioc is unused. It is set to -1 when
19599 unused, not 0. (issue #7941 reported by eclubb)
19601 2006-10-02 17:16 +0000 [r44166-44167] Paul Cadach <paul@odt.east.telecom.kz>
19603 * doc/realtime.txt: Typo fix
19605 * channels/chan_h323.c: Optimization of oh323_indicate(): less
19606 locks - less problems, plus single exit point
19608 2006-10-02 02:38 +0000 [r44146] Mark Spencer <markster@digium.com>
19610 * channels/chan_sip.c, channels/chan_iax2.c: Don't use Channel when
19611 you're not talking about a channel :)
19613 2006-10-01 19:32 +0000 [r44135] Paul Cadach <paul@odt.east.telecom.kz>
19615 * channels/chan_h323.c: Do not simulate any audio tones if we got
19618 2006-10-01 18:30 +0000 [r44111-44125] Russell Bryant <russell@digium.com>
19620 * Makefile: Fix a problem that cuased AST_DATA_DIR in defaults.h to
19621 be empty. The cause is that since ASTDATADIR is explicitly
19622 exported using "export ASTDATADIR" at the top of the Makefile,
19623 make no longer considers the variable "undefined", so the
19624 Makefile can't use ?= to set ASTDATADIR if not yet set. (issue
19625 #8063, reported by akohlsmith, fixed by me)
19627 * configs/queues.conf.sample: Fix the name of the "eventmemberstatus"
19628 option in the sample queues.conf (issue #8065, adamg)
19630 2006-10-01 15:01 +0000 [r44109] Luigi Rizzo <rizzo@icir.org>
19632 * channels/chan_sip.c: sync with trunk - move variable declarations
19633 to the beginning of a block.
19635 2006-09-30 19:20 +0000 [r44090] Paul Cadach <paul@odt.east.telecom.kz>
19637 * main/rtp.c: Allow one-way RTP streams (device->Asterisk)
19639 2006-09-30 16:28 +0000 [r44080] Luigi Rizzo <rizzo@icir.org>
19641 * codecs/lpc10/Makefile, Makefile, main/Makefile: fix two recent
19642 build problems: - with AST_DEVMODE, building codecs/lpc10 fails
19643 because of lots of warnings, and the configure step in editline
19644 fails as well. Fix this by removing the -Werror in these steps. -
19645 on FreeBSD (but probably on other platforms as well), the final
19646 link of asterisk fails because AST_LIBS was not exported to the
19647 subdirs Makefiles. Add a proper fix in the top-level Makefile (a
19648 possible alternative way is to add "export AST_LIBS" near the
19649 beginning of the file). With this fix, i believe that some of the
19650 platform-specific conditionals in main/Makefile are redundant
19651 (because they should be already dealt with in the top level
19652 Makefile) but i don't have a platform to check. Merging to head
19653 will happen in a moment.
19655 2006-09-30 16:12 +0000 [r44068-44078] Paul Cadach <paul@odt.east.telecom.kz>
19657 * channels/chan_sip.c: Fix issue #7928 correctly. Next is a comment
19658 of previous fix: Issue #7928 - Don't send both 404 and 503. Fix
19659 by phsultan with a small fix by me, myself or I. Thanks,
19660 Philippe! (This was caused by my changes to the transaction
19663 * channels/chan_sip.c: Found some buggy SIP clients (phones Planet
19664 VIP-153T firmware 1.0, Linksys PAP2 firmware 3.1.9(LSc)) which
19665 sends ACK not on OK message only (when remote party answers) but
19666 on RINGING message too, so when we send 200 OK message, we get
19667 unidentified ACK message (because INVITE acknowledged on RINGING
19668 message already), so 200 OK retransmits within its retransmission
19669 interval then call gets dropped. If someone else knows how to
19670 provide workaround for such cases, please, fix it in correct way.
19671 Thanks to ssh from #asteriskru for provide access to his box to
19672 study and fix this case.
19674 2006-09-29 22:51 +0000 [r44055-44057] Kevin P. Fleming <kpfleming@digium.com>
19676 * agi, utils: ignore temporary files made by the Makefiles during a
19679 * codecs/lpc10/Makefile, main/db1-ast/Makefile, agi/Makefile,
19680 codecs/Makefile, utils/Makefile, configure,
19681 build_tools/embed_modules.xml, codecs/gsm/Makefile, configure.ac,
19682 Makefile.moddir_rules, Makefile.rules, codecs/ilbc/Makefile,
19683 pbx/Makefile, res/Makefile, channels/Makefile: fix a few build
19684 system bugs, and convert Makefiles to be compatible with GNU make
19687 2006-09-29 22:35 +0000 [r44053] Jason Parker <jparker@digium.com>
19689 * main/asterisk.c, main/cli.c: Fix a bug with the removal of
19690 'atleast' argument to 'core verbose' and 'core debug'. Add that
19693 2006-09-29 21:09 +0000 [r44022-44043] Paul Cadach <paul@odt.east.telecom.kz>
19695 * channels/h323/ast_h323.cxx: Set TON/PRESENTATION information more
19696 carefully when no CallingNumber IE available
19698 * channels/h323/ast_h323.cxx: Fake display name by called number on
19699 incoming calls (until passing connected number/connected name is
19702 * channels/h323/ast_h323.cxx: Ported code refers to H.450 - add
19705 * channels/h323/ast_h323.cxx, channels/h323/ast_h323.h: Properly
19706 pass TON/PRESENTATION information - original
19707 H323Connection::SendSignalSetup() destroys Q.931 fields.
19709 2006-09-29 18:49 +0000 [r44011-44012] Kevin P. Fleming <kpfleming@digium.com>
19711 * main/Makefile: yet another place where we were not using the
19712 correct CFLAGS by default
19714 * main/Makefile: missed one conversion to ASTCFLAGS
19716 2006-09-29 18:30 +0000 [r44009] Paul Cadach <paul@odt.east.telecom.kz>
19718 * channels/h323/ast_h323.cxx, channels/chan_h323.c,
19719 channels/h323/ast_h323.h, channels/h323/chan_h323.h: Pass
19720 TON/PRESENTATION information too
19722 2006-09-29 18:25 +0000 [r43952-44008] Kevin P. Fleming <kpfleming@digium.com>
19724 * main/db1-ast/Makefile, Makefile, codecs/Makefile, utils/Makefile,
19725 main/Makefile, codecs/gsm/Makefile, Makefile.moddir_rules,
19726 Makefile.rules, pbx/Makefile, channels/Makefile: don't abuse
19727 CFLAGS and LDFLAGS for build of Asterisk components, because they
19728 are also then used for non-Asterisk components (like menuselect);
19729 use our own variables instead
19731 * configure, configure.ac: support --without-curl in configure
19734 * Makefile.rules: another cross-compile fix
19736 * Makefile: a couple more environment settings that can't leak into
19737 the menuselect build
19739 * main/cli.c: proper fix for ast_group_t change
19741 * include/asterisk/lock.h: eliminate compiler warning when
19742 DEBUG_CHANNEL_LOCKS is enabled and users of this header file
19743 don't also include channel.h
19745 2006-09-28 20:11 +0000 [r43944] Jason Parker <jparker@digium.com>
19747 * apps/app_queue.c: Fix incorrect argument order for member names,
19748 on persisted members. Issue 8047, patch by jmls.
19750 2006-09-28 18:05 +0000 [r43932-43933] Joshua Colp <jcolp@digium.com>
19752 * apps/app_playback.c, res/res_monitor.c,
19753 include/asterisk/logger.h, channels/chan_misdn.c, res/res_smdi.c,
19754 channels/chan_skinny.c, apps/app_rpt.c, channels/chan_mgcp.c,
19755 main/udptl.c, main/frame.c, funcs/func_timeout.c,
19756 channels/chan_sip.c, apps/app_festival.c,
19757 channels/iax2-provision.c, apps/app_alarmreceiver.c,
19758 res/res_musiconhold.c, apps/app_followme.c, channels/chan_iax2.c:
19759 Put in missing \ns on the end of ast_logs (issue #7936 reported
19762 2006-09-28 17:35 +0000 [r43919] Kevin P. Fleming <kpfleming@digium.com>
19764 * apps/app_queue.c: fix buggy (and overly complex) loop used during reload
19765 of app_queue for static member list updating
19767 2006-09-28 17:34 +0000 [r43918] Paul Cadach <paul@odt.east.telecom.kz>
19769 * channels/h323/ast_h323.cxx: Extend call establishment timeout
19771 2006-09-28 17:31 +0000 [r43913-43915] Joshua Colp <jcolp@digium.com>
19773 * channels/chan_iax2.c: Make sure the pvt exists before accessing
19774 it again as it may have gone away (issue #7562 reported by Seb7
19775 and issue #7939 reported by sorg)
19777 * main/cli.c: Warning be gone!
19779 2006-09-28 16:41 +0000 [r43899] BJ Weschke <bweschke@btwtech.com>
19781 * apps/app_queue.c: app_queue is comparing the device names incorrectly
19782 while checking their statuses. It's internal list of interfaces
19783 includes the dial string, while the argument passed to this
19784 function does not have the dial string (/n for a local channel).
19785 This causes it to ignore the device state changes because it
19786 thinks it belongs to none of its members. (#8040 reported and
19787 patch by tim_ringenbach)
19789 2006-09-28 16:17 +0000 [r43893] Joshua Colp <jcolp@digium.com>
19791 * apps/app_meetme.c: Stop the stream after waitstream returns so that our
19792 formats get restored. (issue #7370 reported by kryptolus)
19794 2006-09-28 15:56 +0000 [r43877] Paul Cadach <paul@odt.east.telecom.kz>
19796 * channels/h323/ast_h323.cxx: Fix compiler warning
19798 2006-09-28 15:29 +0000 [r43864-43873] BJ Weschke <bweschke@btwtech.com>
19800 * apps/app_queue.c: Fix race conditioon crash with get_member_status (#7864 -
19801 tim_ringenbach reported and patched)
19803 * apps/app_queue.c: Autopause not working for queue members. (#8042
19804 - jmls reported and patch)
19806 2006-09-28 12:58 +0000 [r43861-43862] Paul Cadach <paul@odt.east.telecom.kz>
19808 * channels/h323/ast_h323.cxx, channels/h323/ast_h323.h: Force
19809 remote side to start media on outgoing PROGRESS message
19811 * include/asterisk/compiler.h: Put attribute tag at correct place
19813 2006-09-28 11:03 +0000 [r43852] Christian Richter <christian.richter@beronet.com>
19815 * channels/misdn/isdn_lib.c, channels/misdn/isdn_lib.h,
19816 channels/chan_misdn.c: fixed a bug which led to chan_list zombies,
19817 when the call could not be properly established in misdn_call.
19818 also removed the ACK_HDLC stuff which is not really needed.
19820 2006-09-28 10:51 +0000 [r43843-43846] Paul Cadach <paul@odt.east.telecom.kz>
19822 * channels/h323/ast_h323.cxx: Do not open transmit channel until
19825 * main/file.c: Don't warn on HOLD/UNHOLD control frames
19827 * main/file.c: Don't treat unknown control frames as voice
19829 2006-09-27 20:21 +0000 [r43816] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
19831 * apps/app_voicemail.c: Avoid inability to lock directory log message by
19832 creating the directory ahead of time. (Issue 7631)
19834 2006-09-27 19:44 +0000 [r43801-43803] Jason Parker <jparker@digium.com>
19836 * apps/app_playback.c, main/pbx.c: Fix an issue with PLAYBACKSTATUS
19837 not being set under certain circumstances. Fix a minor issue, to
19838 make it use the filenames that were parsed, instead of the entire
19839 argument string. Fix Background() to return -1 like Playback(),
19840 if no args are specified.
19842 2006-09-27 19:10 +0000 [r43783-43798] Joshua Colp <jcolp@digium.com>
19844 * main/rtp.c: Compensate for out of order packets better if RFC2833
19845 compensation is turned on.
19847 * channels/chan_iax2.c: Get rid of two functions from a time now
19848 past (we THINK these are from pre-recursive lock time) that may
19849 be contributing to two open issues on the bug tracker (7562/7939)
19850 and that has the potential to just make bad things happen if the
19853 2006-09-27 16:55 +0000 [r43779] Russell Bryant <russell@digium.com>
19855 * main/channel.c,res/res_features.c: Fix a problem that occurred if
19856 a user entered a digit
19857 that matched a bridge feature that was configured using multiple
19858 digits, and the digit that was pressed timed out in the feature
19859 digit timeout period. For example, if blind transfer is
19860 configured as '##', and a user presses just '#'. In this
19861 situation, the call would lock up and no longer pass any frames.
19862 (issue #7977 reported by festr, and issue #7982 reported by
19863 michaels and valuable input provided by mneuhauser and kuj. Fixed
19864 by me, with testing help and peer review from Joshua Colp). There
19865 are a couple of issues involved in this fix: 1) When
19866 ast_generic_bridge determines that there has been a timeout, it
19867 returned AST_BRIDGE_RETRY. Then, when ast_channel_bridge gets
19868 this result, it calls ast_generic_bridge over again with the same
19869 timestamp for the next event. This results in an endless loop of
19870 nothing until the call is terminated. This is resolved by simply
19871 changing ast_generic_bridge to return AST_BRIDGE_COMPLETE when it
19872 sees a timeout. 2) I also changed ast_channel_bridge such that if
19873 in the process of calculating the time until the next event, it
19874 knows a timeout has already occured, to immediately return
19875 AST_BRIDGE_COMPLETE instead of attempting to bridge the channels
19876 anyway. 3) In the process of testing the previous two changes, I
19877 ran into a problem in res_features where ast_channel_bridge would
19878 return because it determined that there was a timeout. However,
19879 ast_bridge_call in res_features would then determine by its own
19880 calculation that there was still 1 ms before the timeout really
19881 occurs. It would then proceed, and since the bridge broke out and
19882 did *not* return a frame, it interpreted this as the call was
19883 over and hung up the channels. The reason for this was because
19884 ast_bridge_call in res_features and ast_channel_bridge in
19885 channel.c were using different times for their calculations.
19886 channel.c uses the start_time on the bridge config, which is the
19887 time that the feature digit was recieved. However, res_features
19888 had another time, 'start', which was set right before calling
19889 ast_channel_bridge. 'start' will always be slightly after
19890 start_time in the bridge config, and sometimes enough to round up
19891 to one ms. This is fixed by making ast_bridge_call use the same
19892 time as ast_channel_bridge for the timeout calculation. ........
19894 2006-09-27 16:24 +0000 [r43775] Christian Richter <christian.richter@beronet.com>
19896 * channels/chan_misdn.c, channels/Makefile: removed the chan_misdn
19897 versioning, since Asterisk has it's own
19899 2006-09-27 16:23 +0000 [r43774] Joshua Colp <jcolp@digium.com>
19901 * channels/chan_sip.c: Make rfc2833compensate a global option.
19903 2006-09-27 04:35 +0000 [r43756] Russell Bryant <russell@digium.com>
19905 * apps/app_voicemail.c: Backport revision 43754 from the trunk,
19906 which removes an unused buffer from mm_login to close bug 8038,
19907 as well as addresses some formatting and coding guidelines issues
19908 in passing. Originally, I did not commit this to 1.4 since it is
19909 not necessarily fixing a bug. However, since the IMAP storage
19910 code is brand new, I decided it would be better to make the
19911 change here as well, in case someone has to work on this code to
19912 address issues in the very near future. I don't want to make
19913 unnecessary merge problems going to the trunk.
19915 2006-09-27 02:32 +0000 [r43739] Steve Murphy <murf@digium.com>
19917 * configs/extensions.ael.sample: This change to extensions.ael was
19918 to fix bug 8031; the install scripts are causing it to be copied
19919 to /etc/asterisk/extensions.ael, and because it is a fairly
19920 direct conversion of the original extensions.conf, the macro and
19921 context names clash with the existing extensions.conf. So, I put
19922 an ael- in front of all macros and contexts, and checked every
19923 goto and macro call. Also, this file compiles under aelparse.
19925 2006-09-26 20:56 +0000 [r43710] Russell Bryant <russell@digium.com>
19927 * main/asterisk.c: Back in revision 4798, this message was changed from
19928 using ast_cli() to directly calling write(). During this change,
19929 checking if this was a remote console was removed. This caused
19930 this message about using "exit" or "quit" to exit an Asterisk
19931 console to come up in times where it did not make sense. This
19932 change restores the check to see if this is a remote console
19933 before printing the message. (fixes BE-65)
19935 2006-09-26 20:47 +0000 [r43707] Joshua Colp <jcolp@digium.com>
19937 * .cleancount, main/cli.c, channels/chan_sip.c,
19938 include/asterisk/channel.h: Use proper type to represent the group variable
19939 (issue #8025 reported by makoto)
19941 2006-09-26 20:30 +0000 [r43700-43703] Russell Bryant <russell@digium.com>
19943 * channels/chan_sip.c: Add missing newline character in the warning
19944 message about deprecated TOS values in configuration.
19946 * apps/app_voicemail.c: When parsing the sections of voicemail.conf that contain
19947 mailbox definitions, don't introduce a length limit on the
19948 definition by using a 256 byte temporary storage buffer. Instead,
19949 make the temporary buffer just as big as it needs to be to hold
19950 the entire mailbox definition. (fixes BE-68)
19952 2006-09-26 20:19 +0000 [r43695-43697] Joshua Colp <jcolp@digium.com>
19954 * channels/chan_local.c: Strip options off the argument passed for
19955 devicestate in chan_local. (issue #8034 reported by pcardozo)
19957 * apps/app_chanspy.c, main/channel.c, main/slinfactory.c: Slight
19958 overhaul of the whisper support. 1. We need to duplicate the
19959 frame from ast_translate 2. We need to ensure we always have
19960 signed linear coming in for signed linear combining. 3. We need
19961 to ensure we are always feeding signed linear out. 4. Properly
19962 store and restore write format when beeping on the channel we are
19963 whispering on. 5. Properly discontinue the stream on the channel
19964 for the beep. (issue #8019 reported by timkelly1980)
19966 2006-09-26 18:34 +0000 [r43676] Kevin P. Fleming <kpfleming@digium.com>
19968 * sounds/Makefile: update to use 1.4.3 core sounds, with corrected
19969 beep/beeperr/tt-monkeys files
19971 2006-09-26 18:08 +0000 [r43650-43674] Jason Parker <jparker@digium.com>
19973 * doc/rtp-packetization.txt, main/frame.c: Issue #8015, patch by
19974 Dan Austin. Maximum values were incorrect, which is why this is
19977 * channels/chan_skinny.c: Add proper codec support to chan_skinny.
19978 Works with at least ulaw, alaw, and g729a. This is technically a
19979 "new feature", but there are justifications for it. I found a bug
19980 with the recent rtp packetization changes, which caused the media
19981 setup to fail under certain circumstances, particularly when
19982 using allow=all, or having no allow= statements (globally or on
19983 the device). I could have either removed the rtp packetization
19984 features, or I could add proper codec support (which, without, I
19985 think most people would consider to be a bug anyways).
19987 2006-09-25 22:07 +0000 [r43640-43642] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
19989 * apps/app_voicemail.c: Should have moved these lines up in the
19990 merge, instead of removing them
19992 * apps/app_voicemail.c: Two bugs when forwarding voicemail (Issue 7824): 1)
19993 delete=yes was ignored 2) maxmessages was ignored
19995 2006-09-25 21:26 +0000 [r43626-43635] Paul Cadach <paul@odt.east.telecom.kz>
19997 * channels/h323/cisco-h225.cxx, channels/h323/cisco-h225.h,
19998 channels/h323/cisco-h225.asn: Fix ASN1 description of
19999 non-standard Cisco extensions
20001 * channels/h323/ast_h323.cxx, channels/chan_h323.c: Backport
20002 changes of trunk: 1) r43540: Avoid possible deadlock on channel
20003 destruction 2) r43590: Disable fastStart if requested by remote
20006 2006-09-25 15:23 +0000 [r43616] Jason Parker <jparker@digium.com>
20008 * sounds/Makefile: One more fix for sounds installation - this time
20009 for portability. Reported to asterisk-dev mailing list.
20011 2006-09-25 14:52 +0000 [r43605] Steve Murphy <murf@digium.com>
20013 * formats/format_ogg_vorbis.c: This tiny fix prevents asterisk from
20014 crashing if trying to play an OGG moh file.
20016 2006-09-25 06:15 +0000 [r43582] Paul Cadach <paul@odt.east.telecom.kz>
20018 * channels/h323/caps_h323.cxx, channels/h323/compat_h323.h,
20019 channels/chan_h323.c: Merged revisions 43472,43495 from trunk
20021 2006-09-24 14:58 +0000 [r43553-43564] Russell Bryant <russell@digium.com>
20023 * channels/iax2-provision.c: Fix a CLI command registration issue
20024 where an erroneous message claiming that "iax2 show provisioning"
20025 was already registered. This was because this command was
20026 registering itself as both the command, as well as the command it
20027 is deprecating. (issue #8022, reported by bjweeks, fixed by
20030 * channels/chan_iax2.c:Check to see if the channel that is activating the
20031 IAXPEER function is actually an IAX2 channel before proceeding to
20032 process it to avoid crashing. (issue #8017, reported by admott,
20035 2006-09-22 23:44 +0000 [r43524] Kevin P. Fleming <kpfleming@digium.com>
20037 * Makefile: don't output the 'build complete' message when the
20038 target being run is already going to do an installation
20040 2006-09-22 22:12 +0000 [r43518] Jason Parker <jparker@digium.com>
20042 * channels/chan_skinny.c: Allow chan_skinny.so to be unloaded
20043 properly. Remove reload support, since it doesn't
20046 2006-09-22 21:36 +0000 [r43505-43508] Steve Murphy <murf@digium.com>
20048 * pbx/pbx_ael.c: This commits a change to return
20049 MODULE_LOAD_FAILURE on error, and SUCCESS (instead of 0) when all
20050 goes well for bug 8004
20052 * pbx/pbx_ael.c: If the extensions.ael file not found, or
20053 unreadable, we return AST_MODULE_LOAD_DECLINE, as per bug # 8004.
20055 2006-09-22 17:25 +0000 [r43492] Jason Parker <jparker@digium.com>
20057 * main/cli.c: Make sure we explicitly set the CLI command to not be
20058 deprecated, if it isn't.
20060 2006-09-22 16:42 +0000 [r43486-43489] Kevin P. Fleming <kpfleming@digium.com>
20062 * sounds/Makefile: use rebuilt extra sounds
20064 * main/channel.c: all the Linux systems I have don't use
20065 '__m_count' for this field, so I don't know where this came
20068 2006-09-22 15:47 +0000 [r43477-43484] Russell Bryant <russell@digium.com>
20070 * include/asterisk/threadstorage.h: backport the compatability fix
20071 to use attribute_malloc instaed of __attribute__ ((malloc))
20073 * channels/chan_misdn.c: return AST_MODULE_LOAD_DECLIDE if mISDN
20074 could not be configured (issue #8006, Mithraen)
20076 * main/frame.c: Suppress a compiler warning about the use of a
20077 potentially uninitialized variable. It couldn't actually happen,
20080 2006-09-22 03:01 +0000 [r43469] Jason Parker <jparker@digium.com>
20082 * channels/chan_skinny.c: First shot at unload_module in
20083 chan_skinny.. More to come.
20085 2006-09-21 23:50 +0000 [r43466] Matt O'Gorman <mogorman@digium.com>
20087 * include/asterisk/jabber.h, channels/chan_gtalk.c,
20088 res/res_jabber.c: updates for better compontent support
20090 2006-09-21 23:24 +0000 [r43464] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
20092 * res/res_odbc.c, configs/res_odbc.conf.sample: Twould help if we
20093 actually documented how the new features in res_odbc actually
20096 2006-09-21 22:21 +0000 [r43454-43456] Joshua Colp <jcolp@digium.com>
20098 * channels/chan_oss.c: Some more clean up in the load function for
20099 chan_oss (issue #8002 reported by Mithraen with minor mods by
20102 * channels/chan_mgcp.c: Clean up chan_mgcp's module load function
20103 (issue #8001 reported by Mithraen with mods by moi)
20105 2006-09-21 21:21 +0000 [r43450] Kevin P. Fleming <kpfleming@digium.com>
20107 * main/Makefile, build_tools/strip_nonapi (added): add another
20108 attempt to strip non-API symbols from the final binary... script
20109 will need to be extended to work on non-Linux systems
20111 2006-09-21 20:22 +0000 [r43410-43445] Tilghman Lesher <tilghman@mail.jeffandtilghman.com>
20113 * apps/app_url.c: Fix documentation to reflect how Url() really
20116 * cdr/cdr_tds.c, configure, configure.ac: TDS 0.64 updates
20118 2006-09-21 Kevin P. Fleming <kpfleming@digium.com>
20120 * Asterisk 1.4.0-beta2 released.
20122 2006-09-21 16:08 +0000 [r43404-43405] Kevin P. Fleming <kpfleming@digium.com>
20124 * main/Makefile: remove this change... it requires binutils 2.17
20126 2006-09-20 23:19 +0000 [r43396] Jason Parker <jparker@digium.com>
20128 * build_tools/make_version: fix minor typo in the way version is
20131 2006-09-20 Kevin P. Fleming <kpfleming@digium.com>
20133 * Asterisk 1.4.0-beta1 released.