Browse code

NEWS: notes about expressions in function parameters

Andrei Pelinescu-Onciul authored on 11/08/2010 14:16:54
Showing 1 changed files
... ...
@@ -6,6 +6,15 @@ $Id$
6 6
 sip-router 3.1 chages
7 7
 
8 8
 core:
9
+  - lots of module functions automatically support now expressions or
10
+      variables in function parameters. This applies to all the module
11
+      functions declared without a fixup, with a fixup and the corresponding
12
+      free_fixup function or with a compatible ser or kamailio style standard
13
+      fixup (declared in sr_module.h or mod_fix.h).
14
+      E.g.: f($a, "b = " + $b);  t_set_fr($v + 2 + $x).
15
+            t_set_fr($foo) (equivalent now with t_set_fr("$foo")).
16
+  - all the module functions can now be called with any constant expression
17
+      as parameters. E.g.: f("7 *" +" 6 = " + 7 * 6);
9 18
   - onreply_route {...} is now equivalent with onreply_route[0] {...}
10 19
   - global, per protocol blacklist ignore masks (via extended send_flags).
11 20
     See dst_blacklist_udp_imask a.s.o (dst_blacklist_*_imask).