Commit Graph

699 Commits (11)

Author SHA1 Message Date
Tilghman Lesher a58b2fb395 XML validation
15 years ago
Tilghman Lesher 473e176df8 Add a hashcompat mode called "legacy", which translates a literal plus sign to a space.
15 years ago
Tilghman Lesher ac77932bac Merged revisions 298478 via svnmerge from
15 years ago
Tilghman Lesher 53357354a4 Merged revisions 294989 via svnmerge from
15 years ago
Jeff Peeler 34c30c8ad3 Merged revisions 293159 via svnmerge from
15 years ago
Tilghman Lesher 6d0e383321 Merged revisions 289543,289581 via svnmerge from
15 years ago
Tilghman Lesher 794ff358a3 Merged revisions 288713 via svnmerge from
15 years ago
David Vossel 2f3dee2379 Merged revisions 287647 via svnmerge from
15 years ago
Terry Wilson d04046fbe7 Merged revisions 286189 via svnmerge from
15 years ago
Tilghman Lesher 1c12ca0407 Merged revisions 285484 via svnmerge from
15 years ago
Tilghman Lesher 2302618bb7 Merged revisions 285373 via svnmerge from
15 years ago
Tilghman Lesher 8190e96fad Merged revisions 284610 via svnmerge from
15 years ago
Russell Bryant 2de5bbc89f Merged revisions 283350 via svnmerge from
15 years ago
Tilghman Lesher 42490d744b Merged revisions 280809 via svnmerge from
15 years ago
Terry Wilson d6e1c724e5 Remove built-in AES code and use optional_api instead
15 years ago
Tilghman Lesher b4e18d5660 Add load priority order, such that preload becomes unnecessary in most cases
15 years ago
Richard Mudgett cf7bbcc4c6 Expand the caller ANI field to an ast_party_id
15 years ago
Richard Mudgett ec37ffbdaf ast_callerid restructuring
15 years ago
Tilghman Lesher 0ae9097e3e Oops, XML documentation fix.
15 years ago
Tilghman Lesher fc9efc4ff5 It really cannot fail in the places below, but the stupid compiler doesn't know that.
15 years ago
Tilghman Lesher e939dfea9d Weird compiler error on Bamboo.
15 years ago
Tilghman Lesher 50d5f134c8 FILE() now supports line-mode and writing (altering) files.
15 years ago
Tilghman Lesher da8450323f Kill some startup warnings and errors and make some messages more helpful in tracking down the source.
15 years ago
Bradley Latus 4405813297 Add High Resolution Times to CDRs for Asterisk
15 years ago
Terry Wilson 857814f435 Add SRTP support for Asterisk
15 years ago
Tilghman Lesher da0138932e Handle OOM errors more gracefully.
15 years ago
Tilghman Lesher 4eaea01cad Needs to be wrapped in <para>
15 years ago
Tilghman Lesher 2da88f1977 Setup environment variables for the benefit of child processes and disallow changing them.
15 years ago
Mark Michelson b5d5cc565f Enhancements to connected line and redirecting work.
15 years ago
Tilghman Lesher 03e1608c29 Double free crash
15 years ago
Mark Michelson 693d1c44b1 Add small documentation update to func_callcompletion.c.
15 years ago
Mark Michelson 6640f309a9 Commit compromise I suggested on review 608.
15 years ago
Mark Michelson fb0a4e5bd0 Address Russell's comments on func_srv from reviewboard.
15 years ago
Mark Michelson ae7b76a1b9 Fix some compiler errors that popped up after the CCSS merge.
15 years ago
Mark Michelson e24661fd18 Merge Call completion support into trunk.
15 years ago
Mark Michelson 6cad0f1602 func_srv and explicit specification of a remote IP for SIP.
15 years ago
Richard Mudgett a5a0a5f867 Consolidate ast_channel.cid.cid_rdnis into ast_channel.redirecting.from.number.
15 years ago
Russell Bryant 008930a3f2 Fix memory corruption found by unit tests.
15 years ago
Tilghman Lesher afb6bac829 Hmmm, apparently needed to be fixed in trunk, too.
15 years ago
Tilghman Lesher dd3176cc91 It's amazing what writing a test will find.
15 years ago
Tilghman Lesher e58fc610ae Change needed to make Mac OS X 10.6 happy
15 years ago
David Vossel 86a215c83e fixes xml error in func_pitchshift
15 years ago
David Vossel f468595789 PITCH_SHIFT dialplan function
15 years ago
Mark Michelson 7acfebf2b8 Adjust XML for func_channel to indicate that rtpdest can take a "text" argument.
15 years ago
Russell Bryant e3d176d0d3 Remove unnecessary warning message, make a couple of formatting tweaks
15 years ago
Jeff Peeler 27a4cda821 Add support for GROUP_MATCH_COUNT regex matching on category
15 years ago
Tilghman Lesher 47f3850a1e Fussy compiler on another machine...
15 years ago
Tilghman Lesher 00b5520a6f Fix weird issue with unit tests on optimized build - turned out to be a signing issue.
15 years ago
Tilghman Lesher eaea15aa02 Enable warnings on atypical conditions for the FILTER function (suggested by mmichelson on the -dev list).
15 years ago
Tilghman Lesher 5b86e43b30 Merged revisions 245944 via svnmerge from
15 years ago
Russell Bryant bbed34f764 Various updates to the unit test API.
15 years ago
Tilghman Lesher 5071b6debc Correct some off-by-one errors, especially when expressions don't contain expected spaces.
15 years ago
Russell Bryant 34317fb0d3 Fix the ability to specify an OSP token for an outbound IAX2 call.
15 years ago
Russell Bryant 7770192d7f Update func_aes to its pre-ast_str_substitution state.
15 years ago
Tilghman Lesher 44a9aab93a Merged revisions 241765 via svnmerge from
16 years ago
Tilghman Lesher f6b5cf960f Make HASHes inheritable across channel creation.
16 years ago
Tilghman Lesher 0a1b7d8965 Merged revisions 238230 via svnmerge from
16 years ago
David Vossel ec98fba3ad Merged revisions 232268 via svnmerge from
16 years ago
Russell Bryant 4a0c4b0578 Fix a build error on FreeBSD.
16 years ago
Tilghman Lesher 0bccc4fbe6 Add REPLACE & PASSTHRU functions, overhaul of func_strings, fix API docs for the ast_get_encoded_* functions.
16 years ago
David Vossel a1037d3d7e Merged revisions 229669 via svnmerge from
16 years ago
Matthew Nicholson f44f8650cb Merged revisions 228378 via svnmerge from
16 years ago
David Vossel a729d9bb4b fixes memory leak in func_audiohookinherit.c
16 years ago
Mark Michelson 0d1a6d9303 Fix XML in func_cdr.c
16 years ago
Tilghman Lesher d8e0c58437 Expand codec bitfield from 32 bits to 64 bits.
16 years ago
Matthew Nicholson 7ed425ec80 This patch adds a sequence field to CDRs that can be combined with the linkedid or uniqueid field to uniquely identify a CDR.
16 years ago
Olle Johansson 8021cf48d8 Adding some clarifications to func_speex doxygen docs.
16 years ago
Richard Mudgett 1174a61612 Add support for calling and called subaddress. Partial support for COLP subaddress.
16 years ago
Kevin P. Fleming cdd1f9e296 Finish implementaton of astobj2 OBJ_MULTIPLE, and convert ast_channel_iterator to use it.
16 years ago
Tilghman Lesher 77031501a5 Merged revisions 224855 via svnmerge from
16 years ago
Kevin P. Fleming 1c9fe00920 Recorded merge of revisions 222152 via svnmerge from
16 years ago
Matthias Nick 63984d5c21 Merged revisions 221153,221157,221303 via svnmerge from
16 years ago
Tilghman Lesher 751f191dfa Allow locks to be inherited through a masquerade without causing starvation.
16 years ago
Michiel van Baak 7eac18b09c add name argument for the CALLERID dialplan function to the xml documentation.
16 years ago
Tilghman Lesher 75d8960740 Allow multiple rows to be fetched within the normal mode of operation.
16 years ago
Tilghman Lesher 2cfddf8cb6 Add MASTER_CHANNEL() dialplan function, as well as a useful usage.
16 years ago
Olle Johansson 9b12df5731 By copying this code I got bad comments in reviewboard... Better fix the original.
16 years ago
Tilghman Lesher 18a5f4c490 Add SSL_VERIFYPEER, as requested on the -users list
16 years ago
Tilghman Lesher 642bec4d6f AST-2009-005
16 years ago
David Brooks 48363c16e1 Fixes numerous spelling errors. Patch submitted by alecdavis.
16 years ago
Tilghman Lesher 5484d2f5d0 Merged revisions 207945 via svnmerge from
16 years ago
Kevin P. Fleming 96e4e31eeb Merged revisions 207647 via svnmerge from
16 years ago
David Vossel 82ce0f4efc TIMEOUT(absolute) returned negative value.
16 years ago
Tilghman Lesher f8c37545ad Merged revisions 206807 via svnmerge from
16 years ago
Matthew Nicholson 728fbf077e Convert func_odbc to use ast_dummy_alloc_channel()
16 years ago
Sean Bright 719917fe59 Support setting and receiving Reverse Charging Indication over ISDN PRI.
16 years ago
Russell Bryant 0264eef115 Merge the new Channel Event Logging (CEL) subsystem.
16 years ago
Tilghman Lesher e1fa477ba7 Clarify CUT code, and in the process, fix a bug in trunk only
16 years ago
Kevin P. Fleming 82fb56886e More 'static' qualifiers on module global variables.
16 years ago
Eliel C. Sardanons 65afefff9c Move function SYSINFO documentation to XML.
16 years ago
Tilghman Lesher 0fb1700522 Add INCrement and DECrement functions
16 years ago
Tilghman Lesher ba6f16d55f Fix documentation for FIELDQTY.
16 years ago
Tilghman Lesher 551cf35ab7 Recorded merge of revisions 197194 via svnmerge from
16 years ago
Kevin P. Fleming e6b2e9a750 Const-ify the world (or at least a good part of it)
16 years ago
Kevin P. Fleming 1c988d8996 add 'const' qualifiers in various places where they should have been
16 years ago
Leif Madsen 9408242796 Recorded merge of revisions 193544 via svnmerge from
16 years ago
Sean Bright 0595e95a71 Fix the spelling of UNAVAILABLE in func_devstate CLI completion.
16 years ago
Tilghman Lesher e346cbb9bc Second result should not contain data from the first result.
16 years ago
Tilghman Lesher a866a75900 Merge str_substitution branch.
16 years ago
Richard Mudgett 89d06c7759 Make PTP DivertingLegInformation3 message behavior closer to the specifications.
16 years ago
Richard Mudgett c95c065903 There is no need to use the struct ast_party_connected_line.source update values.
16 years ago
Russell Bryant cba19c8a67 Convert the ast_channel data structure over to the astobj2 framework.
16 years ago
Terry Wilson 1ce1f1bb1f Fix example that could fail in certain circumstances
16 years ago
Jeff Peeler 11ac1f7e11 Fix building of chan_h323 with gcc-3.3
16 years ago
Terry Wilson 3fb648d8fa Add funcs for manipulating delimited lists in the dialplan
16 years ago
Tilghman Lesher 61e241a5d1 If the first column is empty, output a delimiter anyway.
16 years ago
Mark Michelson 02b56bb7d2 Silly svn. These files didn't get merged over in the merge of the issue8824 branch.
16 years ago
Russell Bryant 16fc1993ef Add support for the "name" option in the CHANNEL() function.
16 years ago
Tilghman Lesher 96a699c065 Fix an off-by-one error in the FILE() function, and extend FILE()'s length parameter to work like variable substitution.
16 years ago
Tilghman Lesher a1f583177e ODBC transaction support
16 years ago
Russell Bryant 4ec301360c Merge a large set of updates to the Asterisk indications API.
16 years ago
Tilghman Lesher 4ac9617be5 Add assertions in the quest to track down a refcount leak.
16 years ago
Tilghman Lesher a2ddc0bb5e Don't increment the loop, now that incrementing is taken care of by the
16 years ago
Tilghman Lesher 402c61117a Parameter position reversed in documentation
16 years ago
Mark Michelson dda3fd446f Fix some signedness problems in func_aes.c
16 years ago
David Vossel abf70664ab Adding AES_ENCRYPT and AES_DECRYPT dialplan functions.
16 years ago
Kevin P. Fleming 1c2911f5a1 ast_str_SQLGetData is *not* part of the ast_str API, it's part of the ast_odbc API and just happens to use an ast_str as the buffer; move all of it to res_odbc.c and res_odbc.h, renaming appropriately
17 years ago
Kevin P. Fleming 9a7efae8fd remove the PBX_ODBC logic from the configure script, and add GENERIC_ODCB logic that includes copying the relevant LIB and INCLUDE data from either UnixODBC or iODBC, based on which was found; if both were found, prefer UnixODBC
17 years ago
Russell Bryant ef6ad2b53c Merged revisions 168561 via svnmerge from
17 years ago
Tilghman Lesher f19a4fc941 Merged revisions 168546 via svnmerge from
17 years ago
Eliel C. Sardanons c04417b477 Fix a typo in the XML documentation of the AUDIOHOOK_INHERIT dialplan function.
17 years ago
Mark Michelson 9f7ce9da41 Fix a file playback crash and explicitly initialize values in func_timeout.c
17 years ago
Mark Michelson c4ea017532 Remove the verbatim tag from the author line
17 years ago
Mark Michelson 9733b30ff0 Adding a new dialplan function AUDIOHOOK_INHERIT
17 years ago
Tilghman Lesher 27cbfc1bd5 Add timezone to the possible fields in a timespec.
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Russell Bryant 9d3a417eb5 Merged revisions 163253 via svnmerge from
17 years ago
Eliel C. Sardanons ec28f57c41 Avoid allocating memory for a thread that don't need it. Also, this memory was not being freed until the
17 years ago
Richard Mudgett 64a1895f3c Jcolp pointed out that num will also match number
17 years ago
Richard Mudgett 7ed9924348 * Found a couple more places where num/number needed to be done
17 years ago
Steve Murphy c6ebdafd0e Merged revisions 160703 via svnmerge from
17 years ago
Kevin P. Fleming 9a7c28cd5a we can now build with -Wformat=2, which found a couple of real bugs
17 years ago
Sean Bright fd8caa1778 This is basically a complete rollback of r155401, as it was determined that
17 years ago
Michiel van Baak 2fb4ecc87c last commit worked on OpenBSD but still generated warning on Ubuntu.
17 years ago
Michiel van Baak 12071c18f0 make this compile under devmode
17 years ago
Tilghman Lesher e316c21986 Two new functions, REALTIME_FIELD, and REALTIME_HASH, which should make
17 years ago
Michiel van Baak 86f900b201 This commit does two things:
17 years ago
Sean Bright 30d1744ffc Add ability to pass arbitrary data to the ao2_callback_fn (called from
17 years ago
Tilghman Lesher 5434edd7ab Two bugs relating to colnames found by Marquis42 on #asterisk-dev
17 years ago
Tilghman Lesher 0d25ddd366 Add LISTFILTER dialplan function, along with supporting documentation. See
17 years ago
Eliel C. Sardanons d23dff9ca8 - Add some see-also references based on TFOT.
17 years ago
Kevin P. Fleming 448562af93 improve configure script to remember the previous value of each dependency in build_tools/menuselect-deps, so that (once it has been written) menuselect can use this information to warn the user when a previously met dependency is no longer met
17 years ago
Tilghman Lesher c9b2491e40 Should have passed the string pointer, not the ast_str structure.
17 years ago
Kevin P. Fleming bd4eb070f3 bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
17 years ago
Russell Bryant 6f314f4d42 Fix various spelling and grammatical issues in documentation
17 years ago
Russell Bryant 5b168ee34b Merge changes from team/group/appdocsxml
17 years ago
Tilghman Lesher 46abb39ca2 Failover for func_odbc, allowing an INSERT query to be performed when the UPDATE query initially
17 years ago
Russell Bryant be467d0cea - spaces to tabs
17 years ago
Sean Bright eaf647bac2 Merged revisions 152059 via svnmerge from
17 years ago
Terry Wilson c74e85a23a allow to compile under --enable-dev-mode (gcc didn't actually complain when I was using ccache...)
17 years ago
Tilghman Lesher a45c3a8729 Simplify some nested functions, as suggested by Russell on -dev
17 years ago
Tilghman Lesher 107d4284ae Added debugging CLI functions
17 years ago
Tilghman Lesher 1f0433327f Permit data fields to contain more than 255 characters.
17 years ago
Tilghman Lesher 8460fd9bfd Only set buf to blank before the goto.
17 years ago
Sean Bright ceee55ea63 Keep up with shadow warnings. One day I'll actually enable this in the Makefile.
17 years ago
Richard Mudgett c2d9b9c009 Independent change from branch issue8824 that is not part of COLP. (-r142574 rmudgett)
17 years ago
Michiel van Baak 4560279c69 All ODBC parts can now use either unixodbc or iodbc.
17 years ago
Tilghman Lesher 63b165dbb9 Merged revisions 146799 via svnmerge from
17 years ago
Tilghman Lesher cf06228a2f Permit the syntax and synopsis fields to be set (for func_odbc).
17 years ago
Tilghman Lesher 529874de7b Add schedule extensions to app_meetme. In addition, the reporter found a
17 years ago
Steve Murphy e74584ca3c (closes issue #13557)
17 years ago
Tilghman Lesher bbd860dc65 Create a 'hashcompat' option that permits the results of a CURL() able to be
17 years ago
Tilghman Lesher 08af5bb312 Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating
17 years ago
Michiel van Baak e62660c956 make func_curl.c compile under devmode.
17 years ago
Tilghman Lesher 352d770eb7 Get rid of the casts that cause warnings on OpenBSD. The compiler is errantly
17 years ago
Mark Michelson 57c056b5aa Fix func_curl compilation
17 years ago
Tilghman Lesher 2c738041bd Add the CURLOPT dialplan function, which permits setting various options for
17 years ago
Mark Michelson 5dfefa5ee6 Merged revisions 140488 via svnmerge from
17 years ago
Tilghman Lesher 6c619b97c9 Merged revisions 138023 via svnmerge from
17 years ago
Sean Bright 16f8480882 Continue merging in changes from resolve-shadow-warnings. funcs/ this time.
17 years ago
Tilghman Lesher 24c39b30f1 Persist DIALGROUP() values in astdb
17 years ago
Tilghman Lesher 475ee479e8 Use a dynamic buffer for rendered SQL, instead of hardcoding 2048 bytes. Also,
17 years ago
Kevin P. Fleming 7df8b8b848 make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions
17 years ago
Russell Bryant 6787c68974 Merged revisions 134540 via svnmerge from
17 years ago
Russell Bryant 4c372e41a2 Add a missing unlock within error handling
17 years ago
Brett Bryant d3538044af Fixes sysinfo operator issue also fixed elsewhere in r131445.
17 years ago
Russell Bryant 90f7ad4869 Add a \todo
17 years ago
Tilghman Lesher 41e496980b Separate the global initialization routines for cURL into its own separate
17 years ago
Michiel van Baak 8e8359465b Older versions of GNU gcc do not allow 'NULL' as sentinel.
17 years ago
Tilghman Lesher b2ef18dab4 Add some more IAX2-specific information about the channel to the CHANNEL()
17 years ago
Steve Murphy 1cebe01dac Merged revisions 122046 via svnmerge from
17 years ago
Brett Bryant c1451b5537 This patch adds more detailed statistics for RTP channels, and provides an API call to access it, including maximums, minimums, standard deviatinos,
17 years ago
Tilghman Lesher 2f0abd23d2 Add a function, CHANNELS(), which retrieves a list of all active channels.
17 years ago
Jason Parker f7eb823a7a Fix a few places where frame data was used directly.
17 years ago
Luigi Rizzo 18065a175d Use casts or intermediate variables to remove a number
17 years ago
Russell Bryant ea3fb96b29 Re-introduce proper error handling that was removed in recent commits.
17 years ago
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