Skip to content

Commit

Permalink
corex: docs - examples with setting xavps for via functions
Browse files Browse the repository at this point in the history
(cherry picked from commit 1e58a56)
  • Loading branch information
miconda committed Mar 27, 2020
1 parent 5cdcb3a commit 01defdb
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions src/modules/corex/doc/corex_admin.xml
Expand Up @@ -662,7 +662,15 @@ via_add_srv("1");
<title><function>via_add_xavp_params</function> usage</title>
<programlisting format="linespecific">
...
via_add_xavp_params("1");
xavp_via_params="xvia"
...
request_route {
...
$xavp(xvia=&gt;srvid) = "1";
$xavp(xvia[0]=&gt;myval) = "xyz";
via_add_xavp_params("1");
...
}
...
</programlisting>
</example>
Expand Down Expand Up @@ -690,7 +698,15 @@ via_add_xavp_params("1");
<title><function>via_use_xavp_fields</function> usage</title>
<programlisting format="linespecific">
...
via_use_xavp_fields("1");
xavp_via_fields="mvia"
...
request_route {
...
$xavp(mvia=&gt;address) = "10.10.10.10";
$xavp(mvia[0]=&gt;port) = "5060";
via_use_xavp_fields("1");
...
}
...
</programlisting>
</example>
Expand Down

0 comments on commit 01defdb

Please sign in to comment.