Commit Graph

107 Commits

Author SHA1 Message Date
paulc 888654b983 No longer require =true on a line that requests to load a module.
git-svn-id: http://voip.null.ro/svn/yate@5617 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-09 12:42:58 +00:00
paulc 18e10bfd69 Changed license terms in each source file to reference an external file.
git-svn-id: http://voip.null.ro/svn/yate@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
paulc d23655dace 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://voip.null.ro/svn/yate@5458 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 14:17:31 +00:00
andrei c8acd6ee0a Added MessageHook and MessageQueue classes.
git-svn-id: http://voip.null.ro/svn/yate@5455 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:54:55 +00:00
andrei c4f1e3e1aa Added count() method for Configuration object.
git-svn-id: http://voip.null.ro/svn/yate@5417 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-15 11:15:51 +00:00
paulc 5c94610625 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://voip.null.ro/svn/yate@5382 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-25 11:45:58 +00:00
paulc 855c963e53 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://voip.null.ro/svn/yate@5159 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-27 17:48:50 +00:00
paulc bd4b52d949 Add :priority to track name even if priority is zero.
git-svn-id: http://voip.null.ro/svn/yate@5112 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-13 07:29:43 +00:00
paulc 7e77fd2cfb Added possibility to track message progress through handlers.
git-svn-id: http://voip.null.ro/svn/yate@5107 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-12 23:47:01 +00:00
oana 962647b836 Do load and unload of modules on the main thread. Added the possibility of replacing themain loop of the engine.
git-svn-id: http://voip.null.ro/svn/yate@4999 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-06 15:27:35 +00:00
oana 3d323905a0 Added support to run the client on the main thread. Run the Qt4 Client on the main thread.
git-svn-id: http://voip.null.ro/svn/yate@4990 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 12:31:32 +00:00
paulc a7198f5e6b Added support for holding in memory and retrieving events from startup or arbitrary sources.
git-svn-id: http://voip.null.ro/svn/yate@4887 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 13:59:36 +00:00
paulc 9a9076a90a Added marker in Engine for runtime analyzers like callgrind to start collecting data.
git-svn-id: http://voip.null.ro/svn/yate@4671 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-03 14:40:58 +00:00
paulc 40abd053c0 Fixed meaning of parameter: clump -> clamp.
git-svn-id: http://voip.null.ro/svn/yate@4563 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 15:47:01 +00:00
marian 4fc28f755c String to integer conversion can now check the result against allowed min/max values. Use it in sip module.
git-svn-id: http://voip.null.ro/svn/yate@4562 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 15:14:28 +00:00
paulc 164211949e Allow Engine::loadPluginDir(), Engine::extraPath() and yate -x to load a single module file, not an entire directory.
git-svn-id: http://voip.null.ro/svn/yate@4211 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-24 13:56:10 +00:00
paulc 8e61c980ee 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://voip.null.ro/svn/yate@4203 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-23 16:26:25 +00:00
andrei 458b21019e Added support for CPU loading notification, and engine call congestion level update, based on CPU loading.
git-svn-id: http://voip.null.ro/svn/yate@3905 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-03 16:02:11 +00:00
paulc 0cdbe20050 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://voip.null.ro/svn/yate@3384 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-16 11:42:52 +00:00
paulc e5e9753e15 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://voip.null.ro/svn/yate@3375 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 15:46:06 +00:00
paulc 6e23c56d28 Spelling cleanup of a very common error: Retrive -> Retrieve
git-svn-id: http://voip.null.ro/svn/yate@3371 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 11:25:10 +00:00
paulc d9b07638b6 Made a lot of constructors explicit to prevent undesirable automatic conversions.
Fixed two undesirable automatic conversions exposed by this change.


