marian
ee79c52c14
Added Time methods used to encode to and parse from string containing internet/javascript date and time.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6364 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-08 11:07:12 +00:00
oana
fa4721bea7
Avoid generating more than one engine.timer message per second when usleep is interrupted by signals.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6361 acf43c95-373e-0410-b603-e72c3f656dc1
2019-10-25 14:26:49 +00:00
paulc
0f301d3a76
Reset the message time and handlers list when renaming call preroute -> route -> execute.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6355 acf43c95-373e-0410-b603-e72c3f656dc1
2019-06-28 12:59:33 +00:00
marian
5c75161cff
Constifyed String::encodeFlags() methods.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6349 acf43c95-373e-0410-b603-e72c3f656dc1
2019-03-28 13:55:51 +00:00
marian
65b8c84c9a
Don't check system time jump when plugins are reloaded.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6348 acf43c95-373e-0410-b603-e72c3f656dc1
2019-03-28 13:49:22 +00:00
marian
279f2ae6fe
Fixed TokenDict arrays not ending with token and value set to 0.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6342 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-18 09:46:21 +00:00
sabina
25f55abcc5
Implementation of encodeFlags() and decodeFlags functions.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6341 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-17 15:24:55 +00:00
marian
9479c5b028
Added TokenDict64 structure and lookup functions.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6340 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-14 14:57:27 +00:00
marian
72f8657188
Added Channel parameters list to be set in all Channel messages. Update it from routing and chan.control.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6339 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-14 09:54:04 +00:00
marian
f3a58864c0
Added Time methods for 32bit NTP time conversion.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6338 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-14 09:19:22 +00:00
oana
68264bce99
Add UTF-16 encoding support to UChar class.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6313 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-25 12:16:54 +00:00
marian
90993a34de
Added extra parameter to XmlDocument::saveFile to allow saving flat documents.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6310 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-12 12:38:59 +00:00
marian
be2604db05
Added replaceParams() to XML fragment, document, element and text.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6305 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-10 10:33:00 +00:00
paulc
ecb4c6954b
Added option to restart engine if system time jumps around too much.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6291 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-10 12:13:53 +00:00
marian
9bf5249ecf
Fixed bug: set children parent when copying an XmlElement.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6268 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-26 13:51:18 +00:00
paulc
27de15bc48
Fixed compile time bugs and warnings exposed by Visual Studio.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6256 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-07 15:29:32 +00:00
paulc
c4c9e994f0
Renamed DebugGoOn to DebugCrit so it better matches its purpose.
...
Swapped order of DebugCall and DebugNote so DebugCall is less visible.
Changed default debug level to DebugNote.
Modified a few inadequate uses of DebugCrit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6250 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 13:08:23 +00:00
paulc
9e5c186299
Added support for setting "debug level N+" or "debug level N-"
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6226 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-05 12:33:38 +00:00
paulc
81eb63826e
Added computation and congestion limit for average dequeued messages age.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6217 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-15 15:28:47 +00:00
paulc
4e0fa17e7f
Added option (default enabled) to display some engine stats when aborting.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6199 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-02 11:03:48 +00:00
paulc
2a965f8d80
Added equivalent [$enabled else] and [$enabled toggle] syntaxes that toggle config file processing.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6190 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-26 11:54:33 +00:00
paulc
96f60292e6
Prevent multiple engine.timer messages from timing out Channels in the same Driver.
...
This signifficantly reduces the pressure on the worker threads in congestion conditions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6189 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-22 11:22:40 +00:00
paulc
cdba9c103b
Added method for URI escaping an entire list of characters.
...
Escape status detail characters that may disturb status parsing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6184 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-16 11:24:25 +00:00
paulc
70489d5a6f
Don't allow included config files to change current section, it is too risky.
...
Skip over some known backup or temporary files when including a directory.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6180 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-01 14:49:04 +00:00
paulc
97edac55d7
Added support for including other files or directories in configuration files.
...
Added support for disabling portions of a configuration file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6178 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-01 13:11:05 +00:00
paulc
c67312d159
Added extra checks for race conditions where CallEndpoint::setEndpoint() may fail.
...
Added convenience static RefObject::alive() method to check a RefObject pointer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6177 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-27 11:25:29 +00:00
paulc
e43033d137
Added option to return a data sniffer safe and referenced.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6175 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-26 15:32:39 +00:00
paulc
887e0cd860
Fixed a JS deadlock caused by uninstalling a message handler from itself (even indirectly).
...
This required exposing some internal methods of MessageHandler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6173 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-23 19:53:55 +00:00
paulc
e5a8a16f1d
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://yate.null.ro/svn/yate/trunk@6163 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-09 15:04:04 +00:00
paulc
fdf908337b
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://yate.null.ro/svn/yate/trunk@6162 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-09 13:46:41 +00:00
paulc
58af812b9b
Added a "maxmsgrate" to the "status engine" output.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6159 acf43c95-373e-0410-b603-e72c3f656dc1
2016-12-29 16:26:27 +00:00
paulc
a77f38aaed
Added message queue and dispatcher stats to the "status engine" response.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6158 acf43c95-373e-0410-b603-e72c3f656dc1
2016-12-29 15:10:30 +00:00
paulc
5af40e1419
Added command line option to set supervisor's sanity points pool.
...
This allows controlling how long a child can hang before being killed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6156 acf43c95-373e-0410-b603-e72c3f656dc1
2016-12-20 14:40:04 +00:00
paulc
09ff4188b9
Added support for setting AMR and other codecs' parameters in SDP.
...
Build and package separately the AMR-NB and GSM-EFR codecs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6151 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-25 15:45:34 +00:00
marian
353f7e696d
Rollback accidentally commited files in previous commit.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6137 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-15 10:45:40 +00:00
marian
4590f53dc7
Documented tcp idle/keeplive intervals.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6136 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-15 10:35:31 +00:00
paulc
d57fd133bc
Increased the size of the debug message hader buffer to accomodate up to 111 characters.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6133 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-14 09:08:48 +00:00
paulc
834918b46b
Fixed explicit disabling of GUI build when Qt is present but unusable.
...
Fixed binaries stripping to preserve file date to avoid dependency problems.
Added possibility to specify custom RPM build commands and parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6120 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-27 11:57:26 +00:00
marian
6cb3ab93fa
Allow indicating the format when dumping data.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6106 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-29 07:22:26 +00:00
marian
5e18aa85f8
Added Regexp flag used to avoid regexp re-compile if not changed. Removed valid() method.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6099 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-04 10:24:01 +00:00
paulc
3ec80e12bb
Support absolute directory names in -x argument and in yate.conf extrapath.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6088 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-08 09:24:21 +00:00
marian
6e37ea688f
Changed xml parse error from DDebug to Debug.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6082 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-08 12:16:15 +00:00
paulc
79dbe9f241
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://yate.null.ro/svn/yate/trunk@6081 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-04 12:49:52 +00:00
paulc
d7fbffc6b5
Added command line option to have supervisor sleep after creating PID file but before starting child.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6080 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-27 11:22:55 +00:00
marian
a00d751a02
Added engine.stop relay id to Module.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6072 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-25 08:34:12 +00:00
marian
d6ffcbd0a9
Fixed bug: check vsnprintf result in String::printf(). Update held string length after printf.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6071 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-24 15:58:55 +00:00
paulc
5c99a83aef
Added helper class to keep extra account parameters for calls and registration.
...
Added extra account parameters handling to SIP channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6066 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-18 14:20:00 +00:00
paulc
6f3f09ddbe
Added support for specifying the mode to mkdir.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6061 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-11 17:58:05 +00:00
paulc
d4767d0c9e
Added a setting for the number of message workers to create at start.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6060 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-11 11:09:51 +00:00
paulc
e1b0914d05
Fixed behavior of -Dx command line, was stopping too early.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6031 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-07 13:32:35 +00:00