[Devel] CVS commitlog: sip-server/modules/registrar save.c

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Feb 24 18:16:20 CET 2006


User: bogdan_iancu
Date: 2006/02/24 09:16:20 PST

  OpenSER CVS - Commit Details

  Modified files:        (Branch: rel_1_0_0)
    modules/registrar    save.c 
  Commit Log:
  Backport:
  - fixed bug when insertion contacts in a new built AOR record - use
    get_ucontact() to detect contact duplicates.
    An initial REGISTER may contain several contacts and some of them may be
    identical. IF DB is used, this will lead to primary key (username, domain,
    contact URI) violation due double insert. Also un-necessary parallel fork
    to same destination is avoided.
  
    This may happen with bogus clients (I see no reason why a UAC may duplicate
    a contact in same REGISTER), so the fix is protection mechanism for the
    proxy.
  
  Revision  Changes    Path
  1.5.2.1   +18 -8     sip-server/modules/registrar/save.c
   [ http://cvs.sourceforge.net/viewcvs.py/openser/sip-server/modules/registrar/save.c?r1=1.5&r2=1.5.2.1 ]



More information about the Devel mailing list