Skip to content

Commit

Permalink
carrierroute: docs updated for cr_user_carrier()
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Sep 30, 2022
1 parent e84c194 commit c32ce4d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/modules/carrierroute/doc/carrierroute_admin.xml
Expand Up @@ -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
Expand All @@ -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>
Expand Down

0 comments on commit c32ce4d

Please sign in to comment.