oana
eb65a68dc7
Allow javascript to retrieve engine congestion level.
...
git-svn-id: http://voip.null.ro/svn/yate@6489 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-18 12:19:21 +00:00
marian
4f6c89c694
Fixed bug: check pointer before use in Engine.output.
...
git-svn-id: http://voip.null.ro/svn/yate@6488 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-17 08:42:30 +00:00
marian
9512084039
Added NamedList method used to retrieve an unsigned 64bit parameter value.
...
git-svn-id: http://voip.null.ro/svn/yate@6487 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-14 07:12:02 +00:00
paulc
ad17f7adb7
Fixed a buffer overflow in the regexroute $(timestamp) function.
...
git-svn-id: http://voip.null.ro/svn/yate@6486 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-04 09:31:13 +00:00
marian
faf43d8331
Fixed memory leak: always deref pending sip notify message when REFER handling terminates.
...
git-svn-id: http://voip.null.ro/svn/yate@6485 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-21 06:47:47 +00:00
marian
d2400f608a
Fixed bug: put alaw/mulaw in rtpmap dictionary start for proper matching when parsing receivd SDP.
...
git-svn-id: http://voip.null.ro/svn/yate@6484 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-19 11:46:57 +00:00
marian
98e943c8b8
Added SDP support for stereo slin/alaw/mulaw.
...
git-svn-id: http://voip.null.ro/svn/yate@6483 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-19 10:02:58 +00:00
marian
b3eaba2850
Added 2 channel slin/alaw/mulaw to rtp payloads dictionary.
...
git-svn-id: http://voip.null.ro/svn/yate@6482 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-19 09:34:41 +00:00
marian
f6caa100f0
Mark 2*slin format info as valid candidate for conversion.
...
git-svn-id: http://voip.null.ro/svn/yate@6481 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-19 09:31:35 +00:00
paulc
e7fd449134
Add the "name" property to functions.
...
git-svn-id: http://voip.null.ro/svn/yate@6480 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-16 13:03:57 +00:00
paulc
ac7ca86885
Don't add spacing for empty strings in Engine.output(), just like in Engine.debug().
...
git-svn-id: http://voip.null.ro/svn/yate@6479 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-16 10:24:17 +00:00
paulc
41c654cc3f
Added Object.global() to access the script's global object.
...
Write numbers to JSON using their internal string representation.
git-svn-id: http://voip.null.ro/svn/yate@6478 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-16 09:57:46 +00:00
oana
f0b7849ee1
Clone a JsFunction when first assigned into another variable.
...
git-svn-id: http://voip.null.ro/svn/yate@6477 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-12 08:55:18 +00:00
marian
39e16e093b
Added support to pass file open parameters to File.setContent function. Fixed code alignment.
...
git-svn-id: http://voip.null.ro/svn/yate@6476 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-05 08:46:50 +00:00
paulc
bf14cf9f27
Reload main config file after setting runtime parameters.
...
This allows loading modules conditionally.
git-svn-id: http://voip.null.ro/svn/yate@6475 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-02 08:45:47 +00:00
paulc
d346bd1f25
Added more operators for the config file conditionals.
...
git-svn-id: http://voip.null.ro/svn/yate@6474 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-01 16:15:23 +00:00
marian
a6bd1f9952
Extended Yate Output and Debug functions to support the 'debug' function of extmodule and send an escaped string.
...
git-svn-id: http://voip.null.ro/svn/yate@6473 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-01 09:12:08 +00:00
marian
e69ae361e4
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://voip.null.ro/svn/yate@6472 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-01 09:10:07 +00:00
paulc
3fc1647112
Made behavior of Math abs, min and max more consistent with the standard.
...
git-svn-id: http://voip.null.ro/svn/yate@6471 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-29 10:34:12 +00:00
marian
52ee310039
Fixed bug: check for valid message returned from parsing before setting data member.
...
git-svn-id: http://voip.null.ro/svn/yate@6470 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-26 12:37:49 +00:00
paulc
8cbdd26b7f
Added support for retrieving the call stack and the call context.
...
git-svn-id: http://voip.null.ro/svn/yate@6469 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-26 12:17:41 +00:00
oana
3208dc161f
Add optional name parameter to ExpWrapper constructor.
...
git-svn-id: http://voip.null.ro/svn/yate@6468 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-26 12:01:58 +00:00
oana
de4c2dd695
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://voip.null.ro/svn/yate@6467 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-19 14:20:48 +00:00
paulc
4a42c622b4
Added sniffer option to deiplay only messages with age or delay higher than a certain value.
...
git-svn-id: http://voip.null.ro/svn/yate@6466 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-15 13:05:28 +00:00
paulc
4f3fdc833f
Added rmanager "date" command to show current date / time.
...
git-svn-id: http://voip.null.ro/svn/yate@6465 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-12 12:20:02 +00:00
monica
670022ca53
Fixes to remove warnings when running in php7.
...
git-svn-id: http://voip.null.ro/svn/yate@6464 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-12 11:34:37 +00:00
marian
b9612d8f4b
Avoid crash in javascript array concat() called for array(s) with holes (missing indexes).
...
git-svn-id: http://voip.null.ro/svn/yate@6463 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-03 13:59:52 +00:00
paulc
84f817e572
Bumped version to 6.3.1 devel.
...
git-svn-id: http://voip.null.ro/svn/yate@6462 acf43c95-373e-0410-b603-e72c3f656dc1
2021-02-09 16:34:00 +00:00
paulc
ca70101ff4
Bumped version to 6.3.0 release.
...
git-svn-id: http://voip.null.ro/svn/yate@6460 acf43c95-373e-0410-b603-e72c3f656dc1
2021-02-09 14:13:16 +00:00
paulc
8efa8d07cd
Fixed several issues exposed by the Microsoft compiler.
...
git-svn-id: http://voip.null.ro/svn/yate@6459 acf43c95-373e-0410-b603-e72c3f656dc1
2021-02-09 14:08:19 +00:00
paulc
f50a2ee152
Do not reset RTP timestamp offset after a sequence resync.
...
git-svn-id: http://voip.null.ro/svn/yate@6458 acf43c95-373e-0410-b603-e72c3f656dc1
2021-01-28 13:38:55 +00:00
paulc
5472d2f1c7
Added support for manipulating the id of backward messages.
...
git-svn-id: http://voip.null.ro/svn/yate@6457 acf43c95-373e-0410-b603-e72c3f656dc1
2021-01-14 15:40:40 +00:00
paulc
904991d4e4
Made the rmanager prompt configurable for each authentication level.
...
git-svn-id: http://voip.null.ro/svn/yate@6456 acf43c95-373e-0410-b603-e72c3f656dc1
2020-12-11 12:34:47 +00:00
oana
96a070a8f5
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://voip.null.ro/svn/yate@6455 acf43c95-373e-0410-b603-e72c3f656dc1
2020-11-20 16:02:02 +00:00
oana
6ae9c0b72d
Avoid setting trace_id twice in call.preroute.
...
git-svn-id: http://voip.null.ro/svn/yate@6454 acf43c95-373e-0410-b603-e72c3f656dc1
2020-11-13 15:49:43 +00:00
paulc
a3d6012bc8
Fixed the .au header to contain the optional annotation required by some tools.
...
Added support for handling G.722 files.
git-svn-id: http://voip.null.ro/svn/yate@6453 acf43c95-373e-0410-b603-e72c3f656dc1
2020-11-03 16:36:51 +00:00
paulc
db0667216b
Write the proper length of the .au data if the stream is seekable.
...
git-svn-id: http://voip.null.ro/svn/yate@6452 acf43c95-373e-0410-b603-e72c3f656dc1
2020-11-03 13:13:38 +00:00
paulc
75121981e9
Added support for WB and UWB audio formats.
...
git-svn-id: http://voip.null.ro/svn/yate@6451 acf43c95-373e-0410-b603-e72c3f656dc1
2020-11-03 11:30:40 +00:00
oana
47ad22c8ef
Fix compilation errors for hashing functions on Windows.
...
git-svn-id: http://voip.null.ro/svn/yate@6450 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-30 15:51:34 +00:00
oana
8c81cec648
Fix compilation error introduced by previous commit that was only detected by older compilers: replace erroneous #elif directive with #else.
...
git-svn-id: http://voip.null.ro/svn/yate@6449 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-30 14:55:13 +00:00
oana
6c73b96287
Add hashing functions for uint32, uint64 and pointer types.
...
Use pointer hashing function in accessing list that tracks JS objects.
git-svn-id: http://voip.null.ro/svn/yate@6448 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-30 13:56:33 +00:00
oana
8b0aab86a8
Protect access to object tracking list of the script execution context.
...
Some objects are created outside of the context.
git-svn-id: http://voip.null.ro/svn/yate@6447 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-29 16:28:49 +00:00
oana
604e18f539
Bug fix: do not increase code line number when parsing '\n' from a string literal.
...
git-svn-id: http://voip.null.ro/svn/yate@6446 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-29 14:46:07 +00:00
marian
b94b3337c0
Fixed jsext sample: update to JsObject constructor changes.
...
git-svn-id: http://voip.null.ro/svn/yate@6445 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-27 08:57:33 +00:00
oana
046cb195e9
Fix code line counting when parsing multi-line string.
...
git-svn-id: http://voip.null.ro/svn/yate@6444 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-23 08:11:53 +00:00
oana
d5a835c3cf
Minor fix: return sections of a configuration file as object instead of array.
...
git-svn-id: http://voip.null.ro/svn/yate@6443 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-21 11:53:57 +00:00
oana
83ef49437f
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://voip.null.ro/svn/yate@6442 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-21 11:01:31 +00:00
oana
100d644ce6
Add methods to HashList that allow adding and removing of an object with arbitrary associated hashes.
...
git-svn-id: http://voip.null.ro/svn/yate@6441 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-21 10:44:33 +00:00
paulc
37c2b36722
Fixed parser clamping of large negative numbers.
...
Added hack to parse floating point numbers but store them as integers.
git-svn-id: http://voip.null.ro/svn/yate@6440 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-19 09:11:10 +00:00
marian
f4e68d8527
Added support to dump JsHashList items in print_r and toJSON.
...
git-svn-id: http://voip.null.ro/svn/yate@6439 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-14 14:03:56 +00:00