Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread Danny Dias
Hello, I was thinking that if i store the contacts that are registered into my proxy in a database, like this: . . # - usrloc params - modparam(usrloc, db_mode, 3) . . if (is_method(REGISTER)) { if (!save(location)) sl_reply_error(); exit; } . . This way i

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread Bernhard Suttner
Would be possible. Have a look at DRBD! Von: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] Im Auftrag von Danny Dias Gesendet: Mittwoch, 2. Februar 2011 11:20 An: kamailio Betreff: Re: [SR-Users] Redundancy between 2 Kamailio servers Hello, I

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread marius zbihlei
On 02/02/2011 12:20 PM, Danny Dias wrote: Hello, I was thinking that if i store the contacts that are registered into my proxy in a database, like this: . . # - usrloc params - modparam(usrloc, db_mode, 3) . . if (is_method(REGISTER)) { if (!save(location))

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread Klaus Darilion
Am 27.01.2011 13:05, schrieb Alex Hermann: On Thursday 27 January 2011, Klaus Darilion wrote: Am 27.01.2011 11:21, schrieb Danny Dias: I've read some difficulty in the synchronisation of registrations because Kamailio works best when it stores registrations in memory and registrations are

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread Alex Hermann
On Wednesday 02 February 2011, you wrote: Am 27.01.2011 13:05, schrieb Alex Hermann: On Thursday 27 January 2011, Klaus Darilion wrote: Am 27.01.2011 11:21, schrieb Danny Dias: I've read some difficulty in the synchronisation of registrations because Kamailio works best when it stores

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread Klaus Darilion
Am 02.02.2011 15:24, schrieb Alex Hermann: On Wednesday 02 February 2011, you wrote: Am 27.01.2011 13:05, schrieb Alex Hermann: On Thursday 27 January 2011, Klaus Darilion wrote: Am 27.01.2011 11:21, schrieb Danny Dias: I've read some difficulty in the synchronisation of registrations

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-02-02 Thread Alex Hermann
On Wednesday 02 February 2011, Klaus Darilion wrote: Am 02.02.2011 15:24, schrieb Alex Hermann: On Wednesday 02 February 2011, you wrote: Alex, what happens if one server is down. There will be lots of replication transactions which will timeout. Can this cause any problems if there are

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Klaus Darilion
Am 27.01.2011 13:05, schrieb Alex Hermann: Yes - the problem with SIP based replication is that both proxies must be running. This is a problem as Kamailio binds to the virtual IP at start up - thus adding the virtual IP address to the backup server does not make Backup-Kamailio

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Bernhard Suttner
Darilion Gesendet: Donnerstag, 27. Januar 2011 15:18 An: Alex Hermann Cc: sr-users@lists.sip-router.org Betreff: Re: [SR-Users] Redundancy between 2 Kamailio servers Am 27.01.2011 13:05, schrieb Alex Hermann: Yes - the problem with SIP based replication is that both proxies must be running

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread marius zbihlei
On 01/27/2011 04:15 PM, Danny Dias wrote: Thanks Alex... 2011/1/27 Alex Hermann a...@speakup.nl mailto:a...@speakup.nl On Thursday 27 January 2011, Klaus Darilion wrote: Am 27.01.2011 11:21, schrieb Danny Dias: I've read some difficulty in the synchronisation of

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Klaus Darilion
Am 27.01.2011 13:05, schrieb Alex Hermann: On Thursday 27 January 2011, Klaus Darilion wrote: Am 27.01.2011 11:21, schrieb Danny Dias: I've read some difficulty in the synchronisation of registrations because Kamailio works best when it stores registrations in memory and

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Alex Hermann
On Thursday 27 January 2011, Klaus Darilion wrote: Alex, do you also do NAT keep-alive from the proxies? If yes, are you sending them from both servers at the same time? No, we require clients to sent nat-keepalives. It is much more efficient. In addition, the registrars are not directly

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Iñaki Baz Castillo
2011/1/27 Klaus Darilion klaus.mailingli...@pernau.at: Is it possible to bind Kamailio to an IP address which is not active? (e.g. start Kamailio on the backup server) Yes, it depends on a sysctl option of the kernel (I don't remember the name, sorry). With such option set you can make a server

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Iñaki Baz Castillo
2011/1/27 Danny Dias ing.diasda...@gmail.com: Do you mean that both Kamailio-1 and Kamailio-2 will be as primary server? and the clients will register in the 2 machines? and also they will bind to the ip of the HA? sorry my friend but i do not understand very well, i'm quite new with redundant

Re: [SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Danny Dias
Thanks Iñaki, 2011/1/27 Iñaki Baz Castillo i...@aliax.net 2011/1/27 Danny Dias ing.diasda...@gmail.com: Do you mean that both Kamailio-1 and Kamailio-2 will be as primary server? and the clients will register in the 2 machines? and also they will bind to the ip of the HA? sorry my