Commit Graph

109 Commits

Author SHA1 Message Date
paulc 76fdb5ce75 Added support for counting allocated objects for memory leaks troubleshooting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5752 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-04 16:36:23 +00:00
paulc fabd958b61 Added and Engine congestion counter and call accept status override.
Send alarms when entering or exiting congestion state.
The Driver now refuses to route calls while engine is congested or rejecting calls.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5703 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-07 16:08:09 +00:00
paulc a8e03e577b No longer require =true on a line that requests to load a module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5617 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-09 12:42:58 +00:00
paulc cf5d0fd71a Changed license terms in each source file to reference an external file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
paulc d5a5d0f8f3 Fixed several race conditions in message post-dispatch hooks and extmodule watchers.
Engine status now reports the number of post-dispatch hooks installed.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5458 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 14:17:31 +00:00
andrei ef6d1f89ae Added MessageHook and MessageQueue classes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5455 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:54:55 +00:00
andrei 5c9f690da3 Added count() method for Configuration object.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5417 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-15 11:15:51 +00:00
paulc 598981ef54 Added module that creates a combined CDR of all legs of a call.
Modified cdrfile and register to be able to write combined CDR.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5382 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-25 11:45:58 +00:00
paulc 89210c61b5 Added a lockable class implementing variables shared between modules.
A static set of such variables is kept in Engine and can be initialized by yate.conf


