Commit Graph

6345 Commits

Author SHA1 Message Date
marian a6e91f6b7d Added javascript XPath escape string method.
git-svn-id: http://voip.null.ro/svn/yate@6540 acf43c95-373e-0410-b603-e72c3f656dc1
2022-02-01 10:33:19 +00:00
marian 9976ba64a8 Added XPath method used to escape XPath strings.
git-svn-id: http://voip.null.ro/svn/yate@6539 acf43c95-373e-0410-b603-e72c3f656dc1
2022-02-01 10:30:09 +00:00
marian dd5327858e Fixed bug: check for repeated 'Accept' header to detect if SDP is accepted.
git-svn-id: http://voip.null.ro/svn/yate@6538 acf43c95-373e-0410-b603-e72c3f656dc1
2022-02-01 10:12:26 +00:00
marian f6fa058aa3 Export XPath in javascript.
git-svn-id: http://voip.null.ro/svn/yate@6537 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-11 09:02:56 +00:00
marian 0196d2b8df Added array method used to push strings from list.
git-svn-id: http://voip.null.ro/svn/yate@6536 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-11 09:02:27 +00:00
marian 39caf13ccb Added XPath object describing search and/or match XML element items (children, attributes, texts).
git-svn-id: http://voip.null.ro/svn/yate@6535 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-11 09:01:33 +00:00
marian be12daef1e Added new function used to escape and concatenate message parameters: old function raises a warning in newer PHP versions.
git-svn-id: http://voip.null.ro/svn/yate@6534 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-04 13:44:35 +00:00
marian 611407bd55 Added separate module for debug messages put in regexroute matching rules using the debug function to allow setting a different debug level for them. Made regexroute itself a module using its own debug level (it no longer uses the global debug level for debug messages).
git-svn-id: http://voip.null.ro/svn/yate@6533 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-04 07:38:24 +00:00
marian f74685918c Added functions used to set/add a list of parameters in configuration and section.
git-svn-id: http://voip.null.ro/svn/yate@6532 acf43c95-373e-0410-b603-e72c3f656dc1
2021-12-22 07:03:35 +00:00
marian 8862918e65 Added extra parameter used to set relay filter in module install relay.
git-svn-id: http://voip.null.ro/svn/yate@6531 acf43c95-373e-0410-b603-e72c3f656dc1
2021-12-16 11:37:39 +00:00
marian 76b412d4ea Added dump_t/print_t support to handle field name mapping. Added parameter to allow printing empty results (header only).
git-svn-id: http://voip.null.ro/svn/yate@6530 acf43c95-373e-0410-b603-e72c3f656dc1
2021-12-13 07:29:32 +00:00
marian d807ff59d0 Replaced usage of curly brackets with square brackets in string element access.
git-svn-id: http://voip.null.ro/svn/yate@6529 acf43c95-373e-0410-b603-e72c3f656dc1
2021-12-06 09:10:12 +00:00
marian 049f82dd2a Fixed JSON reference resolve string comparison bug revealed by new compiler.
git-svn-id: http://voip.null.ro/svn/yate@6528 acf43c95-373e-0410-b603-e72c3f656dc1
2021-11-25 18:02:25 +00:00
marian 372a550973 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://voip.null.ro/svn/yate@6527 acf43c95-373e-0410-b603-e72c3f656dc1
2021-11-15 14:19:43 +00:00
marian d36a8dddaf Fixed JSON replaceReferences bug: check if object was already found when no replacements are done in it. Improved debug.
git-svn-id: http://voip.null.ro/svn/yate@6526 acf43c95-373e-0410-b603-e72c3f656dc1
2021-10-27 12:43:59 +00:00
marian 27ba8dfbec 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://voip.null.ro/svn/yate@6525 acf43c95-373e-0410-b603-e72c3f656dc1
2021-10-27 10:22:53 +00:00
marian 844616087f Fixed help command handling: don't return commands if not matched the requested one.
git-svn-id: http://voip.null.ro/svn/yate@6524 acf43c95-373e-0410-b603-e72c3f656dc1
2021-10-08 07:54:37 +00:00
marian 495ae65bc9 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://voip.null.ro/svn/yate@6523 acf43c95-373e-0410-b603-e72c3f656dc1
2021-10-07 12:49:07 +00:00
marian 67de7ab198 Added trackname and filter to msgdelay message handler.
git-svn-id: http://voip.null.ro/svn/yate@6522 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-28 11:05:45 +00:00
marian 8a46774099 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://voip.null.ro/svn/yate@6521 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-28 10:55:08 +00:00
oana 67fcb0ae20 Added msleep function that permits sleeping when handling a message.
git-svn-id: http://voip.null.ro/svn/yate@6520 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-24 13:24:10 +00:00
oana 2e6c3dd160 Add support for multi-threaded access to regexroute.
git-svn-id: http://voip.null.ro/svn/yate@6519 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-24 13:14:51 +00:00
marian f2f2a779be Fixed bug: put parantheses in regexp matching full application mime body.
git-svn-id: http://voip.null.ro/svn/yate@6518 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-02 07:23:58 +00:00
marian 3dce813669 Fixed bug: don't reset honored DTMF detected method to properly report failed DTMF method(s) in debug message.
git-svn-id: http://voip.null.ro/svn/yate@6517 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-02 06:41:41 +00:00
oana 2e31d21bdd Bug fix for issue introduced in revision 6510: if filter is not present, match all messages instead of matching none.
git-svn-id: http://voip.null.ro/svn/yate@6516 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-17 14:47:46 +00:00
paulc 1972768171 Changed priority of the JS specific operators.
Fixes problems introduced by Rev. 6511


git-svn-id: http://voip.null.ro/svn/yate@6515 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-16 10:52:48 +00:00
marian 33f0e6722a Report time spent in queue in message sniffer.
git-svn-id: http://voip.null.ro/svn/yate@6514 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-16 08:06:49 +00:00
marian bb26b4e217 Added support to track message enqueue/dispatch time. Added support to track the time spent by a message in handler.
git-svn-id: http://voip.null.ro/svn/yate@6513 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-16 08:02:49 +00:00
marian 2f04202afb Added String::insert().
git-svn-id: http://voip.null.ro/svn/yate@6512 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-16 06:40:44 +00:00
paulc 5df80ff38a Added missing precedence of the nullish operator.
Aligned operators precedence with JS.


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


git-svn-id: http://voip.null.ro/svn/yate@6504 acf43c95-373e-0410-b603-e72c3f656dc1
2021-07-08 14:53:44 +00:00
paulc f3a35a7e32 Be systemmatic in adding the Param_ prefix to unknown parameters.
git-svn-id: http://voip.null.ro/svn/yate@6503 acf43c95-373e-0410-b603-e72c3f656dc1
2021-07-06 11:54:01 +00:00
marian 4e0256aaf3 Added support for multiple non SDP/ISUP bodies.
git-svn-id: http://voip.null.ro/svn/yate@6502 acf43c95-373e-0410-b603-e72c3f656dc1
2021-06-23 07:07:04 +00:00
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