Module: kamailio Branch: master Commit: 6f400a8074fe60916867596431ca26dff00435d1 URL: https://github.com/kamailio/kamailio/commit/6f400a8074fe60916867596431ca26df...
Author: Kamailio Dev kamailio.dev@kamailio.org Committer: Kamailio Dev kamailio.dev@kamailio.org Date: 2022-09-30T11:46:18+02:00
modules: readme files regenerated - carrierroute ... [skip ci]
---
Modified: src/modules/carrierroute/README
---
Diff: https://github.com/kamailio/kamailio/commit/6f400a8074fe60916867596431ca26df... Patch: https://github.com/kamailio/kamailio/commit/6f400a8074fe60916867596431ca26df...
---
diff --git a/src/modules/carrierroute/README b/src/modules/carrierroute/README index ad924c1ca2..ba1d19d230 100644 --- a/src/modules/carrierroute/README +++ b/src/modules/carrierroute/README @@ -41,7 +41,7 @@ Lucian Balaceanu
4. Functions
- 4.1. cr_user_carrier(user, domain, dstavp) + 4.1. cr_user_carrier(user, domain, dstvar) 4.2. cr_route(carrier, domain, prefix_matching, rewrite_user, hash_source, descavp)
@@ -185,7 +185,7 @@ Chapter 1. Admin Guide
4. Functions
- 4.1. cr_user_carrier(user, domain, dstavp) + 4.1. cr_user_carrier(user, domain, dstvar) 4.2. cr_route(carrier, domain, prefix_matching, rewrite_user, hash_source, descavp)
@@ -473,7 +473,7 @@ modparam("carrierroute", "avoid_failed_destinations", 0)
4. Functions
- 4.1. cr_user_carrier(user, domain, dstavp) + 4.1. cr_user_carrier(user, domain, dstvar) 4.2. cr_route(carrier, domain, prefix_matching, rewrite_user, hash_source, descavp)
@@ -501,22 +501,23 @@ cr_user_rewrite_uri(uri, domain) cr_tree_rewrite_uri(tree, domain) -> cr_route(tree, domain, "$rU", "$rU", "call_id")
-4.1. cr_user_carrier(user, domain, dstavp) +4.1. cr_user_carrier(user, domain, dstvar)
- This function loads the carrier and stores it in an AVP. It cannot be - used in the config file mode, as it needs a mapping of the given user - to a certain carrier. The is derived from a database entry belonging to - the user parameter. This mapping must be available in the table that is - specified in the “subscriber_table” variable. This data is not cached - in memory, that means for every execution of this function a database - query will be done. + This function loads the carrier and stores it in a config variable. It + cannot be used in the config file mode, as it needs a mapping of the + given user to a certain carrier. The is derived from a database entry + belonging to the user parameter. This mapping must be available in the + table that is specified in the “subscriber_table” variable. This data + is not cached in memory, that means for every execution of this + function a database query will be done.
Meaning of the parameters is as follows: * user - Name of the user for the carrier tree lookup. Additional to a string any pseudo-variable could be used as input. * domain - Name of the routing domain to be used. Additional to a string any pseudo-variable could be used as input. - * dstavp - Name of the AVP where to store the carrier id. + * dstvar - Name of the writaable variable (e.g., an AVP) where to + store the carrier id.
4.2. cr_route(carrier, domain, prefix_matching, rewrite_user, hash_source, descavp)