Commit Graph

6140 Commits

Author SHA1 Message Date
marian d81d1f7452 Added extmodule support to put a script requested debug message in yate output/logging. Added support to change script's debug level and debug name.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6472 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-01 09:10:07 +00:00
paulc b482039d8a Made behavior of Math abs, min and max more consistent with the standard.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6471 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-29 10:34:12 +00:00
marian ef15153c1f Fixed bug: check for valid message returned from parsing before setting data member.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6470 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-26 12:37:49 +00:00
paulc 6908f576cd Added support for retrieving the call stack and the call context.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6469 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-26 12:17:41 +00:00
oana 398a02fbad Add optional name parameter to ExpWrapper constructor.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6468 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-26 12:01:58 +00:00
oana 4a1090c2d6 Fix Object.keys() evaluation on object of type Message of Engine.Hashlist: use the object list of field names when possible.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6467 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-19 14:20:48 +00:00
paulc d23ac38dbc Added sniffer option to deiplay only messages with age or delay higher than a certain value.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6466 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-15 13:05:28 +00:00
paulc 6097706c14 Added rmanager "date" command to show current date / time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6465 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-12 12:20:02 +00:00
monica a017421895 Fixes to remove warnings when running in php7.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6464 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-12 11:34:37 +00:00
marian 2122b71bf1 Avoid crash in javascript array concat() called for array(s) with holes (missing indexes).
git-svn-id: http://yate.null.ro/svn/yate/trunk@6463 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-03 13:59:52 +00:00
paulc 2f5b98188a Bumped version to 6.3.1 devel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6462 acf43c95-373e-0410-b603-e72c3f656dc1
2021-02-09 16:34:00 +00:00
paulc 7b732c0b69 Bumped version to 6.3.0 release.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6460 acf43c95-373e-0410-b603-e72c3f656dc1
2021-02-09 14:13:16 +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
paulc b6e3dc4304 Do not reset RTP timestamp offset after a sequence resync.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6458 acf43c95-373e-0410-b603-e72c3f656dc1
2021-01-28 13:38:55 +00:00
paulc a1f3b06d52 Added support for manipulating the id of backward messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6457 acf43c95-373e-0410-b603-e72c3f656dc1
2021-01-14 15:40:40 +00:00
paulc 79503829f9 Made the rmanager prompt configurable for each authentication level.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6456 acf43c95-373e-0410-b603-e72c3f656dc1
2020-12-11 12:34:47 +00:00
oana f9309ac9ed Fix issue introduced by commit 6442: make ExpNull::copy() method to have the same signature as the one from ExpWrapper in order to override it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6455 acf43c95-373e-0410-b603-e72c3f656dc1
2020-11-20 16:02:02 +00:00
oana d2df1cd2a6 Avoid setting trace_id twice in call.preroute.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6454 acf43c95-373e-0410-b603-e72c3f656dc1
2020-11-13 15:49:43 +00:00
paulc 5ef2bd18d2 Fixed the .au header to contain the optional annotation required by some tools.
Added support for handling G.722 files.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6453 acf43c95-373e-0410-b603-e72c3f656dc1
2020-11-03 16:36:51 +00:00
paulc 6cede1462a Write the proper length of the .au data if the stream is seekable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6452 acf43c95-373e-0410-b603-e72c3f656dc1
2020-11-03 13:13:38 +00:00
paulc 6eaa308552 Added support for WB and UWB audio formats.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6451 acf43c95-373e-0410-b603-e72c3f656dc1
2020-11-03 11:30:40 +00:00
oana 1651bb84c7 Fix compilation errors for hashing functions on Windows.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6450 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-30 15:51:34 +00:00
oana 8fec00a500 Fix compilation error introduced by previous commit that was only detected by older compilers: replace erroneous #elif directive with #else.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6449 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-30 14:55:13 +00:00
oana b971c2465a Add hashing functions for uint32, uint64 and pointer types.
Use pointer hashing function in accessing list that tracks JS objects.



git-svn-id: http://yate.null.ro/svn/yate/trunk@6448 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-30 13:56:33 +00:00
oana 153f5b35b9 Protect access to object tracking list of the script execution context.
Some objects are created outside of the context.



git-svn-id: http://yate.null.ro/svn/yate/trunk@6447 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-29 16:28:49 +00:00
oana cd07afa11d Bug fix: do not increase code line number when parsing '\n' from a string literal.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6446 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-29 14:46:07 +00:00
marian e13d7ec785 Fixed jsext sample: update to JsObject constructor changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6445 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-27 08:57:33 +00:00
oana a4ba57411a Fix code line counting when parsing multi-line string.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6444 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-23 08:11:53 +00:00
oana 5fdbdd2cff Minor fix: return sections of a configuration file as object instead of array.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6443 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-21 11:53:57 +00:00
oana 63eb336324 Add tracking for Javascript object creation and destruction.
Add command that reports how many objects are still alive that have been created at the reported code line.
Fix constructor for ConfigFile.



git-svn-id: http://yate.null.ro/svn/yate/trunk@6442 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-21 11:01:31 +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
paulc a3cfd6581e Fixed parser clamping of large negative numbers.
Added hack to parse floating point numbers but store them as integers.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6440 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-19 09:11:10 +00:00
marian eedf31e959 Added support to dump JsHashList items in print_r and toJSON.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6439 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-14 14:03:56 +00:00
paulc 166aa682f4 Added setting to track created objects per script instead of whole module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6438 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-14 13:24:46 +00:00
marian c0db0b4817 Added print/dump_r functions used to print/dump a specific variable or script context using flags to filter what to print: props only (default), funcs only ...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6437 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-14 10:38:31 +00:00
marian 94261ee600 Increased the range of private relay IDs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6436 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-09 12:39:09 +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
marian 63aee844a7 Avoid abrupt listener thread exit leading to memory leak.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6434 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-05 06:17: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
paulc b4d702161b Adapt buffer sizes to the sampling rate.
Fixed the buffering algorithm for codecs with large packets.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6432 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-28 08:26:42 +00:00
paulc b951faa062 Fixed build for 32 bit platforms.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6431 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-25 11:36:38 +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
oana cf70b9bd0b Fix compilation errors on Windows due to lack of definition for strtoull function.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6428 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-23 14:45:59 +00:00
marian 0fb78918f2 Added support to set Regexp in javascript message handler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6427 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-22 11:29:22 +00:00
marian 75d5ecd7ea Added support to set a Regexp in message handler filter. Added missing file to previous commit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6426 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-22 11:27:09 +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 7f58764ca4 Honor the PHP error reporting settings and the @ suppression operator.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6424 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-01 10:58:05 +00:00
paulc 8941a23e94 Handle retryable errors caused by interrupted system calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6423 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-01 10:01:32 +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