[sr-dev] git:andrei/rve_f_params: NEWS: notes about expressions in function parameters

Andrei Pelinescu-Onciul andrei at iptel.org
Wed Aug 11 16:18:08 CEST 2010


Module: sip-router
Branch: andrei/rve_f_params
Commit: c06ba275405db446df6a3fd1f19f66c7bcd263dc
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c06ba275405db446df6a3fd1f19f66c7bcd263dc

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Wed Aug 11 16:16:54 2010 +0200

NEWS: notes about expressions in function parameters

---

 NEWS |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index 5f193c4..7e2e8d3 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,15 @@ $Id$
 sip-router 3.1 chages
 
 core:
+  - lots of module functions automatically support now expressions or
+      variables in function parameters. This applies to all the module
+      functions declared without a fixup, with a fixup and the corresponding
+      free_fixup function or with a compatible ser or kamailio style standard
+      fixup (declared in sr_module.h or mod_fix.h).
+      E.g.: f($a, "b = " + $b);  t_set_fr($v + 2 + $x).
+            t_set_fr($foo) (equivalent now with t_set_fr("$foo")).
+  - all the module functions can now be called with any constant expression
+      as parameters. E.g.: f("7 *" +" 6 = " + 7 * 6);
   - onreply_route {...} is now equivalent with onreply_route[0] {...}
   - global, per protocol blacklist ignore masks (via extended send_flags).
     See dst_blacklist_udp_imask a.s.o (dst_blacklist_*_imask).




More information about the sr-dev mailing list