Vivek,
 
I am a little bit confused on your issue.
 
you mean,
 
UA1                  UA2                    NAT
REGISTRA
        ----------------REG1----------------->
        src ip: 10.0.0.1 port 8888
        contact:10.0.0.1:5060
 
----------------REG2----------------->
                                              src ip: 192.168.1.1 port
5060
                                              contact: ??
 
                     -----------REG3---------->
                     src ip: 10.0.0.2 port 9999 
                     contact:10.0.0.2:5060
                                            
 
----------------REG4----------------->
                                              src ip: 192.168.1.1 port
5060
                                              contact: ??
 
 
what are the contact header url in REG2 and REG4 , retain their orignal
value or all are 192.168.1.1:5060 ??
 
-Rockson
 
 
 

________________________________

From: Vivek Batra [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 27, 2008 4:44 PM
To: Rockson Li (zhengyli); 'Scott Lawrence';
[email protected]
Subject: RE: [Sip-implementors] SIP client registers from multiple
locationsand all location are behind the NAT



Dear Rockson/ Scott,

 

Symmetric response is not an issue since SIP server is taking care of
the same and my UA is getting 200 OK back. 

 

Even further incoming request would also be coming at the public IP of
NAT router (behind which UA is located). This is taken care by SIP
server only.  

 

Only problem was that when SIP server has multiple bindings for same UA.
These bindings are used by SIP server only at the time of sending 200 OK
against REGISTER request and in Request-URI for further incoming
request. 

 

I think it is better idea to put the randomly generated value in contact
at the time of sending REGISTER request so that if 200 OK includes the
multiple binding for this UA, UA can identify its own binding with the
help of tag send by him in REGISTER. 

 

Adding domain/ hostname in contact instead IP address shall again put
the UA in dilemma when all UA's use the same hostname while registering
from multiple location (same as in case of IP address even private). 

 

By considering the same, adding randomly generated tag should be better
option!!

 

Best Regards,

Vivek Batra

 

 

-----Original Message-----
From: Rockson Li (zhengyli) [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 27, 2008 9:14 AM
To: Scott Lawrence; Vivek Batra; [email protected]
Subject: RE: [Sip-implementors] SIP client registers from multiple
locationsand all location are behind the NAT

 

 

Comments inline.

-Rockson

 

-----Original Message-----

From: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED] On Behalf Of

Scott Lawrence

Sent: Friday, June 27, 2008 12:41 AM

To: Vivek Batra

Cc: [email protected]

Subject: Re: [Sip-implementors] SIP client registers from multiple

locationsand all location are behind the NAT

 

 

On Thu, 2008-06-26 at 15:29 +0530, Vivek Batra wrote:

 

> Please consider the following:

 

> *       SIP client send the REGISTER message to Registrar server from

> multiple locations. Q-value is not send by SIP client in its REGISTER 

> request.

 

> *       Registrar server sends the 200 OK to the SIP client with all
the

> binding for this user along with expiry timer for each binding.

 

> *       SIP client selects its own binding to get expiry timer
allocated

by

> Registrar server.

 

> *       But if all the SIP clients are located behind the NAT (in

different

> LAN networks) and same IP address is assigned to each SIP client 

> suppose 192.168.1.1, all SIP client will send the IP:Port viz

192.168.1.1:5060.

[Rockson] I think the 192.168.1.1:5060 is just the source address in IP

level, which does not relate to SIP contact url.

 

> *       Now when 200 OK is send by Registrar server to SIP client, all

the

> bindings in 200 OK includes the same IP address. Now, what should be 

> the implementation in SIP client to select its own binding since all 

> the bindings shall have same IP:Port.

 

The UA should construct its Contact with some unique value in it so that

it can recognize it among the choices.  Stick a url parameter on it

that's randomly chosen or something; don't rely on the IP address to be

the identifier.

[Rockson] if the Contact is not changed , which is still what your sip

client put into, the incoming request would go to this address, which is

probably not feasible, since this a private ip addr, this is why  Scott

suggest to use domain not ip addr.

 

However, things might not so simple, NAT is more complex than you

thought.

You may need Symmetric Response RFC3581 and  draft-ietf-sip-outbound

 

--

Scott Lawrence  tel:+1.781.229.0533;ext=162 or sip:[EMAIL PROTECTED]

  sipXecs project coordinator - SIPfoundry

http://www.sipfoundry.org/sipXecs

  CTO, Voice Solutions   - Bluesocket Inc. http://www.bluesocket.com/ 

                                           http://www.pingtel.com/

 

_______________________________________________

Sip-implementors mailing list

[email protected]

https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

 

 

 

Email Scanned for Virus & Dangerous Content by :
www.CleanMailGateway.com

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to