Module: sip-router
Branch: master
Commit: b745f5869e86bc7cce774dc4b54be9a1be90e3e5
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b745f58…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: Thu Mar 27 17:31:51 2014 +0100
permissions: peer_tag_mode is integer, not string
Fixing example in doc file
---
modules/permissions/README | 2 +-
modules/permissions/doc/permissions_admin.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/permissions/README b/modules/permissions/README
index 9835af6..6f44727 100644
--- a/modules/permissions/README
+++ b/modules/permissions/README
@@ -627,7 +627,7 @@ modparam("permissions", "peer_tag_avp",
"$avp(i:707)")
Example 1.19. Set peer_tag_mode parameter
...
-modparam("permissions", "peer_tag_mode", "1")
+modparam("permissions", "peer_tag_mode", 1)
...
4. Functions
diff --git a/modules/permissions/doc/permissions_admin.xml
b/modules/permissions/doc/permissions_admin.xml
index c955d2a..a6da004 100644
--- a/modules/permissions/doc/permissions_admin.xml
+++ b/modules/permissions/doc/permissions_admin.xml
@@ -699,7 +699,7 @@ modparam("permissions", "peer_tag_avp",
"$avp(i:707)")
<title>Set <varname>peer_tag_mode</varname> parameter</title>
<programlisting format="linespecific">
...
-modparam("permissions", "peer_tag_mode", "1")
+modparam("permissions", "peer_tag_mode", 1)
...
</programlisting>
</example>