March 10, 2009 | ||
---|---|---|
View 536065b885
Strip, prefix, rewriteuser, ... all the SET_* actions preserve the original URI scheme unless the host name is rewritten. If the host name is set, then tel: and tels: URIs are converted to sip: or sips:, and the user=phone parameter is added.Miklos Tirpak authored on 10/03/2009 16:26:35 |
December 18, 2008 | ||
---|---|---|
View f62c96d869
script: udp_mtu fallback script config & commandsAndrei Pelinescu-Onciul authored on 18/12/2008 16:09:16 |
August 8, 2008 | ||
---|---|---|
View ed990c3149
- core sctp supportAndrei Pelinescu-Onciul authored on 08/08/2008 20:47:53 |
April 17, 2008 | ||
---|---|---|
View 6973e34cd5
- RURI is not parsed again if parsed_uri_ok=1Miklos Tirpak authored on 17/04/2008 16:22:18 |
December 9, 2007 | ||
---|---|---|
View e922039020
- fix for script numeric compares on 64 bit big endian systemsAndrei Pelinescu-Onciul authored on 09/12/2007 13:15:24 |
May 31, 2006 | ||
---|---|---|
View 85d4627f9f
- added AVP flags feature.Tomas Mandys authored on 31/05/2006 23:02:46 |
March 1, 2006 | ||
---|---|---|
View 4a74562994
corrected problems reported by Warren McCoubrey with compilation problems on Redhat 9 with gcc 3.2.2 and bison 1.35 (bison++)Vaclav Kubart authored on 01/03/2006 07:40:07 |
January 19, 2006 | ||
---|---|---|
View 5b1455d070
-changed "str str" declaration to "struct _str str" to make gcc happy when compiling with "-x c++" options (required when a module uses c++ .h files)Tomas Mandys authored on 19/01/2006 10:29:10 |
January 9, 2006 | ||
---|---|---|
View f141bc93c5
- rewritten module function parsing and call processing (mk_action, struct action, action_u_t) - API to get other fixup params from fixup - full function overloading - optional NUMBER/STRING param in config for module functions - added oveloaded functions to print_stdout (demostrates overloading)Tomas Mandys authored on 09/01/2006 19:42:35 |
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 9, 2005 | ||
---|---|---|
View 24c9352297
Let tm module be relatively independent on the route action internal structure (resp. its data size). When accessing param #1 while fixing param #2 in the fixup_hostport2proxy function use correct type for pointer arithemtics.Michal Matyska authored on 09/12/2005 18:33:58 |
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 |