Hi, I have installed Kamailio in one instance and want to have multiple RTP instances for geo loadbalancing. I can understand that rtp_cluster will do that based on number of parameters, but geo_IP is missing.
Can somebody tell me how do I go about with it? Is it possible to get with Kamailio's geoip module and "instruct" rtp?
regards Ganesh Kumar
Infinicalls Infinicalls writes:
I have installed Kamailio in one instance and want to have multiple RTP instances for geo loadbalancing. I can understand that rtp_cluster will do that based on number of parameters, but geo_IP is missing.
Can somebody tell me how do I go about with it? Is it possible to get with Kamailio's geoip module and "instruct" rtp?
you can map a $gip key to rtpengine setid, using, for example, htable or db lookup.
-- juha
I'd say the most direct method to do it is to extend rtp_cluster to be geo-aware. If that's not an option then what you can possibly do is to create multiple views inside rtp_cluster config into the same set of rtpproxies but with different weights based on location/proximity and use separate sockets to access those from Kamailio. On Sep 28, 2015 8:24 AM, "Infinicalls Infinicalls" infinicalls@gmail.com wrote:
Hi, I have installed Kamailio in one instance and want to have multiple RTP instances for geo loadbalancing. I can understand that rtp_cluster will do that based on number of parameters, but geo_IP is missing.
Can somebody tell me how do I go about with it? Is it possible to get with Kamailio's geoip module and "instruct" rtp?
regards Ganesh Kumar
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users