Hi,
I don't think the geo location data may be relevant (in order to pick up
the best rtpp) - the most relevant data would be the ping roundtrip from
client to your RTPPs, so you can use the closest as network delay
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Summit 2019
https://www.opensips.org/events/Summit-2019Amsterdam/
On 03/20/2019 11:59 AM, Dmitry wrote:
Hi there,
Maybe you know the best way to calculate the nearest routing point based on
geoip data?
an example:
I have 3 rtpengine relays on a different country, and I can set its
geo-coordinate in DB and set id for each of them via rtpengine_use_set()
function in the routing script.
Also, I have goip lookup via mmg_lookup() function that can give me a
coordinate a caller by IP address.
A caller comes from the country that _doesn't have_ rtpengine relay and I need
to calculate the nearest rtpengine id for set it as prefer based on its IP
address
Any advice is appreciated.
Thanks
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users