Commit Graph

927 Commits (21)

Author SHA1 Message Date
Tilghman Lesher e7f507ce18 Merged revisions 328541 via svnmerge from
14 years ago
Leif Madsen a525edea59 Merged revisions 328247 via svnmerge from
14 years ago
Tilghman Lesher 7d179abfd4 Merged revisions 326411 via svnmerge from
14 years ago
Gregory Nietsky e789eb8b2d CHANNEL(pickupgroup)
14 years ago
Jonathan Rose 1b57da8673 Adds STRREPLACE function
14 years ago
David Vossel 00dc1556ab Fixes reliability issues with func_jitterbuffer's usage in the new ConfBridge application.
14 years ago
Russell Bryant 37aa52fd78 Merged revisions 316265 via svnmerge from
14 years ago
Tilghman Lesher 1fca95b1d4 Merged revisions 316094 via svnmerge from
14 years ago
David Vossel 18d591cb48 Introduction of the JITTERBUFFER dialplan function.
14 years ago
Leif Madsen fd2f95b3c4 Merged revisions 314206 via svnmerge from
14 years ago
Jonathan Rose 1c1c9c2bd4 Merged revisions 310587 via svnmerge from
14 years ago
Tilghman Lesher 9650fb3e1a Merged revisions 310415 via svnmerge from
14 years ago
Tilghman Lesher 67c91388db Merged revisions 310142 via svnmerge from
14 years ago
Richard Mudgett 928ec2b990 Merged revisions 309445 via svnmerge from
14 years ago
Richard Mudgett ffe9e4acfc Merged revisions 309170 via svnmerge from
14 years ago
Tilghman Lesher 008aa0e3b8 Merged revisions 308991 via svnmerge from
14 years ago
David Vossel d760e81f37 Media Project Phase2: SILK 8khz-24khz, SLINEAR 8khz-192khz, SPEEX 32khz, hd audio ConfBridge, and other stuff
14 years ago
Tilghman Lesher e38fa2d3cd Merged revisions 307837 via svnmerge from
14 years ago
Richard Mudgett 49feb747ba Pass a MCID request to the bridged channel.
14 years ago
David Vossel c26c190711 Asterisk media architecture conversion - no more format bitfields
14 years ago
Tilghman Lesher 2740326200 Merged revisions 305844 via svnmerge from
14 years ago
Andrew Latham 93bade5639 Replacing doc/* and asterisk.pdf with wiki links
14 years ago
Andrew Latham f9c3b26241 Add Function and Application Relationships to documentation
14 years ago
Matthew Nicholson e706b5706e According to section 19.1.2 of RFC 3261:
14 years ago
Tilghman Lesher 52dbebad8e Add DB_KEYS.
14 years ago
Andrew Latham 7cb1c06dd3 Add relationships to function documentation.
15 years ago
Andrew Latham ca8a5498b1 Add relationships to function documentation.
15 years ago
Tilghman Lesher b2a70b4065 Oops, missed the actual decoding part.
15 years ago
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
17 years ago
David Vossel abf70664ab Adding AES_ENCRYPT and AES_DECRYPT dialplan functions.
17 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
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
17 years ago
Russell Bryant 1ec8cb41a8 Merge changes from team/mvanbaak/cli-command-audit
17 years ago
Terry Wilson 6e7659e6b1 Add REALTIME_STORE and REALTIME_DESTROY dialplan functions provided by sergee.
17 years ago
Tilghman Lesher d4d73b50a1 Merged revisions 102214 via svnmerge from
17 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
18 years ago
Tilghman Lesher 63cc6e10b4 Formatting fixes
18 years ago
Kevin P. Fleming e758ef09b3 Merged revisions 53779-53781 via svnmerge from
18 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
Tilghman Lesher ee8b36228a Add power and right/left shift functions (Issue 7959)
19 years ago
Joshua Colp f19c6f66aa Initialize obj pointers to NULL. Gets rid of two compiler warnings.
19 years ago
Tilghman Lesher 1e1fd3c3e0 Integrate functionality tested on svncommunity users back into trunk
19 years ago
Luigi Rizzo 09f75aa6dc rename the structs struct tone_zone_sound and struct tone_zone
19 years ago
Russell Bryant b93f1f3e37 Merged revisions 48956 via svnmerge from
19 years ago
Russell Bryant 527dbe399e Simplify the if statements used to check to see if the argument was "num"
19 years ago
Kevin P. Fleming 518f25f65c Merged revisions 48577 via svnmerge from
19 years ago
Luigi Rizzo 7c5f06ddcd replace ast_build_string() with ast_str_*().
19 years ago
Kevin P. Fleming a2ec1d322c update to use trunk's version of the threadstorage API
19 years ago
Kevin P. Fleming b2bd05ee83 Merged revisions 48513 via svnmerge from
19 years ago
Tilghman Lesher 496d3e72f2 Merged revisions 48382 via svnmerge from
19 years ago
Luigi Rizzo 1b372d1b0f remove an extra comma in an initializer
19 years ago
Steve Murphy 17eba0de3d Merged revisions 48017 via svnmerge from
19 years ago
Steve Murphy 8ccbe1dc56 Merged revisions 48015 via svnmerge from
19 years ago
Paul Cadach fc58bec502 Merged revisions 44809 via svnmerge from
19 years ago
Joshua Colp 7d1771b575 Merged revisions 47625 via svnmerge from
19 years ago
Olle Johansson f003df1315 Issue #80898 - Restoring func_enum (otmar)
19 years ago
Olle Johansson 30deec45f8 show, list, view, display... whatever.
19 years ago
Olle Johansson 11d00cac15 Adding dialplan function IFMODULE, so you can create dialplans that handle
19 years ago
Steve Murphy 647704aca5 This new function, VERSION(), created via bug report 8176, may help dialplan programmers in the future. In the meantime, they can use the algorithm I outline on the bug report notes; If anyone invents something better, I'd hope they post it
19 years ago
Steve Murphy 6bbd50bce2 update the doc string for both AEL and extensions.conf users.
19 years ago
Tilghman Lesher 9ca7c56c74 Merged revisions 44808 via svnmerge from
19 years ago
Joshua Colp f54fc75796 Timeout values are in seconds (issue #7122 reported by jmls)
19 years ago
Paul Cadach 500353e095 Extend CALLERID() function for "pres" and "ton" values
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Joshua Colp 29d27bfe0d Merged revisions 43933 via svnmerge from
19 years ago
Tilghman Lesher fc88db013e Remove deprecated apps and funcs
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Kevin P. Fleming 32d119746c move ODBC API into ast_ namespace
19 years ago
Matthew Fredrickson 33ddb53663 Various updates from PCadach's chan_h323-live branch
19 years ago
Steve Murphy 4c937339e5 As per discussion on bug 7862, the problem wasn't the fact that the documentation differed from behavior, but rather that users are used to REGEX having that space after the double quote in 1.2.x. So, in keeping with history, I investigated a little deeper, and discovered that the change in behavior was due to the modification of the function to use the AST_DECLARE_APP_ARGS and AST_NONSTANDARD_APP_ARGS() to parse the args. The code to skip the blank was left out. So, what I did was add code to throw out the first blank (space or tab) after the double quote, IF IT IS THERE. If not, nothing is done.Verbage is added to the function description saying that the space is optional, and skipped if it is there. If a space is desired, then the documentation advises putting two spaces there. This should make it compatible for 1.2 users, and not mess up new users who are used to using it with no space. It WILL mess up new users who WANT a space. Hopefully, they will double check the doc strings for this func and add the extra space. Hopefully, this class of new user is very small.
19 years ago
Steve Murphy a7b5ef30e7 With respect to bug 7862, the syntax and description are misleading to users. the syntax included a space after the double quotes between the regex and the data to match. I removed this from the function doc, and added some verbage to make this crystal clear, I hope.
19 years ago
Tilghman Lesher bfef0a23ff Missing field terminator
19 years ago
BJ Weschke f1b43be465 Some changes/fixes for func_curl. curl_global_init is only supposed to be called once, and if it returns non-zero, we need to give up on further executions with that instance. Additionally, let's set absolute timeout values for the CURL connections to try and prevent possible Zap (and possibly other channel tech) channel lockouts.
19 years ago
Matt O'Gorman 05a695af72 everything that loads a config that needs a config file to run
19 years ago
Russell Bryant badabb5bb9 oops.
19 years ago