Commit Graph

6194 Commits

Author SHA1 Message Date
marian 5432a414aa Added support to enable REFER handling per call leg. Added configurable support (default:disabled) to send a call.update message with operation=transfer before internal handling on REFER.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6527 acf43c95-373e-0410-b603-e72c3f656dc1
2021-11-15 14:19:43 +00:00
marian a95f965a0c Fixed JSON replaceReferences bug: check if object was already found when no replacements are done in it. Improved debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6526 acf43c95-373e-0410-b603-e72c3f656dc1
2021-10-27 12:43:59 +00:00
marian dead60e861 Added support for JSON Path (find value in object by path). Fixed JSON.stringify(): avoid crashing on circular references, replace already found objects by their path reference. Report path in Engine.dump_r for already found objects.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6525 acf43c95-373e-0410-b603-e72c3f656dc1
2021-10-27 10:22:53 +00:00
marian 876a884cfd Fixed help command handling: don't return commands if not matched the requested one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6524 acf43c95-373e-0410-b603-e72c3f656dc1
2021-10-08 07:54:37 +00:00
marian 69ab733dbd Fixed dump_t bug: wrong field handling for late added columns. Added support to dump array of rows with first element array containing header names.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6523 acf43c95-373e-0410-b603-e72c3f656dc1
2021-10-07 12:49:07 +00:00
marian 2a6cc0c2fe Added trackname and filter to msgdelay message handler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6522 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-28 11:05:45 +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
oana ca208774e0 Added msleep function that permits sleeping when handling a message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6520 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-24 13:24:10 +00:00
oana 808bc77a0f Add support for multi-threaded access to regexroute.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6519 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-24 13:14:51 +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 e93830a824 Fixed bug: don't reset honored DTMF detected method to properly report failed DTMF method(s) in debug message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6517 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-02 06:41:41 +00:00
oana 9596ad76c3 Bug fix for issue introduced in revision 6510: if filter is not present, match all messages instead of matching none.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6516 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-17 14:47:46 +00:00
paulc 16462dbbd1 Changed priority of the JS specific operators.
Fixes problems introduced by Rev. 6511


git-svn-id: http://yate.null.ro/svn/yate/trunk@6515 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-16 10:52:48 +00:00
marian 8dd9177f88 Report time spent in queue in message sniffer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6514 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-16 08:06:49 +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 a964723b52 Added missing precedence of the nullish operator.
Aligned operators precedence with JS.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6511 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-11 10:52:33 +00:00
marian 9770def8f3 Added support to match message parameter(s) in sniffer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6510 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-05 13:27:55 +00:00
marian 62217132de Improved debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6509 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-04 07:35:53 +00:00
paulc 49e4ee3ead Bumped version to 6.4.1 devel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6508 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-02 15:13:48 +00:00
paulc 4a5bb0cfb6 Bumped version to 6.4.0 release.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6506 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-02 12:12:11 +00:00
oana 68d62cbac2 Put path where the library is found before the linked library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6505 acf43c95-373e-0410-b603-e72c3f656dc1
2021-07-26 09:01:33 +00:00
paulc 11bcd6a7f8 Implemented the nullish concatenation and assignment operators.
Implemented the missing logical operation plus assignment.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6504 acf43c95-373e-0410-b603-e72c3f656dc1
2021-07-08 14:53:44 +00:00
paulc 885ed0b8ae Be systemmatic in adding the Param_ prefix to unknown parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6503 acf43c95-373e-0410-b603-e72c3f656dc1
2021-07-06 11:54:01 +00:00
marian de17affd13 Added support for multiple non SDP/ISUP bodies.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6502 acf43c95-373e-0410-b603-e72c3f656dc1
2021-06-23 07:07:04 +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
oana f078f77cf1 Handle possible missing declaration of MySQL type my_bool as its definition was removed in version > 8.0.1.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6499 acf43c95-373e-0410-b603-e72c3f656dc1
2021-06-01 14:04:29 +00:00
oana b5999abac7 Invalidate a SSLSocket in constructor if building a new SSL context fails.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6498 acf43c95-373e-0410-b603-e72c3f656dc1
2021-06-01 14:00:14 +00:00
marian 39bd797dc0 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://yate.null.ro/svn/yate/trunk@6497 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-28 11:50:18 +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
paulc e64b94990c Set the name for the JS scheduler thread so it can be identified.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6495 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-21 15:26:13 +00:00
marian a233486719 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://yate.null.ro/svn/yate/trunk@6494 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-20 12:24:31 +00:00
marian ac7293cfa6 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://yate.null.ro/svn/yate/trunk@6493 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-19 14:16:06 +00:00
paulc 8e46e881e4 Avoid a crash in some very slow shutdown race condition.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6492 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-19 14:15:17 +00:00
paulc 5feab5d0fc Fixed bug in usually ignored settime operation response.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6491 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-18 18:17:49 +00:00
paulc 9dd5107bf4 Added Javascript method to set the engine congestion.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6490 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-18 18:07:43 +00:00
oana 74b09a9a75 Allow javascript to retrieve engine congestion level.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6489 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-18 12:19:21 +00:00
marian 6485166aa5 Fixed bug: check pointer before use in Engine.output.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6488 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-17 08:42:30 +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 897042a619 Fixed memory leak: always deref pending sip notify message when REFER handling terminates.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6485 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-21 06:47:47 +00:00
marian f7ce4dc6f0 Fixed bug: put alaw/mulaw in rtpmap dictionary start for proper matching when parsing receivd SDP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6484 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-19 11:46:57 +00:00
marian 0b8f9b48cc Added SDP support for stereo slin/alaw/mulaw.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6483 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-19 10:02:58 +00:00
marian 2014766be1 Added 2 channel slin/alaw/mulaw to rtp payloads dictionary.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6482 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-19 09:34:41 +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 76c0d7ed08 Add the "name" property to functions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6480 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-16 13:03:57 +00:00
paulc b9cb5d4f0b Don't add spacing for empty strings in Engine.output(), just like in Engine.debug().
git-svn-id: http://yate.null.ro/svn/yate/trunk@6479 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-16 10:24:17 +00:00
paulc 19ec4ab0eb Added Object.global() to access the script's global object.
Write numbers to JSON using their internal string representation.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6478 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-16 09:57:46 +00:00
oana fdff04abd5 Clone a JsFunction when first assigned into another variable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6477 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-12 08:55:18 +00:00