Commit Graph

1490 Commits (6477f207f1dd3a158ac53b0eb056a695d4884745)

Author SHA1 Message Date
Joshua Colp e927902fe7 Bring up to date with poll changes.
18 years ago
Steve Murphy cc6a96c580 Merged revisions 79049 via svnmerge from
18 years ago
Steve Murphy f223818927 Merged revisions 79044 via svnmerge from
18 years ago
Russell Bryant e113d36aa4 Merge a set of device state improvements from team/russell/events.
18 years ago
Joshua Colp 845cba6792 Merged revisions 78955 via svnmerge from
18 years ago
Joshua Colp 22114b509d Add support for using epoll instead of poll. This should increase scalability and is done in such a way that we should be able to add support for other poll() replacements.
19 years ago
Joshua Colp 602198c402 Merge audiohooks branch into trunk. This is a new API for developers to listen and manipulate the audio going through a channel.
19 years ago
Russell Bryant 668a334f85 Add another big set of doxygen documentation improvements from snuffy.
19 years ago
Joshua Colp 218241f174 Use the linkedlists.h macros for the manager action list.
19 years ago
Joshua Colp b4778de562 (closes issue #10225)
19 years ago
Joshua Colp 9ef1b0a974 Extend the ast_senddigit and ast_dtmf_stream API calls to allow the duration of the DTMF digit(s) to be specified and make the SendDTMF application have the capability to use it.
19 years ago
Joshua Colp 431c60f818 Merged revisions 78275 via svnmerge from
19 years ago
Doug Bailey 3e426df072 Change the fsk filter used in CID and TDD decode to an integer based implementation
19 years ago
Mark Michelson c4c0e45c8b Merged revisions 78103 via svnmerge from
19 years ago
Jason Parker 3f0a1faed2 Merged revisions 78180 via svnmerge from
19 years ago
Joshua Colp 5a1e2bfb50 Merged revisions 78172 via svnmerge from
19 years ago
Russell Bryant befb383d16 Merged revisions 78095 via svnmerge from
19 years ago
Steve Murphy 79b9bc6a2f Merged revisions 77945 via svnmerge from
19 years ago
Joshua Colp 1e4bd7a192 Instead of adding the SOLARIS check to each HAVE_SYSINFO check let's just make the sysinfo autoconf logic a bit pickier about what it considers a usable sysinfo.
19 years ago
Joshua Colp a7aaa0bbc2 Solaris does not have a sysinfo like we know of on Linux.
19 years ago
Joshua Colp 28fec17d59 Merged revisions 77867 via svnmerge from
19 years ago
Joshua Colp d51079b70a Merged revisions 77863 via svnmerge from
19 years ago
Russell Bryant 4e0947c5f1 Convert code that checks the _softhangup member of ast_channel directory to use
19 years ago
Joshua Colp 96b96a5f72 Convert CLI helpers list to rwlist.
19 years ago
Joshua Colp 3aaf122439 Add support for call forwarding and timeouts to the dialing API.
19 years ago
Jason Parker fc0ea46f04 Merged revisions 77795 via svnmerge from
19 years ago
Luigi Rizzo f66dbeb8f3 print formats as 0x%x instead of %d in a warning message.
19 years ago
Russell Bryant 06f618a1ca Remove an XXX comment noting that it would be nice for a declaration to be
19 years ago
Russell Bryant ad094d5109 Merged revisions 77785 via svnmerge from
19 years ago
Russell Bryant a2fc80d4a6 Merged revisions 77780 via svnmerge from
19 years ago
Joshua Colp 3733874f49 Merged revisions 77771 via svnmerge from
19 years ago
Joshua Colp 7bd9b905e4 Merged revisions 77460 via svnmerge from
19 years ago
Mark Michelson 57d5d489a7 Merged revisions 77380 via svnmerge from
19 years ago
Tilghman Lesher 03c973ab2d Merged revisions 77350 via svnmerge from
19 years ago
Tilghman Lesher 620a5a11e4 Merged revisions 77348 via svnmerge from
19 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
19 years ago
Russell Bryant 3ed2deb7df Ensure that the read from /dev/urandom returns a positive result
19 years ago
Russell Bryant 77a75d46b2 Add a link to the list of assigned RTP payload types for convenience.
19 years ago
Luigi Rizzo 5a96f8aa72 document how the RTP marker bit is passed for video frames,
19 years ago
Luigi Rizzo f1aadc8161 add an entry for h263plus in an empty slot of the rtp types.
19 years ago
Mark Michelson b37f7ab577 Merged revisions 77154 via svnmerge from
19 years ago
Luigi Rizzo a1a5701821 change the debug level to 3 for an exceedingly annoying message
19 years ago
Luigi Rizzo 8f4d728fe0 Merged revisions 77022 via svnmerge from
19 years ago
Joshua Colp 2db4e2b19b Move manager users list over to an rwlist.
19 years ago
Joshua Colp 58004e3741 Don't bother calling AST_RWLIST_EMPTY on a list before AST_RWLIST_TRAVERSE, it's just a double check.
19 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
19 years ago
Russell Bryant eaebbdab61 (closes issue #10271)
19 years ago
Russell Bryant f1f72312bb (closes issue #10192)
19 years ago
Joshua Colp 93b72115d1 Add support for using /dev/urandom to get random numbers on systems that support it.
19 years ago
Russell Bryant d5b4fde291 Merged revisions 76132 via svnmerge from
19 years ago
Luigi Rizzo 925ebbb2b3 expose struct ast_ha so external code can do things such as printing it
19 years ago
Tilghman Lesher 4af3f12b29 Reduce some logging contention by switching several locks over to rwlocks
19 years ago
Steve Murphy 0e969271ae After some study, thought, comparing, etc. I've backed out the previous universal mod to make ast_flags a 64 bit thing. Instead, I added a 64-bit version of ast_flags (ast_flags64), and 64-bit versions of the test-flag, set-flag, etc. macros, and an app_parse_options64 routine, and I use these in app_dial alone, to eliminate the 30-option limit it had grown to meet. There is room now for 32 more options and flags. I was heavily tempted to implement some of the other ideas that were presented, but this solution does not intro any new versions of dial, doesn't have a different API, has a minimal/zero impact on code outside of dial, and doesn't seriously (I hope) affect the code structure of dial. It's the best I can think of right now. My goal was NOT to rewrite dial. I leave that to a future, coordinated effort.
19 years ago
Russell Bryant f3b1eab2f3 Remove some debug code that was added in revision 75894, which removed some
19 years ago
Luigi Rizzo 20448013df comment out some terribly expensive debugging code
19 years ago
Tilghman Lesher 81bc1d7af5 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
19 years ago
Steve Murphy 5ac24b25d3 This corrects the problem with flags and %lld formats on 64-bit machines, where uint64_t is NOT acceptable for %lld, and also works on 32-bit machines. At least, with gcc.
19 years ago
Russell Bryant 9ffd55b6f9 Merged revisions 75403 via svnmerge from
19 years ago
Steve Murphy 8a7732f067 via 10206, I have added an option (e) to Dial to allow the h exten to get run on peer. Had to upgrade ast_flag stuff to 64 bits to do this.
19 years ago
Luigi Rizzo 72b99a2817 Introduce ast_parse_arg() , a generic function to parse strings
19 years ago
Kevin P. Fleming 7413c78ddb Merged revisions 75306 via svnmerge from
19 years ago
Joshua Colp 344e6fd016 Change the function name slightly... just for kpfleming!
19 years ago
Joshua Colp e498488bde For my next trick I will make it so dialplan functions no longer need to call ast_module_user_add and ast_module_user_remove. These are now called in the ast_func_read and ast_func_write functions outside of the module.
19 years ago
Joshua Colp b8cd949cce Applications no longer need to call ast_module_user_add and ast_module_user_remove. This is now taken care of in the pbx_exec function outside of the application.
19 years ago
Russell Bryant c2603c1aeb resolve a compiler warning
19 years ago
Luigi Rizzo e950538bdd Small improvement to the STUN support so it can be used by
19 years ago
Joshua Colp 1f86a8bc2d Merged revisions 74922 via svnmerge from
19 years ago
Joshua Colp 8f3a5481dc Merged revisions 74888 via svnmerge from
19 years ago
Luigi Rizzo 75e2b34c4d more cleanup, this time to stun_handle_packet(). Among other things:
19 years ago
Luigi Rizzo 3d41c1ce94 a little bit of code cleanup to rtp.c, mostly to function
19 years ago
Joshua Colp fde3d4b086 Use linkedlist macros for UDPTL protocol list.
19 years ago
Luigi Rizzo deb98f98a0 add a bit of documentation on what the stun code in rtp.c does
19 years ago
Jason Parker 7c29e430c9 Merged revisions 74388 via svnmerge from
19 years ago
Jason Parker 8a5cea16bc Merged revisions 74374 via svnmerge from
19 years ago
Joshua Colp 1458095191 Merged revisions 74265 via svnmerge from
19 years ago
Tilghman Lesher ba857cc8a9 Merged revisions 73985 via svnmerge from
19 years ago
Joshua Colp 56503686c9 Merged revisions 73980 via svnmerge from
19 years ago
Joshua Colp 97f5ed8be3 Make sure the idText variable is empty, and put it in the right place for the manager ack packet. (issue #10152 reported by srt)
19 years ago
Tilghman Lesher 935bd057f8 Restore EXP2 and LOG2 functions, by providing mathematical identify functions, when the underlying C functions are not available.
19 years ago
Steve Murphy 1827bcba77 These changes fix 10145 and 10150, a prob with BSD and exp2/log2 not existing, as well as the bootstrap needing a small upgrade for openbsd. Many thanks to mvanbaak
19 years ago
Kevin P. Fleming d544d6377e eliminate another batch of compiler warnings (and a bug, although in code we aren't using)... note that this required manually editing the lexer output code (generated by flex), so some of them will come back if the lexer is rebuilt
19 years ago
Kevin P. Fleming a526627d8f comment out some code that is not used and does not have prototypes
19 years ago
Russell Bryant 2b0ec81639 resolve a compiler warning so i can build in dev mode
19 years ago
Steve Murphy 6a4efe5d5a In regards to changes for 9508, expr2 system choking on floating point numbers, I'm adding this update to round out (no pun intended) and make this FP-capable version of the Expr2 stuff interoperate better with previous integer-only usage, by providing Functions syntax, with 20 builtin functions for floating pt to integer conversions, and some general floating point math routines that might commonly be used also. Along with this, I made it so if a function was not a builtin, it will try and find it in the ast_custom_function list, and if found, execute it and collect the results. Thus, you can call system functions like CDR(), CHANNEL(), etc, from within $\[..\] exprs, without having to wrap them in $\{...\} (curly brace) notation. Did a valgrind on the standalone and made sure there's no mem leaks. Looks good. Updated the docs, too.
19 years ago
Joshua Colp f4943f3211 Merged revisions 73355 via svnmerge from
19 years ago
Russell Bryant d2a85e5f64 After some discussion on the asterisk-dev list, we determined that this approach
19 years ago
Steve Murphy 94b934c8f6 Merged revisions 72933 via svnmerge from
19 years ago
Russell Bryant bc8cd717ef Add a CLI command to output docs on CLI commands to a file
19 years ago
Russell Bryant 1bb2c2a78f Add a CLI command to dump the built-in manager action documentation
19 years ago
Russell Bryant 3371051d74 Merged revisions 72926 via svnmerge from
19 years ago
Russell Bryant 9aa28d2d3d Add "core dump funcdocs" CLI command
19 years ago
Russell Bryant f1468915c7 change the "core dump appdocs" CLI command to use the new API for creating
19 years ago
Joshua Colp 73d33590ba Merged revisions 72888 via svnmerge from
19 years ago
Russell Bryant 4a6f3770f9 Fix my recent change for sending large files via the http server. This code
19 years ago
Luigi Rizzo 2392758621 As the comment in the code says:
19 years ago
Russell Bryant 408dbc4304 Merge changes from team/russell/http_filetxfer
19 years ago
Luigi Rizzo 3caa225108 Make sure that we properly recurse in subdirectories to
19 years ago
Tilghman Lesher abe50d3e4b Merged revisions 72556 via svnmerge from
19 years ago
Brett Bryant a17e7a01a3 Merged revisions 72383 via svnmerge from
19 years ago
Brett Bryant 2a46445481 Merged revisions 72335 via svnmerge from
19 years ago
Jason Parker ed101a5319 Fix a segfault when trying to tab complete the "core show uptime" command.
19 years ago
Jason Parker e48dbce674 Add support for Thai language in say.c
19 years ago
Brett Bryant dee58f2531 Merged revisions 72260 via svnmerge from
19 years ago
Joshua Colp 809c1398d7 Merged revisions 72257 via svnmerge from
19 years ago
Joshua Colp 2c52ab7afb Fix -T option. (issue #10073 reported by xylome)
19 years ago
Joshua Colp 7feaaaaf04 Merged revisions 72148 via svnmerge from
19 years ago
Russell Bryant 36b0448bc1 Merged revisions 72112 via svnmerge from
19 years ago
Jason Parker 792beb4686 Merged revisions 71915 via svnmerge from
19 years ago
Steve Murphy af42e2ca7b Luigi's suggestion to move the llfrom decl was a good one. Done.
19 years ago
Russell Bryant 5590f67f58 Convert so more logging to ast_debug (issue #10045, dimas)
19 years ago
Joshua Colp 694088e06f Merged revisions 71422 via svnmerge from
19 years ago
Russell Bryant 8f2d952945 Merged revisions 71362 via svnmerge from
19 years ago
Russell Bryant 80166c6de8 Conversions to ast_debug()
19 years ago
Tilghman Lesher d6c0627c4f Merged revisions 71289 via svnmerge from
19 years ago
Steve Murphy d17beedd5a Merged revisions 71230 via svnmerge from
19 years ago
Joshua Colp 6f98665672 Behold the magic of casting!
19 years ago
Steve Murphy 6a2af3c983 Merged revisions 71063 via svnmerge from
19 years ago
Jason Parker 68ac7f7633 Merged revisions 71068 via svnmerge from
19 years ago
Brett Bryant aff5425dea Merged revisions 71066 via svnmerge from
19 years ago
Tilghman Lesher a1bc823136 Issue 9990 - New API ast_mkdir, which creates parent directories as necessary (and is faster than an outcall to mkdir -p)
19 years ago
Jason Parker 0b98b2a659 Nothing to see here.
19 years ago
Jason Parker 7a1c2d94bb Add manager events for RTCP statistics.
19 years ago
Steve Murphy 3327e532fa Merged revisions 70949 via svnmerge from
19 years ago
Joshua Colp 80cdeaef55 Merged revisions 70727 via svnmerge from
19 years ago
Steve Murphy a1e9cb4aca Merged revisions 70656 via svnmerge from
19 years ago
Tilghman Lesher 396a37eba8 Fix trunk brokenness; also, optimize application registration
19 years ago
Steve Murphy 2462d5ab4f Cleaning up a small disaster I created earlier
19 years ago
Jason Parker 37e66fd859 Revert the change made in revision 45474, since this causes other issues.
19 years ago
Joshua Colp a2b3357a9d Merged revisions 70360 via svnmerge from
19 years ago
Joshua Colp 61544c5019 Merged revisions 70198 via svnmerge from
19 years ago
Steve Murphy cd97d6a687 Merged revisions 70062 via svnmerge from
19 years ago
Joshua Colp 9bec4f4b58 Merged revisions 70003 via svnmerge from
19 years ago
Joshua Colp afe63aec33 Merged revisions 69987 via svnmerge from
19 years ago
Joshua Colp 4cca0a6a8e Merged revisions 69805 via svnmerge from
19 years ago
Joshua Colp f8c7174fee Merged revisions 69708 via svnmerge from
19 years ago
Joshua Colp 55c6ce92ce Few more rwlist conversions... why not.
19 years ago
Jason Parker a5bdba6074 Merged revisions 69470 via svnmerge from
19 years ago
Russell Bryant b179e2155f Convert uses of strdup() to ast_strdup()
19 years ago
Kevin P. Fleming 5fdba27ea2 Merged revisions 69392 via svnmerge from
19 years ago
Russell Bryant b266ca3aed Merged revisions 69358 via svnmerge from
19 years ago
Russell Bryant 055d82cbce Add a massive set of changes for converting to use the ast_debug() macro.
19 years ago
Brett Bryant bbefe59e9d Couple of manager ssl options weren't loading because of a typo.
19 years ago
Joshua Colp 679733c52a Use read/write lock based lists for group counting.
19 years ago
Joshua Colp c4c732578f Merged revisions 69128 via svnmerge from
19 years ago
Jason Parker 63535ada60 Fixes for ast_strlen_zero() janitor project.
19 years ago
Russell Bryant cf06bdb312 Merged revisions 69010 via svnmerge from
19 years ago
Russell Bryant ff4fc97911 Convert pbx.c to use ast_debug() for debug logging.
19 years ago
Joshua Colp d0eaf1e389 Merged revisions 68922 via svnmerge from
19 years ago
Joshua Colp 556ea9f554 Even more minor code cleanup!
19 years ago
Joshua Colp b3475e429a Minor code cleanup.
19 years ago
Dwayne M. Hubbard 897418858d corrected CLI 'core show codecs' syntax for issue 9945, thanks eserra.
19 years ago
Jason Parker bd3de6d0f1 Change displayconnects option in manager.conf to be per-user.
19 years ago
Joshua Colp a9043635ed Change channel list to read/write list... I'm crazy.
19 years ago
Joshua Colp eb56cb6b92 Merged revisions 68683 via svnmerge from
19 years ago
Joshua Colp 21f5078843 Add username completion for manager show user CLI command. (issue #9929 reported by eliel)
19 years ago
Russell Bryant 68492b239c Add an option for ControlPlayback to be able to start at an offset from
19 years ago
Russell Bryant 334d8d9dc4 Add channel variable manager event
19 years ago
Russell Bryant bd11057367 Minor formatting change to test changes to mantis auto-closing issues
19 years ago
Joshua Colp 154c1a7af5 Merged revisions 68401 via svnmerge from
19 years ago
Joshua Colp 1d1566903e Merged revisions 68370 via svnmerge from
19 years ago
Russell Bryant 1093e63553 Merged revisions 68354 via svnmerge from
19 years ago
Russell Bryant 1d57ccb6f7 Fix a bunch of doxygen errors and document more things
19 years ago
Russell Bryant c29ac50c57 Merged revisions 68192 via svnmerge from
19 years ago
Joshua Colp ef7b38e065 Merged revisions 68157 via svnmerge from
19 years ago
Olle Johansson 7e68cd14f4 Reverting part of #67864 to be able to compile agi/eagi-test that relies on this without having
19 years ago
Joshua Colp d777d9a850 Merged revisions 67924 via svnmerge from
19 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
19 years ago
Russell Bryant 7b75537684 Minor formatting change to test closing mantis issues through commit tags
19 years ago
Russell Bryant 3cc39e0fd0 Minor formatting change to test closing mantis issues through commit tags
19 years ago
Russell Bryant 7ba22102ad Yet another minor change to test mantis/svn
19 years ago
Russell Bryant 0ddb853244 minor formatting change ... testing mantis/svn
19 years ago
Russell Bryant f97cdc52f4 minor formatting change ... testing mantis/svn
19 years ago
Russell Bryant 37816c5dd0 Formatting change ... testing
19 years ago
Russell Bryant 9ede561378 Make another formatting change ... testing mantis/svn stuff
19 years ago
Russell Bryant ea2068d0ad Another minor formatting change ... testing mantis/svn
19 years ago
Russell Bryant 330880b909 Minor formatting change ... testing mantis/svn
19 years ago
Russell Bryant b43599da32 More random formatting changes to test Mantis/SVN integration
19 years ago
Russell Bryant e727eef77f Make a completely arbitrary formatting change to test out some Mantis/SVN
19 years ago
Russell Bryant 18101ff0e3 Merged revisions 67716 via svnmerge from
19 years ago
Joshua Colp 40df1fb464 Merged revisions 67650 via svnmerge from
19 years ago
Joshua Colp a07d04cc02 Merged revisions 67631 via svnmerge from
19 years ago
Joshua Colp 3f671bb11d Merged revisions 67594 via svnmerge from
19 years ago
Mark Michelson ca4ca779a9 Found a bug where when "core set debug #" is used, the verbosity is read as the
19 years ago
Jason Parker ac8fc3ad2d Make sure we default allowmultiplelogin to on/yes, per the default stated in the config.
19 years ago
Russell Bryant 508d36f5ad Merged revisions 67308 via svnmerge from
19 years ago
Steve Murphy ef132e25e1 Merged revisions 67073 via svnmerge from
19 years ago
Russell Bryant b5089b4a58 Merged revisions 67071 via svnmerge from
19 years ago
Russell Bryant e1375b96c2 Change javadoc style code documentation to the same format we use elsewhere.
19 years ago
Russell Bryant 93f2be2675 Fix a couple of places where "tos" was used instead of "cos".
19 years ago
Russell Bryant b1490716f6 remove a bogus comment that came from copy/paste
19 years ago
Russell Bryant 605368649e Merge major changes to the way device state is passed around Asterisk. The two
19 years ago
Doug Bailey d3e9141345 Changed the dtmf detection to integer based goertzel algorithm.
19 years ago
Joshua Colp ed4726769a Merged revisions 66437 via svnmerge from
19 years ago
Tilghman Lesher ffe08532a4 Merged revisions 66159 via svnmerge from
19 years ago
Joshua Colp f65934a517 Minor tweak... drop translation path if one exists when we get an already signed linear frame in. Chances are the stream has then switched to signed linear and we no longer need the path.
19 years ago
Joshua Colp 844394c495 Merged revisions 66074 via svnmerge from
19 years ago
Russell Bryant 2b25070414 Merged revisions 66076 via svnmerge from
19 years ago
Russell Bryant 9065eb1054 Merged revisions 66070 via svnmerge from
19 years ago
Kevin P. Fleming 4573b36af1 use the OpenSSL AES implementation if it's available (unless configured not to)
19 years ago
Russell Bryant 4b3a3fb14c Add a new API call for creating detached threads. Then, go replace all of the
19 years ago
Russell Bryant bcd2bd8294 Make this build on *my* machine again, and hopefully not break others.
19 years ago
Joshua Colp 22cf94111d Merged revisions 65902 via svnmerge from
19 years ago
Jason Parker 4aaa1d1ec1 Merged revisions 65877 via svnmerge from
19 years ago
Joshua Colp e4191c375f Merged revisions 65863 via svnmerge from
19 years ago
Russell Bryant 89b0e6049a Merged revisions 65842 via svnmerge from
19 years ago
Russell Bryant 67b9dafe09 Fix a couple minor spelling mistakes.
19 years ago
Russell Bryant 90d6885701 Add a new feature for Music on Hold. If you set the "digit" option for a
19 years ago
Joshua Colp 98398088bc Make my compiler happy! Yay!
19 years ago
Joshua Colp 3821954757 Clean up adsistub file a bit (just spacing) and change over the crypto sub to use this build_stub macro strategy.
19 years ago
Joshua Colp 42c63dd2ed Add the adsistub file to the Asterisk makefile, fix a stub definition, and no longer make the symbols from res_adsi global since they don't need to be.
19 years ago
Steve Murphy 2ad1d61215 Merged revisions 65201 via svnmerge from
19 years ago
Olle Johansson bdd2b74ced Issue #5930 - Remove dependencies on res_adsi.so - clwade
19 years ago
Russell Bryant 7ee1303796 Add an option that lets you only allow one connection at a time for each
19 years ago
Russell Bryant e87308d6d3 Ignore this ... playing with jira (AST-1)
19 years ago
Olle Johansson b28d908e85 This file really needs more documentation...
19 years ago
Olle Johansson e509d2709f Small doxygen updates
19 years ago
Russell Bryant e090c28540 Add two new dialplan functions: ENUMQUERY and ENUMRESULT. These functions
19 years ago
Jason Parker ee7301ac68 With libmmime.a as a .PHONY target, asterisk gets rebuilt every time, but without proper ASTCFLAGS.
19 years ago
Joshua Colp ab76c7bfea Merged revisions 64276 via svnmerge from
19 years ago
Joshua Colp f02ea9e076 Merged revisions 64240 via svnmerge from
19 years ago
Steve Murphy a76ff39c0e Merged revisions 64193 via svnmerge from
19 years ago
Olle Johansson 78d3244554 Merged revisions 64157 via svnmerge from
19 years ago
Jason Parker bb30f0c0d2 oops.. Fix the logic of the last commit.
19 years ago
Jason Parker cdfa29e2b1 Better fallback method for autosystemname.
19 years ago
Jason Parker 8b5634e4b4 Merged revisions 63982 via svnmerge from
19 years ago
Jason Parker a693e4d58c Add autosystemname setting to asterisk.conf
19 years ago
Russell Bryant 08d37d451b Merged revisions 63886 via svnmerge from
19 years ago
Russell Bryant 7c5aab75b0 Merged revisions 63804 via svnmerge from
19 years ago
Doug Bailey 0bb316de28 Added check for negative offset in cid spill to prevent infinite loops
19 years ago
Joshua Colp 9427cf5dd6 Merged revisions 63698 via svnmerge from
19 years ago
Russell Bryant 56254ee491 Merged revisions 63612 via svnmerge from
19 years ago
Russell Bryant 39dd02d542 Merged revisions 63608 via svnmerge from
19 years ago
Joshua Colp 5394364048 Merged revisions 63286 via svnmerge from
19 years ago
Olle Johansson 980642a846 Merged revisions 63254 via svnmerge from
19 years ago
Olle Johansson 0cc7c0640b Constifications
19 years ago
Olle Johansson 3f8548bf3b Merged revisions 63152 via svnmerge from
19 years ago
Russell Bryant 6606166454 Convert spaces to tabs for indentation.
19 years ago
Olle Johansson 6da70edbcf Add "CoreStatus" - from the moremanager branch.
19 years ago
Olle Johansson 51f99c5265 - Add manager command CoreSettings
19 years ago
Kevin P. Fleming 431b4a44d0 Merged revisions 62986 via svnmerge from
19 years ago
Russell Bryant 1e3b1a576c Merged revisions 62942 via svnmerge from
19 years ago
Russell Bryant 5d0f7ea753 Add Hungarian language support to say.c and say.conf.
19 years ago
Russell Bryant 255f151582 Merged revisions 62789 via svnmerge from
19 years ago
Steve Murphy 8e90622210 Merged revisions 62738 via svnmerge from
19 years ago
Steve Murphy fe7068a51b Merged revisions 62689 via svnmerge from
19 years ago
Russell Bryant b419fc1134 Add support for setting the CoS for VLAN traffic (802.1p) in Linux. The
19 years ago
Russell Bryant 3181a91148 Merged revisions 62414 via svnmerge from
19 years ago
Joshua Colp fe158ded8a Merged revisions 62369 via svnmerge from
19 years ago
Russell Bryant b6b1bf3213 Merge changes from team/russell/events
19 years ago
Russell Bryant ec0cae93a4 Merged revisions 62171 via svnmerge from
19 years ago
Russell Bryant 007fa5e0be Merged revisions 62005 via svnmerge from
19 years ago
Joshua Colp 489f9c68c3 Merged revisions 61959 via svnmerge from
19 years ago
Joshua Colp 8b2b3e172b Merged revisions 61805 via svnmerge from
19 years ago
Russell Bryant a751038fbe Merged revisions 61787 via svnmerge from
19 years ago
Russell Bryant 94459660a3 Merged revisions 61781 via svnmerge from
19 years ago
Russell Bryant 90f152b24f Merged revisions 61774 via svnmerge from
19 years ago
Russell Bryant fa9d9af754 When building a JSON encoded string in the GetConfigJSON manager action, escape
19 years ago
Russell Bryant 0c9ef3221c Merged revisions 61765 via svnmerge from
19 years ago
Russell Bryant fa0e814a69 Merged revisions 61763 via svnmerge from
19 years ago
Jason Parker 82d5673c81 Merged revisions 61707 via svnmerge from
19 years ago
Jason Parker 8762bae610 Merged revisions 61705 via svnmerge from
19 years ago
Russell Bryant c21f118a65 Merged revisions 61697 via svnmerge from
19 years ago
Russell Bryant 97d0661327 Merged revisions 61690 via svnmerge from
19 years ago
Tilghman Lesher 438beb3a1b Merged revisions 61683 via svnmerge from
19 years ago
Olle Johansson 16a080781d Merged revisions 61676 via svnmerge from
19 years ago
Olle Johansson c4cd1b6761 Merged revisions 61674 via svnmerge from
19 years ago
Claude Patry 29f03c4ce0 test my new trunk access ;)
19 years ago
Steve Murphy eda33c8b31 Merged revisions 61658 via svnmerge from
19 years ago
Dwayne M. Hubbard 9fc6cf1ac3 fixed the '-e' command line option for minmemfree. updated doc/asterisk-conf.tex
19 years ago
Dwayne M. Hubbard 2151e532fe changed #if HAVE_SYSINFO to #if defined(HAVE_SYSINFO)
19 years ago
Dwayne M. Hubbard 6a5f3599bb added HAVE_SYSINFO preprocessor directives for portability and general happiness
19 years ago
Dwayne M. Hubbard 62256ee410 added option_minmemfree for use in asterisk.conf to specify the amount of minimum free memory prior to accepting calls. added CLI 'core show sysinfo' to display system information
19 years ago
Joshua Colp 6fc5c73f78 Output verbose messages to the normal logger as well. (issue #9476 reported by gdalgliesh)
19 years ago
Russell Bryant 2047feb97e Merged revisions 61407 via svnmerge from
19 years ago
Steve Murphy 69bb679e14 via 8118, a RealTime upgrade to make RT a complete storage abstraction. The store/destroy mechanisms needed these missing peices.
19 years ago
Tilghman Lesher 47dd5a15af Issue 6082 - New DTMF event for manager
19 years ago
Russell Bryant ab31bec392 Add an option to the dial API for playing music instead of ringing to the caller.
19 years ago
Steve Murphy ecaf781933 Merged revisions 60989 via svnmerge from
19 years ago
Kevin P. Fleming 480685fda5 Merged revisions 61070 via svnmerge from
19 years ago
Kevin P. Fleming 14a2b3bf6e Merged revisions 61062 via svnmerge from
19 years ago
Olle Johansson c1d8971831 Add hint to ExtensionStatus AMI event in manager
19 years ago
Tilghman Lesher 5ecaea3d0a Merged revisions 60850 via svnmerge from
19 years ago
Tilghman Lesher a858c92e3f Merged revisions 60712 via svnmerge from
19 years ago
Tilghman Lesher a7a0e8598c Merged revisions 60661 via svnmerge from
19 years ago
Russell Bryant 0f29ce05af Filter out -Wundef so that the automatically generated C files will compile cleanly
19 years ago
Russell Bryant f6ee1f7a0b Remove a bunch of files that weren't supposed to get added.
19 years ago
Russell Bryant 0a9750ef9f Merged revisions 60603 via svnmerge from
19 years ago
Russell Bryant e545f2e02f Merged revisions 60265 via svnmerge from
19 years ago
Dwayne M. Hubbard 3a1d0a196b ast_shrink_phone_number() must ignore whitespace, otherwise my CIDCO callerid box gets LINE ERROR
19 years ago
Russell Bryant 5f629360ec Merged revisions 60137 via svnmerge from
19 years ago
Russell Bryant 9355b4ddca Merged revisions 59887 via svnmerge from
19 years ago
Russell Bryant c7e3eee1e7 Merged revisions 59654 via svnmerge from
19 years ago
Jason Parker 90b75256d9 Merged revisions 59573 via svnmerge from
19 years ago
Steve Murphy 09c0d56c5c Merged revisions 59522 via svnmerge from
19 years ago
Steve Murphy 0f11d3c8c3 Merged revisions 59486 via svnmerge from
19 years ago
Russell Bryant c4f42601d6 Merged revisions 59358 via svnmerge from
19 years ago
Steve Murphy d6943624c8 Merged revisions 59225 via svnmerge from
19 years ago
Steve Murphy 834f783edf Merged revisions 59206 via svnmerge from
19 years ago
Russell Bryant 08e3a9bdc8 Merged revisions 59207 via svnmerge from
19 years ago
Joshua Colp 82641ec8d3 Merged revisions 59089 via svnmerge from
19 years ago
Joshua Colp 7669c0ede7 Make the database show command spit out how many results it got. (issue #9332 reported by junky)
19 years ago
Tilghman Lesher 058ec10e42 Merged revisions 59078 via svnmerge from
19 years ago
Joshua Colp 42a36967c8 It is possible for mod to become invalid after we unload it (if it's a dynamic module) so move it around a bit.
19 years ago
Tilghman Lesher 433a7a721c Merged revisions 58946 via svnmerge from
19 years ago
Tilghman Lesher 8c4c5d9910 Fix trunk so that it compiles again
19 years ago
Russell Bryant 1cf3a12047 Merged revisions 58931 via svnmerge from
19 years ago
Joshua Colp ddca41798b Merged revisions 58783 via svnmerge from
19 years ago
Kevin P. Fleming 1187fbd701 grammatical errors are bad, mmmkay?
19 years ago
Jason Parker 6cce2f3311 Add CLI command "marko show birthday" to show "birthday information"
19 years ago
Joshua Colp 2ab6ed30cd Merged revisions 58436 via svnmerge from
19 years ago
Joshua Colp 6dc98369bf Merged revisions 58389 via svnmerge from
19 years ago
Kevin P. Fleming a37ed6decb Merged revisions 58354 via svnmerge from
19 years ago
Kevin P. Fleming 4a1a0993f2 Merged revisions 58351-58352 via svnmerge from
19 years ago
Joshua Colp 21b9973d21 Make the loader less noisy under valgrind.
19 years ago
Joshua Colp e7da006562 Merged revisions 58240 via svnmerge from
19 years ago
Russell Bryant a36a9ade5e Add the format of the file that is currently being played to the verbose message.
19 years ago
Russell Bryant 53dca1a7e4 Merged revisions 58165 via svnmerge from
19 years ago
Luigi Rizzo 972156c182 move declaration to the beginning of a block
19 years ago
Steve Murphy 96fe5e2286 Merged revisions 57826 via svnmerge from
19 years ago
Joshua Colp 1db9dc0c9a Merged revisions 57798 via svnmerge from
19 years ago
Joshua Colp aabe0abaee Merged revisions 57768 via svnmerge from
19 years ago
Tilghman Lesher 590cb3a6fa Expand datastores to add the notion of inheritance. This will be needed for
19 years ago
Dwayne M. Hubbard 26b4c4344a Merged revisions 57620 via svnmerge from
19 years ago
Joshua Colp 96693aca99 Don't try to do recursive locking/unlocking when it isn't supported.
19 years ago
Steve Murphy 1220306aab Merged revisions 57473 via svnmerge from
19 years ago
Russell Bryant 40e95cd19d Add the channel's Language to the "show channel" CLI command and the DumpChan
19 years ago
Russell Bryant 9802426219 Merged revisions 57396 via svnmerge from
19 years ago
Russell Bryant b4a29c3782 Constify the list of codec preferences.
19 years ago
Joshua Colp 5bc0d8d324 Minor code cleanup... nothing to write home about.
19 years ago
Joshua Colp e7b03a991e Convert the PBX core to use read/write locks. This yields a nifty performance improvement when it comes to simultaneous calls going through the dialplan. Using murf's test the old mutex based core took an average of 57.3 seconds while the rwlock based core took 31.1 seconds. That's a nifty 26.2 seconds performance improvement. The other good part is that if we do need to switch back then we just have to change the lock/unlock API calls. I converted everywhere that used to touch the mutex locks directly to use them.
19 years ago
Steve Murphy 462f759e67 Merged revisions 57139 via svnmerge from
19 years ago
Joshua Colp 9577a1c65a Merged revisions 56805 via svnmerge from
19 years ago
Joshua Colp cda7883ffd Merged revisions 56783 via svnmerge from
19 years ago
Russell Bryant 4e752903bb Remove redundant check to ensure that LOW_MEMORY is not defined.
19 years ago
Tilghman Lesher b0f60e7496 Merged revisions 56685 via svnmerge from
19 years ago
Olle Johansson 75d387acbc Doxygen additions, corrections
19 years ago
Olle Johansson e916cf45da Doxygen updates and corrections
19 years ago
Russell Bryant dbd7334dcc Merged revisions 56505 via svnmerge from
19 years ago
Joshua Colp acf96db39f Merged revisions 56457 via svnmerge from
19 years ago
Russell Bryant 0d3a211335 Introduce a new manager action, GetConfigJSON, which is intended to improve
19 years ago
Russell Bryant 9138e53bc9 Merged revisions 56277 via svnmerge from
19 years ago
Joshua Colp afc99294fa Merged revisions 56231 via svnmerge from
19 years ago
Kevin P. Fleming 1bec2f5bfa give embedded modules a helping hand by backing up and restoring their global variables when they are loaded and unloaded
19 years ago
Joshua Colp 48517d4bc8 Merged revisions 56008 via svnmerge from
19 years ago
Joshua Colp 7ec331f7ea Return trunk to a state where it compiles under Darwin. The byte order stuff is ugly, if anyone wants to clean it up... by all means do so.
19 years ago
Joshua Colp 746e139e6d Flush out the file pointer. (issue #9115 reported by guthrie)
19 years ago
Russell Bryant 4cbce3356e Merged revisions 55634 via svnmerge from
19 years ago
Kevin P. Fleming 74f31a51bc add -Wundef to the --enable-dev-mode flags, so that mistyped macro names in #if expressions will be caught
19 years ago
Jason Parker aac92788a2 Merged revisions 54886 via svnmerge from
19 years ago
Olle Johansson ba32ee49d0 Adding Realtime Text support (T.140) to Asterisk
19 years ago
Joshua Colp 123c1b5b19 Rely on ast_gethostbyname to handle IP addresses, not inet_aton. (issue #9056 reported by pj)
19 years ago
Joshua Colp cd56d84085 Properly handle an error result from a manager action. This could have left the action list permanently locked for reading.
19 years ago
Olle Johansson 11a9db38ed Make file's new comment doxygenified
19 years ago
Joshua Colp 67b499bbf8 Clean up the I/O context handler.
19 years ago
Olle Johansson 9f02e13857 Show version in "core show settings"
19 years ago
Olle Johansson 8ac0fb2bc3 New CLI command "Core show settings" to list some core settings
19 years ago
Joshua Colp 8470ee5cd0 Merged revisions 54290 via svnmerge from
19 years ago
Russell Bryant f60efe347a This introduces a new dialplan function, DEVSTATE, which allows you to do some
19 years ago
Russell Bryant 0e2c86820b Use spaces instead of tabs in the help text for a CLI command
19 years ago
Russell Bryant df48a3b1be Simplify WELCOME_MESSAGE to be a single function call instead of one for each
19 years ago
Russell Bryant 4300a7a6cd - Constify the format string passed to ast_cli()
19 years ago
Russell Bryant 8f8df3e5a9 Merged revisions 54103 via svnmerge from
19 years ago
Russell Bryant 2a5477b35e Merged revisions 54066 via svnmerge from
19 years ago
Russell Bryant 10c4a5fef7 Simplify a small bit of logic.
19 years ago
Olle Johansson 4ca354f3f8 Fix debug handling in acl.c
19 years ago
Paul Cadach 85ad583544 Merged revisions 53879 via svnmerge from
19 years ago
Russell Bryant 5715b49c30 Merged revisions 53810 via svnmerge from
19 years ago
Joshua Colp cd1973e4bc It is with pleasure that I announce the return of rawman support through the HTTP server. (issue #9013 reported by Jynger)
19 years ago
Tilghman Lesher 588fcc7be7 Merged revisions 53532 via svnmerge from
19 years ago
Russell Bryant 4284fb1f4a Merged revisions 53497 via svnmerge from
19 years ago
Russell Bryant ef5aba253e Merged revisions 53464 via svnmerge from
19 years ago
Joshua Colp 8f6d9918a7 Merged revisions 53434 via svnmerge from
19 years ago
Russell Bryant dfb5ef7f55 Merged revisions 53429 via svnmerge from
19 years ago
Tilghman Lesher 5f3b3d2358 Merged revisions 53246 via svnmerge from
19 years ago
Olle Johansson f303a4db46 Doxygen formatting changes
19 years ago
Joshua Colp 2cc011e005 Merged revisions 53120 via svnmerge from
19 years ago
Joshua Colp 3388474e15 Merged revisions 53118 via svnmerge from
19 years ago
Joshua Colp 880e319b7a Clean up ast_device_state. It's pretty now!
19 years ago
Joshua Colp 8a889843ba Switch the devicestate thread to operate the same way as the logging thread. Pops all entries off the list to be processed, resets the list back to a clean state, and processes each entry. The thread won't have to acquire the list lock again until it checks to see if there are more to process.
19 years ago
Joshua Colp ae64c71d65 Read/write lockify the devicestate stuff a bit.
19 years ago
Joshua Colp 721c7b3372 Merged revisions 53072 via svnmerge from
19 years ago
Tilghman Lesher e5304e54cc Merged revisions 53070 via svnmerge from
19 years ago
Joshua Colp 431c93b025 Make trunk compile under dev mode.
19 years ago
Joshua Colp 493126cf0c Merged revisions 53052 via svnmerge from
19 years ago
Joshua Colp fa66a0bf03 Merged revisions 53050 via svnmerge from
19 years ago
Russell Bryant b233892198 Merged revisions 53046 via svnmerge from
19 years ago
Russell Bryant 7ca426c5b4 Merged revisions 53040 via svnmerge from
19 years ago
Russell Bryant 83e2ed50e6 Merged revisions 52904 via svnmerge from
19 years ago
Russell Bryant f351f4278a Merged revisions 52695 via svnmerge from
19 years ago
Russell Bryant 9e1370e6c6 Merged revisions 52688 via svnmerge from
19 years ago
Russell Bryant 5dfed82cb9 Merged revisions 52647 via svnmerge from
19 years ago
Russell Bryant 2d0e8864aa Merged revisions 52645 via svnmerge from
19 years ago
Joshua Colp a1d764c00a Only use locking for bridge information if intense P2P bridging is enabled.
19 years ago
Russell Bryant 9540b7fcea The changes for trunk are less extensive, but include
19 years ago
Joshua Colp b1b339e612 Add core show channels count CLI command. (issue #8932 reported by mr_mehul_shah)
19 years ago
Russell Bryant 1f7fb2b0a6 Merged revisions 52494,52506 via svnmerge from
19 years ago
Joshua Colp 2d3301a1ed Merged revisions 52335 via svnmerge from
19 years ago
Joshua Colp 820d80f5a7 Convert some more stuff to read/write lists.
19 years ago
Joshua Colp e6f894b27a Add DBDel and DBDelTree manager commands. (issue #8516 reported by dprado)
19 years ago
Joshua Colp 7b561b95bd Merged revisions 52265 via svnmerge from
19 years ago
Joshua Colp 9826fc599b Merged revisions 52049 via svnmerge from
19 years ago
Olle Johansson a9849288de Doxygen updates
19 years ago
Olle Johansson ec67ab7602 Adding some doxygen for udptl.c
19 years ago
Russell Bryant dab41a355d Merged revisions 51848 via svnmerge from
19 years ago
Joshua Colp 68c1f5338f Close file after we do the translation, and map memory for both reading/writing. (issue #8886 reported by cwegener)
19 years ago
Russell Bryant ac884e0c3a Merged revisions 51781 via svnmerge from
19 years ago
Russell Bryant 8137080816 Merged revisions 51750 via svnmerge from
19 years ago
Steve Murphy 4182cd1184 Merged revisions 51683 via svnmerge from
19 years ago
Joshua Colp b86d65958f Might as well go crazy here too and make the autoservice list read/write.
19 years ago
Joshua Colp 21b53af31d Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
19 years ago
Joshua Colp dcdc6c0bc6 Change RTP protos list to be read/write. Most of the time it's only going to be read so making it use mutex locks was a waste.
19 years ago
Joshua Colp 39d3580ee4 Make the RTP stack better conform to coding guidelines. (issue #8679 reported by johann8384)
19 years ago
Tilghman Lesher f7dd25f20c Fix bug introduced during constification (reported by tzanger via IRC)
19 years ago
Russell Bryant dcca8f345f Merged revisions 51311 via svnmerge from
19 years ago
Luigi Rizzo e7c5029d23 in the interest of portability, avoid using %zd when all
19 years ago
Russell Bryant 32339eedfb Merged revisions 51302 via svnmerge from
19 years ago
Luigi Rizzo 80243d0f0c forgot to add AST_LIBS += $(BKTR_LIB)
19 years ago
Luigi Rizzo 5b9114fa73 include "asterisk/zapata.h" to get the zaptel headers.
19 years ago
Russell Bryant 606ee0dab4 Break out of the config processing loop for manager.conf once the correct user
19 years ago
Jason Parker 5d25265403 Merged revisions 51265 via svnmerge from
19 years ago
Russell Bryant fa16f36aae Merged revisions 51262 via svnmerge from
19 years ago
Tilghman Lesher 9d74ea97c0 Merged revisions 51256 via svnmerge from
19 years ago
Jason Parker 7f58759deb Fix filename completion for "module load" and "load" CLI commands.
19 years ago
Russell Bryant 0e8bd82efe Fix trunk version of manager support for users.conf. Now it actually pays
19 years ago
Jason Parker 11dd11e5a1 Merged revisions 51241 via svnmerge from
19 years ago
Russell Bryant 2c5d2168c1 Merged revisions 51233 via svnmerge from
19 years ago
Joshua Colp 461d49d2bd Merged revisions 51211 via svnmerge from
19 years ago
Tilghman Lesher a48fdb83a5 Merged revisions 51195 via svnmerge from
19 years ago
Joshua Colp c71d6c12f7 Don't hold channel lock while sleeping/waiting for audio stream to get setup. (issue #8834 reported by phsultan)
19 years ago
Joshua Colp 3e6d6e0e62 Merged revisions 51182 via svnmerge from
19 years ago
Jason Parker 9ca780a271 Merged revisions 51170 via svnmerge from
19 years ago
Jason Parker dad1116c72 Merged revisions 51146 via svnmerge from
19 years ago
Russell Bryant a01ebfc13b Merged revisions 51057 via svnmerge from
19 years ago
Joshua Colp 2964e9eab6 Merged revisions 50895 via svnmerge from
19 years ago
Kevin P. Fleming 74f401d05f Merged revisions 50867 via svnmerge from
19 years ago
Joshua Colp 35ce830d76 Merged revisions 50820 via svnmerge from
19 years ago
Tilghman Lesher 836956f1df Bug 8803 - Fix crash in API
19 years ago
Tilghman Lesher b2cb3f86c4 Merged revisions 50782 via svnmerge from
19 years ago
Joshua Colp d986f00e73 Merged revisions 50727 via svnmerge from
19 years ago
Joshua Colp e82a8a1d0a Exit from session loop upon error (ie: they disconnected) and don't do any buffer manipulation in do_message. get_input will handle it.
19 years ago
Joshua Colp c64ced140f Merged revisions 50602 via svnmerge from
19 years ago
Kevin P. Fleming 17ea9c930e make the automatic post-answer delay happen only when the answer is 'automatic' (not done by the Answer() dialplan application)
19 years ago
Kevin P. Fleming aa3eea042d Merged revisions 50562 via svnmerge from
19 years ago
Kevin P. Fleming 1439e0fa75 when a channel gets automatically answered by an application, sleep a bit to give the audio path (for VOIP channels) time to be setup
19 years ago
Joshua Colp 4942fd94d2 Merged revisions 50466 via svnmerge from
19 years ago
Joshua Colp 278f2fe4c1 Merged revisions 50405 via svnmerge from
19 years ago
Joshua Colp fd06f29945 Merged revisions 50266 via svnmerge from
19 years ago
Joshua Colp ee137a5eaa Make callback declaration match one used in trunk.
19 years ago
Joshua Colp 91a7ca8df7 Merged revisions 50032 via svnmerge from
19 years ago
Olle Johansson 68ff3c3575 Issue #8663 - Add passthrough support for MPEG4 (neutrino88).
19 years ago
Tilghman Lesher c4c2c546da When calling the Realtime app more than once, unset fields which were
19 years ago
Tilghman Lesher 33d5a8a582 Reduce duplication of code (Issue 6542)
19 years ago
Jason Parker 5012135417 Fix a segfault when using "countries" that don't have a matching zone.
19 years ago
Jason Parker 5abda34cd9 Merged revisions 49742 via svnmerge from
19 years ago
Kevin P. Fleming 4a6ed271f5 probably shouldn't leave the mmap'ed file hanging around in memory
19 years ago
Kevin P. Fleming d0f3b18d16 a little more const-ification
19 years ago
Kevin P. Fleming cd73a483f1 const-ify some more APIs, and fix rev 49710 from branch-1.4 in a better way here
19 years ago
Kevin P. Fleming d0542012c0 Merged revisions 49680 via svnmerge from
19 years ago
Kevin P. Fleming 3d376fca97 use mmap() to read in the results of the manager action for an HTTP request, instead of reading it into a buffer
19 years ago
Kevin P. Fleming 87b9abc892 Merged revisions 49676 via svnmerge from
19 years ago
Joshua Colp a9c3429b07 Merged revisions 49675 via svnmerge from
19 years ago
Kevin P. Fleming 2288b11bf4 use a rwlock-list for the list of TLS objects
19 years ago
Kevin P. Fleming 4764795b37 Merged revisions 49553 via svnmerge from
19 years ago
Joshua Colp 50d9c8ad07 Merged revisions 49551 via svnmerge from
19 years ago
Kevin P. Fleming c5c17a1434 Merged revisions 49536 via svnmerge from
19 years ago
Joshua Colp af3e5903c8 It's pretty difficult to pthread_kill a thread that doesn't exist. (issue #8681 reported by bkruse)
19 years ago
Kevin P. Fleming ec2ae45651 Merged revisions 49457,49460-49461 via svnmerge from
19 years ago
Steve Murphy 7c6b71df21 Merged revisions 49237 via svnmerge from
19 years ago
Olle Johansson e5b5a92a56 Fix manager too.
19 years ago
Olle Johansson 9074555e37 - Add error handling to ast_parse_allow_disallow
19 years ago
Olle Johansson f83b845f08 - Implement error handling in ast_append_ha
19 years ago
Joshua Colp e2a50de88f Clarify why we are reading in a frame in the Packet2Packet bridge.
19 years ago
Kevin P. Fleming 3f7899c9da small formatting fix
19 years ago
Joshua Colp c6c83cf01e Merged revisions 49066 via svnmerge from
19 years ago
Joshua Colp b712e10a13 Convert uri_redirects list to read/write locks.
19 years ago
Joshua Colp 6d9273d0d8 Merged revisions 49024 via svnmerge from
19 years ago
Steve Murphy 6c7f4c1e32 Jason is having problems with the inclusion of <err.h>; it appears to be unnecessary for sucessful builds, so I either removed or commented out the inclusions from all the AEL related code. New outputs from bison/flex are included, etc.
19 years ago
Joshua Colp 7231cc108a Merged revisions 49009 via svnmerge from
19 years ago
Kevin P. Fleming adca0ff14b Merged revisions 49006 via svnmerge from
19 years ago
Kevin P. Fleming b07686e503 apparently we need an explicit message to warn people
19 years ago
Kevin P. Fleming afbfafa400 make the 'languageprefix' option default to on, and deprecate turning it off
19 years ago
Kevin P. Fleming 16b09ac48c Merged revisions 48998 via svnmerge from
19 years ago
Kevin P. Fleming d68c7c8ce6 Merged revisions 48987 via svnmerge from
19 years ago
Joshua Colp 7f61b822c1 Merged revisions 48964 via svnmerge from
19 years ago
Luigi Rizzo 09f75aa6dc rename the structs struct tone_zone_sound and struct tone_zone
19 years ago
Russell Bryant d3bf06f272 Resolve some compiler warnings
19 years ago
Russell Bryant 850dd4ea61 Use spaces as a separator for the redirect option to improve readability
19 years ago
Russell Bryant 5d5cc243c6 Simplify the definition of http_uri_redirect such that only one allocation is
19 years ago
Russell Bryant 2c5071a006 - Convert the list of URI handlers to use the linked list macros. While doing
19 years ago
Russell Bryant 08cfbe97b8 Remove a debug message. If this is still needed for debugging something,
19 years ago
Jason Parker 05d6c4a2d0 Merged revisions 48906 via svnmerge from
19 years ago
Joshua Colp 8e9cdb10fd Merge non-blocking logger from my branch. This should improve things under heavy load with lots of CLI/logging output.
19 years ago
Steve Murphy 7b338004bf a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode
19 years ago
Luigi Rizzo a2e6c6277f same as in other places, check that generator->release is not NULL
19 years ago
Joshua Colp f19ff5a451 Really clean up indications to use the linkedlists API
19 years ago
Joshua Colp 77d7b36217 Switch list of global variables to read/write locks.
19 years ago
Joshua Colp 730d68976e Convert alternate dialplan switch list to use read/write locks.
19 years ago
Steve Murphy 9327720c37 As per bug 7978, this version introduces the jittertargetextra option in config files
19 years ago
Luigi Rizzo d0b9eb93b6 remove now useless extern declarations.
19 years ago
Luigi Rizzo ccebf3511c convert the final clients of ast_build_string to use ast_str_*()
19 years ago
Luigi Rizzo 684e4dc373 debugging shows that we always need more than 128 bytes
19 years ago
Kevin P. Fleming 920de98f68 Merged revisions 48554 via svnmerge from
19 years ago
Luigi Rizzo 79fb4e4579 Replace ast_build_string with ast_str_*().
19 years ago
Kevin P. Fleming 89c41e2403 Merged revisions 48525 via svnmerge from
19 years ago
Kevin P. Fleming 018a9c86e4 Merged revisions 48521 via svnmerge from
19 years ago
Luigi Rizzo 2703a1a9df forgot this part...
19 years ago
Luigi Rizzo 97ce2f8fd8 another conversion from ast_build_str to ast_str
19 years ago
Luigi Rizzo c1220dd27e convert ast_build_str to ast_str_*
19 years ago
Luigi Rizzo 20b382cfff replace ast_build_string() with ast_str_*() functions.
19 years ago
Luigi Rizzo 055abfe9d9 simplify the ast_dynamic_str_*.... routines by
19 years ago
Luigi Rizzo 961754d4b1 move the dynamic string support in a better place i.e. string.h
19 years ago
Joshua Colp 915647d267 Merged revisions 48506 via svnmerge from
19 years ago
Luigi Rizzo 4e427d84bd unbreak the output for http session.
19 years ago
Luigi Rizzo b6d1722c83 remove ast_safe_string_alloc() - it is completely
19 years ago
Olle Johansson 0722c9ae77 Doxygen changes
19 years ago
Luigi Rizzo 1122621981 constify ast_state2str() and note it is not reentrant.
19 years ago
Luigi Rizzo 5ba11f9855 remove the macro LOAD_OH and expand it inline in the only
19 years ago
Joshua Colp f6649ae0af Merged revisions 48472 via svnmerge from
19 years ago
Joshua Colp 1c4c365377 Merged revisions 48461 via svnmerge from
19 years ago
Luigi Rizzo dd9d56b4c3 make sure that showdialplan sends only one
19 years ago
Luigi Rizzo efbfd6ce65 clean up function manager_show_dialplan_helper()
19 years ago
Luigi Rizzo 77e986e0d0 properly initialize a malloc'ed buffer
19 years ago
Luigi Rizzo 1b45dc4eee normalize the scanning of "general" options in the config file.
19 years ago
Luigi Rizzo 33cbc5e55e Make sure tab-completion works even when we have typed a fully
19 years ago
Luigi Rizzo f6c706c71b make sure the argument to ast_malloc() is > 0.
19 years ago
Steve Murphy 2c332f0200 This update fixes the problem reported in bug 8551; that ast_app_getdata() behaves differently in trunk for the case of a null prompt.
19 years ago
Joshua Colp c3052f7a7e Merged revisions 48381 via svnmerge from
19 years ago
Luigi Rizzo 437f4288cd - Generalize the function ssl_setup() so that the certificate info
19 years ago
Steve Murphy cb5e37e56c Merged revisions 47986,47995,47997,48001,48003-48004,48008-48014,48016,48018-48019 via svnmerge from
19 years ago
Luigi Rizzo 605b9a914e remove duplicated code to start the server threads, use
19 years ago
Luigi Rizzo ce6804c877 Part of the transformations necessary to add TLS support,
19 years ago
Luigi Rizzo 6a147ed134 Make externally visible some generic code useful to create
19 years ago
Russell Bryant 17a2888d2e Staticize one, and Constify a bunch of usage strings for CLI commands.
19 years ago
Russell Bryant a44e55a3f3 Constify a bunch of the usage strings for CLI commands.
19 years ago
Olle Johansson fe53552f41 Doxygen updates
19 years ago
Jason Parker 87f81679ee Expand on r48273 (from issue 8506), to translate more of the fskmodem stuff to English.
19 years ago
Olle Johansson 33c09cbcfa Issue #8506 - translate spanish comments in fskmodem to english (according to bug guidelines)
19 years ago
Olle Johansson 00bf07b12e Well, yes...
19 years ago
Olle Johansson b8fcae6d75 Reserving flags for coming code (currently in the "videocaps" branch)
19 years ago
Olle Johansson 757363eda4 - Code formatting
19 years ago
Olle Johansson c23bc46089 - Disable RTP timeouts during T.38 transmission
19 years ago
Olle Johansson e3b099c12a Formatting fix
19 years ago
Tilghman Lesher 1b2aebad4a Merged revisions 48179 via svnmerge from
19 years ago
Joshua Colp 869101028b Merged revisions 48168 via svnmerge from
19 years ago
Olle Johansson 446a06679a Documentation updates
19 years ago
Joshua Colp f6f735f505 Merged revisions 48152 via svnmerge from
19 years ago
Olle Johansson 8f3abf5f30 Small update
19 years ago
Olle Johansson 7e4d482071 Doxygen updates
19 years ago
Olle Johansson fddd385eb1 Adding some generic docs on extension and device states - watchers and providers
19 years ago
Olle Johansson 2bee4aba4d Change logging for p2p rtp bridge mode
19 years ago
Russell Bryant eaf98f31e8 Go ahead and make this write unconditional. Making it conditional is more work
19 years ago
Joshua Colp d44b349211 Merged revisions 48107 via svnmerge from
19 years ago
Russell Bryant 8ca3d51634 Remove an XXX command suggesting that this truncation should not be conditional,
19 years ago
Luigi Rizzo 0b798e298d don't use outputstr in the struct mansession, it's just
19 years ago
Luigi Rizzo 3dbc33ed4f initialize the dynamic string in a sane way.
19 years ago
Luigi Rizzo 5e7aebf9ac some simplifications to
19 years ago
Luigi Rizzo 29985ff8c3 do not return 500 Internal error if the AMI command provides
19 years ago
Luigi Rizzo 77ae04d7c1 mosty comment and documentation cleanup on waitevent.
19 years ago
Luigi Rizzo 0153bdd72c Move the code to purge stale sessions to a function,
19 years ago
Luigi Rizzo 5ce08d37ca Various simplifications of the code:
19 years ago
Luigi Rizzo 1c570d9ba0 More informative message on invalid commands.
19 years ago
Luigi Rizzo a8e9428317 another normalization of AMI vs HTTP identification.
19 years ago
Luigi Rizzo d1dcb0de2a always use managerid to determine whether this is an AMI or HTTP session,
19 years ago
Luigi Rizzo da80478d94 In the previous commit i forgot to set the poll_timeout to -1,
19 years ago
Luigi Rizzo 7a6914a126 document the support for running a server on TCP/TLS and
19 years ago
Luigi Rizzo 2e7fd7cbdb add a new http.conf option, sslbindaddr.
19 years ago
Luigi Rizzo 3637b60b19 in the helper thread, separate the FILE * creation from the actual
19 years ago
Luigi Rizzo a381d3552e staticize a global variable and remove an unused field structure.
19 years ago
Luigi Rizzo 2657279cb5 generalize a bit the functions used to create an tcp socket
19 years ago
Olle Johansson 7991366506 - Adding comment on suspicious memory allocation. Seems like it's never freed, but I don't
19 years ago
Luigi Rizzo d7b26b6bf8 set pointers to NULL after freeing memory to avoid multiple free()
19 years ago
Steve Murphy 6d270eacf4 This fix inspired by a patch supplied in bug 8189, which points out problems with the PLC code
19 years ago
Olle Johansson 3fd07f51f2 Doxygen update
19 years ago
Joshua Colp b50fc7a502 Merged revisions 47944 via svnmerge from
19 years ago
Joshua Colp 7b4a5105b2 Add support to set the maximum number of files open when Asterisk loads using the 'maxfiles' configuration option. (issue #7499 reported by rkarlsba)
19 years ago
Mark Spencer cc0c154f0e Restore some sense of security to manager
19 years ago
Joshua Colp a69ac09748 Merged revisions 47897 via svnmerge from
19 years ago
Joshua Colp dcba38ebaf Merged revisions 47860 via svnmerge from
19 years ago
Joshua Colp 03a7adf8ce Use RTP/RTCP fds on the RTP structure, don't bother storing them.
19 years ago
Joshua Colp b2b966eda8 Merged revisions 47852 via svnmerge from
19 years ago
Luigi Rizzo b3867180cf comments-only change:
19 years ago
Luigi Rizzo 49d03906b6 ESS-ification.
19 years ago
Luigi Rizzo f148916c23 Move this macro from cli.c to cli.h so apps can use it
19 years ago
Steve Murphy 6dcb17baaf This update fulfils the request of bug 7109, which claimed the language arg to ast_stream_and_wait() was redundant. Almost all calls just used chan->language, and seeing how chan is the first argument, this certainly seems redundant. A change of language could just as easily be done by simply changing the channel language before calling.
19 years ago
Luigi Rizzo 95a99a2469 remove a debugging message
19 years ago
Luigi Rizzo c32cae7e50 convert "help" to new style,
19 years ago
Luigi Rizzo 619c4ef0ec standardize "module show [like]"
19 years ago
Luigi Rizzo 4589662f7f describe a bit the patterns that you can have in the commands,
19 years ago
Luigi Rizzo 6f9b6ba0b1 merge the implemenmtation of "core set debug" and "core set verbose".
19 years ago
Luigi Rizzo 867e3d6e5d introduce a bit of regexp support in the internal CLI api.
19 years ago
Luigi Rizzo 0c8f2f1e4c remove an unused function
19 years ago
Luigi Rizzo 5fb52f8244 reduce indentation on a large function.
19 years ago
Luigi Rizzo e58079b067 use atomic instructions to update the inuse counters
19 years ago
Luigi Rizzo 84a5921ab5 make kevin (and 64 bit machines) happy and
19 years ago
Paul Cadach fc58bec502 Merged revisions 44809 via svnmerge from
19 years ago
Joshua Colp 0f15e43add Merged revisions 47707 via svnmerge from
19 years ago
Kevin P. Fleming c4ad5399c2 Merged revisions 47701 via svnmerge from
19 years ago
Kevin P. Fleming 1c86ec8222 Merged revisions 47690 via svnmerge from
19 years ago
Kevin P. Fleming 00c5f6d032 Merged revisions 47684 via svnmerge from
19 years ago
Luigi Rizzo 9ddef9890a small simplifications and localization of variables.
19 years ago
Luigi Rizzo b588fc320e new-style "core show channels"
19 years ago
Luigi Rizzo db923f638e more changes to new style of "module load" and "load".
19 years ago
Luigi Rizzo f28f07e1b2 move another deprecated command to the new style
19 years ago
Luigi Rizzo 0e9753f401 move "core set debug" to the new style, and remove duplicated
19 years ago
Luigi Rizzo 6edcca7b8d one more step cleaning the internal CLI interface:
19 years ago
Luigi Rizzo 1781f41b3b update the internal cli api following comments from kevin.
19 years ago
Joshua Colp 993c6823e6 Merged revisions 47645 via svnmerge from
19 years ago
Kevin P. Fleming f04ac0ad7e Merged revisions 47641 via svnmerge from
19 years ago
Joshua Colp 5861048fb6 Merged revisions 47639 via svnmerge from
19 years ago
Luigi Rizzo fbcc8f4de2 add missing casts and remove an unused function.
19 years ago
Luigi Rizzo 3d86c80c15 fix completion for "module reload mod_1 mod_2 ... "
19 years ago
Luigi Rizzo a9259cd8f4 partly convert to new style set-verbose, with completion fixes
19 years ago
Luigi Rizzo 6e4ed956bc replace two deprecated functions with calls to the standard ones,
19 years ago
Luigi Rizzo dfd4448412 remove duplicated implementation for a deprecated function, use the
19 years ago
Luigi Rizzo abdb8002df new-style for 'core show uptime', include 'complete' support and better error checking
19 years ago
Luigi Rizzo 7d38228d6e apply previous fix to old-style cli entries as well.
19 years ago
Luigi Rizzo ff5160e35c fix "core set debug atleast ",
19 years ago
Luigi Rizzo fbb143b829 Bring in the improved internal API for the CLI.
19 years ago
Matt O'Gorman 43aefe9116 fix bytesize to 5.3kb for g723 codec and add support for multimode of tc400p
19 years ago
Steve Murphy cd74836d3a This solves bug 8342, whereby a crash occurs under certain circumstances while reading a config file with comments-- a call to CB_ADD shouldn't happen if withcomments is zero
19 years ago
Joshua Colp 209628c6e2 Return module show to a working state. (issue #8353 reported by jserve)
19 years ago
Luigi Rizzo 06c9ef6411 stop looking for new entries when we know we are done.
19 years ago
Luigi Rizzo b2e2f3f957 free memory when unregistering an entry.
19 years ago
Russell Bryant f575b7e25d Merged revisions 47492 via svnmerge from
19 years ago
Matt O'Gorman b025702287 safe terminal output is sweet.
19 years ago
Joshua Colp 0282cc1a4d A trunk that builds is a productive trunk.
19 years ago
Tilghman Lesher 691363656f Merged revisions 47436 via svnmerge from
19 years ago
Russell Bryant 2b2693499d Add the ability to specify multiple prompts to the Read() dialplan application,
19 years ago
Joshua Colp 0efd51e1d2 This should already be called while locked.
19 years ago
Russell Bryant 7209032ffe Merged revisions 47377 via svnmerge from
19 years ago
Russell Bryant adf6bb1d9a Merged revisions 47375 via svnmerge from
19 years ago
Russell Bryant 2ea9bb223f Merged revisions 47372 via svnmerge from
19 years ago
Russell Bryant f3c0a35b6e Merged revisions 47366 via svnmerge from
19 years ago
Russell Bryant 843a348841 Merged revisions 47352 via svnmerge from
19 years ago
Steve Murphy 2e375b388e This mod via bug 7531
19 years ago
Kevin P. Fleming cf1203c496 restore display of G.722 codec
19 years ago
Joshua Colp c5780b19c8 Display CID matching information when using dialplan show. (issue #8279 reported by caio1982)
19 years ago
Luigi Rizzo bdc0180292 fix "core show profile" parsing.
19 years ago
Steve Murphy 908f176cf3 A fair number of changes for the sake of bug 7506
19 years ago
Luigi Rizzo 403135f646 explain why ast_carefulwrite is written the way it is,
19 years ago
Joshua Colp 980ce017ec Add support for manager hooks, so you could fire off manager events over IRC if you were crazy enough. (issue #5161 reported by anthm with mods by moi)
19 years ago
Russell Bryant 18693a45dc Merged revisions 47196 via svnmerge from
19 years ago
Russell Bryant 9297a1a8f9 Merged revisions 47195 via svnmerge from
19 years ago
Russell Bryant 7ee7429cf7 Merged revisions 47192 via svnmerge from
19 years ago
Luigi Rizzo ce68e30a07 remove many unnecessary casts
19 years ago
Luigi Rizzo 84c8e348ba remove a useless cast
19 years ago
Luigi Rizzo 0bf4235ff1 add a new cli/manager.conf option "debug" to enable/disable
19 years ago
Luigi Rizzo 55f22da63f Fix "core show channels" and "core show modules".
19 years ago
Tilghman Lesher 79f75ec09a Merged revisions 47053 via svnmerge from
19 years ago
Tilghman Lesher 10875731ec Merged revisions 47051 via svnmerge from
19 years ago