December 21, 2005 | ||
---|---|---|
View 539283cdd7
- removed implementation of fifo and unixsocket servers from core (it will be implemented in modules instead)Jan Janak authored on 21/12/2005 17:27:21 |
December 20, 2005 | ||
---|---|---|
View a0fb4e8bd5
History rewritten, new files GPLizedMichal Matyska authored on 20/12/2005 01:52:40 |
||
View 3fb428edb4
New script element, Jan's select function framework (@xxx), extended for modular use. In the script it can be used as value assigned to AVP and in the string comparision, RE matching, like: $my_avp=@my.function[1]; if (@via.protocol=="UDP")...Michal Matyska authored on 20/12/2005 00:49:32 |
December 12, 2005 | ||
---|---|---|
View 01dea12497
- return [val] support (returns from the current route with value val, by default 1) - exit [val] support (exits the script with code val, where 0 means drop, >0 means do default actions and <0 means error) - drop is now equivalent to exit 0 - drop should be faster when used to exit deep routes - break is now equivalent with return 1 - the return code can be checked with $?, e.g.: if ($?==1) {...} else if ($?==-1){...} else {...}.Andrei Pelinescu-Onciul authored on 12/12/2005 23:47:56 |
December 11, 2005 | ||
---|---|---|
View 0d88ce78c9
- tm: t_relay will not stop script execution anymore in case of send error - added onsend_route: special route executed before forwarding a message, when the final destination is known. Only a limited number of commands are allowed ( if (expr) {}else{}, drop, flags manipulations, send(), log()). Usefull to catch more easily unauthorized attempts to relay/bounce message to protected destinations (e.g PSTN gateways) - new onsend checks: to_{ip,port}, snd_{ip,port,proto,af}. to= to whom the message will be sent to. snd=how ser will send it (socket ip/port,proto,af). - msg:len in onsend_route will containg the "new" message len - textops: search() onsend_route support (it will use the new, freshly constructed message and not the original one)Andrei Pelinescu-Onciul authored on 11/12/2005 22:46:38 |
December 6, 2005 | ||
---|---|---|
View a7391012c9
- reverted previous accidental commitJan Janak authored on 06/12/2005 15:14:26 |
||
View 26a8a73ee0
- fixed gcc warningJan Janak authored on 06/12/2005 15:09:45 |
||
View 8126b42565
- bsd fixes (ADD already defined)Andrei Pelinescu-Onciul authored on 06/12/2005 13:15:11 |
December 5, 2005 | ||
---|---|---|
View a86d53b012
- rls excluded from the compile by default list (depends on external libs) - added DEBUG(), ERR(), WARN(), INFO(), BUG() which can be used instead of LOG(L_*, ). The new macros will add "DEBUG:", "ERROR:" a.s.o in front of the message and also the filename and line number from where they were called ( DEBUG("x") in foo.c:23 is equiv. with DBG("DEBUG: foo.c:23: x"))Andrei Pelinescu-Onciul authored on 05/12/2005 17:01:08 |
November 30, 2005 | ||
---|---|---|
View 74ce7043b5
- AVPs can be used in place of strings and integers in expressions (if (method == %method)) - Support for AVP assign statements ( %var1 = "value"; %var1 += "value2"; ) - Support for binary operators & and | in expressions - AVPs can be tested in expressions (if (%var1 == 4)) - fixed a bug in string comparisons in expressions - extended parameters of expression evaluation functions - fixed possible buffer overflow vulnerability in log("dfd") script function - default memory buffers enlarged - length of string is calculated in expression fixup - fixed bug in function printing route statements (traversed the list recursively several times)Jan Janak authored on 30/11/2005 16:26:50 |
November 16, 2005 | ||
---|---|---|
View 646aef6d3c
- fixed parse error for if (cond) a(); else b(); - fixed dbg. config dumpingAndrei Pelinescu-Onciul authored on 16/11/2005 21:37:20 |
November 2, 2005 | ||
---|---|---|
View fe09f3158f
- ip TOS can now be set from ser cfg (thanks to Andreas Granig)Andrei Pelinescu-Onciul authored on 02/11/2005 18:14:12 |
October 11, 2005 | ||
---|---|---|
View b839c55727
- onreply_route fixAndrei Pelinescu-Onciul authored on 11/10/2005 11:16:18 |
September 8, 2005 | ||
---|---|---|
View c5eea708b6
- missing space added (cosmetic change)Jan Janak authored on 08/09/2005 13:58:56 |
August 18, 2005 | ||
---|---|---|
View 7662b2e7cf
- Suppor for branch_route sections in the configuration file.Jan Janak authored on 18/08/2005 15:46:46 |