Commit Graph

1344 Commits (d532cbcd8aaeef681e2e856e5f6e8ddc7c9f819a)

Author SHA1 Message Date
Mark Michelson 7c1bd94231 Fix the build
17 years ago
Mark Michelson a7829044ec Merged revisions 165255 via svnmerge from
17 years ago
Terry Wilson 647c8f2222 Polycom phones close the connection after reading a little bit of the firmware files, we should stop sending in that case. Also, make that case print out a debug statement instead of a scary WARNING.
17 years ago
Russell Bryant 1f40479382 Merged revisions 164605 via svnmerge from
17 years ago
Sean Bright 1a4a30aaea Use ast_str_strlen() instead of recalculating the string length.
17 years ago
Michiel van Baak 517afad041 nuke another use of the ast_str internals.
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Russell Bryant babd4e6876 Add a note to indicate why this only supports one channel for now.
17 years ago
Russell Bryant afceccd015 Add a new CLI command, "channel redirect", which is similar in operation
17 years ago
Michiel van Baak 39e47e88e9 Document default Monitor file location.
17 years ago
Russell Bryant 06c56e1381 Fix a problem where continuous mode will get inadvertently get turned off if set_rate()
17 years ago
Tilghman Lesher d254de9194 Merged revisions 163088 via svnmerge from
17 years ago
Jeff Peeler f0883cacca Merged revisions 162926 via svnmerge from
17 years ago
Joshua Colp fb21acf310 Fix reloads of aliased CLI commands. Due to changes done to turn it into a single memory allocation we can't just use the existing CLI alias structure. We have to destroy all existing ones and then create new ones.
17 years ago
Jeff Peeler 040e552c26 Merged revisions 162874 via svnmerge from
17 years ago
Joshua Colp bc3d3a25b5 FreeBSD also needs libgen.h
17 years ago
Michiel van Baak ef965af270 Make res_snmp.so compile on OpenBSD.
17 years ago
Steve Murphy 08225b9f7a Merged revisions 162264 via svnmerge from
17 years ago
Steve Murphy 24395ed5c7 Merged revisions 162136 via svnmerge from
17 years ago
Steve Murphy 67cb0526b7 Merged revisions 162013 via svnmerge from
17 years ago
Eliel C. Sardanons 1e8e12efcf Janitor, use ARRAY_LEN() when possible.
17 years ago
Eliel C. Sardanons 8192031e83 Added XML documentation for the following AGI commands:
17 years ago
Kevin P. Fleming 9a7c28cd5a we can now build with -Wformat=2, which found a couple of real bugs
17 years ago
Michiel van Baak 445c5296da Make res_config_ldap compile with the official OpenLDAP 2.3.X versions.
17 years ago
Philippe Sultan 3d4f86f605 Removed duplicate code
17 years ago
Kevin P. Fleming e14dfcbedc improve handling of API calls provided by loaded modules through use of some GCC features; this makes app_stack's usage of AGI APIs even cleaner, and will allow it to work 'as expected' either with or without res_agi being loaded
17 years ago
Sean Bright fd8caa1778 This is basically a complete rollback of r155401, as it was determined that
17 years ago
Matthew Nicholson f3d086256c Added EVENT_FLAG_AGI and used it for manager calls in res_agi.c
17 years ago
Sean Bright 574f2daa2a Fix one case where the application argument was not converted from a pipe to
17 years ago
Kevin P. Fleming 8d5deb312b Merged revisions 157859 via svnmerge from
17 years ago
Terry Wilson ebe533b83b Fix compiling
17 years ago
Mark Michelson da33129373 Cast this value since a uint64_t is not the same
17 years ago
Mark Michelson 0e5367f7eb Merge the changes from the res_timing_timerfd branch.
17 years ago
Terry Wilson d66a8cd264 Fix checking for CONFIG_STATUS_FILEINVALID so that modules don't crash upon trying to parse an invalid config
17 years ago
Kevin P. Fleming 438e410c4f correct small bug introduced during API conversion
17 years ago
Kevin P. Fleming 81a16aa982 make some corrections to the ast_agi_register_multiple(), ast_agi_unregister_multiple() and ast_agi_fdprintf() API calls to be consistent with API guidelines
17 years ago
Mark Michelson a361f7897a This change prevents a crash from occurring if res_musiconhold.so
17 years ago
Terry Wilson 655abd1757 Cleanup whitespace issues
17 years ago
Terry Wilson 401b8bea76 Use Mark's new ast_str_case_hash function instead of jumping through hoops to do insensitive case lookups
17 years ago
Eliel C. Sardanons 10da221e03 - Make alias->real_cmd point to the allocated space outside alias->alias.
17 years ago
Russell Bryant 6828c5a0eb Fix a bug caused by using sizeof(pointer) instead of sizeof(the struct)
17 years ago
Eliel C. Sardanons 336d576168 Add XML documentation for AGI commands:
17 years ago
Michiel van Baak 86f900b201 This commit does two things:
17 years ago
Eliel C. Sardanons 5b25c26318 - Add 'database del', 'database put' and 'set music' AGI commands XML documentation.
17 years ago
Eliel C. Sardanons 6f31fed83f Implement AGI XML documentation parsing functions.
17 years ago
Doug Bailey 7afa3746c3 Add LINEKEYS variable to allow for a user to set the number of keys assigned to a line on a polycom phone
17 years ago
Tilghman Lesher 9b99ef50b5 Make documentation of update method match documentation and update update2
17 years ago
Sean Bright 30d1744ffc Add ability to pass arbitrary data to the ao2_callback_fn (called from
17 years ago
Sean Bright 1d09d193e7 Convert open-coded linked list in indications to the AST_LIST_* macros. This
17 years ago
Kevin P. Fleming c054d798b8 don't blindly assume that Darwin and Cygwin need GLOB_ABORTED defined; only define it if it is not already defined
17 years ago
Michiel van Baak 9838dac733 make this compile on OpenBSD again.
17 years ago
Eliel C. Sardanons 0cd47929d4 - Add PlayTones() and StopPlayTones() applications XML documentation.
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
Kevin P. Fleming 60ef8fdae8 fix small bug introduced while cleaning up compiler warnings
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
Doug Bailey 9fe75b494a Add patch to handle how IE7 issues POST requests using Window path spec including backslash delimiters
17 years ago
Terry Wilson c9fbf2eec5 func_strings isn't a dependency of this module anymore
17 years ago
Kevin P. Fleming 33c9f5c8c1 inter-module dependencies should be included in the source code, not just in sample config files
17 years ago
Kevin P. Fleming 18609210ba correct file name in message
17 years ago
Kevin P. Fleming 109a17ae79 support relative paths in musiconhold.conf, which makes moh work by default when Asterisk was configured using --prefix and 'make samples' is run
17 years ago
Tilghman Lesher d5837ba8c2 Add additional memory debugging to several core APIs, and fix several memory
17 years ago
Tilghman Lesher c1351ad237 Merge realtime_update2 branch, which adds a new realtime API call named
17 years ago
Michiel van Baak 1097de1382 fix the 'agi show commands' CLI function.
17 years ago
Sean Bright 1dedb785ab Don't include logger.h in asterisk.h by default as it is causing problems building
17 years ago
Tilghman Lesher 8b14e5f493 Reverting format addition for now
17 years ago
Tilghman Lesher f5d5eb5e19 Fudges for wav16, just like wav49
17 years ago
Terry Wilson 23aeccbbbb Make phoneprov case-insensitive to remove the func_strings dependency of the default config
17 years ago
Sean Bright ceee55ea63 Keep up with shadow warnings. One day I'll actually enable this in the Makefile.
17 years ago
Michiel van Baak 4560279c69 All ODBC parts can now use either unixodbc or iodbc.
17 years ago
Jeff Peeler 2ec290b09d Similar to r143204, masquerade the channel in the case of Park being called from AGI.
17 years ago
Tilghman Lesher 63b165dbb9 Merged revisions 146799 via svnmerge from
17 years ago
Tilghman Lesher 1697c6e588 Merged revisions 145751 via svnmerge from
17 years ago
Michiel van Baak 90751b16ca Merge the cli_cleanup branch.
17 years ago
Tilghman Lesher 434c69b7fd Change several improper "sizeof" to "strlen", as sizeof in that context would
17 years ago
Doug Bailey 946c796f9e Blanch the 404 error message for those with no sense of humor
17 years ago
Tilghman Lesher 08af5bb312 Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating
17 years ago
Philippe Sultan 7ea67a07ee Disable autoprune by default.
17 years ago
Tilghman Lesher 900b7d75da Merged revisions 141503 via svnmerge from
17 years ago
Steve Murphy ec25f4be4d Merged revisions 141094 via svnmerge from
17 years ago
Jeff Peeler f7efe4a1f7 Merged revisions 141028 via svnmerge from
17 years ago
Steve Murphy 068859119a In these changes, I have added some explanation
17 years ago
Russell Bryant 49def237a3 I'm not sure how these files got to trunk (probably my fault), but they
17 years ago
Mark Michelson 5dfefa5ee6 Merged revisions 140488 via svnmerge from
17 years ago
Steve Murphy d78f79d82c Oops. put a decl in a generated file. My bad, but fixed now.
17 years ago
Steve Murphy 04795d963f These changes are in regards to bug 13249, where users are being surprised by the changes made
17 years ago
Philippe Sultan 4d9a38bc3f Mention JID rather than SreenName in help messages
17 years ago
Tilghman Lesher 37133a6993 Merged revisions 137138 via svnmerge from
17 years ago
Sean Bright 357bf3e90b All of the res/ stuff (other than res_jabber) from the RSW branch.
17 years ago
Tilghman Lesher c5a119d86d Update documentation as to the behavior of AGI in 1.6.0 and higher. Also, add
17 years ago
Steve Murphy a40f1cc1c5 Merged revisions 136726 via svnmerge from
17 years ago
Olle Johansson a4436cb2ff - Formatting
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
Tilghman Lesher aca394bf0c HTTP module memory leaks
17 years ago
Terry Wilson 671627028c Fix mime parsing by re-adding support for passing headers to callback functions
17 years ago
Tilghman Lesher e682d4c67e Switch command order, to meet with current specs
17 years ago
Tilghman Lesher 52b2aeb679 Increase column size beyond the minimum required, since PostgreSQL won't let
17 years ago
Tilghman Lesher c4131d9752 Two errors:
17 years ago
Tilghman Lesher b6de2967df Merged revisions 134480 via svnmerge from
17 years ago
Tilghman Lesher 57ffc548bc Add adaptive capabilities to the sqlite realtime driver
17 years ago
Michiel van Baak fe246aa673 fix a couple of comments in sqlite resource driver.
18 years ago
Tilghman Lesher 941599ce64 Fix memory leaks
18 years ago
Tilghman Lesher 38f7641c93 Fix memory leak.
18 years ago
Mark Michelson 255a968023 Don't try to dereference the dbfile pointer if
18 years ago
Steve Murphy 37001f58ff Merged revisions 131242 via svnmerge from
18 years ago
Russell Bryant 5ac03d340f Fix a couple of places in res_agi where the agi_commands lock would not be
18 years ago
Michiel van Baak 0d49cdae3e Make all sed calls Posix sed compatible.
18 years ago
Steve Murphy b247dcf432 a small change to make things compile
18 years ago
Tilghman Lesher caf226d50e Don't copy on NULL.
18 years ago
Tilghman Lesher bead8cd6f0 Add some debug code and add a missing release
18 years ago
Sean Bright 729df81a57 Fix some usages of snprintf, and clarify a couple variable names.
18 years ago
Tilghman Lesher 8b0f38cc57 Merged revisions 129741 via svnmerge from
18 years ago
Tilghman Lesher 4ff527903e Code wasn't ready to be merged - see -dev list discussion
18 years ago
Brett Bryant d185405755 Janitor project to convert sizeof to ARRAY_LEN macro.
18 years ago
Olle Johansson 45e79490ba Implement flags for AGI in the channel structure so taht "show channels" and
18 years ago
Tilghman Lesher 638a720eee Add AMI events for start/stop of MOH
18 years ago
Kevin P. Fleming 00696f5f37 make the AIS checking a little more generic, and have a more useful configure script command line option for OpenAIS
18 years ago
Philippe Sultan e08829764c Fix a compile time error that occurs if OpenSSL is not installed. Reported by Noel Morais on the users mailing list
18 years ago
Russell Bryant 02b1317d0f - add get_max_rate timing API call
18 years ago
Kevin P. Fleming b71f8ac66a fix compile failure found by buildbot (go, buildbot!)
18 years ago
Kevin P. Fleming fd4a60c459 Merged revisions 125132 via svnmerge from
18 years ago
Tilghman Lesher 41e496980b Separate the global initialization routines for cURL into its own separate
18 years ago
Philippe Sultan 6be95a8a8a Subscribe to buddy's presence only if we really need to. That is, if
18 years ago
Philippe Sultan c8688bd9b2 Code simplification
18 years ago
Russell Bryant ed289fd3aa fix a memory leak.
18 years ago
Tilghman Lesher 0660207614 Reduce warning to debug, otherwise we flood the log when we (legitimately)
18 years ago
Michiel van Baak 8e8359465b Older versions of GNU gcc do not allow 'NULL' as sentinel.
18 years ago
Russell Bryant fa4bce7c43 - Make res_timing_pthread allow a max rate of 100/sec instead of 50/sec
18 years ago
Tilghman Lesher 5791b6680d Don't change pointers that need to be later passed back for deallocation.
18 years ago
Sean Bright 9c62626a52 Whitespace only
18 years ago
Russell Bryant 5aeb6a6cbb Fix the check against the max supported rate
18 years ago
Russell Bryant 9a301b9f20 Merge res_timing_pthread. This is a timing interface for Asterisk that
18 years ago
Tilghman Lesher 4d322f7bd3 Properly detect the size of char/varchar fields
18 years ago
Russell Bryant 3c8b9bc6c4 Do not allow res_timing_dahdi to be unloaded. We can re-enable this once we
18 years ago
Russell Bryant b6457ecf4c Merge changes from timing branch
18 years ago
Jeff Peeler ef3b214728 Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
18 years ago
Tilghman Lesher 97fe3abeec Move the table cache routines to res_odbc, so they can be used from other
18 years ago
Russell Bryant e9d72e0cb2 Merge another big set of changes from team/russell/events
18 years ago
Tilghman Lesher 53459f86b2 Expand RQ_INTEGER type out to multiple types, one for each precision
18 years ago
Tilghman Lesher 9471b87d27 Merge the adaptive realtime branch, which will make adding new required fields
18 years ago
Philippe Sultan 6bb4c9cde0 Merged revisions 120675 via svnmerge from
18 years ago
Tilghman Lesher 90d75af346 Conditionally load the AGI command gosub, depending on whether or not res_agi
18 years ago
Tilghman Lesher 76506b7baa Move compatibility options into asterisk.conf, default them to on for upgrades,
18 years ago
Steve Murphy 7372474c94 Merged revisions 119929 via svnmerge from
18 years ago
Philippe Sultan 001c95b595 Do not link the guest account with any configured XMPP client (in
18 years ago
Tilghman Lesher 6006f40c14 When binding anonymously, credentials are still needed.
18 years ago
Tilghman Lesher ebb4ba3b9a Protect the object from changing while the 'odbc show' CLI command is running
18 years ago
Philippe Sultan de98d48a0d - remove whitespaces between tags in received XML packets before giving
18 years ago
Michiel van Baak f1e9371da8 - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause
18 years ago
Tilghman Lesher 6353bddc57 Increase limit of unshared connections from 1023 to 4.2 billion.
18 years ago
Tilghman Lesher 01e2bd1e2f Revert part of previous fix, and heavily comment the logic for object
18 years ago