<p>Sean Bright has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/8020">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip: Allow 'holdconn' to be set for DTLS setup.<br><br>Change-Id: Iace2560ed09c7714543a1a24c59c46b59da432f0<br>---<br>M main/rtp_engine.c<br>M res/res_pjsip.c<br>2 files changed, 6 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/20/8020/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/rtp_engine.c b/main/rtp_engine.c<br>index 6bedd17..8a2a493 100644<br>--- a/main/rtp_engine.c<br>+++ b/main/rtp_engine.c<br>@@ -2168,6 +2168,8 @@<br> dtls_cfg->default_setup = AST_RTP_DTLS_SETUP_PASSIVE;<br> } else if (!strcasecmp(value, "actpass")) {<br> dtls_cfg->default_setup = AST_RTP_DTLS_SETUP_ACTPASS;<br>+ } else if (!strcasecmp(value, "holdconn")) {<br>+ dtls_cfg->default_setup = AST_RTP_DTLS_SETUP_HOLDCONN;<br> }<br> } else if (!strcasecmp(name, "dtlsfingerprint")) {<br> if (!strcasecmp(value, "sha-256")) {<br>diff --git a/res/res_pjsip.c b/res/res_pjsip.c<br>index 55582e5..05719d6 100644<br>--- a/res/res_pjsip.c<br>+++ b/res/res_pjsip.c<br>@@ -851,6 +851,10 @@<br> <enum name="actpass"><para><br> res_pjsip will offer and accept connections from the peer.<br> </para></enum><br>+ <enum name="holdconn"><para><br>+ res_pjsip does not want the connection to be established<br>+ for the time being.<br>+ </para></enum><br> </enumlist><br> </description><br> </configOption><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8020">change 8020</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/8020"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Iace2560ed09c7714543a1a24c59c46b59da432f0 </div>
<div style="display:none"> Gerrit-Change-Number: 8020 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </div>