paulc
2c615905ef
Added setting to automatically enter congested mode over a queue size threshold.
...
Added access to Engine's call accept state from Javascript and regexroute.
Optimized MessageDispatcher::messageCount() using the enqueue / dequeue counters.
git-svn-id: http://voip.null.ro/svn/yate@6163 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-09 15:04:04 +00:00
paulc
e043cf9378
Added setting to create more than one worker at a time.
...
Added setting to automatically enter congested mode over a message rate threshold.
Extended range for some configurable engine limits and made them reloadable.
git-svn-id: http://voip.null.ro/svn/yate@6162 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-09 13:46:41 +00:00
paulc
9b19906f3f
Added a "maxmsgrate" to the "status engine" output.
...
git-svn-id: http://voip.null.ro/svn/yate@6159 acf43c95-373e-0410-b603-e72c3f656dc1
2016-12-29 16:26:27 +00:00
paulc
2d20aae81a
Added message queue and dispatcher stats to the "status engine" response.
...
git-svn-id: http://voip.null.ro/svn/yate@6158 acf43c95-373e-0410-b603-e72c3f656dc1
2016-12-29 15:10:30 +00:00
paulc
bb7da7914b
Added API method for checking if the Engine has finished starting up, expose it to JS.
...
Added separate javascript.conf section that loads scripts after the engine.start message.
git-svn-id: http://voip.null.ro/svn/yate@6081 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-04 12:49:52 +00:00
marian
1960b82520
Debug output can now be hooked using a custom function. Added Debugger method used to relay preformatted strings. Added Engine method used to build a command line from current settings. Added Engine methods used to init and cleanup libyate based applications.
...
git-svn-id: http://voip.null.ro/svn/yate@5942 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 09:32:36 +00:00
paulc
6f941b4282
Added getInt64Value to NamedList and Configuration classes.
...
Added getIntValue and getBoolValue to Javascript ConfigFile and ConfigSection.
git-svn-id: http://voip.null.ro/svn/yate@5930 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-22 11:56:16 +00:00
paulc
d56cecb40e
Added copyright notices to sources and scripts missing them.
...
Updated copyright notices for 2014.
Fixed end of lines in many files.
git-svn-id: http://voip.null.ro/svn/yate@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc
424feb6aad
Added support for counting allocated objects for memory leaks troubleshooting.
...
git-svn-id: http://voip.null.ro/svn/yate@5752 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-04 16:36:23 +00:00
paulc
2c78e79121
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://voip.null.ro/svn/yate@5703 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-07 16:08:09 +00:00
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