[Asterisk-code-review] res_pjsip: document legal dtls_verify endpoint options. (asterisk[16])

Friendly Automation asteriskteam at digium.com
Mon Apr 13 17:31:47 CDT 2020


Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/14183 )

Change subject: res_pjsip: document legal dtls_verify endpoint options.
......................................................................

res_pjsip: document legal dtls_verify endpoint options.

Change-Id: I7fa7c5c8a7ddb0bd525982f58bff3264ebbd9a1b
---
M res/res_pjsip.c
1 file changed, 17 insertions(+), 1 deletion(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  Kevin Harwell: Looks good to me, approved
  George Joseph: Looks good to me, but someone else must approve
  Friendly Automation: Approved for Submit



diff --git a/res/res_pjsip.c b/res/res_pjsip.c
index 3e11a6b..7a9b1a2 100644
--- a/res/res_pjsip.c
+++ b/res/res_pjsip.c
@@ -798,7 +798,23 @@
 					<description><para>
 						This option only applies if <replaceable>media_encryption</replaceable> is
 						set to <literal>dtls</literal>.
-					</para></description>
+						</para><para>
+						It can be one of the following values:
+						</para><enumlist>
+							<enum name="no"><para>
+								meaning no verificaton is done.
+							</para></enum>
+							<enum name="fingerprint"><para>
+								meaning to verify the remote fingerprint.
+							</para></enum>
+							<enum name="certificate"><para>
+								meaning to verify the remote certificate.
+							</para></enum>
+							<enum name="yes"><para>
+								meaning to verify both the remote fingerprint and certificate.
+							</para></enum>
+						</enumlist>
+					</description>
 				</configOption>
 				<configOption name="dtls_rekey">
 					<synopsis>Interval at which to renegotiate the TLS session and rekey the SRTP session</synopsis>

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14183
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I7fa7c5c8a7ddb0bd525982f58bff3264ebbd9a1b
Gerrit-Change-Number: 14183
Gerrit-PatchSet: 2
Gerrit-Owner: Jaco Kroon <jaco at uls.co.za>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200413/040b5789/attachment-0001.html>


More information about the asterisk-code-review mailing list