[SR-Users] DNS Geo Location Kamailio servers, registration and routing

Daniel-Constantin Mierla miconda at gmail.com
Mon Aug 14 10:37:19 CEST 2017


Hello,

you can try to leverage on socket field from location table in order to
route first to the sip server that received the REGISTER.

There is also an alternative to insert a PATH header +
msg_apply_changes() before doing save location, then deal with a local
loop or do some tests in kamailio.cfg to avoid that.

Cheers,
Daniel


On 09.08.17 10:58, Sadeesh Radhakrishnan wrote:
> We have kamailio servers that do DNS-Geo-Location on different
> locations, using same domain name.
> So the users from a country will be preferred to his nearby server by
> DNS routing.
> Similarly users from different countries will be registering to their
> nearby kamailio sip servers.
> All the servers share a common user location table on database.
> Now the users are getting registered fine, with no issue.
> We want the users at one location should be able to call
> user at other-location using the user location contact information.
> When we tried, the INVITE is sent on common domain name and that
> reverse resolves dns to same server and gets a 404 not found.
> I need some suggestion / ideas in order to make it happen.
>
> Thanks
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170814/51f08175/attachment.html>


More information about the sr-users mailing list