Browse code

rr: docs - note about use of record_route() for requests within dialog

- it has to be used after loose_route() for a proper detection of
request direction

Daniel-Constantin Mierla authored on 13/08/2019 14:05:45
Showing 1 changed files
... ...
@@ -397,8 +397,7 @@ loose_route();
397 397
     </section>
398 398
 
399 399
     <section id="rr.f.record_route">
400
-      <title><function moreinfo="none">record_route()</function> and <function
401
-      moreinfo="none">record_route(string)</function></title>
400
+      <title><function moreinfo="none">record_route([sparams])</function></title>
402 401
 
403 402
       <para>The function adds a new Record-Route header field. The header
404 403
       field will be inserted in the message before any other Record-Route
... ...
@@ -414,6 +413,10 @@ loose_route();
414 414
       request and generate and add a flow-token as the username part of the
415 415
       Record-Route-URI.</para>
416 416
 
417
+      <para>Note: if append From-tag is enabled and the function is used for requests
418
+      within dialog, it must be executed after loose_route() in order to detect
419
+      properly the direction.</para>
420
+
417 421
       <para>This function can be used from REQUEST_ROUTE, BRANCH_ROUTE and
418 422
       FAILURE_ROUTE.</para>
419 423