Hello,
On 4/18/12 8:46 AM, Juanjo wrote:
Hello everybody
I have a question about clustering kamailio, i want to register
subscribers to two diferent kamailios, and the subscribers from one
kamailio should be able to communicate with the subscribers registered
in the other kamailio
How can i do it? Is there something like DUNDI in the Asterisk world?
depending of the network topology between clients and servers, there can
be different approaches.
If there is no NAT involved, then you can replicate the registrations
between servers (look at tm module for replication functions).
If NAT is involved, then you can lookup in one server, if not found,
forward to the second and reply not found if the second does not have a
location record. You can use source ip to decide whether to forward to
the other server or send 404 reply.
Cheers,
Daniel
--
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/