git-svn-id: http://voip.null.ro/svn/yate@3366 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-08 15:25:05 +00:00
marian 6aa91970b2 Return found configuration section when asked to check or create one.
git-svn-id: http://voip.null.ro/svn/yate@3303 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-10 14:02:21 +00:00
paulc 0212e32bab Added a ClientProxy engine run mode for clients with no local UI.
git-svn-id: http://voip.null.ro/svn/yate@2759 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-14 15:49:20 +00:00
paulc eda5dd06ad Documented order of inserting and calling message handlers.
git-svn-id: http://voip.null.ro/svn/yate@2731 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 12:30:47 +00:00
paulc 830baebef4 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://voip.null.ro/svn/yate@2722 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 17:44:48 +00:00
paulc 961373f70b Added possibility to disable unloading in modules at build time.
git-svn-id: http://voip.null.ro/svn/yate@2720 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 11:54:07 +00:00
paulc e52db5009f Made MessageHandler::cleanup() protected.
git-svn-id: http://voip.null.ro/svn/yate@2681 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-03 16:07:12 +00:00
paulc 49efcf8e48 Re-enabled MessageRelay::received() but documented that it is not called through polymorphism.
git-svn-id: http://voip.null.ro/svn/yate@2582 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-15 11:19:49 +00:00
paulc ae8b713d5d 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://voip.null.ro/svn/yate@2581 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-15 10:05:25 +00:00
paulc 01b0739a0b Added virtual destructor for EngineCheck to keep compiler happy.
git-svn-id: http://voip.null.ro/svn/yate@2561 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-02 15:29:25 +00:00
marian 14e5a8cd94 Added engine checker class. Added check point after parsing the command line and changing current directory.
git-svn-id: http://voip.null.ro/svn/yate@2559 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-02 14:35:51 +00:00
paulc 53f2f855c7 Added API and command line parameter to change user data directory at runtime.
git-svn-id: http://voip.null.ro/svn/yate@2259 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-14 20:15:33 +00:00
paulc 9f0161d689 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://voip.null.ro/svn/yate@2098 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-25 09:09:12 +00:00
paulc 8fd3986742 Custom message relays can be installed in Modules, relays can be uninstalled.
git-svn-id: http://voip.null.ro/svn/yate@1682 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-26 20:43:05 +00:00
paulc 87bb034bc6 Added clustering in Windows, fixed unload support.
git-svn-id: http://voip.null.ro/svn/yate@1669 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-24 22:59:37 +00:00
paulc ebec76304e Added module loading and unloading support.
git-svn-id: http://voip.null.ro/svn/yate@1668 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-24 21:09:41 +00:00
paulc 8c5baef76a Added a list of run instance parameters to the engine, access from extmodule.
git-svn-id: http://voip.null.ro/svn/yate@1665 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-24 11:43:04 +00:00
paulc 3b9b063351 Added node name (for clustering) and use it in heartbeat and regexroute.
git-svn-id: http://voip.null.ro/svn/yate@1651 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-19 11:19:52 +00:00
paulc ef8140fccf Added capability for plugins to request early init order.
git-svn-id: http://voip.null.ro/svn/yate@1496 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-26 23:56:37 +00:00
paulc d32c220960 Directory reorder #3
git-svn-id: http://voip.null.ro/svn/yate@1476 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-15 23:06:36 +00:00
paulc ef9f7c196f Added support for multiple module directories, can be specified from the
command line.


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


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


git-svn-id: http://voip.null.ro/svn/yate@839 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-05 17:48:51 +00:00
paulc 3a1938c2c7 Updated copyright and FSF address.
git-svn-id: http://voip.null.ro/svn/yate@815 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 15:08:43 +00:00
paulc 7f57bba0fc Moved all classes in all modules in anonymous namespaces.
Added RTLD_GLOBAL dlopen()ing so symbols exported by libraries loaded by
modules will be available.


git-svn-id: http://voip.null.ro/svn/yate@813 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 14:53:18 +00:00
paulc 27af822dd2 Added configuration parameter for excessive message dispatch time.
git-svn-id: http://voip.null.ro/svn/yate@739 acf43c95-373e-0410-b603-e72c3f656dc1
2006-04-04 15:39:54 +00:00