--- a/branches/1.8/modules/permissions/README
+++ b/branches/1.8/modules/permissions/README
@@ -24,7 +24,7 @@
 
    Copyright Š 2009 Irina-Maria Stanescu
    Revision History
-   Revision $Revision: 10313 $ $Date: 2013-10-22 09:40:35 +0000 (Tue, 22 Oct 2013) $
+   Revision $Revision: 10376 $ $Date: 2013-12-03 11:00:29 +0000 (Tue, 03 Dec 2013) $
      __________________________________________________________
 
    Table of Contents
@@ -578,8 +578,8 @@
 if (allow_uri("basename", "$rt")) {  // Check Refer-To URI
         t_relay();
 };
-if (allow_uri("basename", "$avp(i:705)") {  // Check URI stored in $avp(
-i:705)
+if (allow_uri("basename", "$avp(basename)") {  // Check URI stored in $a
+vp(basename)
         t_relay();
 };
 ...
@@ -636,18 +636,17 @@
 test"
 // matches the regular expression field in the database table and stores
  the
-// context information in $avp(i:10)
-if (check_address("4","192.168.2.135","5700","$proto","$avp(i:10)", "tex
-ttest")) {
-        t_relay();
-        xlog("$avp(i:10)\n");
+// context information in $avp(context)
+if (check_address("4","192.168.2.135","5700","$proto","$avp(context)", "
+texttest")) {
+        t_relay();
+        xlog("$avp(context)\n");
 }
 
 ...
 
 // Checks if the tuple IP address/port/protocol of the source message is
- in group
-// 4 and stores context information in $avp(i:10)
+ in group 4
 if (check_address("4","$si","$sp","$proto")) {
         t_relay();
 }
@@ -656,14 +655,14 @@
 
 // Checks if the tuple IP address/port/protocol stored in AVPs s:ip/s:po
 rt/s:proto
-// is in group 4 and stores context information in $avp(i:10)
-$avp(s:ip) = "192.168.2.135";
-$avp(s:port) = 5061;
-$avp(s:proto) = "any";
-if (check_address("4","$avp(s:ip)","$avp(s:port)","$avp(s:proto)","$avp(
-i:10))) {
-        t_relay();
-        xlog("$avp(i:10)\n");
+// is in group 4 and stores context information in $avp(context)
+$avp(ip) = "192.168.2.135";
+$avp(port) = 5061;
+$avp(proto) = "any";
+if (check_address("4","$avp(ip)","$avp(port)","$avp(proto)","$avp(contex
+t))) {
+        t_relay();
+        xlog("$avp(context)\n");
 }
 
 ...
@@ -692,9 +691,9 @@
    Example 1.22. check_source_address() usage
 ...
 // Check if source address/port/proto is in group 4 and stores
-// context information in $avp(i:9)
-if (check_source_address("4","$avp(i:9)")) {
-        xlog("$avp(i:9)\n");
+// context information in $avp(context)
+if (check_source_address("4","$avp(context)")) {
+        xlog("$avp(context)\n");
 }else {
         sl_send_reply("403", "Forbidden");
 }