Commit Graph

1048 Commits

Author SHA1 Message Date
marian 2bcacf9525 Added extra parameter used to set relay filter in module install relay.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6531 acf43c95-373e-0410-b603-e72c3f656dc1
2021-12-16 11:37:39 +00:00
marian de95fc5171 Added support to create arbitrary named lists of shared vars (separate from Engine's global). Added extra functions to shared vars list. Export in javascript.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6521 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-28 10:55:08 +00:00
marian 8f3ea0c53c Fixed bug: put parantheses in regexp matching full application mime body.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6518 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-02 07:23:58 +00:00
marian a27e7f1b9e Added support to track message enqueue/dispatch time. Added support to track the time spent by a message in handler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6513 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-16 08:02:49 +00:00
marian d476e43a2a Added String::insert().
git-svn-id: http://yate.null.ro/svn/yate/trunk@6512 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-16 06:40:44 +00:00
paulc 05b643dc6f Allow up to 12 bits for the node ID.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6501 acf43c95-373e-0410-b603-e72c3f656dc1
2021-06-16 10:10:00 +00:00
paulc 600610a6a3 Added support for resetting the Engine's maxqueue and maxmsgrate after returning them in status.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6500 acf43c95-373e-0410-b603-e72c3f656dc1
2021-06-04 13:00:07 +00:00
paulc d0ce160167 Added own PID and if applicable supervisor's PID to the runtime parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6496 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-24 13:47:03 +00:00
marian c76bfa67c5 Added NamedList method used to retrieve an unsigned 64bit parameter value.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6487 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-14 07:12:02 +00:00
paulc 885573a423 Fixed a buffer overflow in the regexroute $(timestamp) function.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6486 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-04 09:31:13 +00:00
marian 59e0b415c0 Mark 2*slin format info as valid candidate for conversion.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6481 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-19 09:31:35 +00:00
paulc fec32b954d Reload main config file after setting runtime parameters.
This allows loading modules conditionally.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6475 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-02 08:45:47 +00:00
paulc ecb4701c89 Added more operators for the config file conditionals.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6474 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-01 16:15:23 +00:00
paulc 51b6cf6bfa Fixed several issues exposed by the Microsoft compiler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6459 acf43c95-373e-0410-b603-e72c3f656dc1
2021-02-09 14:08:19 +00:00
oana 4fe3b7e62d Add methods to HashList that allow adding and removing of an object with arbitrary associated hashes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6441 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-21 10:44:33 +00:00
marian dc4949a36d Fixed bug: skip empty line when parsing headers inside multipart. Added more mime types to be decoded as string.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6435 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-06 08:32:11 +00:00
oana aa7f5ce75f Add timestamp to supervisor messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6433 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-01 10:04:15 +00:00
oana 664e1391a6 Add command line argument for running YATE with a required affinity.
Add configuration for affinity of RTPGroup threads.



git-svn-id: http://yate.null.ro/svn/yate/trunk@6430 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-23 13:12:56 +00:00
oana 841314da5f Add YATE library support for setting and getting the affinity of a thread.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6429 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-23 15:26:34 +00:00
marian 17f46a9ce1 Added support to set a Regexp in message handler filter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6425 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-22 11:25:41 +00:00
paulc 2ca7a18ac8 Made DNS resolver work with libc versions that don't define __NAMESER.
Initialize the resolver in JS DNS and return null if initialization fails.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6422 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-27 09:54:46 +00:00
oana fa7d1244ca Add String::toUInt64() method which parses an uint64_t from a string.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6418 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-05 13:02:53 +00:00
paulc 940911c6ec Added support for configuring a larger number of worker threads.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6411 acf43c95-373e-0410-b603-e72c3f656dc1
2020-06-26 10:29:53 +00:00
marian e090326356 Added separate (global) mutex used to protect access to Channel::m_status. Removed unsafe public method used to obtain it. Added methods used to safely obtain a copy of it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6410 acf43c95-373e-0410-b603-e72c3f656dc1
2020-05-29 14:03:35 +00:00
oana 2f7e7d8537 Add tracing and propagation of trace ID in CallEndpoint and Channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6404 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 12:36:46 +00:00
oana f0a327d2bb Add a trace ID to objects.
Add debugging methods variants that print the trace ID.



git-svn-id: http://yate.null.ro/svn/yate/trunk@6402 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 12:00:37 +00:00
oana e337f4bc3a Add option to stop execution of an outgoing call.
Propagate that parameter in dumb channel, tone generator and wave file.
In SIP, simulate going through the whole SIP stack before stopping execution of the call.



git-svn-id: http://yate.null.ro/svn/yate/trunk@6401 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 10:59:48 +00:00
paulc 7ac83d9218 Added support for checking if a module is loaded.
Added support for configuration conditionals on module loaded.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6399 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-15 13:50:14 +00:00
paulc 94a3b70b42 Added support for retrieving the timezone at any time, not just now.
Fixed the Javascript Date getTimezoneOffset() result.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6396 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-01 07:38:14 +00:00
marian eca47dccd3 Added String split method using a regular expression to match the delimiter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6382 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-21 14:13:44 +00:00
oana 9288310de3 Check commands pointer is valid before using it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6378 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-03 15:04:55 +00:00
paulc 2de63bfa8f Added support for adding extra runtime parameters from main config file or Engine command.
For thread safety reason runtime parameters cannot be deleted or modified.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6377 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-01 17:38:17 +00:00
marian a880cf8cc9 Silenced antialising compiler warning related to pointer conversion.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6375 acf43c95-373e-0410-b603-e72c3f656dc1
2019-12-11 06:47:59 +00:00
oana 39dc9fa9da Add global node ID information to the engine.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6368 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-13 10:44:03 +00:00
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