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

2011-01-27 Thread Iñaki Baz Castillo
2011/1/27 Danny Dias : >> Two Kamailios in a HeartBeat cluster which manages the kamailio >> service along with a virtual IP in which kamailios are supposed to >> listen. Just one kamailio is running (HA manages them). >> > > So, the heartbeat cluster shall manage that both are ok and also check th

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

2011-01-27 Thread Danny Dias
Thanks Iñaki, 2011/1/27 Iñaki Baz Castillo > 2011/1/27 Danny Dias : > > 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 ver

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

2011-01-27 Thread Iñaki Baz Castillo
2011/1/27 Danny Dias : > 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 systems, could you

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

2011-01-27 Thread Iñaki Baz Castillo
2011/1/27 Klaus Darilion : > 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 to listen in a IP which do

Re: [SR-Users] Load_gw failed

2011-01-27 Thread Alex Balashov
On 01/27/2011 01:04 PM, Thiago Maluf wrote: if (!load_gws(1,$rU)) { Pseudovariables like $rU have to be encapsulated in double-quotes, if they are supported as parameters to the function at all. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite

[SR-Users] Load_gw failed

2011-01-27 Thread Thiago Maluf
Hi Kamailio Users, I'm trying to use LCR module in Kamailio 3.1.1 and I', having some problems with this function (load_gws). I'm my kamailio.cfg , I have this route: # SEARCH DEST route[NUMBER] { xlog("L_ALERT", "NUMBER IS $rU \n"); if ($rU=~"^55211020[0-9]{4}$") { # IS MY USERS

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

2011-01-27 Thread Alex Hermann
On Thursday 27 January 2011 17:18:22 Danny Dias wrote: > 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 wi

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

2011-01-27 Thread Danny Dias
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 systems, could you please explain a little please?

[SR-Users] ACC error | failed to insert into database

2011-01-27 Thread alex pappas
Hi all, Hve anyone seen before the following error? *Kamailio acc [acc.c:398]: failed to insert into database* After a Kamailio restart it is ok but it start again afetr x time. Thank you Alex ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr

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 acce

Re: [SR-Users] SIP Recorder

2011-01-27 Thread Stefan Sayer
o r...@dimension-virtual.com on 01/27/2011 01:13 PM: Danny Dias escribió: Hi Iñaki, 2011/1/27 Iñaki Baz Castillo 2011/1/26 Danny Dias : > i mean > signaling: A>PROXY>B (the normal procedure) > At the same time, this must be done: (I'm not sure how to do this...the > proxy c

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 memo

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 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 registrations because

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

2011-01-27 Thread Bernhard Suttner
Try to set this option to bind to an non existing ip: net.ipv4.ip_nonlocal_bind = 1 does work for SSH and thefore should also work with kamailio -Ursprüngliche Nachricht- Von: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] Im Auftrag von Klaus Dari

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-Kamail

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

2011-01-27 Thread Danny Dias
Thanks Alex... 2011/1/27 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 > > > reg

Re: [SR-Users] Kamailio CFG file size ??

2011-01-27 Thread Jijo
Package mem size used is 10MB Regards, Jijo On Jan 27, 2011, at 6:44 AM, marius zbihlei wrote: > On 01/26/2011 10:31 PM, Jijo wrote: >> Hi All, >> is there any limitation on the size of kamailo.cfg file. When i tried to add >> few avp_subst, then the kamailio starts showing up the error out of

Re: [SR-Users] NAT Problem in Asterisk Realtime + Kamailio config

2011-01-27 Thread andrzej . ciupek
Hello You Are Awesome :) it works. Thank You. Cytowanie Klaus Darilion : Am 27.01.2011 12:42, schrieb andrzej.ciu...@asterisk.edu.pl: Hello I have started to use configuration like: http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb I works fine, but I have probl

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

2011-01-27 Thread 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 constantly changing - they expire and

Re: [SR-Users] NAT Problem in Asterisk Realtime + Kamailio config

2011-01-27 Thread Klaus Darilion
Am 27.01.2011 12:42, schrieb andrzej.ciu...@asterisk.edu.pl: > Hello > > I have started to use configuration like: > > http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb > > I works fine, but I have problem with dealing with NAT. Make sure to add #!define WITH_NAT to

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

2011-01-27 Thread Klaus Darilion
Am 27.01.2011 11:21, schrieb Danny Dias: > Hello my friends, > > I wonder if someone has done this before? i would like to implement 2 > Kamailio servers with redundancy, something like the following: > > SERVER_A is working as the primary sip proxy (virtual IP as the sip > signaling), if it fa

Re: [SR-Users] Kamailio CFG file size ??

2011-01-27 Thread marius zbihlei
On 01/26/2011 10:31 PM, Jijo wrote: Hi All, is there any limitation on the size of kamailo.cfg file. When i tried to add few avp_subst, then the kamailio starts showing up the error out of package memory on receiving SIP message. If i remove those lines then everything works fine.. avp_subst i

[SR-Users] NAT Problem in Asterisk Realtime + Kamailio config

2011-01-27 Thread andrzej . ciupek
Hello I have started to use configuration like: http://kb.asipto.com/asterisk:realtime:kamailio-3.0.x-asterisk-1.6.2-astdb I works fine, but I have problem with dealing with NAT. kamctl ul show gives me: AOR:: andrzej_104 Contact:: sip:andrzej_104@10.5.0.94:14368;rinstance=

Re: [SR-Users] SIP Recorder

2011-01-27 Thread rabs
Danny Dias escribió: Hi Iñaki, 2011/1/27 Iñaki Baz Castillo 2011/1/26 Danny Dias : > i mean > signaling: A>PROXY>B (the normal procedure) > At the same time, this must be done: (I'm not sure how to do this...the > proxy could be out of this or not, not sure :() > A ---INVITE---

Re: [SR-Users] SIP Recorder

2011-01-27 Thread Danny Dias
Hi Iñaki, 2011/1/27 Iñaki Baz Castillo > 2011/1/26 Danny Dias : > > i mean > > signaling: A>PROXY>B (the normal procedure) > > At the same time, this must be done: (I'm not sure how to do this...the > > proxy could be out of this or not, not sure :() > > A ---INVITE---> SIP_PROXY --

[SR-Users] Redundancy between 2 Kamailio servers

2011-01-27 Thread Danny Dias
Hello my friends, I wonder if someone has done this before? i would like to implement 2 Kamailio servers with redundancy, something like the following: SERVER_A is working as the primary sip proxy (virtual IP as the sip signaling), if it fails, the other server (sleeping) should UP the virtual IP

Re: [SR-Users] SIP Recorder

2011-01-27 Thread Iñaki Baz Castillo
2011/1/26 Danny Dias : > i mean > signaling: A>PROXY>B (the normal procedure) > At the same time, this must be done: (I'm not sure how to do this...the > proxy could be out of this or not, not sure :() > A ---INVITE---> SIP_PROXY ---INVITE---> SIP_RECORDER > B ---INVITE---> SIP_RECORDER

Re: [SR-Users] RLS question

2011-01-27 Thread Klaus Darilion
Am 26.01.2011 11:18, schrieb "Andrés S. García Ruiz": > > Hi, > > Rls-services document is working now! > > Thanks a lot. The problem was the URI where the document was stored. It > must contain the same userID and domain as in the To: header in the Sip > subscribe message. That's weird. IMO