From 1c0a87d107ebb3adc3b09ff5489422a67d897eb3 Mon Sep 17 00:00:00 2001 From: Kamailio Dev Date: Mon, 20 Jun 2022 11:46:26 +0200 Subject: [PATCH] modules: readme files regenerated - ims_registrar_scscf ... [skip ci] --- src/modules/ims_registrar_scscf/README | 64 +++++++++++++++++--------- 1 file changed, 41 insertions(+), 23 deletions(-) diff --git a/src/modules/ims_registrar_scscf/README b/src/modules/ims_registrar_scscf/README index 74bf059d4d4..b62c63f04fa 100644 --- a/src/modules/ims_registrar_scscf/README +++ b/src/modules/ims_registrar_scscf/README @@ -44,6 +44,7 @@ Richard Good 3.17. method_filtering (integer) 3.18. user_data_always (integer) 3.19. error_reply_code (int) + 3.20. skip_multiple_bindings_on_reg_resp (int) 4. Functions @@ -96,18 +97,19 @@ Richard Good 1.17. Set cxdx_forced_peerparameter 1.18. Set user_data_alwaysparameter 1.19. Set error_reply_code parameter - 1.20. save usage - 1.21. lookup usage + 1.20. Set skip_multiple_bindings_on_reg_resp parameter + 1.21. save usage 1.22. lookup usage - 1.23. unregister usage - 1.24. impu_registered usage - 1.25. term_impu_registered usage - 1.26. reg_fetch_contacts usage - 1.27. reg_free_contacts usage - 1.28. can_subscribe_to_reg usage - 1.29. subscribe_to_reg usage - 1.30. can_publish_reg usage - 1.31. publish_reg usage + 1.23. lookup usage + 1.24. unregister usage + 1.25. impu_registered usage + 1.26. term_impu_registered usage + 1.27. reg_fetch_contacts usage + 1.28. reg_free_contacts usage + 1.29. can_subscribe_to_reg usage + 1.30. subscribe_to_reg usage + 1.31. can_publish_reg usage + 1.32. publish_reg usage Chapter 1. Admin Guide @@ -140,6 +142,7 @@ Chapter 1. Admin Guide 3.17. method_filtering (integer) 3.18. user_data_always (integer) 3.19. error_reply_code (int) + 3.20. skip_multiple_bindings_on_reg_resp (int) 4. Functions @@ -214,6 +217,7 @@ Chapter 1. Admin Guide 3.17. method_filtering (integer) 3.18. user_data_always (integer) 3.19. error_reply_code (int) + 3.20. skip_multiple_bindings_on_reg_resp (int) 3.1. default_expires (int) @@ -485,6 +489,20 @@ om") modparam("ims_registrar_scscf", "error_reply_code", 503) ... +3.20. skip_multiple_bindings_on_reg_resp (int) + + If set to 1 - on Re-Registration registrar sends in 200OK reply only + current contact in case of multiple bindings. If set to 0 - on + Re-Registration registrar sends in 200OK reply all contacts in case of + multiple bindings according to RFC3261. + + Default value is 0. + + Example 1.20. Set skip_multiple_bindings_on_reg_resp parameter +... + modparam("ims_registrar_scscf", "skip_multiple_bindings_on_reg_resp", 1) +... + 4. Functions 4.1. save(async_reply_route, domain, mode, flags) @@ -523,7 +541,7 @@ om") This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE - Example 1.20. save usage + Example 1.21. save usage ... if (!impu_registered("location")) { save("PRE_REG_SAR_REPLY","location"); @@ -554,7 +572,7 @@ if (!impu_registered("location")) { This function can be used from REQUEST_ROUTE, FAILURE_ROUTE - Example 1.21. lookup usage + Example 1.22. lookup usage ... lookup("location"); switch ($retcode) { @@ -583,7 +601,7 @@ switch ($retcode) { This function can be used from REQUEST_ROUTE, FAILURE_ROUTE - Example 1.22. lookup usage + Example 1.23. lookup usage ... lookup_path_to_contact($ruri); ... @@ -598,7 +616,7 @@ lookup_path_to_contact($ruri); This function can be used in REQUEST_ROUTE, FAILURE_ROUTE - Example 1.23. unregister usage + Example 1.24. unregister usage ... unregister("location"); ... @@ -623,7 +641,7 @@ unregister("location"); This function can be used in REQUEST_ROUTE, FAILURE_ROUTE - Example 1.24. impu_registered usage + Example 1.25. impu_registered usage ... impu_registered("location"); switch ($retcode) { @@ -649,7 +667,7 @@ switch ($retcode) { This function can be used in REQUEST_ROUTE, FAILURE_ROUTE - Example 1.25. term_impu_registered usage + Example 1.26. term_impu_registered usage ... term_impu_registered("location"); switch ($retcode) { @@ -677,7 +695,7 @@ switch ($retcode) { This function can be used in REQUEST_ROUTE, FAILURE_ROUTE - Example 1.26. reg_fetch_contacts usage + Example 1.27. reg_fetch_contacts usage ... reg_fetch_contacts("location", "$ru", "callee"); reg_fetch_contacts("location", "sip:user@kamailio.org", "caller"); @@ -696,7 +714,7 @@ reg_fetch_contacts("location", "sip:user@kamailio.org", "caller"); This function can be used in REQUEST_ROUTE, FAILURE_ROUTE - Example 1.27. reg_free_contacts usage + Example 1.28. reg_free_contacts usage ... reg_free_contacts("callee"); ... @@ -714,7 +732,7 @@ reg_free_contacts("callee"); This function can be used in REQUEST_ROUTE - Example 1.28. can_subscribe_to_reg usage + Example 1.29. can_subscribe_to_reg usage ... if (can_subscribe_to_reg("location")){ $var(ret)= subscribe_to_reg("location"); @@ -731,7 +749,7 @@ if (can_subscribe_to_reg("location")){ This function can be used in REQUEST_ROUTE - Example 1.29. subscribe_to_reg usage + Example 1.30. subscribe_to_reg usage ... if (can_subscribe_to_reg("location")){ $var(ret)= subscribe_to_reg("location"); @@ -751,7 +769,7 @@ if (can_subscribe_to_reg("location")){ This function can be used in REQUEST_ROUTE - Example 1.30. can_publish_reg usage + Example 1.31. can_publish_reg usage ... if (can_publish_reg("location")){ $var(ret)= publish_reg("location"); @@ -768,7 +786,7 @@ if (can_publish_reg("location")){ This function can be used in REQUEST_ROUTE - Example 1.31. publish_reg usage + Example 1.32. publish_reg usage ... if (can_publish_reg("location")){ $var(ret)= publish_reg("location");