|
@@ -8,7 +8,7 @@ Edited by
|
|
|
|
|
|
Anca-Maria Vamanu
|
|
|
|
|
|
- Copyright © 2006 Voice Sistem SRL
|
|
|
+ Copyright © 2006 Voice Sistem SRL
|
|
|
__________________________________________________________________
|
|
|
|
|
|
Table of Contents
|
|
@@ -25,6 +25,7 @@ Anca-Maria Vamanu
|
|
|
|
|
|
3.1. default_domain (str)
|
|
|
3.2. entity_prefix (str)
|
|
|
+ 3.3. branch_flag (int)
|
|
|
|
|
|
4. Functions
|
|
|
|
|
@@ -34,7 +35,8 @@ Anca-Maria Vamanu
|
|
|
|
|
|
1.1. Set default_domain parameter
|
|
|
1.2. Set presentity_prefix parameter
|
|
|
- 1.3. pua_set_publish usage
|
|
|
+ 1.3. Set branch_flag parameter
|
|
|
+ 1.4. pua_set_publish usage
|
|
|
|
|
|
Chapter 1. Admin Guide
|
|
|
|
|
@@ -50,6 +52,7 @@ Chapter 1. Admin Guide
|
|
|
|
|
|
3.1. default_domain (str)
|
|
|
3.2. entity_prefix (str)
|
|
|
+ 3.3. branch_flag (int)
|
|
|
|
|
|
4. Functions
|
|
|
|
|
@@ -87,13 +90,14 @@ Chapter 1. Admin Guide
|
|
|
|
|
|
3.1. default_domain (str)
|
|
|
3.2. entity_prefix (str)
|
|
|
+ 3.3. branch_flag (int)
|
|
|
|
|
|
3.1. default_domain (str)
|
|
|
|
|
|
The default domain to use when constructing the presentity URI if it is
|
|
|
missing from recorded AOR.
|
|
|
|
|
|
- Default value is “NULL�.
|
|
|
+ Default value is "NULL".
|
|
|
|
|
|
Example 1.1. Set default_domain parameter
|
|
|
...
|
|
@@ -105,24 +109,36 @@ modparam("pua_usrloc", "default_domain", "kamailio.org")
|
|
|
The prefix when construstructing entity attribute to be added to
|
|
|
presence node in XML PIDF. (ex: pres:user@domain ).
|
|
|
|
|
|
- Default value is “NULL�.
|
|
|
+ Default value is "NULL".
|
|
|
|
|
|
Example 1.2. Set presentity_prefix parameter
|
|
|
...
|
|
|
modparam("pua_usrloc", "entity_prefix", "pres")
|
|
|
...
|
|
|
|
|
|
+3.3. branch_flag (int)
|
|
|
+
|
|
|
+ Which branch flag to be used to select the contact addresses for which
|
|
|
+ to generate PUBLISH. Valid values are 0 to 31.
|
|
|
+
|
|
|
+ Default value is "-1" (disabled).
|
|
|
+
|
|
|
+ Example 1.3. Set branch_flag parameter
|
|
|
+...
|
|
|
+modparam("pua_usrloc", "branch_flag", 9)
|
|
|
+...
|
|
|
+
|
|
|
4. Functions
|
|
|
|
|
|
4.1. pua_set_publish()
|
|
|
|
|
|
-4.1. pua_set_publish()
|
|
|
+4.1. pua_set_publish()
|
|
|
|
|
|
The function is used to mark REGISTER requests that have to issue a
|
|
|
PUBLISH. The PUBLISH is issued when REGISTER is saved in location
|
|
|
table.
|
|
|
|
|
|
- Example 1.3. pua_set_publish usage
|
|
|
+ Example 1.4. pua_set_publish usage
|
|
|
...
|
|
|
if(is_method("REGISTER") && from_uri=~"[email protected]")
|
|
|
pua_set_publish();
|