git-svn-id: http://yate.null.ro/svn/yate/trunk@5159 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-27 17:48:50 +00:00
paulc 4992e68d53 Add :priority to track name even if priority is zero.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5112 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-13 07:29:43 +00:00
paulc bf57830c7f Added possibility to track message progress through handlers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5107 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-12 23:47:01 +00:00
oana d4c6476cd0 Do load and unload of modules on the main thread. Added the possibility of replacing themain loop of the engine.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4999 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-06 15:27:35 +00:00
oana b6aac097e1 Added support to run the client on the main thread. Run the Qt4 Client on the main thread.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4990 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 12:31:32 +00:00
paulc 25b49afb9c Added support for holding in memory and retrieving events from startup or arbitrary sources.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4887 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 13:59:36 +00:00
paulc ba66ef045b Added marker in Engine for runtime analyzers like callgrind to start collecting data.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4671 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-03 14:40:58 +00:00
paulc f04d08edb8 Fixed meaning of parameter: clump -> clamp.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4563 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 15:47:01 +00:00
marian 57bff41ad4 String to integer conversion can now check the result against allowed min/max values. Use it in sip module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4562 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 15:14:28 +00:00
paulc 4bc4db8ee7 Allow Engine::loadPluginDir(), Engine::extraPath() and yate -x to load a single module file, not an entire directory.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4211 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-24 13:56:10 +00:00
paulc b94f4c4239 Moved DebugEnabler and name from Module to Plugin, made name mandatory.
Added API and command to reload configuration of a single plugin.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4203 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-23 16:26:25 +00:00
andrei bef3d8f44d Added support for CPU loading notification, and engine call congestion level update, based on CPU loading.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3905 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-03 16:02:11 +00:00
paulc 91ca986d14 Added a broadcast flag to class Message so it can continue dispatching even if one of the handlers returned true.
Use the broadcast flag in the messages emitted by the engine.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3384 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-16 11:42:52 +00:00
paulc de974962ac Added a YNOCOPY macro that declares private inaccessible assignment operator and copy constructor to prevent using the compiler generated ones.
Fixed a bug exposed by this change.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3375 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 15:46:06 +00:00
paulc d95cb2fec6 Spelling cleanup of a very common error: Retrive -> Retrieve
git-svn-id: http://yate.null.ro/svn/yate/trunk@3371 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 11:25:10 +00:00
paulc dda44fe281 Made a lot of constructors explicit to prevent undesirable automatic conversions.
Fixed two undesirable automatic conversions exposed by this change.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3366 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-08 15:25:05 +00:00
marian 74e1d159cd Return found configuration section when asked to check or create one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3303 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-10 14:02:21 +00:00
paulc fe9c1c1c98 Added a ClientProxy engine run mode for clients with no local UI.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2759 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-14 15:49:20 +00:00
paulc fa955b9342 Documented order of inserting and calling message handlers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2731 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 12:30:47 +00:00
paulc bad4b42a73 Added engine config section so individual modules that depend on buggy
libraries are never unloaded from memory, only finalized if possible.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2722 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 17:44:48 +00:00
paulc d32ef480a0 Added possibility to disable unloading in modules at build time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2720 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 11:54:07 +00:00
paulc 38dc83a703 Made MessageHandler::cleanup() protected.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2681 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-03 16:07:12 +00:00
paulc 2b1aeea22c Re-enabled MessageRelay::received() but documented that it is not called through polymorphism.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2582 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-15 11:19:49 +00:00
paulc 1aefd3f093 Wait for a message handler to become safe to destroy when uninstalling it.
Make MessageRelay become safe early so it can be uninstalled from its receiver.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2581 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-15 10:05:25 +00:00
paulc bf3a210aaa Added virtual destructor for EngineCheck to keep compiler happy.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2561 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-02 15:29:25 +00:00
marian 3996128f3a Added engine checker class. Added check point after parsing the command line and changing current directory.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2559 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-02 14:35:51 +00:00
paulc 97c6ccf207 Added API and command line parameter to change user data directory at runtime.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2259 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-14 20:15:33 +00:00
paulc 4e80bf9d0c Config file missing warning can be disabled, use it to silence notices about files that are genuinely missing from a fresh install.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2098 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-25 09:09:12 +00:00
paulc 39424ad04d Custom message relays can be installed in Modules, relays can be uninstalled.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1682 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-26 20:43:05 +00:00
paulc 325a06fda8 Added clustering in Windows, fixed unload support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1669 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-24 22:59:37 +00:00
paulc f2fa3236b6 Added module loading and unloading support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1668 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-24 21:09:41 +00:00
paulc ee59b2d42c Added a list of run instance parameters to the engine, access from extmodule.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1665 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-24 11:43:04 +00:00
paulc 6ca62a64ca Added node name (for clustering) and use it in heartbeat and regexroute.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1651 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-19 11:19:52 +00:00
paulc 6063d1b43e Added capability for plugins to request early init order.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1496 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-26 23:56:37 +00:00
paulc b42a894ddc Directory reorder #3
git-svn-id: http://yate.null.ro/svn/yate/trunk@1476 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-15 23:06:36 +00:00
paulc 6f2c70aa86 Added support for multiple module directories, can be specified from the
command line.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1405 acf43c95-373e-0410-b603-e72c3f656dc1
2007-07-23 16:18:18 +00:00
paulc 25f9f72297 Engine's running mode can be read by any component.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1233 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-26 17:38:50 +00:00
paulc 6be659a835 Message handlers are removed from dispatcher before being destroyed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1220 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-19 21:05:41 +00:00
paulc 82ac44663b Moved user config files to personal directory.
git-svn-id: http://yate.null.ro/svn/yate/trunk@859 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-11 16:50:04 +00:00
paulc 10ac4a10bc API docs can be built with doxygen. Also cleaned headers to generate
proper documentation.


git-svn-id: http://yate.null.ro/svn/yate/trunk@845 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-08 18:31:00 +00:00
paulc dfef54f36b Changed documentation to emphasis the synchronous or asynchronous nature of
dispatch vs. enqueue.


git-svn-id: http://yate.null.ro/svn/yate/trunk@839 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-05 17:48:51 +00:00
paulc cda2d9f1c2 Updated copyright and FSF address.
git-svn-id: http://yate.null.ro/svn/yate/trunk@815 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 15:08:43 +00:00