it is still the same t_relay() for both IP address or domain name.
Kelvin Chua
On Fri, Mar 14, 2014 at 11:34 AM, Neville D'Souza ncd@gogopay.com wrote:
Hi Daniel,
Just a query regarding the same. I will be building 2 live kamailio servers based in 2 different countries which will be a backend to a mobile app. I already have a test server running fine. I need to know how to have 2 kamailio servers relay calls to each other, could you specify the below if applicable in my case. What is the specific config I need to do which will be different from hosting just one Kamailio server. Please note I am not using domains or dns but IP addresses, for example user01@111.111.111.111. I have also suppress reverse lookups in config file.
Regards,
Neville
*From:* sr-users-bounces@lists.sip-router.org [mailto: sr-users-bounces@lists.sip-router.org] *On Behalf Of *Daniel-Constantin Mierla *Sent:* Thursday, March 13, 2014 1:46 PM *To:* Kamailio (SER) - Users Mailing List *Subject:* Re: [SR-Users] Inter domain routing
Hello,
if the domains are in DNS, then simply relay (e.g., using t_relay()) from each instance. Kamailio does dns query and will send it to the other one.
Cheers, Daniel
On 13/03/14 07:00, Owais ul Haq wrote:
Hello, I have two kamailio servers running independently with different domain names. I want to route calls between those two servers. Can it be done ? If yes then How ? Thanks.
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference - April 2-4, 2014, Berlin, Germany
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