Browse code

carrierroute: docs updated for cr_user_carrier()

Daniel-Constantin Mierla authored on 30/09/2022 09:21:29
Showing 1 changed files
... ...
@@ -412,10 +412,10 @@ cr_tree_rewrite_uri(tree, domain)
412 412
 		
413 413
 	<section>
414 414
 	    <title>
415
-		<function moreinfo="none">cr_user_carrier(user, domain, dstavp)</function>
415
+		<function moreinfo="none">cr_user_carrier(user, domain, dstvar)</function>
416 416
 	    </title>
417 417
 	    <para>
418
-      This function loads the carrier and stores it in an AVP.
418
+      This function loads the carrier and stores it in a config variable.
419 419
       It cannot be used in the config file mode, as it needs a mapping of the
420 420
 	  given user to a certain carrier. The is derived from a database entry
421 421
 	  belonging to the user parameter. This mapping must be available in the
... ...
@@ -438,7 +438,8 @@ cr_tree_rewrite_uri(tree, domain)
438 438
 		      </para>
439 439
         </listitem>
440 440
 	      <listitem>
441
-          <para><emphasis>dstavp</emphasis> - Name of the AVP where to store the carrier id.
441
+			<para><emphasis>dstvar</emphasis> - Name of the writaable variable (e.g., an AVP)
442
+			  where to store the carrier id.
442 443
 		      </para>
443 444
         </listitem>
444 445
 	    </itemizedlist>