User: bogdan_iancu
Date: 2006/02/24 09:15:35 PST

  OpenSER CVS - Commit Details

  Modified files:
    modules/registrar    save.c 
  Commit Log:
  - 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.23      +16 -6     sip-server/modules/registrar/save.c
   [ 
http://cvs.sourceforge.net/viewcvs.py/openser/sip-server/modules/registrar/save.c?r1=1.22&r2=1.23
 ]

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to