[OpenSIPS-Devel] [ opensips-Patches-2831868 ] removing existing contact with ip:port like new contact

SourceForge.net noreply at sourceforge.net
Wed Aug 5 07:30:34 CEST 2009


Patches item #2831868, was opened at 2009-08-04 12:12
Message generated for change (Comment added) made by kuznetsov82
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2831868&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Vladimir Kuznetsov (kuznetsov82)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: removing existing contact with ip:port like new contact

Initial Comment:
When SIP-client app lost network, other client can send REGISTER with the same IP:PORT. You can resolve this problem by usin this patch.

----------------------------------------------------------------------

>Comment By: Vladimir Kuznetsov (kuznetsov82)
Date: 2009-08-05 09:30

Message:
Example:
Step 1: CLIENT1 send REGISTER from 10.10.10.10:1234.
Step 2: CLIENT1 lost network
Step 3: CLIENT2 connecting to network and receive IP 10.10.10.10
Step 4: CLIENT2 connecting to SIP server with this IP and port 1234 (He
send REGISTER from 10.10.10.10:1234)
Step 5: somebody calls to CLIENT1 -> CLIENT2 has incoming call because he
has ip:port like CLIENT1 and REGISTER timeout for CLIENT1 was not expired.

This problem we have using mobile WiMAX network. This patch resolve this
problem:
when CLIENT2 send REGISTER, SIP server delete record for CLIENT1 from
database. We set flag db_mode=DB_ONLY for usrloc module and this patch can
be using only with this flag.

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-08-05 01:40

Message:
Hi Vladimir,

could you explain a bit more in details what the patch provides? an
example will be really helpful here.
I'm asking as the I want to be sure that whatever change you need, it is
not against the RFC3261 (on how the user registration and contact matching
works).

Thanks and regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2831868&group_id=232389



More information about the Devel mailing list