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

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to