[sr-dev] git:master:4f42115c: tls: docs - fix example for setting xavp_cfg

Daniel-Constantin Mierla miconda at gmail.com
Tue Dec 24 14:40:07 CET 2019


Module: kamailio
Branch: master
Commit: 4f42115ce29d446ad60b32af9ad370d9b2d847c2
URL: https://github.com/kamailio/kamailio/commit/4f42115ce29d446ad60b32af9ad370d9b2d847c2

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-12-24T14:39:17+01:00

tls: docs - fix example for setting xavp_cfg

---

Modified: src/modules/tls/doc/params.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/4f42115ce29d446ad60b32af9ad370d9b2d847c2.diff
Patch: https://github.com/kamailio/kamailio/commit/4f42115ce29d446ad60b32af9ad370d9b2d847c2.patch

---

diff --git a/src/modules/tls/doc/params.xml b/src/modules/tls/doc/params.xml
index 2e7ff3ce98..a04827b44b 100644
--- a/src/modules/tls/doc/params.xml
+++ b/src/modules/tls/doc/params.xml
@@ -1209,7 +1209,7 @@ modparam("tls", "config", "/usr/local/etc/kamailio/tls.cfg")
   modparam("tls", "xavp_cfg", "tls")
  ...
   $xavp(tls=>server_name) = "kamailio.org";
-  $xavp(tls=>server_id) = "kamailio.org";
+  $xavp(tls[0]=>server_id) = "kamailio.org";
   $du = "sip:kamailio.org:5061;transport=tls";
   route(RELAY);
 ...




More information about the sr-dev mailing list