<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hi Olivier,</DIV>
<DIV>Yes, this time it was easy to follow your logic and question ;-)</DIV>
<DIV> </DIV>
<DIV>The registrations look ok. According to the RFC, SER returns the
registered locations in the Contact header of the OK. So I'm not sure what
is happening.</DIV>
<DIV> </DIV>
<DIV>I would try to set max_expires to 3600 (or default to 1800). You have
default 3600 and the clients seem to be configured with 3600, but max_expires
will prevent ser from giving expire value above 1800.</DIV>
<DIV>g-)</DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=olivier.taylor@gmail.com
href="mailto:olivier.taylor@gmail.com">Olivier Taylor</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=serusers@lists.iptel.org
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, October 09, 2005 02:43
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Serusers] registration
problems...</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276472012-09102005>hello,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=276472012-09102005>I have a
registration problem.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=276472012-09102005>I use many
different uacs(Zyxel,Grandstream ata486, budgettone100,sipura 3000, alcatel
st280, eyebeam,....)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=276472012-09102005>Ser version is
0.9.4 on Freebsd 5.4</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276472012-09102005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=276472012-09102005>On ser.cfg, I have
:</SPAN></FONT></DIV><FONT size=2><SPAN class=276472012-09102005><FONT size=1>
<DIV align=left><FONT face=Arial color=#ff0000 size=2>modparam("registrar",
"default_expires", 3600)</FONT></DIV>
<DIV align=left><FONT face=Arial color=#ff0000 size=2>modparam("registrar",
"min_expires", 1200)</FONT></DIV>
<DIV align=left><FONT face=Arial color=#ff0000 size=2>modparam("registrar",
"max_expires", 1800)</FONT></DIV>
<DIV align=left><SPAN class=276472012-09102005><FONT face=Arial
size=2>and</FONT></SPAN></DIV></FONT></FONT><SPAN class=276472012-09102005>
<DIV><FONT face=Arial color=#ff0000 size=2>if (nat_uac_test("19"))
{</FONT></DIV>
<DIV><FONT face=Arial><FONT color=#ff0000><FONT size=2><SPAN
class=276472012-09102005> </SPAN>if (method == "REGISTER" ||
!search("^Record-Route:")) {</FONT></FONT></FONT></DIV>
<DIV><FONT color=#ff0000><FONT face=Arial><FONT size=2><SPAN
class=276472012-09102005>
</SPAN>fix_nated_contact();</FONT></FONT> </FONT></DIV>
<DIV><FONT color=#ff0000><FONT face=Arial><FONT size=2><SPAN
class=276472012-09102005>
</SPAN>force_rport();</FONT></FONT> </FONT></DIV>
<DIV><FONT color=#ff0000><FONT face=Arial><FONT size=2><SPAN
class=276472012-09102005>
</SPAN>etflag(6);</FONT></FONT> </FONT></DIV>
<DIV><FONT face=Arial><FONT color=#ff0000><FONT size=2><SPAN
class=276472012-09102005>
</SPAN>};</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial color=#ff0000 size=2>};</FONT></DIV></SPAN><FONT
size=2><FONT size=1>
<DIV align=left><FONT face=Arial color=#ff0000
size=2></FONT> </DIV></FONT></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN class=276472012-09102005>The problem is
that after a few ReRegistration, ser stop updates od the dababase even if
ReRegistration continues to come...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=276472012-09102005>Ok, min_expires
seems not Rfc compliant, but even without that I have the same
behavior.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276472012-09102005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=276472012-09102005>I have seen many
discussions about that and tried many solutions...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276472012-09102005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=276472012-09102005>The 2 greps shows
register messages for 2 differents user agents</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276472012-09102005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=276472012-09102005>Any good
idea?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=276472012-09102005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=276472012-09102005>ps: Greger, isn't
it to telegraphic this time? ;)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#ff0000 size=2>U 2005/10/09 14:37:37.460238
81.241.192.55:6938 -> 82.146.<SPAN
class=276472012-09102005>123.252</SPAN>:5060<BR> REGISTER
sip:finalcut.be SIP/2.0..To:
3227470340<sip:3227470340@finalcut.be>..From:
3227470340<sip:3227470340@finalcut.be>;tag=ab7b0c68..Via: SIP/2.0/UDP
192.168.2.101:6938<BR>
;branch=z9hG4bK-d87543-505047371-1--d87543-;rport..Call-ID:
5e6f6777312d2659..CSeq: 13 REGISTER..Contact:
<sip:3227470340@192.168.2.101:6938>..Expires:
3600..Max-Forwards:<BR> 70..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE,
REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO..User-Agent: eyeBeam release 3007n
stamp 17816..Authorization: Digest username="322747<BR>
0340",realm="finalcut.be",nonce="4349103d8b8ae8fadbc161b5bb1a93a299fb4f4a",uri="sip:finalcut.be",response="e6735467abe564030707db572d6f9f1f",algorithm=MD5..Content-Length:<BR>
0....<BR>#<BR>U 2005/10/09 14:37:37.480571 82.146.<SPAN
class=276472012-09102005>123.252</SPAN>:5060 ->
81.241.192.55:6938<BR> SIP/2.0 200 OK..To:
3227470340<sip:3227470340@finalcut.be>;tag=59f1565d6938a98ef3fc4707bf9b43aa.1234..From:
3227470340<sip:3227470340@finalcut.be>;tag=ab7b0c68..Via:
SIP/2.<BR> 0/UDP
192.168.2.101:6938;branch=z9hG4bK-d87543-505047371-1--d87543-;rport=6938;received=81.241.192.55..Call-ID:
5e6f6777312d2659..CSeq: 13 REGISTER..Contact: <sip:322747034<BR>
</FONT><A href="mailto:0@81.241.192.55:6938>;expires=1800"><FONT face=Arial
color=#ff0000 size=2>0@81.241.192.55:6938>;expires=1800</FONT></A><FONT
face=Arial color=#ff0000 size=2>,
<sip:3227470340@81.241.192.55:1048>;expires=119..Server: Sip EXpress
router (0.9.4 (i386/freebsd))..Content-Length: 0..Warning: 392 82.1<BR>
46.123.252:5060 "Noisy feedback tells: pid=43104
req_src_ip=81.241.192.55 req_src_port=6938 in_uri=sip:finalcut.be
out_uri=sip:finalcut.be via_cnt==1"....<BR></FONT></DIV>
<DIV><FONT face=Arial color=#ff0000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#ff0000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#ff0000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#ff0000 size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT color=#ff0000>U 217.136.0.70:53284 ->
82.146.123.252:5060<BR> REGISTER sip:82.146.123.252;user=phone
SIP/2.0..Via: SIP/2.0/UDP 192.168.1.13:5060..From: 1300
<sip:1300@82.146.123.252;user=phone>..To: 1300
<sip:1300@82.146.123.252;user=<BR> phone>..Call-ID: </FONT><A
href="mailto:43478@192.168.1.13..Contact"><FONT
color=#ff0000>43478@192.168.1.13..Contact</FONT></A><FONT color=#ff0000>:
<sip:1300@192.168.1.13:5060;user=phone>..CSeq: 18961
REGISTER..Max-Forwards: 70..Content-Length: 0..User-Agent: ST280
(REV-A2+<BR> 2.439-1)..Expires: 1800..Authorization: Digest
username="1300",realm="finalcut.be",nonce="43490c49911fa90e11538f52e07c19509087b505",uri="sip:82.146.123.252",algorithm=MD5,r<BR>
esponse="7ac5e0f3719872d4624a86c14dc677c8"....<BR>#<BR>U 82.146.123.252:5060
-> 217.136.0.70:53284<BR> SIP/2.0 200 OK..Via: SIP/2.0/UDP
192.168.1.13:5060;rport=53284;received=217.136.0.70..From: 1300
<sip:1300@82.146.123.252;user=phone>..To: 1300
<sip:1300@82.146.123.252;use<BR>
r=phone>;tag=59f1565d6938a98ef3fc4707bf9b43aa.1e42..Call-ID: </FONT><A
href="mailto:43478@192.168.1.13..CSeq"><FONT
color=#ff0000>43478@192.168.1.13..CSeq</FONT></A><FONT color=#ff0000>: 18961
REGISTER..Contact:
<sip:1300@217.136.0.70:53284;user=phone>;expires=1800..Serve<BR>
r: Sip EXpress router (0.9.4 (i386/freebsd))..Content-Length: 0..Warning: 392
82.146.123.252:5060 "Noisy feedback tells: pid=43111
req_src_ip=217.136.0.70 req_src_port=532<BR> 84
in_uri=sip:82.146.123.252;user=phone out_uri=sip:82.146.123.252;user=phone
via_cnt==1"....<BR>#<BR></FONT></FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Serusers mailing
list<BR>serusers@lists.iptel.org<BR>http://lists.iptel.org/mailman/listinfo/serusers<BR></BLOCKQUOTE></BODY></HTML>