<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
the received is taken from an avp specified by parameter
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
received_avp of registrar module:<br>
<br>
<a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/devel/modules/registrar.html#idp4433296">http://kamailio.org/docs/modules/devel/modules/registrar.html#idp4433296</a><br>
<br>
You can carry the original details via a header on the replicated
REGISTER (using append_hf()), then take the header on the second
server and store its value in the avp.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 7/18/13 9:05 PM, Raphael Borges
wrote:<br>
</div>
<blockquote
cite="mid:CADsZGGshW22uMEGXOD6b2pEhf+MC7c1AdLJHhpniSgpiJRBaGg@mail.gmail.com"
type="cite">
<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: <a class="moz-txt-link-abbreviated" href="mailto:4301@yyy.yyy.yyy.100">4301@yyy.yyy.yyy.100</a>; 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: <a class="moz-txt-link-abbreviated" href="mailto:4301@yyy.yyy.yyy.100">4301@yyy.yyy.yyy.100</a>; 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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
</pre>
</body>
</html>