Commit Graph

6206 Commits

Author SHA1 Message Date
marian 8c9c4b2664 Added XPath method used to escape XPath strings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6539 acf43c95-373e-0410-b603-e72c3f656dc1
2022-02-01 10:30:09 +00:00
marian 9c9129aa98 Fixed bug: check for repeated 'Accept' header to detect if SDP is accepted.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6538 acf43c95-373e-0410-b603-e72c3f656dc1
2022-02-01 10:12:26 +00:00
marian 8ca99f45a5 Export XPath in javascript.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6537 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-11 09:02:56 +00:00
marian 6cb563308f Added array method used to push strings from list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6536 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-11 09:02:27 +00:00
marian 5de1480c97 Added XPath object describing search and/or match XML element items (children, attributes, texts).
git-svn-id: http://yate.null.ro/svn/yate/trunk@6535 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-11 09:01:33 +00:00
marian 2799ffcfdd Added new function used to escape and concatenate message parameters: old function raises a warning in newer PHP versions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6534 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-04 13:44:35 +00:00
marian 4de9059a6c 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://yate.null.ro/svn/yate/trunk@6533 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-04 07:38:24 +00:00
marian 0e019e9d35 Added functions used to set/add a list of parameters in configuration and section.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6532 acf43c95-373e-0410-b603-e72c3f656dc1
2021-12-22 07:03:35 +00:00
marian 2bcacf9525 Added extra parameter used to set relay filter in module install relay.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6531 acf43c95-373e-0410-b603-e72c3f656dc1
2021-12-16 11:37:39 +00:00
marian ded00a075b Added dump_t/print_t support to handle field name mapping. Added parameter to allow printing empty results (header only).
git-svn-id: http://yate.null.ro/svn/yate/trunk@6530 acf43c95-373e-0410-b603-e72c3f656dc1
2021-12-13 07:29:32 +00:00
marian 76f34963e6 Replaced usage of curly brackets with square brackets in string element access.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6529 acf43c95-373e-0410-b603-e72c3f656dc1
2021-12-06 09:10:12 +00:00
marian 26ee35ea63 Fixed JSON reference resolve string comparison bug revealed by new compiler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6528 acf43c95-373e-0410-b603-e72c3f656dc1
2021-11-25 18:02:25 +00:00
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