Hi Olivier,
Yes, this time it was easy to follow your logic and question ;-)
 
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.
 
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.
g-)
 
----- Original Message -----
From: Olivier Taylor
To: serusers@lists.iptel.org
Sent: Sunday, October 09, 2005 02:43 PM
Subject: [Serusers] registration problems...

hello,
I have a registration problem.
I use many different uacs(Zyxel,Grandstream ata486, budgettone100,sipura 3000, alcatel st280, eyebeam,....)
Ser version is 0.9.4 on Freebsd 5.4
 
On ser.cfg, I have :
modparam("registrar", "default_expires", 3600)
modparam("registrar", "min_expires", 1200)
modparam("registrar", "max_expires", 1800)
and
if (nat_uac_test("19")) {
    if (method == "REGISTER" || !search("^Record-Route:")) {
        fix_nated_contact();
        force_rport();
        etflag(6);
    };
};
 
The problem is that after a few ReRegistration, ser stop updates od the dababase even if ReRegistration continues to come...
Ok, min_expires seems not Rfc compliant, but even without that I have the same behavior.
 
I have seen many discussions about that and tried many solutions...
 
The 2 greps shows register messages for 2 differents user agents
 
Any good idea?
 
ps: Greger, isn't it to telegraphic this time? ;)
 
U 2005/10/09 14:37:37.460238 81.241.192.55:6938 -> 82.146.123.252:5060
  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
  ;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:
  70..Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO..User-Agent: eyeBeam release 3007n stamp 17816..Authorization: Digest username="322747
  0340",realm="finalcut.be",nonce="4349103d8b8ae8fadbc161b5bb1a93a299fb4f4a",uri="sip:finalcut.be",response="e6735467abe564030707db572d6f9f1f",algorithm=MD5..Content-Length:
  0....
#
U 2005/10/09 14:37:37.480571 82.146.123.252:5060 -> 81.241.192.55:6938
  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.
  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
 
0@81.241.192.55:6938>;expires=1800, <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
  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"....
 
 
 
 
U 217.136.0.70:53284 -> 82.146.123.252:5060
  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=
  phone>..Call-ID:
43478@192.168.1.13..Contact: <sip:1300@192.168.1.13:5060;user=phone>..CSeq: 18961 REGISTER..Max-Forwards: 70..Content-Length: 0..User-Agent: ST280 (REV-A2+
  2.439-1)..Expires: 1800..Authorization: Digest username="1300",realm="finalcut.be",nonce="43490c49911fa90e11538f52e07c19509087b505",uri="sip:82.146.123.252",algorithm=MD5,r
  esponse="7ac5e0f3719872d4624a86c14dc677c8"....
#
U 82.146.123.252:5060 -> 217.136.0.70:53284
  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
  r=phone>;tag=59f1565d6938a98ef3fc4707bf9b43aa.1e42..Call-ID:
43478@192.168.1.13..CSeq: 18961 REGISTER..Contact: <sip:1300@217.136.0.70:53284;user=phone>;expires=1800..Serve
  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
  84 in_uri=sip:82.146.123.252;user=phone out_uri=sip:82.146.123.252;user=phone via_cnt==1"....
#


_______________________________________________
Serusers mailing list
serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers