Hi Kelvin,
Thanks for your valuable response. I hope you don't mind me asking the specifics here I am pretty much a newbie. Do you mean the below code in kamailio.cfg file or is it something else.
route[RELAY] {
# enable additional event routes for forwarded requests
# - serial forking, RTP relaying handling, a.s.o.
if (is_method("INVITE|BYE|SUBSCRIBE|UPDATE")) {
if(!t_is_set("branch_route")) t_on_branch("MANAGE_BRANCH");
}
if (is_method("INVITE|SUBSCRIBE|UPDATE")) {
if(!t_is_set("onreply_route")) t_on_reply("MANAGE_REPLY");
}
if (is_method("INVITE")) {
if(!t_is_set("failure_route")) t_on_failure("MANAGE_FAILURE");
}
if (!t_relay()) {
sl_reply_error();
}
exit;
}
Also do I need to specify my 2 IP addresses on the both kamailio servers ? and how do I edit this, I mean the syntax. It would be great if you could give me a an example.
Regards
Neville
From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Kelvin Chua
Sent: Friday, March 14, 2014 9:36 AM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Inter domain routing
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,
DanielOn 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.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/micondaKamailio World Conference - April 2-4, 2014, Berlin, Germanyhttp://www.kamailioworld.com
_______________________________________________
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
_______________________________________________
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