Commit Graph

134 Commits (5fbfbc6b7c7bf1d3bfbad7dddafad5df55bb7b3d)

Author SHA1 Message Date
Joshua Colp ba782ce5f9 Add sanity checking for position resuming. We *have* to make sure that the position does not exceed the total number of files present, and we have to make sure that the position's filename is the same as previous. These values can change if a music class is reloaded and give unpredictable behavior.
17 years ago
Jason Parker 503ca9f30c Fix a potential segfault if chan (or chan->music_state) is NULL.
17 years ago
Russell Bryant 6e74f69b51 Fix init_classes() so that classes that actually do have files loaded aren't
18 years ago
Russell Bryant 3946288786 If someone were to delete the files used by an existing MOH class, and then
18 years ago
Joshua Colp 27a869e423 Fix randomness. save_pos was being set to 0 initially instead of -1, causing it to jump to position 0 when moh started.
18 years ago
Russell Bryant 6e01a4ddaf (closes issue #10419)
18 years ago
Russell Bryant e24788d06f Fix a little race condition that could cause a crash if two channels had MOH
18 years ago
Russell Bryant 3301d70848 This patch fixes a bug where reloading the module with "module reload" did not
18 years ago
Russell Bryant aa44ffb5c3 Merged revisions 75107 via svnmerge from
18 years ago
Russell Bryant e7afb1e237 Merged revisions 75059 via svnmerge from
18 years ago
Joshua Colp 54b08bfe83 Merged revisions 74814 via svnmerge from
18 years ago
Russell Bryant 3ddbe8e0b6 fix an uninitialized variable
18 years ago
Russell Bryant b4960ab566 (closes issue #10123)
18 years ago
Joshua Colp 9b42bff145 Merged revisions 53084 via svnmerge from
19 years ago
Joshua Colp 3290b0d37a Merged revisions 51512 via svnmerge from
19 years ago
Tilghman Lesher cb95f19c3f Merged revisions 48374 via svnmerge from
19 years ago
Russell Bryant 34384acbc9 Merged revisions 48356 via svnmerge from
19 years ago
Tilghman Lesher 76d002db24 Merged revisions 48045 via svnmerge from
19 years ago
Russell Bryant 798bb964d1 Merged revisions 47238 via svnmerge from
19 years ago
Tilghman Lesher e05a2752e8 Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
19 years ago
Russell Bryant 96e43ebee7 Merged revisions 46964 via svnmerge from
19 years ago
Russell Bryant d7f9b5f912 We should always be using _exit() after a fork() or vfork() instead of exit().
19 years ago
Kevin P. Fleming ff05bf15c8 update thread creation code a bit
19 years ago
Joshua Colp d2d4833b79 Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
19 years ago
Kevin P. Fleming 8b79aba992 do this fix properly :-)
19 years ago
Matthew Fredrickson 33ddb53663 Various updates from PCadach's chan_h323-live branch
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Jason Parker 2a3aaa9818 Fix a small typo I found.
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Joshua Colp 2410854b3c Merged revisions 38825 via svnmerge from
19 years ago
Joshua Colp bec319415f Merged revisions 38654 via svnmerge from
19 years ago
Kevin P. Fleming 6d0742fc16 merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
19 years ago
Kevin P. Fleming f761d2f6f0 prepare Asterisk for new zaptel.h/tonezone.h installation locations
19 years ago
Kevin P. Fleming e61d3d91f3 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
19 years ago
Kevin P. Fleming b31b0be819 various minor portability fixes (mostly from tholo for OpenBSD)
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Russell Bryant 006989cbe2 Use a dynamically sized array to store the list of files for moh "files" mode
19 years ago
Russell Bryant 61d295f187 when using moh files mode, don't look for a file past the number of files
19 years ago
Russell Bryant a6d039cd37 add a comment where some memory usage optimization needs to be done
19 years ago
Kevin P. Fleming 736dc15d0b Merged revisions 31555 via svnmerge from
19 years ago
Russell Bryant 53df01c9cc when displaying the list of registered music on hold classes, only show
19 years ago
Tilghman Lesher aeed5ca05d Merged revisions 24019 via svnmerge from
19 years ago
Russell Bryant 00f9884604 - convert lists to use linked list macros
19 years ago
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
19 years ago
Luigi Rizzo 11551079cf more strncpy/ast_copy_string replacement.
19 years ago
Tilghman Lesher 5bcdea5102 Merged revisions 20966 via svnmerge from
19 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
19 years ago
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
19 years ago
Tilghman Lesher 756c7cbb12 Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
19 years ago
Joshua Colp bf7f1ec0f8 Merged revisions 16534 via svnmerge from
19 years ago