<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=018445513-01062007>Hello
all,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=018445513-01062007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=018445513-01062007>I have a question
about replicated registrations. Server1 sends an authenticated REGISTER to
server2. The script looks like:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=018445513-01062007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=018445513-01062007>if
(method=="REGISTER") {</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=018445513-01062007>
if (src_ip==server1)
{<BR>
# Handle replicated registrations. No need to authenticate, just
save.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=018445513-01062007>
if
(!save("location"))<BR>
sl_reply_error();<BR>
}<BR>
else {<BR></SPAN></FONT><FONT face=Arial size=2><SPAN
class=018445513-01062007>
# Digest
authentication<BR>
if (!proxy_authorize("", "subscriber"))
{<BR>
proxy_challenge("",
"0");<BR>
return;<BR>
}<BR>
if (!check_from() | !check_to())
{<BR>
sl_send_reply("400", "Bad
Request");<BR>
return;<BR>
}</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=018445513-01062007>
if (!save("location"))
{<BR>
sl_reply_error();<BR>
}</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=018445513-01062007>
# Send a copy of this registration to the other
proxy<BR>
t_replicate("sip:server2:5060");<BR>
}</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=018445513-01062007>
return;<BR>} </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=018445513-01062007><FONT face=Arial size=2>On server2 I get
this message:</FONT></SPAN></DIV>
<DIV><SPAN class=018445513-01062007><FONT face=Arial
size=2>ERROR:registrar:update_contacts: invalid cseq for aor
<...></FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN class=018445513-01062007>But I don't have the
same message on server1. </SPAN></FONT><SPAN class=018445513-01062007><FONT
face=Arial size=2>If the cseq is invalid then how come server1 saves it
successfuly and then replicates it to server2?</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=018445513-01062007><FONT face=Arial size=2>thank
you</FONT></SPAN></DIV>
<DIV><SPAN class=018445513-01062007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=018445513-01062007><FONT face=Arial
size=2>George</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY><!--[object_id=#altectelecoms.gr#]--><FONT face=Tahoma size=2><FONT color=#0000ff>
<H1><FONT face="Arial Greek" color=#c0c0c0 size=2><SPAN lang=EN-GB>Disclaimer</SPAN></FONT></H1>
<P class=MsoNormal style="MARGIN: 5pt 0cm; mso-layout-grid-align: none"><SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-US; mso-fareast-language: EN-US">The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are </SPAN><SPAN lang=EN-GB style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-GB; mso-fareast-language: EN-US">the</SPAN><SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-US; mso-fareast-language: EN-US"> intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be</SPAN><SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-GB; mso-fareast-language: EN-US"> </SPAN><SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-US; mso-fareast-language: EN-US">guaranteed to be secure or error-free as information could be</SPAN><SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-GB; mso-fareast-language: EN-US"> </SPAN><SPAN lang=EN-US style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-US; mso-fareast-language: EN-US">intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.</SPAN><SPAN lang=EN-GB style="FONT-SIZE: 8pt; COLOR: #999999; FONT-FAMILY: Arial; mso-ansi-language: EN-GB; mso-fareast-language: EN-US"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P></FONT></FONT></HTML>