Commit Graph

463 Commits (d806ae0da0811f26d23fd241ede8840d09cf74e4)

Author SHA1 Message Date
Claude Patry df1912cd4f since we unregister, that has not been properly registered, i standardized this.
17 years ago
Brett Bryant 65b8381550 The following patch adds new options and alters the default behavior of the ENUM* functions. The TXCIDNAME lookup function has also gotten a
17 years ago
Joshua Colp fc120bf827 Merged revisions 115327 via svnmerge from
17 years ago
Tilghman Lesher b5a127daac Modify TIMEOUT() to be accurate down to the millisecond.
17 years ago
Brett Bryant e8c3130292 Add "read" capability to new libspeex functions in func_speex.c.
17 years ago
Brett Bryant 5634048c98 Add two new dialplan functions from libspeex for applying audio gain control
17 years ago
Jeff Peeler 41fd7a6a21 (closes issue #6113)
17 years ago
Tilghman Lesher 91d1db8456 Merged revisions 113117 via svnmerge from
17 years ago
Terry Wilson b02bc230af Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not
17 years ago
Russell Bryant d411087275 - Add Tilghman to the copyright info ... he wrote the hard part :)
17 years ago
Tilghman Lesher b7f064eb24 Cache config files, when possible, for speed
17 years ago
Russell Bryant c89a4be6e7 remove documentation of an argument that i did not implement
17 years ago
Russell Bryant 67fd292f96 Add a trivial new dialplan function, AST_CONFIG(), which allows you to access
17 years ago
Tilghman Lesher 8718878490 Merged revisions 106552 via svnmerge from
17 years ago
Russell Bryant 39b9f81016 Fix the SHARED() read callback to properly unlock the channel. This function
17 years ago
Russell Bryant 3b483f80d6 Simplify a trivial snprintf() with ast_copy_string()
17 years ago
Russell Bryant ebcefd1395 Add a "devstate change" CLI command to control custom device states. Also,
17 years ago
Russell Bryant ec75edce0a fix this module
17 years ago
Tilghman Lesher bf92cca5fa Use the readhandle for reads (closes issue #12069)
17 years ago
Tilghman Lesher 465b0c098d Shared space for variables (instead of letting other channels muck with your own)
17 years ago
Tilghman Lesher 26755e3882 Context tracing for channels
17 years ago
Jason Parker 90c10e5cbc Merged revisions 103683 via svnmerge from
18 years ago
Russell Bryant 1ec8cb41a8 Merge changes from team/mvanbaak/cli-command-audit
18 years ago
Terry Wilson 6e7659e6b1 Add REALTIME_STORE and REALTIME_DESTROY dialplan functions provided by sergee.
18 years ago
Tilghman Lesher d4d73b50a1 Merged revisions 102214 via svnmerge from
18 years ago
Joshua Colp 7492c04a23 Add missing braces.
18 years ago
Tilghman Lesher f124988a35 Convert func_odbc to use SQLExecDirect for speed
18 years ago
Tilghman Lesher 6331b0b831 Reset default CUT delimiter back to '-'
18 years ago
Joshua Colp 8e1f8df431 Merged revisions 97697 via svnmerge from
18 years ago
Terry Wilson 3570ad103d Added a new module, res_phoneprov, which allows auto-provisioning of phones
18 years ago
Joshua Colp d1a42bbcd9 Merged revisions 97152 via svnmerge from
18 years ago
Russell Bryant 54bc2c20b6 Now that the version.h file was getting properly regenerated every time the svn
18 years ago
Mark Michelson 5107c5474c Change instances of AST_NONSTANDARD_APP_ARGS(foo, bar, ',') to AST_STANDARD_APP_ARGS(foo, bar)
18 years ago
Luigi Rizzo b1c35179e6 implement "configure" checks for libiconv, and add the
18 years ago
Tilghman Lesher f3e2f0bb0a Merged revisions 95470 via svnmerge from
18 years ago
Olle Johansson 3acad631f8 This function checks more than just contexts...
18 years ago
Russell Bryant 55e3cb32cd Add a new dialplan function, DIALPLAN_EXISTS(), which allows you to check for
18 years ago
Kevin P. Fleming 100ef27af9 Merged revisions 93180 via svnmerge from
18 years ago
Mark Michelson 74577dd091 I needed to increment the numbers used on the VERBOSITY_ATLEAST calls by 1.
18 years ago
Mark Michelson 83f152b95c Changed VERBOSITY_LEVEL to VERBOSITY_ATLEAST to be more accurate.
18 years ago
Mark Michelson 4f75e15665 After reading Russell's e-mail to the dev list stating that checking option_verbose is not
18 years ago
Mark Michelson c9a2f5b5a8 Reintroduce an optimization that was lost when converting trunk to use ast_verb.
18 years ago
Luigi Rizzo 5490889153 Put into Makefile.moddir_rules the common instructions used to
18 years ago
Luigi Rizzo d652be0930 normalize subdirs' Makefile by using ASTTOPDIR and not .. to reference
18 years ago
Russell Bryant 53a5f22849 Merged revisions 90145 via svnmerge from
18 years ago
Tilghman Lesher fd06a58800 Merged revisions 89631 via svnmerge from
18 years ago
Luigi Rizzo 200f9c633b remove some useless includes
18 years ago
Luigi Rizzo 7e8835e0d7 remove another set of redundant #include "asterisk/options.h"
18 years ago
Russell Bryant 501915f0a9 Make the SYSINFO documentation reflect which options were compiled in
18 years ago
Luigi Rizzo 086630d121 remove unnecessary headers
18 years ago
Luigi Rizzo 9c2aaeb701 remove some unnecessary includes.
18 years ago
Luigi Rizzo 9335ace850 another bunch of include removals (errno.h and asterisk/logger.h)
18 years ago
Mark Michelson 67f044d42a Adding SYSINFO() dialplan function for retrieval of system information
18 years ago
Luigi Rizzo d82a631f9c more removal of duplicate #include lines
18 years ago
Luigi Rizzo 5490960453 remove a bunch of duplicate includes
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Steve Murphy 98429d37b2 Based on a note in asterisk-dev by Brian Capouch, I determined I too agressive in not initializing arrays passed to pbx_substitute_variables_xxxx; I reviewed the code (again) and hopefully found every possible spot where substitute_variables is called conditionally, and made sure the char array involved was set to a null string.
18 years ago
Joshua Colp e4187a7a26 Make func_env build again.
18 years ago
Tilghman Lesher 3a70afbc3e Add the FILE() dialplan function and deprecate ReadFile.
18 years ago
Kevin P. Fleming edc78d6023 improve linked-list macros in two ways:
18 years ago
Steve Murphy 63f2f04cf4 This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.
18 years ago
Tilghman Lesher f5b9b79397 Add a simple dialgroup function. By taking one of the simpler uses of Queue
18 years ago
Tilghman Lesher 64a0a9aa2c Merged revisions 87262 via svnmerge from
18 years ago
Russell Bryant 024bd67277 Make sure a channel exists before attempting to start or stop channel
18 years ago
Tilghman Lesher 7d43ac7004 Merged revisions 87120 via svnmerge from
18 years ago
Tilghman Lesher 446a6cdc94 Use the same delimited character as the FILTER function in FIELDQTY and CUT.
18 years ago
Steve Murphy 4e20c42a13 Merged revisions 86902 via svnmerge from
18 years ago
Jason Parker ebe4050128 Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
18 years ago
Jason Parker b0f3e6097e Convert NEW_CLI to AST_CLI.
18 years ago
Joshua Colp ff9eaa301d Merged revisions 85850 via svnmerge from
18 years ago
Tilghman Lesher 1acdae4f12 Document my changes from Friday
18 years ago
Tilghman Lesher 3d8d4b25ee Enable ranges, hexadecimal, octal, and special backslashed characters for the FILTER function
18 years ago
Matthew Fredrickson f2f66caae1 See if I can fix this borked ANI2 code I added
18 years ago
Matthew Fredrickson 4c5dd299bc Add ANI2 support to func_callerid
18 years ago
Russell Bryant 9d43f99be1 * The documentation for the LOCK() function says that it will block for up to
18 years ago
Russell Bryant 2897a41de8 put the channel in autoservice when executing func_shell
18 years ago
Russell Bryant 3f26b8e8cf Merged revisions 83177 via svnmerge from
18 years ago
Tilghman Lesher 82cf384e03 Merged revisions 82285 via svnmerge from
18 years ago
Russell Bryant b068a17e60 Add EXTENSION_STATE() function that can retrieve the state of an extension that
18 years ago
Russell Bryant fa0536aab9 Rename the DEVSTATE() function to DEVICE_STATE() to better conform to how other
18 years ago
Russell Bryant 65b4a88c60 Merge HINT() dialplan function from my sandbox branch into trunk. This function
18 years ago
Tilghman Lesher 314d4e6048 Merged revisions 81415 via svnmerge from
18 years ago
Russell Bryant 2f4a2811b6 Add proper channel locking around the uses of datastore_add and _find. There
18 years ago
Russell Bryant 040a5f20f9 * Constify the uid field of channel datastores
18 years ago
Russell Bryant 0ebb5c8777 Merged revisions 80547 via svnmerge from
18 years ago
Russell Bryant 558d533388 Merged revisions 80539 via svnmerge from
18 years ago
Russell Bryant 5eb7cbef42 use ast_atomic_fetchadd_int for incrementing resultcount
18 years ago
Tilghman Lesher 646234bd10 store and destroy implementations for realtime pgsql (closes issue #10372)
18 years ago
Tilghman Lesher d6eb859bc2 Revise dialplan locks to permit multiple locks per channel, but with deadlock avoidance
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Russell Bryant 047dbef446 Store custom device states in astdb so that they will persist a restart. As a
18 years ago
Russell Bryant e113d36aa4 Merge a set of device state improvements from team/russell/events.
18 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.
18 years ago
Tilghman Lesher 3257acb922 Add some documentation detailing an aspect of dialplan functions, as requested by Russell
18 years ago
Tilghman Lesher ce26bea24a Add func_lock, which creates dialplan mutexes, and note that the Macro apps are now deprecated.
18 years ago
Tilghman Lesher 20bbd09de3 Mostly cleanup of documentation to substitute the pipe with the comma, but a few other formatting cleanups, too.
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
18 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.
18 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
18 years ago
Joshua Colp 0772f62be7 Clean up func_curl a bit.
18 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.
18 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.
18 years ago
Joshua Colp 96a646734f It is no longer required for each module that deals with a channel to call ast_module_user_hangup_all in it's unload function. The loader will automatically perform this action for it.
18 years ago
Russell Bryant 5a32541671 Cast the 2nd argument to iconv() to a void *, as some systems define it as a
18 years ago
Tilghman Lesher ba857cc8a9 Merged revisions 73985 via svnmerge from
18 years ago
Dwayne M. Hubbard ae232491de Added AND, OR, and XOR bitwise operations to MATH for issue 9891, thanks jcmoore
18 years ago
Joshua Colp 1961b57705 Add rtpdest option to SIP CHANNEL() dialplan function to return the IP address and port that RTP (be it audio/video/text) is going to.
18 years ago
Russell Bryant 43658278ff Merged revisions 69702 via svnmerge from
18 years ago
Russell Bryant 055d82cbce Add a massive set of changes for converting to use the ast_debug() macro.
18 years ago
Jason Parker f593698f79 Merged revisions 69259 via svnmerge from
18 years ago
Joshua Colp 679733c52a Use read/write lock based lists for group counting.
18 years ago
Russell Bryant 1d57ccb6f7 Fix a bunch of doxygen errors and document more things
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Tilghman Lesher fcc3aba331 Merged revisions 67162 via svnmerge from
18 years ago
Tilghman Lesher 7216b96319 Merged revisions 66919 via svnmerge from
18 years ago
Tilghman Lesher e9251f42df Issue 9799 - Multirow results for func_odbc
18 years ago
Tilghman Lesher 1236ed3214 Issue 9477 - Improve menuselect labels
18 years ago
Tilghman Lesher 2baca1b2c5 Merged revisions 66538 via svnmerge from
18 years ago
Tilghman Lesher 1e9c6c4a70 Shorten description to a much more reasonable length
18 years ago
Tilghman Lesher b6b254b733 Issue 7021 - Add ICONV function for converting between character sets
18 years ago
Dwayne M. Hubbard 585129cfea Merged revisions 65866 via svnmerge from
18 years ago
Russell Bryant e090c28540 Add two new dialplan functions: ENUMQUERY and ENUMRESULT. These functions
18 years ago
Tilghman Lesher d4de739706 Issue 9716 - doc/enum.txt no longer exists in trunk
18 years ago
Joshua Colp 8b2b3e172b Merged revisions 61805 via svnmerge from
18 years ago
Russell Bryant b94378b5e6 Merge changes from team/russell/iax2_osp
18 years ago
Tilghman Lesher b230918437 Merged revisions 61681 via svnmerge from
18 years ago
Russell Bryant 0df4004ee5 Add a minor loop optimization to the custom device state callback. Once the
18 years ago
Russell Bryant 7c884d76ea Merged revisions 59256 via svnmerge from
18 years ago
Tilghman Lesher 03aa8f7b8f Merged revisions 59049 via svnmerge from
18 years ago
Tilghman Lesher cb8b3e1efb Merged revisions 58933 via svnmerge from
18 years ago
Tilghman Lesher 4e8f978287 Merged revisions 58880 via svnmerge from
18 years ago
Olle Johansson bc01e39174 Creating new doxygen macro "\extref" to create page that lists
18 years ago
Russell Bryant f60efe347a This introduces a new dialplan function, DEVSTATE, which allows you to do some
19 years ago
Tilghman Lesher 63cc6e10b4 Formatting fixes
19 years ago
Kevin P. Fleming e758ef09b3 Merged revisions 53779-53781 via svnmerge from
19 years ago
Tilghman Lesher c59714fbfc Add CALLERPRES dialplan function and deprecate SetCallerPres application
19 years ago
Tilghman Lesher 777a51ad5a Fix compiler warnings
19 years ago
Russell Bryant e66a64fa71 Merged revisions 53093 via svnmerge from
19 years ago
Tilghman Lesher 0e209d5e1c Merged revisions 53075 via svnmerge from
19 years ago
Tilghman Lesher e5304e54cc Merged revisions 53070 via svnmerge from
19 years ago
Olle Johansson 0ddb38ddee Doxygen update
19 years ago
Jason Parker 5d25265403 Merged revisions 51265 via svnmerge from
19 years ago
Russell Bryant 445269f001 Merged revisions 51205 via svnmerge from
19 years ago
Joshua Colp 3c1b9fc508 One const, two const. Let's stick with everything else - one const. Plus older versions of GCC don't support double const either.
19 years ago
Tilghman Lesher c4c2c546da When calling the Realtime app more than once, unset fields which were
19 years ago
Tilghman Lesher 785483f304 Modifications to allow the output of SHELL() to be split per line (Issue 8676)
19 years ago
Tilghman Lesher 6b13c4d7d4 Add function to execute a shell command and return the output (Issue 8676)
19 years ago
Kevin P. Fleming 37182c873e finish const-ifying ast_func_read()
19 years ago
Tilghman Lesher 551fbf5007 Tweak description text to match new functionality (Issue 7959)
19 years ago