[asterisk-users] Question about the Geo Location support being added

Dan Cropp dan at amtelco.com
Wed Jul 27 12:01:34 CDT 2022


Looking at the Asterisk wiki
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Geolocation+Implementation

I see the dial plan support the GeolocProfileCreate and there is support for GEOLOC_PROFILE settings to be set on the dial plan.

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.

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.

Using AMI Originate, is it possible to set the GEOLOC_PROFILE settings via the Variable header?

My thought would be to configure an outgoing Geo Location profile for the PJSIP endpoint, but it would have the minimum settings.
When sending the AMI Originate, provide all the adjustments to the GEOLOC_PROFILE settings via the Variable.

Is this possible or might there be a better way to achieve this?


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.


Dan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20220727/7439697b/attachment.html>


More information about the asterisk-users mailing list