<p style="white-space: pre-wrap; word-wrap: break-word;">This is a new feature so it should also have a test to confirm that the dialplan variable does as it should and doesn't break in the future. If no test is provided then it would be eligible for master.</p><p>Patch set 7:<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>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.asterisk.org/#/c/10431/7/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/7/res/res_pjsip_sdp_rtp.c@1249">Patch Set #7, Line 1249:</a> <code style="font-family:monospace,monospace">              const char *use_media_address = pbx_builtin_getvar_helper(session->channel, "PJSIP_USE_MEDIA_ADDRESS");</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This needs to be documented somewhere. The sample configuration file as well as the XML documentation for media_address in res_pjsip.c I think, otherwise noone will know it exists.</p><p style="white-space: pre-wrap; word-wrap: break-word;">It should also go into the CHANGES file.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/10431/7/res/res_pjsip_sdp_rtp.c@1251">Patch Set #7, Line 1251:</a> <code style="font-family:monospace,monospace">             if (!ast_strlen_zero(use_media_address) && !strcmp("no", use_media_address)) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Instead of using "no" this should use ast_false so it is consistent with other yes/no options.</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: 7 </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-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 17 Oct 2018 10:15:50 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>