Commit Graph

6207 Commits

Author SHA1 Message Date
paulc 18220252b4 Allow up to 12 bits for the node ID.
git-svn-id: http://voip.null.ro/svn/yate@6501 acf43c95-373e-0410-b603-e72c3f656dc1
2021-06-16 10:10:00 +00:00
paulc 71014c9de7 Added support for resetting the Engine's maxqueue and maxmsgrate after returning them in status.
git-svn-id: http://voip.null.ro/svn/yate@6500 acf43c95-373e-0410-b603-e72c3f656dc1
2021-06-04 13:00:07 +00:00
oana d7acccc9bb Handle possible missing declaration of MySQL type my_bool as its definition was removed in version > 8.0.1.
git-svn-id: http://voip.null.ro/svn/yate@6499 acf43c95-373e-0410-b603-e72c3f656dc1
2021-06-01 14:04:29 +00:00
oana dc80401cbb Invalidate a SSLSocket in constructor if building a new SSL context fails.
git-svn-id: http://voip.null.ro/svn/yate@6498 acf43c95-373e-0410-b603-e72c3f656dc1
2021-06-01 14:00:14 +00:00
marian 5be2b0ed22 Fixed bugs. Avoid adding an executed slave which already lost its master, avoid adding a slave to list if it is going to be destroyed (avoid re-entering in call continue). Made ForkMaster and ForkSlave debug enablers, allow setting a debug level in master. Improved debug.
git-svn-id: http://voip.null.ro/svn/yate@6497 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-28 11:50:18 +00:00
paulc b98b7ff642 Added own PID and if applicable supervisor's PID to the runtime parameters.
git-svn-id: http://voip.null.ro/svn/yate@6496 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-24 13:47:03 +00:00
paulc 06546d08e5 Set the name for the JS scheduler thread so it can be identified.
git-svn-id: http://voip.null.ro/svn/yate@6495 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-21 15:26:13 +00:00
marian 921a3108f8 Fixed bug: clear timer events before engine and runner to make sure all objects are released while script context is valid.
git-svn-id: http://voip.null.ro/svn/yate@6494 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-20 12:24:31 +00:00
marian b6275067fa Fixed bug: re-insert time events in list before calling the callback to allow scripts to safely remove the event in callback.
git-svn-id: http://voip.null.ro/svn/yate@6493 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-19 14:16:06 +00:00
paulc c7fc56f7dd Avoid a crash in some very slow shutdown race condition.
git-svn-id: http://voip.null.ro/svn/yate@6492 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-19 14:15:17 +00:00
paulc bfc6100ec9 Fixed bug in usually ignored settime operation response.
git-svn-id: http://voip.null.ro/svn/yate@6491 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-18 18:17:49 +00:00
paulc e052feba69 Added Javascript method to set the engine congestion.
git-svn-id: http://voip.null.ro/svn/yate@6490 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-18 18:07:43 +00:00
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