|
@@ -32,6 +32,7 @@ Anca-Maria Vamanu
|
|
|
3.7. outbound_proxy (str)
|
|
|
3.8. dlginfo_increase_version (int)
|
|
|
3.9. reginfo_increase_version (int)
|
|
|
+ 3.10. check_remote_contact (int)
|
|
|
|
|
|
4. Exported Functions
|
|
|
|
|
@@ -59,7 +60,8 @@ Anca-Maria Vamanu
|
|
|
1.7. Set outbound_proxy parameter
|
|
|
1.8. Set dlginfo_increase_version parameter
|
|
|
1.9. Set reginfo_increase_version parameter
|
|
|
- 1.10. pua_update_contact usage
|
|
|
+ 1.10. Set check_remote_contact parameter
|
|
|
+ 1.11. pua_update_contact usage
|
|
|
2.1. pua_api structure
|
|
|
2.2. pua_is_dialog usage example
|
|
|
2.3. register_puacb usage example
|
|
@@ -86,6 +88,7 @@ Chapter 1. Admin Guide
|
|
|
3.7. outbound_proxy (str)
|
|
|
3.8. dlginfo_increase_version (int)
|
|
|
3.9. reginfo_increase_version (int)
|
|
|
+ 3.10. check_remote_contact (int)
|
|
|
|
|
|
4. Exported Functions
|
|
|
|
|
@@ -145,6 +148,7 @@ Chapter 1. Admin Guide
|
|
|
3.7. outbound_proxy (str)
|
|
|
3.8. dlginfo_increase_version (int)
|
|
|
3.9. reginfo_increase_version (int)
|
|
|
+ 3.10. check_remote_contact (int)
|
|
|
|
|
|
3.1. hash_size (int)
|
|
|
|
|
@@ -264,6 +268,23 @@ modparam("pua", "dlginfo_increase_version", 1)
|
|
|
modparam("pua", "reginfo_increase_version", 1)
|
|
|
...
|
|
|
|
|
|
+3.10. check_remote_contact (int)
|
|
|
+
|
|
|
+ When sending a SUBSCRIBE check that the remote contact matches the one
|
|
|
+ in the stored dialog or not. If the remote contact is checked and does
|
|
|
+ not match the one in the stored dialog then the dialog is not matched.
|
|
|
+ Checking the remote contact can cause problems when using modules like
|
|
|
+ RLS and should not be required in order to properly match the dialog
|
|
|
+ anyway. Set this parameter to 0 to disable checking of remote contact
|
|
|
+ for SUBSCRIBE dialog matching.
|
|
|
+
|
|
|
+ Default value is “1”.
|
|
|
+
|
|
|
+ Example 1.10. Set check_remote_contact parameter
|
|
|
+...
|
|
|
+modparam("pua", "check_remote_contact", 0)
|
|
|
+...
|
|
|
+
|
|
|
4. Exported Functions
|
|
|
|
|
|
4.1. pua_update_contact()
|
|
@@ -283,7 +304,7 @@ modparam("pua", "reginfo_increase_version", 1)
|
|
|
* 1 - if success.
|
|
|
* -1 - if error.
|
|
|
|
|
|
- Example 1.10. pua_update_contact usage
|
|
|
+ Example 1.11. pua_update_contact usage
|
|
|
...
|
|
|
if(method=="NOTIFY")
|
|
|
pua_update_contact();
|