<p>Sean Bright has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/8022">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/22/8022/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 7424324..d8d5ad2 100644<br>--- a/main/rtp_engine.c<br>+++ b/main/rtp_engine.c<br>@@ -2792,6 +2792,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 07fc980..eb5affa 100644<br>--- a/res/res_pjsip.c<br>+++ b/res/res_pjsip.c<br>@@ -866,6 +866,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/8022">change 8022</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/8022"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </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: 8022 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </div>