<p>George Joseph <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18977">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_geolocation: Add built-in profiles<br><br>The trigger to perform outgoing geolocation processing is the<br>presence of a geoloc_outgoing_call_profile on an endpoint. This<br>is intentional so as to not leak location information to<br>destinations that shouldn't receive it. In a totally dynamic<br>configuration scenario however, there may not be any profiles<br>defined in geolocation.conf. This makes it impossible to do<br>outgoing processing without defining a "dummy" profile in the<br>config file.<br><br>This commit adds 4 built-in profiles:<br> "<prefer_config>"<br> "<discard_config>"<br> "<prefer_incoming>"<br> "<discard_incoming>"<br>The profiles are empty except for having their predecence<br>set and can be set on an endpoint to allow processing without<br>entries in geolocation.conf. "<discard_config>" is actually the<br>best one to use in this situation.<br><br>ASTERISK-30182<br><br>Change-Id: I1819ccfa404ce59802a3a07ad1cabed60fb9480a<br>---<br>M configs/samples/geolocation.conf.sample<br>A doc/CHANGES-staging/res_geolocation.txt<br>M res/res_geolocation/geoloc_config.c<br>3 files changed, 96 insertions(+), 9 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/77/18977/3</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18977">change 18977</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/c/asterisk/+/18977"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I1819ccfa404ce59802a3a07ad1cabed60fb9480a </div>
<div style="display:none"> Gerrit-Change-Number: 18977 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>