Procházet zdrojové kódy

cookbooks/devel/core: docs for xavp_via_reply_params parameter

Daniel-Constantin Mierla před 2 roky
rodič
revize
87b7bf4cbd
1 změnil soubory, kde provedl 18 přidání a 0 odebrání
  1. 18 0
      docs/cookbooks/devel/core.md

+ 18 - 0
docs/cookbooks/devel/core.md

@@ -2890,6 +2890,24 @@ request_route {
 
 See function `via_use_xavp_fields()` from "corex" module.
 
+### xavp_via_reply_params
+
+Set the name of the XAVP of which subfields will be added as header parameters to the top `Via` of the replies sent out.
+
+If not set, `XAVP` to `Via` header parameter manipulation is not applied
+(default behaviour).
+
+If set, top `Via` header of the to-be-sent reply gets additional parameters from defined `XAVP`.
+Core flag `FL_ADD_XAVP_VIA_REPLY PARAMS` needs to be set¹.
+
+Example:
+
+```
+    xavp_via_reply_params="viarpl"
+```
+
+`[1]` See function `via_reply_vadd_xavp_params()` from "corex" module.
+
 ## DNS Parameters
 
 Note: See also file `doc/tutorials/dns.txt` for details about Kamailio's