[SR-Users] Cannot hear voice with symmetric NAT and STUN

Daniel-Constantin Mierla miconda at gmail.com
Sun Mar 3 17:58:31 CET 2013


Hello,

stun works pretty well for non-symmetric nat. If there is symmetric nat, 
then you need a rtp relay (e.g., rtpproxy) or turn server.

Cheers,
Daniel

On 2/28/13 5:48 PM, Khoa Pham wrote:
> Hi David, I already read all of these. But the problem seems 
> contradict with what I read
>
>
> On Thu, Feb 28, 2013 at 9:56 PM, David <kamailio.org at spam.lublink.net 
> <mailto:kamailio.org at spam.lublink.net>> wrote:
>
>     Hello,
>
>     Look on Wikipedia and read the articles for SIP, RTP, NAT and STUN.
>
>     The answer to your question can be found in the above articles.
>
>     David
>
>
>     On 13-02-27 10:26 PM, Khoa Pham wrote:
>>     Hi, I have Kamailio as SIP server and RTP server. Client is PJSIP.
>>
>>     I read that STUN is for non-symmetric NAT, and RTP server is for
>>     symmetric NAT.
>>
>>     Supposed A calls B.
>>
>>     If A, B both use symmetric NAT and STUN, they cannot hear each other
>>     If A or B use non-symmetric NAT and NOT using STUN, they cannot
>>     hear each other.
>>
>>     Why is that?
>>
>>     I read
>>     http://tools.ietf.org/id/draft-takeda-symmetric-nat-traversal-00.txt for
>>     Prediction Failure, is that related to this problem ?
>>
>>     -- 
>>     Khoa Pham
>>     HCMC University of Science
>>     Faculty of Information Technology
>>
>>
>>     _______________________________________________
>>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>     sr-users at lists.sip-router.org  <mailto:sr-users at lists.sip-router.org>
>>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>     _______________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>     list
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> -- 
> Khoa Pham
> HCMC University of Science
> Faculty of Information Technology
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
  - http://conference.kamailio.com -

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130303/2328e88a/attachment.htm>


More information about the sr-users mailing list