<div dir="ltr"><b>Hello,</b><br>
<br>
<br>
I have two servers in kamailio duality, I am using the function t_replicate () for replication log as below:<br>
Server 1 active<br>
t_replicate ("xxx.xxx.xxx.2", "5060");<br>
Server 2 reserves<br>
t_replicate ("xxx.xxx.xxx.1", "5060");<br>
<br>
But when the record is replicated to the standby server the parameter
received is being filled with the active server IP, where the IP would
Correro UAC, registry problems generating the backup server.<br>
<br>
Example<br>
Server 1 active xxx.xxx.xxx.1<br>
<br>
$ Kamctl ul show<br>
Domain :: location table = 512 records = 1 = 1 max_slot<br>
         AOR :: 4301<br>
                 Contact :: sip: 4301@yyy.yyy.yyy.100; transport = udp Q =<br>
                         Expires :: 4566<br>
                         Callid :: ccd0431c-6a4c-1231-0a94-7356c4f466e6<br>
                         CSeq :: 46740150<br>
                         User-agent :: stepo_LITE<br>
                         Received :: sip: yyy.yyy.yyy.100: 5060<br>
                         State :: CS_SYNC<br>
                         Flags :: 0<br>
                         CFLAG :: 0<br>
                         Socket :: udp: xxx.xxx.xxx.1: 5060<br>
                         Methods :: 8159<br>
<br>
Server 2 Reserve xxx.xxx.xxx.2<br>
<br>
$ Kamctl ul show<br>
Domain :: location table = 512 records = 1 = 1 max_slot<br>
         AOR :: 4301<br>
                 Contact :: sip: 4301@yyy.yyy.yyy.100; transport = udp Q =<br>
                         Expires :: 6665<br>
                         Callid :: ec7cfd42-6a7c-1231-0f94-7356c4f466e6<br>
                         CSeq :: 46750472<br>
                         User-agent :: stepo_LITE<br>
                         Received :: sip: xxx.xxx.xxx.1: 5060<br>
                         State :: CS_SYNC<br>
                         Flags :: 0<br>
                         CFLAG :: 0<br>
                         Socket :: udp: xxx.xxx.xxx.2: 5060<br>
                         Methods :: 8159<br>
<div class=""><font color="#606060"><font size="1"><font face="Verdana, Arial, Helvetica"><br>
<br>
<br>
Tkanks<br>
<br>
Raphael<br>
</font></font></font></div></div>