Commit Graph

1761 Commits (f55f994661d4b4a08b58a0df01b693acc33bfec2)

Author SHA1 Message Date
Jeff Peeler 16a14a4cd8 Requested changes from Pari, reviewed by Russell.
18 years ago
Tilghman Lesher 1dc86caf30 Merged revisions 102323 via svnmerge from
18 years ago
Russell Bryant b095b74685 The documentation page has to be in its own comment block to work, apparently.
18 years ago
Tilghman Lesher bfd26b9cfd Merged revisions 101894 via svnmerge from
18 years ago
Tilghman Lesher 1ce6a2d5ec Merged revisions 101772 via svnmerge from
18 years ago
Olle Johansson 94325433a2 - doxygen fixes
18 years ago
Olle Johansson 13c62afa80 Constifying the interface to get pvt_ids in the bridge, based on
18 years ago
Mark Michelson f007eba6d9 Re-inserting chan_vpb into trunk.
18 years ago
Tilghman Lesher 8fd1e10d3d Normalize the detection for execinfo, so that Linux (glibc) and other platforms
18 years ago
Russell Bryant 1c74c549d7 Merged revisions 100581 via svnmerge from
18 years ago
Tilghman Lesher 69ade72e3c With the switch to the ast_sched_replace* API in trunk, we lose the correction
18 years ago
Tilghman Lesher ac699196f5 Merged revisions 100465 via svnmerge from
18 years ago
Mark Michelson 7a90863973 Removing chan_vpb from the tree
18 years ago
Joshua Colp 0b898073d1 Add an API call that steals the answered channel so that a destruction of the dialing structure does not hang it up.
18 years ago
Kevin P. Fleming 4668cb2d54 ummm... might be good if this macro argument was actually used :-)
18 years ago
Kevin P. Fleming 8b7dc8e93e add the ability to define a structure type for argument parsing when it would be useful to be able to pass it between functions
18 years ago
Kevin P. Fleming 25067d32aa Merged revisions 100264 via svnmerge from
18 years ago
Jason Parker 3bd33214b9 Move code from res_features into (new file) main/features.c
18 years ago
Tilghman Lesher cfa0ec1f97 Add res_config_ldap for realtime LDAP engine.
18 years ago
Olle Johansson b8aa3248ec Add a generic function to set the bridged call PVT unique id string
18 years ago
Olle Johansson 865bb84432 Doxygen updates
18 years ago
Tilghman Lesher 6181e386b5 Merged revisions 99341 via svnmerge from
18 years ago
Russell Bryant b995c78c31 Merge changes from team/group/sip-tcptls
18 years ago
Russell Bryant 1807acb9b0 Merged revisions 99081 via svnmerge from
18 years ago
Russell Bryant e345fd7ca7 Merged revisions 99079 via svnmerge from
18 years ago
Russell Bryant 2a91da6613 Merged revisions 99004 via svnmerge from
18 years ago
Jason Parker f2d31ec0c8 Change AST_EXT_TOOL_CHECK to attempt to build against <package>_LIB, per recommendations from Russell.
18 years ago
Jason Parker 19b4c52bf4 Partially revert r93898, because it broke the way netsnmp was being detected.
18 years ago
Joshua Colp c692e1cacb Merged revisions 98951 via svnmerge from
18 years ago
Russell Bryant 25e1c74bf1 Clean up something I did for ABI compatability in 1.4
18 years ago
Russell Bryant 4fb04cb58a Merged revisions 98943 via svnmerge from
18 years ago
Russell Bryant d20cb305af Add configure script check for JACK.
18 years ago
Russell Bryant bed72d73b0 Remove KDE configure script check that isn't used
18 years ago
Jason Parker 54873bdb38 Merged revisions 97847 via svnmerge from
18 years ago
Russell Bryant c53f95e29f Merged revisions 97734 via svnmerge from
18 years ago
Russell Bryant 7258c132bd These prototypes are not supposed to be in asterisk.h. They are already in
18 years ago
Steve Murphy 71ad27409c The fixes in this commit are mainly to allow compiling of trunk with --enable-dev-mode, mutex profiling, lock debugging, etc. Mainly, the version.c needs to be in the OBJS line; asterisk.h was chosen to have the prototypes for ast_get_version, ast_get_version_num; and the ASTERISK_FILE_VERSION macro needs to be used after including asterisk.h in a few files. I hope I did the right thing. If not, let me know.
18 years ago
Tilghman Lesher 857e3412f4 Several manager changes:
18 years ago
Terry Wilson 3570ad103d Added a new module, res_phoneprov, which allows auto-provisioning of phones
18 years ago
Russell Bryant 54bc2c20b6 Now that the version.h file was getting properly regenerated every time the svn
18 years ago
Kevin P. Fleming f4fba89489 [commit message]
18 years ago
Tilghman Lesher d4bebf6068 Document recent API addition
18 years ago
Joshua Colp 54567cf2f7 Don't use AST_C_DEFINE_CHECK for the two pthread things that may not actually be definitions, they could be enums for example.
18 years ago
Mark Michelson a622ed08b6 Fix a typo in a comment. AST_STANDARD_APP_ARGS uses ',' as the separator,
18 years ago
Kevin P. Fleming cbfd5678ea improve AC_C_DEFINE_CHECK to not try to evaluate the macro being checked for, but just check for its existence
18 years ago
Kevin P. Fleming 887103e83b and now just to keep the libresample party going... if the functions from libresample are going to be in the main Asterisk binary, it makes sense for the header that defines them to be available without any special CFLAGS and to out-of-tree modules building against /usr/include/asterisk
18 years ago
Luigi Rizzo ca2a8e3fe1 There are three instances of the module definition macros,
18 years ago
Luigi Rizzo b1c35179e6 implement "configure" checks for libiconv, and add the
18 years ago
Russell Bryant 91ac3e9de8 fix a spelling error in a comment
18 years ago
Russell Bryant 61c23dd219 Add CV_STRINGFIELD() macro. This lets you set a config variable to a string field.
18 years ago
Russell Bryant 069584d124 Regenerate configure script to include check for portaudio.
18 years ago
Russell Bryant 75e602376b Merged revisions 94828-94829 via svnmerge from
18 years ago
Luigi Rizzo b7adaa023c add some macros to simplify parsing the config file,
18 years ago
Luigi Rizzo 5e24835995 modify http://svn.digium.com/view/asterisk?view=rev&rev=93603
18 years ago
Russell Bryant 0e08d5e7dc Merged revisions 94077 via svnmerge from
18 years ago
Russell Bryant aea80ca3a4 Add a couple of new time API calls - ast_tvdiff_sec and ast_tvdiff_usec
18 years ago
Luigi Rizzo 8e4360b072 Add a new API function, written at least twice in app_voicemail.c
18 years ago
Luigi Rizzo 8afacf169b add support for PARSE_DOUBLE, and remove identifiers for
18 years ago
Luigi Rizzo ea8af9b995 Properly document AST_EXT_TOOL_CHECK() and use it to check for
18 years ago
Luigi Rizzo c5b878622a remove a leftover line with only a '#' (wonder why
18 years ago
Luigi Rizzo 10f70a8321 make configuration variable const so they are not accidentally
18 years ago
Kevin P. Fleming 98307c16ed minor cleanups
18 years ago
Tilghman Lesher fbd7dda5c7 Merged revisions 93336 via svnmerge from
18 years ago
Kevin P. Fleming 100ef27af9 Merged revisions 93180 via svnmerge from
18 years ago
Olle Johansson 17afebc1a6 HUGE improvements to QoS/CoS handling by IgorG
18 years ago
Olle Johansson 28705e1bba Typo fixed earlier, that wasn't a typo after all.
18 years ago
Russell Bryant 799fd65435 fix a typo from revision 93138
18 years ago
Luigi Rizzo 2ee2c0b3a4 include mmap header if detected by configure
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 c8759aff25 Merged revisions 92875 via svnmerge from
18 years ago
Joshua Colp e941bbad0f Move usage of the old LOCAL_USER_* macros to the new ast_module_user_* functions in a few documentation places.
18 years ago
Tilghman Lesher 2d93695fba Merged revisions 92463 via svnmerge from
18 years ago
Olle Johansson c76f72493a Doxygen updates, formatting.
18 years ago
Mark Michelson 6711a5d567 Trunk build would fail due to the nonexistence of zaptel hwgain
18 years ago
Russell Bryant f330fb4783 * In unaligned.h, remove some unnecessary casts and mark the arg of the
18 years ago
Olle Johansson 4be6ed6874 A lot of doxygen updates
18 years ago
Olle Johansson 4e789be007 Doxygen updates
18 years ago
Luigi Rizzo 381e3535d4 some platforms (e.g. FreeBSD4) need netinet/in.h to be included
18 years ago
Russell Bryant 90614c7018 Merged revisions 91828 via svnmerge from
18 years ago
Russell Bryant c6705bd808 Merged revisions 91826 via svnmerge from
18 years ago
Jason Parker 02ea9face7 Add count of total number of calls processed by asterisk during it's lifetime.
18 years ago
Olle Johansson 9dc965eadd Merged revisions 91366 via svnmerge from
18 years ago
Tilghman Lesher ce2f670228 Change cdr_manager to use a "CDR" level, rather than the (overcrowded) "call" level.
18 years ago
Russell Bryant 5c56fa7fb7 Merged revisions 91070 via svnmerge from
18 years ago
Russell Bryant f15be28fb0 Add support for monitoring MWI on FXO lines.
18 years ago
Mark Michelson c52d8a1cd5 Merged revisions 90735 via svnmerge from
18 years ago
Tilghman Lesher 3d0e1c746a Merged revisions 90753 via svnmerge from
18 years ago
Joshua Colp 8bfdea3160 Add AGI commands for speech recognition. These mirror the dialplan applications mostly but present the information in a nicer fashion. The SPEECH RECOGNIZE command for example will return the results instead of having to query the dialplan functions.
18 years ago
Joshua Colp 46d2c050c5 Merged revisions 90548 via svnmerge from
18 years ago
Mark Michelson 6b08c442c7 Adding support for the "automixmonitor" dial and queue options.
18 years ago
Russell Bryant fac7480820 Merged revisions 90348 via svnmerge from
18 years ago
Russell Bryant 45f98e5419 Merged revisions 90310 via svnmerge from
18 years ago
Tilghman Lesher afac5cce50 Merged revisions 90155 via svnmerge from
18 years ago
Tilghman Lesher 4807fe0f0d Fix build of trunk
18 years ago
Russell Bryant 53a5f22849 Merged revisions 90145 via svnmerge from
18 years ago
Russell Bryant 8a3e984b0c Merged revisions 90142 via svnmerge from
18 years ago
Russell Bryant 68f8257484 Merge another small doxygen change from team/russell/chan_refcount to indicate
18 years ago
Russell Bryant 1d52125cbb Merge some channel.h doxygen updates from team/russell/chan_refcount
18 years ago
Jason Parker aa0f63d65f Remove "old"-style CLI handler, since nothing uses it anymore.
18 years ago
Russell Bryant 880fb1ece9 Merged revisions 89893 via svnmerge from
18 years ago
Russell Bryant 1dc9fa5231 Document that the channel is not locked when the send_digit_begin and end
18 years ago
Olle Johansson a30972ee65 More "moremanager" fixes. Manager commands to check module status.
18 years ago
Olle Johansson 4bf40290ae More "moremanager" changes - doxygen docs and changing manager version (finally)
18 years ago
Olle Johansson df7ba90b20 The following patch with updates for trunk. Works much better in trunk.
18 years ago
Jason Parker 35ecd08b46 Add an S_COR macro, which is similar to the existing S_OR macro,
18 years ago
Steve Murphy 4d8932a6dc Merged revisions 89622 via svnmerge from
18 years ago
Olle Johansson d4863bb0f0 Start using Doxygen groupings to group variables and defines.
18 years ago
Olle Johansson 595961655a Try to get channel.h and channel.c aligned in regards to ast_set_callerid as well
18 years ago
Tilghman Lesher f1de129e5f Merged revisions 89559 via svnmerge from
18 years ago
Olle Johansson 77e15c9b2f Housekeeping...
18 years ago
Steve Murphy a63f6be669 closes issue #11363; where the pattern _20x. buried in an included context, didn't match 2012; There were a small set of problems to fix: 1. I needed NOT to score patterns unless you are at the end of the data string. 2. Capital N,X,Z and small n,x,z are OK in patterns. I canonicalize the patterns in the trie to caps. 3. When a pattern ends with dot or exclamation, CANMATCH/MATCHMORE should always report this pattern, no matter the length. With this commit, I also supplied the wish of Luigi, where the user can select which pattern matching algorithm to use, the old (legacy) pattern matcher, or the new, trie based matcher. The OLD matcher is the default. A new [general] section variable, extenpatternmatchnew, is added to the extensions.conf, and the example config has it set to false. If true, the new matcher is used. In all other respects, the context/exten structs are the same; the tries and hashtabs are formed, but in the new mode the tries are not used. A new CLI command 'dialplan set extenpatternmatch true/false' is provided to allow switching at run time. I beg users that are forced to return to the old matcher to please report the reason in the bug tracker. Measured the speed benefit of the new matcher against an impossibly large context with 10,000 extensions: the new matcher is 374 times faster.
18 years ago
Olle Johansson 38c8755e9a Let's start with implementing the base architecture for UTF8 caller ID's
18 years ago
Luigi Rizzo 2b93af99dc formatting cleanup on the header,
18 years ago
Luigi Rizzo 89c2e53eb0 formatting cleanup
18 years ago
Luigi Rizzo 51391e6b09 shuffle a little bit the content of header files to reduce dependencies.
18 years ago
Luigi Rizzo ea2c54859d more removal of redundant headers
18 years ago
Luigi Rizzo 730e4eaca4 implement the split of file.h and mod_format.h
18 years ago
Luigi Rizzo 8ad9122aa8 Add a specific header for providers of file and format handling routines,
18 years ago
Kevin P. Fleming 3826d15993 move these forward declarations back to asterisk.h where they belong... even though asterisk.h includes compat.h, these declarations have nothing to do with the being platform-compatible and are directly related to being part of Asterisk
18 years ago
Luigi Rizzo 2ff174e62e add check for video4linux
18 years ago
Luigi Rizzo b4ab6b5652 X11 checks (at least some - for other platforms with
18 years ago
Luigi Rizzo a23c055c3d move asterisk/paths.h outside asterisk.h and into those files
18 years ago
Luigi Rizzo 915b97d300 move internal function declarations to include/asterisk/_private.h
18 years ago
Kevin P. Fleming 4d522da4aa switch compile-time option checking to string storage mode in this branch too
18 years ago
Russell Bryant 3cda8388b9 Be a bit more pedantic about the type for holding the md5 sum for the build options.
18 years ago
Luigi Rizzo b693c30a66 move the declaration of struct ast_channel ast_frame and ast_module
18 years ago
Luigi Rizzo 0595b5e2aa include "logger.h" and errno.h from asterisk.h - usage shows that they
18 years ago
Luigi Rizzo 9175f79aff revert inclusion of options.h
18 years ago
Joshua Colp d447eb052c Use the easy way that rizzo mentioned, only include malloc.h on the Windows platform.
18 years ago
Joshua Colp fa1f321ffc Revert last commit, apparently buildbot lied to me.
18 years ago
Joshua Colp 5adb2b2b06 Change how we handle alloca to conform with how it is suggested in the autoconf manual for AC_FUNC_ALLOCA. FreeBSD 6 now builds again and no other platforms should be broken by this.
18 years ago
Joshua Colp 42b08b4eb8 Use autoconf logic to determine the presence of PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP and PTHREAD_MUTEX_RECURSIVE_NP. Enclose error message from network.h in "
18 years ago
Luigi Rizzo 9f7fdc983f if alloca.h is not present, try malloc.h
18 years ago
Luigi Rizzo a4f9397028 prefer socket.h over other variants (winsock etc.)
18 years ago
Luigi Rizzo a0f06d0dd5 start using asterisk/network.h for network related headers.
18 years ago
Luigi Rizzo 616189c6ec wrapper for all generic network headers that have different names
18 years ago
Luigi Rizzo a45c53bc5b use autoconf results to conditionally compile timersub
18 years ago
Luigi Rizzo f728d220df compatibility fixes for cygwin
18 years ago
Luigi Rizzo 813fe77801 some version of flex produce code that wants __STDC_VERSION__
18 years ago
Luigi Rizzo 59efa92285 timersub is a macro not a function, so write the check in a way
18 years ago
Russell Bryant 505499588b Update the configure script check for sys/poll.h to also provide the result in
18 years ago
Luigi Rizzo aeba4fef65 add detection for timersub() and winsock.h/winsock2.h
18 years ago
Luigi Rizzo 882f5a69fa provide definitions for __LITTLE_ENDIAN and __BIG_ENDIAN if not present.
18 years ago
Luigi Rizzo 5862c55451 use poll as detected by configure
18 years ago
Luigi Rizzo 732c1d30c3 acinclude.m4: add a function to help checking sdl-config, gtk-config
18 years ago
Luigi Rizzo d209cb090e add check for the presence of glob
18 years ago
Luigi Rizzo 7b523bf896 paths are already in include/asterisk/paths.h so don't duplicate
18 years ago
Luigi Rizzo 1f6dcae007 whitespace only change - adjust indentation and add some
18 years ago
Luigi Rizzo 89ffa642a1 logger.h does not need options.h
18 years ago
Luigi Rizzo 4afe3b5ba9 remove redundant #include "asterisk/compat.h",
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Kevin P. Fleming 547306835e Merged revisions 89325 via svnmerge from
18 years ago
Luigi Rizzo 02733f3290 add a small new function to retrieve variables from a config
18 years ago
Tilghman Lesher 8309f54e39 If we're going to be passing a negative value for the size of a stringfield,
18 years ago
Luigi Rizzo 09d9cce1d8 access channel locks through ast_channel_lock/unlock/trylock and not
18 years ago
Luigi Rizzo 7f8ecd2cd3 make the 'name' and 'value' fields in ast_variable const char *
18 years ago
Russell Bryant d3414c7552 Fix up various coding guidelines issues ...
18 years ago
Russell Bryant 9eff81dad9 This fixes a build error on my mac. It also works on my linux box. Let me
18 years ago
Jason Parker cfbc4f5fb8 Doxygen fixes.
18 years ago
Steve Murphy db1000b803 Thanks to snuffy for this doxygen update to hashtab.h; closes issue #11223
18 years ago
Steve Murphy fd1fbb0223 Thanks to snuff-work, who brought up that these fixes might need to be made.
18 years ago
Steve Murphy a897556f7f This is the perhaps the biggest, boldest, most daring change I've ever committed to trunk. Forgive me in advance any disruption this may cause, and please, report any problems via the bugtracker. The upside is that this can speed up large dialplans by 20 times (or more). Context, extension, and priority matching are all fairly constant-time searches. I introduce here my hashtables (hashtabs), and a regression for them. I would have used the ast_obj2 tables, but mine are resizeable, and don't need the object destruction capability. The hashtab stuff is well tested and stable. I introduce a data structure, a trie, for extension pattern matching, in which knowledge of all patterns is accumulated, and all matches can be found via a single traversal of the tree. This is per-context. The trie is formed on the first lookup attempt, and stored in the context for future lookups. Destruction routines are in place for hashtabs and the pattern match trie. You can see the contents of the pattern match trie by using the 'dialplan show' cli command when 'core set debug' has been done to put it in debug mode. The pattern tree traversal only traverses those parts of the tree that are interesting. It uses a scoreboard sort of approach to find the best match. The speed of the traversal is more a function of the length of the pattern than the number of patterns in the tree. The tree also contains the CID matching patterns. See the source code comments for details on how everything works. I believe the approach general enough that any issues that might come up involving fine points in the pattern matching algorithm, can be solved by just tweaking things. We shall see. The current pattern matcher is fairly involved, and replicating every nuance of it is difficult. If you find and report problems, I will try to resolve than as quickly as I can. The trie and hashtabs are added to the existing context and exten structs, and none of the old machinery has been removed for the sake of the multitude of functions that use them. In the future, we can (maybe) weed out the linked lists and save some space.
18 years ago
Kevin P. Fleming edc78d6023 improve linked-list macros in two ways:
18 years ago
Russell Bryant 4afb905cf0 Print out the channel name as a prefix to the "agi debug" output. This makes
18 years ago
Tilghman Lesher 7c56918262 Commit some cleanups to the format type code.
18 years ago
Tilghman Lesher 3c9bc8827b Merged revisions 89045 via svnmerge from
18 years ago
Olle Johansson 6519abeffc Additional TDD changes (preparing for SIP changes - adding TDD support to SIP)
18 years ago
Jason Parker 2c582c7cfb Allow gtalk and jingle to use TLS connections again.
18 years ago
Tilghman Lesher 32701f5031 Set up detection of IP_PKTINFO in autoconf for chan_unistim
18 years ago
Russell Bryant 9bfd82cec2 Merged revisions 88805 via svnmerge from
18 years ago
Russell Bryant ed6e62a8e5 Merged revisions 88931 via svnmerge from
18 years ago
Kevin P. Fleming 1c96946877 Merged revisions 88862 via svnmerge from
18 years ago
Russell Bryant aecb21e822 Merged revisions 88719 via svnmerge from
18 years ago
Luigi Rizzo 08b10da53b Simplify the implementation and the API for stringfields;
18 years ago
Tilghman Lesher e8c781b215 Add pbx_lua as a method of doing extensions
18 years ago
Tilghman Lesher ce90623010 Merged revisions 88210 via svnmerge from
18 years ago
Jason Parker 2902601eea Remove traces of gnutls, since we no longer use/need it.
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
Jason Parker 5a58a4c475 Switch res_jabber to use openssl rather than gnutls.
18 years ago
Joshua Colp 2b33aca04c Remove old whisper remnants from channel.h
18 years ago
Tilghman Lesher 59ca511408 Merged revisions 87739 via svnmerge from
18 years ago
Russell Bryant f7782d60d1 Merged revisions 87396 via svnmerge from
18 years ago
Joshua Colp c8777404b3 Add autoconf checks for extra suppserv definitions that are not present in releases yet. chan_misdn should now build against the latest release.
18 years ago
Steve Murphy c9f3efc381 Merged revisions 87168 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
Kevin P. Fleming c6a8d45f43 Merged revisions 87069 via svnmerge from
18 years ago
Russell Bryant 8bf796ec10 Merged revisions 86836 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
Russell Bryant 3b92c7b262 Merged revisions 86726 via svnmerge from
18 years ago
Russell Bryant 56879bf978 Merged revisions 85532 via svnmerge from
18 years ago
Jason Parker b0f3e6097e Convert NEW_CLI to AST_CLI.
18 years ago
Russell Bryant 155aaf947f Merged revisions 86330 via svnmerge from
18 years ago
Russell Bryant dbdbdb7f43 Merged revisions 85997 via svnmerge from
18 years ago
Russell Bryant 5007769d4e Merged revisions 85994 via svnmerge from
18 years ago
Russell Bryant a4d915608b Merged revisions 85561 via svnmerge from
18 years ago
Russell Bryant eec3f78368 Merged revisions 85533 via svnmerge from
18 years ago
Russell Bryant a6507769ca Merged revisions 85316 via svnmerge from
18 years ago
Kevin P. Fleming cf12ac90b3 Merged revisions 85195 via svnmerge from
18 years ago
Tilghman Lesher e9221b062e Merged revisions 85158 via svnmerge from
18 years ago
Philippe Sultan 510430a6a2 Make the status and priority configurable.
18 years ago
Tilghman Lesher c2f7cc4bd4 Create a universal exception handling extension, "e" (closes issue #9785)
18 years ago
Russell Bryant 9334e72e76 Merged revisions 84271 via svnmerge from
18 years ago
Russell Bryant 1f3f7215d8 Merged revisions 84206 via svnmerge from
18 years ago
Russell Bryant 019c07e63e Merged revisions 84146 via svnmerge from
18 years ago
Dwayne M. Hubbard bd5b6cea68 Merged revisions 84018 via svnmerge from
18 years ago
Russell Bryant f04b586267 fix a typo in a comment
18 years ago
Russell Bryant 6e8997fe3c Change function documentation to use doxygen tags. (Really, I just needed
18 years ago
Russell Bryant b6abd3c659 Don't note that functions are deprecated in favor of themselves. This was
18 years ago
Philippe Sultan 3a5f263bf0 Comply with latest XEP-0166, XEP-0167, XEP-0176.
18 years ago
Tilghman Lesher 48f56ba8b4 Fixes for FreeBSD... testing for every conceivable math function now
18 years ago
Russell Bryant 9f64905d4e Merged revisions 83432 via svnmerge from
18 years ago
Tilghman Lesher 78a94595f6 Check for the presence of trunc and round, and make the ISOC99 detection a little more sane (closes issue #10776)
18 years ago
Philippe Sultan dc9dc75379 Transmit proper invitation, thus conforming to XEP-0166 (Jingle general
18 years ago
Russell Bryant 0de872da8d Merged revisions 82929 via svnmerge from
18 years ago
Russell Bryant 384aea6257 Make sure that libpthread doesn't try to call free() directly when MALLOC_DEBUG
18 years ago
Russell Bryant 9388173f85 Make the MALLOC_DEBUG output for free() useful again. After changing calls to
18 years ago
Tilghman Lesher bc494164c8 Add a direct execute method to res_odbc (closes issue #10722)
18 years ago
Russell Bryant bf28185fce Merged revisions 82385 via svnmerge from
18 years ago
Russell Bryant 79d79ac840 Merged revisions 82337 via svnmerge from
18 years ago
Russell Bryant 1282de797d Various code and documentation cleanups for res_config_sqlite
18 years ago
Philippe Sultan 43d63b1027 Assign namespace properly
18 years ago
Philippe Sultan 92cc7aeff1 Changed Jingle and Jingle DTMF namespaces.
18 years ago
Tilghman Lesher 82cf384e03 Merged revisions 82285 via svnmerge from
18 years ago
Tilghman Lesher c4869b5f1d Merged revisions 82028 via svnmerge from
18 years ago
Russell Bryant 79246506e7 Add doxygen documentation for slinfactory_destroy(), mainly just noting that
18 years ago
Jason Parker 9f865889a2 Merged revisions 81778 via svnmerge from
18 years ago
Philippe Sultan da620112de Merged revisions 81743 via svnmerge from
18 years ago
Luigi Rizzo 8e62c6c4d0 various changes to the documentation, and redefinition of
18 years ago
Tilghman Lesher 9169ac8ef4 Merged revisions 81569 via svnmerge from
18 years ago
Russell Bryant 8bcfddc8ec Merged revisions 81599 via svnmerge from
18 years ago
Jason Parker d72ea80a00 Doxygen cleanups/fixes.
18 years ago
Steve Murphy dcb85e2456 this set of changes fixes issue # 10643 by keeping track of the last object defined in a file, and attaching any accumulated comments to that object (category header or variable declaration). The file_save routine also had to be upgraded to output these trailing comments. Config.h was modified to include the trailing comment list on categories and variables.
18 years ago
Russell Bryant 9bda1c5a94 Merged revisions 81448 via svnmerge from
18 years ago
Russell Bryant 782b8ca0c9 logger.h depends on options.h, so go ahead and include it
18 years ago
Mark Michelson 1bfe10997b Merged revisions 81426 via svnmerge from
18 years ago
Russell Bryant 5872c6d757 Merged revisions 81418 via svnmerge from
18 years ago
Joshua Colp 5a8feb826d Make the event header file work under C++.
18 years ago
Steve Murphy b5cd67adc3 This code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I didn't add it to 1.4 yet, because it's not entirely clear to me if this is a bug fix or an enhancement. A lot of files were affected by small changes like ast_variable_new getting an added arg, for the file name the var was defined in; ast_category_new gets added args of filename and lineno; ast_category and ast_variable structures now record file and lineno for each entry; a list of all #include and #execs in a config file (or any of its inclusions are now kept in the ast_config struct; at save time, each entry is put back into its proper file of origin, in order. #include and #exec directives are folded in properly. Headers indicating that the file was generated, are generated also for each included file. Some changes to main/manager.c to take care of file renaming, via the UpdateConfig command. Multiple inclusions of the same file are handled by exploding these into multiple include files, uniquely named. There's probably more, but I can't remember it right now.
18 years ago
Joshua Colp c9445d4a68 To keep others happy... revert part of my additions so trunk works.
18 years ago
Joshua Colp 2351d789fd Add API calls for iterating through an event. This should allow events to have multiple information elements (while there was nothing preventing it before you could not actually access any except the first one).
18 years ago
Joshua Colp 440aab5ffa Add inline function for signed linear subtraction.
18 years ago
Russell Bryant 2c708fdef4 Change the audiohook lock and unlock wrappers to macros instead of inline
18 years ago
Russell Bryant 040a5f20f9 * Constify the uid field of channel datastores
18 years ago
Russell Bryant 43e9b0f67c (closes issue #7852)
18 years ago
Russell Bryant 2290819e6d Merged revisions 80573 via svnmerge from
18 years ago
Russell Bryant 2ac281e0ed Merged revisions 80426 via svnmerge from
18 years ago
Russell Bryant 50d7fc81aa Merged revisions 80362 via svnmerge from
18 years ago
Steve Murphy 337c44236d This change set fixes bug 8126 in trunk. It is implemented via compile time options, activated via the menuselect stuff, which defaults to the old way. non-zero sample data added. Translate tables expressed in microseconds instead of milliseconds, with 5-digit data now instead of 3, giving 2 more digits of precision.
18 years ago
Steve Murphy b69734ae09 Stephn Davies reports that this will help make things work on 64-bit machines
18 years ago
Jason Parker 100e2387db Merged revisions 79904 via svnmerge from
18 years ago
Russell Bryant f5bf66bcd7 This commit adds a scheduler API call, ast_sched_replace that can be used
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Tilghman Lesher 918348f03c Missing from murf's last trunk commit, which was why trunk won't compile
18 years ago
Steve Murphy 9836efb5fb This commit closes bug 7605, and half-closes 7638. The AEL code has been redistributed/repartitioned to allow code re-use both inside and outside of Asterisk. This commit introduces the utils/conf2ael program, and an external config-file reader, for both normal config files, and for extensions.conf (context, exten, prio); It provides an API for programs outside of asterisk to use to play with the dialplan and config files.
18 years ago
Joshua Colp 94b1dda1fa Merged revisions 79334 via svnmerge from
18 years ago
Joshua Colp 3dac92ecbf Merged revisions 79207 via svnmerge from
18 years ago
Russell Bryant 5f0c3e7dbc constify the return value of reason2str
18 years ago
Steve Murphy 526d1f39a2 Merged revisions 79099 via svnmerge from
18 years ago
Russell Bryant e113d36aa4 Merge a set of device state improvements from team/russell/events.
18 years ago
Russell Bryant fef7773d0b Merged revisions 78995 via svnmerge from
18 years ago
Russell Bryant 9d1acad76b Fix a problem that I had introduced into MWI handling. I had ignored
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.
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
Russell Bryant 668a334f85 Add another big set of doxygen documentation improvements from snuffy.
18 years ago
Joshua Colp 218241f174 Use the linkedlists.h macros for the manager action list.
18 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.
18 years ago
Doug Bailey 3e426df072 Change the fsk filter used in CID and TDD decode to an integer based implementation
18 years ago
Mark Michelson c4c0e45c8b Merged revisions 78103 via svnmerge from
18 years ago
Russell Bryant 6af571e79a Merged revisions 78184 via svnmerge from
18 years ago
Russell Bryant 1a4bd1ec63 Merged revisions 78143 via svnmerge from
18 years ago
Russell Bryant 1765f903c4 Fix building res_crypto on systems that init locks with constructors.
18 years ago
Russell Bryant befb383d16 Merged revisions 78095 via svnmerge from
18 years ago
Joshua Colp d9aee5e353 Merged revisions 77869 via svnmerge from
18 years ago
Joshua Colp d51079b70a Merged revisions 77863 via svnmerge from
18 years ago
Joshua Colp 1d07328918 Merged revisions 77831 via svnmerge from
18 years ago
Joshua Colp 3aaf122439 Add support for call forwarding and timeouts to the dialing API.
18 years ago
Russell Bryant 935982d15b Merged revisions 77788 via svnmerge from
18 years ago
Tilghman Lesher 059a7aa862 Cleanup of res_agi, ensuring thread safety (closes issue #10288)
18 years ago
Tilghman Lesher 1aa9e4fc4d Merged revisions 76937 via svnmerge from
18 years ago
Tilghman Lesher db9d7764e0 Enhance AGI with several fixes:
18 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
18 years ago
Russell Bryant eaebbdab61 (closes issue #10271)
18 years ago
Russell Bryant f1f72312bb (closes issue #10192)
18 years ago
Joshua Colp 91c3d90e8f Use autoconf logic to determine byte swapping macro presence. This should now also use other macros if present.
18 years ago
Joshua Colp 93b72115d1 Add support for using /dev/urandom to get random numbers on systems that support it.
18 years ago
Luigi Rizzo 925ebbb2b3 expose struct ast_ha so external code can do things such as printing it
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
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 dfc9970e15 Make trunk build once again.
18 years ago
Luigi Rizzo 72b99a2817 Introduce ast_parse_arg() , a generic function to parse strings
18 years ago
Joshua Colp 344e6fd016 Change the function name slightly... just for kpfleming!
18 years ago
Joshua Colp 0b0e64fe2f Add in check for the GCC attribute deprecated. It may be used soon!
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 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.
18 years ago
Russell Bryant 8d1e53958c Merge a bunch of doxygen updates to header files. This includes changes to
18 years ago
Luigi Rizzo e950538bdd Small improvement to the STUN support so it can be used by
18 years ago
Joshua Colp fde3d4b086 Use linkedlist macros for UDPTL protocol list.
18 years ago
Joshua Colp 7e015109a2 Use the linkedlists.h AST_LIST_NEXT macro for modifying the list of results.
18 years ago