<p style="white-space: pre-wrap; word-wrap: break-word;">I'm unsure where but this would need to be documented (more than just the commit message).  If we do go with a magic variable I think it would be better to prefix the name with "PJSIP_" to avoid potentially giving meaning to a variable that someone is already using in generic dialplan.</p><p style="white-space: pre-wrap; word-wrap: break-word;">For the record I'm against creating a magic variable, but I'll leave the final decision to those who are more invested in the PJSIP channel driver.</p><p>Patch set 3:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p><a href="https://gerrit.asterisk.org/10431">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.asterisk.org/#/c/10431/3/res/res_pjsip_sdp_rtp.c">File res/res_pjsip_sdp_rtp.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/10431/3/res/res_pjsip_sdp_rtp.c@1254">Patch Set #3, Line 1254:</a> <code style="font-family:monospace,monospace">                          hostip = ast_sip_get_host_ip_string(session->endpoint->media.rtp.ipv6 ? pj_AF_INET6() : pj_AF_INET());</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This does not match the functionality you specified.  The commit message specifies functionality for "yes", "no", or unset.  This code causes the "no" path to be hit for all non-blank values which are not "yes".  So if someone has the value "http://media-server/audio/" this will do the wrong thing.  I think unexpected values (neither "yes" nor "no") should follow the existing functionality.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/10431">change 10431</a>. To unsubscribe, or for help writing mail filters, 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/10431"/><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: comment </div>
<div style="display:none"> Gerrit-Change-Id: I852adbee9f8b034ec332fbe4e1b6692cb2939518 </div>
<div style="display:none"> Gerrit-Change-Number: 10431 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Salah Ahmed <txrubel@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 05 Oct 2018 07:52:06 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>