Module: kamailio Branch: master Commit: c32ce4d776d40fe2eccea9007fb842cd8c9c3af9 URL: https://github.com/kamailio/kamailio/commit/c32ce4d776d40fe2eccea9007fb842cd...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2022-09-30T11:21:29+02:00
carrierroute: docs updated for cr_user_carrier()
---
Modified: src/modules/carrierroute/doc/carrierroute_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/c32ce4d776d40fe2eccea9007fb842cd... Patch: https://github.com/kamailio/kamailio/commit/c32ce4d776d40fe2eccea9007fb842cd...
---
diff --git a/src/modules/carrierroute/doc/carrierroute_admin.xml b/src/modules/carrierroute/doc/carrierroute_admin.xml index 3b883d75155..341349495ec 100644 --- a/src/modules/carrierroute/doc/carrierroute_admin.xml +++ b/src/modules/carrierroute/doc/carrierroute_admin.xml @@ -412,10 +412,10 @@ cr_tree_rewrite_uri(tree, domain) <section> <title> - <function moreinfo="none">cr_user_carrier(user, domain, dstavp)</function> + <function moreinfo="none">cr_user_carrier(user, domain, dstvar)</function> </title> <para> - This function loads the carrier and stores it in an AVP. + 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 @@ -438,7 +438,8 @@ cr_tree_rewrite_uri(tree, domain) </para> </listitem> <listitem> - <para><emphasis>dstavp</emphasis> - Name of the AVP where to store the carrier id. + <para><emphasis>dstvar</emphasis> - Name of the writaable variable (e.g., an AVP) + where to store the carrier id. </para> </listitem> </itemizedlist>