On Wed, Feb 3, 2010 at 11:12 PM, pankaj anand <[email protected]>wrote:

> hi,
>  I am using linphone 3.2.0.99 build from sources on ubuntu 9.04
>
>    I am using it behind a NAT and it is portRestrictedNat ( that i have
> tested with some other client).
>
>     somehow i found that the stun client is not behaving correctly, Instead
> of sending Ip address my Nat server and punched hole port no , it sends the
> local ( private ) ip addrss of my machine in SDP information.
>
> in logs i see that it says Symmetric nat detected for audio port.
> when I opened the code, I found that I sends a single message to the Stun
> Server and on the reply of that single message it can identify that what
> type of NAT is being used. I
>

 I read few thing on the net about  STUN after that I could figure it out
that it is quite possible to detect required type of NAT with a single STUN
message.

>
>
> please, Correct me if i am wrong.
>
> BTW what is the meaning of this line in the code
>
> *id=resp.msgHdr.tr_id.octet[0];
>
  this lines specifies the transaction id of the message.


>
> I don't understand the STUN protocols internal that is why couldn't
> understand this code.
>
>
> thanx in advance.
>
> Pankaj
>

But still i m facing few problems behind the NAT. when i run testNatType
function it generates that the NAT type is port restricted Nat but linphone
as a client is not able communicate outside the LAN or on public internet.
_______________________________________________
Linphone-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to