Re: [SR-Users] Replication problems Registration Using t_replicate ().

2013-07-30 Thread Raphael Borges
Dear Vitaliy, I am using a single IP vitual for both servers, but this IP is always associated with active server. In transition, I do bind this virtual IP on the server that was previously as standby. Do not use this option for ip_nonlocal_bind. It is not possible to write to the database, the

Re: [SR-Users] Replication problems Registration Using t_replicate ().

2013-07-27 Thread Vitaliy Aleksandrov
What protection you are talking about ? Do you have listen parameter for a virtual_ip at both master and backup servers ? Have you set ip_nonlocal_bind option ? I've used this scheme without any problems and it worked great. As I understand you need to add "sock_hdr_name" and "sock_flag" para

Re: [SR-Users] Replication problems Registration Using t_replicate ().

2013-07-25 Thread Raphael Borges
Dear Daniel, I'm using this way that you mentioned, but did not succeed. Must assign the virtual IP socket server parameter standby. But as this is virtual IP at the time of replication on the active server, is not allowed, because of a protection from "get_sock_hdr" to ./registrar/save.c It's p

Re: [SR-Users] Replication problems Registration Using t_replicate ().

2013-07-25 Thread Daniel-Constantin Mierla
Hello, for the socket, there is already an embedded header, look at the readme for registrar module for sock header, or something like that. You just need to set that header to the value you want. Cheers, Daniel On 7/24/13 10:33 PM, Raphael Borges wrote: Hello, anyone have any idea for this

Re: [SR-Users] Replication problems Registration Using t_replicate ().

2013-07-24 Thread Raphael Borges
Hello, anyone have any idea for this my problem? Need to somehow override the value of the server socket standy by entering the virtual IP in this field. Thanks in advance. 2013/7/23 Raphael Borges > Daniel, I had another similar problem. Would you like a procedure similar > to the socket para

Re: [SR-Users] Replication problems Registration Using t_replicate ().

2013-07-23 Thread Raphael Borges
Daniel, I had another similar problem. Would you like a procedure similar to the socket parameter. It is possible to add a new header and assign the parameter socket in server standby somehow? Thanks in advance. 2013/7/23 Raphael Borges > Daniel, I had another similar problem. Would you like a

Re: [SR-Users] Replication problems Registration Using t_replicate ().

2013-07-22 Thread Raphael Borges
Thanks Daniel, your help was very useful. With this I created a header by append_hf () before calling the function t_replicate and standby server retrieved the value of this header and assigns this value to the parameter avp Example $avp(s:rcv) = $hdr(IP-source); Best regards Raphael Hello, >

Re: [SR-Users] Replication problems Registration Using t_replicate ().

2013-07-18 Thread Daniel-Constantin Mierla
Hello, the received is taken from an avp specified by parameter received_avp of registrar module: http://kamailio.org/docs/modules/devel/modules/registrar.html#idp4433296 You can carry the original details via a header on the replicated REGISTER (using append_hf()), then take the header on t