<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Looking at the Asterisk wiki<o:p></o:p></p>
<p class="MsoNormal"><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Geolocation+Implementation">https://wiki.asterisk.org/wiki/display/AST/Asterisk+Geolocation+Implementation</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I see the dial plan support the GeolocProfileCreate and there is support for GEOLOC_PROFILE settings to be set on the dial plan.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We currently use AMI Originate support. We may have dozens/hundreds of calls in the system and external to Asterisk, someone executes a behavior where we perform the Originate, if the party answers, we ConfBridge the necessary calls together.
It can be multiple calls and we never know when the total calls bridged together will need to be increased. Because of the random increase in calls, we can’t use the Dial to bridge the parties together.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The GEO Location information for the original caller can vary significantly because they could be WebRTC. We are planning to require the setup of the Geo Location for each call to be provided to us (either via the incoming call or it may
be provided from third party software). Either way, we will know what the GEO Location to use for the Originate. Trying to wrap my head around the best way to achieve this.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Using AMI Originate, is it possible to set the GEOLOC_PROFILE settings via the Variable header?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My thought would be to configure an outgoing Geo Location profile for the PJSIP endpoint, but it would have the minimum settings.<o:p></o:p></p>
<p class="MsoNormal">When sending the AMI Originate, provide all the adjustments to the GEOLOC_PROFILE settings via the Variable.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is this possible or might there be a better way to achieve this?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Alternatively, I could generate an internal local channel, configure the GeoLocProfile on it, configure all GEOLOC_PROFILE adjustments on it, then have it perform the Dial. If the other end answers or not, treat it exactly as we currently
do using the Originate.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dan<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>