Changed trackparam to be default on in regexroute.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5111 acf43c95-373e-0410-b603-e72c3f656dc1
Add :priority to track name even if priority is zero.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5112 acf43c95-373e-0410-b603-e72c3f656dc1
Add the handler's name to "handlers" before calling the handler.
This reduces confusion for reentrant messages (lateroute).


git-svn-id: http://yate.null.ro/svn/yate/trunk@5113 acf43c95-373e-0410-b603-e72c3f656dc1
Fixed documentation comments


git-svn-id: http://yate.null.ro/svn/yate/trunk@5114 acf43c95-373e-0410-b603-e72c3f656dc1
Implemented switch instruction that can match RegExp or dialplan pattern.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5115 acf43c95-373e-0410-b603-e72c3f656dc1
Fixed parsing of { object } subexpressions.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5116 acf43c95-373e-0410-b603-e72c3f656dc1
Implemented conditional and iterative for instruction.
Fixed parsing of semicolons.
Improved debugging information.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5117 acf43c95-373e-0410-b603-e72c3f656dc1
Don't copy the "handlers" parameter from user.auth


git-svn-id: http://yate.null.ro/svn/yate/trunk@5118 acf43c95-373e-0410-b603-e72c3f656dc1
Always use the full setParam replacement when doing assignment in a script.
Fixes the impossibility to replace an object or function with a simple type.
NamedList::setParam(const char*,const char*) does not replace an existing parameter which may be a subclass of NamedString.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5119 acf43c95-373e-0410-b603-e72c3f656dc1
Implemented for (variable of object) that iterates over values, not keys.
Improved debugging when compiled with DEBUG or XDEBUG.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5120 acf43c95-373e-0410-b603-e72c3f656dc1
Set the call leg "direction" parameter in channel messages.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5121 acf43c95-373e-0410-b603-e72c3f656dc1
Fixed bug in help system, was blocking specific help.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5122 acf43c95-373e-0410-b603-e72c3f656dc1
Allow setting the handler tracking name by individual external scripts.
This must be set before installing the handlers.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5123 acf43c95-373e-0410-b603-e72c3f656dc1
All handlers except msgsniff should have numeric priority 1 or higher.
This allows the message sniffer to display the messages unaltered.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5124 acf43c95-373e-0410-b603-e72c3f656dc1
Fixed handling of function arguments.
Added separate function for calling a script function.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5125 acf43c95-373e-0410-b603-e72c3f656dc1
Fixed one letter typo.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5126 acf43c95-373e-0410-b603-e72c3f656dc1
Changed the way callback JS functions are called.
Added a global Javascript loader.
Moved the main routing script to the [global] section.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5127 acf43c95-373e-0410-b603-e72c3f656dc1
Changed the way native objects' constructors are called.
Added proper cleanup in module.
Added script unload hook onUnload() that just needs be defined.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5128 acf43c95-373e-0410-b603-e72c3f656dc1
Restart transport if a m2pa link is unstabile.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5129 acf43c95-373e-0410-b603-e72c3f656dc1
Detect zombie sctp sockets and reconnect them.
Fixed sctp stream listener logic.
--This lie, and those below, will be ignored--

M    conf.d/sigtransport.conf.sample
M    modules/server/sigtransport.cpp


git-svn-id: http://yate.null.ro/svn/yate/trunk@5130 acf43c95-373e-0410-b603-e72c3f656dc1