Commit Graph

37 Commits

Author SHA1 Message Date
paulc 7ddc72e67e Added explanation for conditional blocks.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6288 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-05 10:41:02 +00:00
paulc 01ab5f4b5d Added $(message,retval) function, retval and noop targets.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6165 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-17 15:47:54 +00:00
paulc e5a8a16f1d Added setting to automatically enter congested mode over a queue size threshold.
Added access to Engine's call accept state from Javascript and regexroute.
Optimized MessageDispatcher::messageCount() using the enqueue / dequeue counters.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6163 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-09 15:04:04 +00:00
paulc 7951b1fe40 Added debug output target and function to return log style timestamp.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6142 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-27 18:11:51 +00:00
paulc 734138c0ba Added "status" command to regexroute.
Added internal functions to count and list global variables.
Reorganized and cleaned up the code a bit.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5745 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-29 13:23:56 +00:00
paulc 5d7e4bb682 Added possibility to sepcify the hexa separator in regexroute.
Accelerated function name comparations in regexroute.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5597 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-01 15:23:59 +00:00
paulc eb77136d44 Log a warning if the target context of a jump or include is missing.
Added @ prefixed versions to suppress the warning if needed.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5385 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-25 16:39:42 +00:00
paulc 77040518d0 Changed trackparam to be default on in regexroute.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5111 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-13 07:21:13 +00:00
paulc bf57830c7f Added possibility to track message progress through handlers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5107 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-12 23:47:01 +00:00
paulc 3ac7372757 Added logical OR operation and message information functions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5069 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-21 10:31:03 +00:00
paulc 78790e8a42 Addded capability to read parameters from main engine config file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4640 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-06 11:41:25 +00:00
paulc dde4ed9ed0 Added a default regexp to apply where it is missing in a rule.
Greatly simplifies checking for booleans or non-empty strings.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4626 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-20 12:19:58 +00:00
paulc 89726b9d35 Added setting to control the maximum depth of regexroute jumps and includes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4457 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-15 13:20:12 +00:00
paulc b7586ab8ca Added "strpos" function to regexroute.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4456 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-15 13:12:09 +00:00
paulc 6f8139d7f3 Added a special target "if" to regexroute so a logic AND can be easily constructed on a single line.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4099 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-05 09:59:27 +00:00
paulc 479445bc21 Added a hexadecimal conversion function in regexroute.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4098 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-04 16:50:27 +00:00
paulc e138bda154 Improved regexroute by allowing multiple extra handlers with different priorities and target contexts.
A match parameter can be specified for such an extra handler.
Original patch (that changed config syntax) by Allan Sandfeld Jensen.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3382 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-16 10:46:22 +00:00
paulc 29e948ba97 Documented the infix operator \| that matches either expression.
Patch recommended by Allan Sandfeld Jensen.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3373 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 12:33:28 +00:00
paulc 59b891dc1d Added regexroute function to retrieve Engine runtime parameters.
Better error checking before assuming a regexroute variable is requested.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2953 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-18 13:20:52 +00:00
paulc b0c5266bd6 Added new setting "prerouteall" to bypass context and caller check.
Documented the other global settings in section [priorities].


git-svn-id: http://yate.null.ro/svn/yate/trunk@2793 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-14 16:27:46 +00:00
paulc 02b772bb9f Added $(threadname) function to help in tracing and debugging.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2639 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-20 14:33:45 +00:00
paulc d07b87f36a Added new special target "dispatch" to dispatch a new message synchronously.
Reentrance is now possible and detectable by the $(dispatching) function.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2605 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-30 10:30:51 +00:00
paulc 057a5be02f Added regexroute functions '$' and 'chr'.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2536 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-24 16:00:33 +00:00
paulc a0734d1e1a Added missing documentation for $(nodename) function in regexroute sample.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2366 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-25 16:49:42 +00:00
paulc 57118d09db Added comment for the [extra] section.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2066 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-14 16:59:21 +00:00
paulc 28f6097115 Added action on non-matching regexp capability.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1388 acf43c95-373e-0410-b603-e72c3f656dc1
2007-07-09 19:20:17 +00:00
paulc 909ec93719 Added new features: matching by function, message renaming, new message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1306 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-09 22:47:18 +00:00
paulc 420825aa03 Added transcoding information function.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1239 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-28 22:12:21 +00:00
paulc 430204fbec Added example for call authorization by caller authentication or ip address.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1159 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-10 11:12:28 +00:00
paulc 7c9a40e57b Added arithmetical comparation and engine runid functions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1153 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-02 08:20:48 +00:00
paulc 59daebab59 Added global variables and more functions including list rotation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@913 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-29 15:53:25 +00:00
paulc d7a362d73e Added comment about the new "echo" command.
git-svn-id: http://yate.null.ro/svn/yate/trunk@247 acf43c95-373e-0410-b603-e72c3f656dc1
2005-02-10 13:26:26 +00:00
paulc fd651a3b2b Modified and improved regexroute.
Added extra support methods in engine, fixed minor annoyances.


git-svn-id: http://yate.null.ro/svn/yate/trunk@118 acf43c95-373e-0410-b603-e72c3f656dc1
2004-12-01 00:54:04 +00:00
paulc 3c141c611b Added context jumping and message parameter setting to regexroute.
Added DDebug and NDebug macros to keep down the number of #define.


git-svn-id: http://yate.null.ro/svn/yate/trunk@116 acf43c95-373e-0410-b603-e72c3f656dc1
2004-11-29 21:01:04 +00:00
paulc 1ae2f0e117 Added 3 new tones: congestion, out-of-order, digital milliwatt.
git-svn-id: http://yate.null.ro/svn/yate/trunk@107 acf43c95-373e-0410-b603-e72c3f656dc1
2004-11-04 00:32:25 +00:00
paulc 010b82e80a New samples for Yate and external module configurations.
Rewrote regular expression config sample to include much more information.


git-svn-id: http://yate.null.ro/svn/yate/trunk@16 acf43c95-373e-0410-b603-e72c3f656dc1
2004-07-02 09:44:55 +00:00
paulc 628070ee2e Imported in new CVS
git-svn-id: http://yate.null.ro/svn/yate/trunk@2 acf43c95-373e-0410-b603-e72c3f656dc1
2004-05-22 00:05:20 +00:00