[pjsip] NAT traversal problem using pjnath ?

Benny Prijono bennylp at pjsip.org
Tue Apr 22 11:26:22 EDT 2008


On Tue, Apr 22, 2008 at 8:12 AM, Tilak Adhya <tilakadhya at rediffmail.com> wrote:
>  >I think my suggestion now is to read the STUN, TURN, and ICE drafts to
>  >know how to use these protocols to solve your NAT problems. Then you
>  >can get back to PJNATH to see how it helps using these protocols.
>  >
>
>  Thnaks for the suggestions.
>  I have gone through all the docs and my requirements(from PJNATH code)
>  are to get the ICE API's such that I can call these APIs to open a
>  port in the NAT and send UDP data through it. Here I am not using
>  Symmetric NAT.
>  I had a look to the PJNATH code base and it seems that I will get
>  a client-server code which will help me to do this using the PJNATH
>  library. Am I correct ? If so, then which program I need to use in my

Yes, something like that. Although ICE is pretty much peer to peer
rather than client server.

>  application to achieve this. If not, then what are the APIs, I will
>  need to call to use and how?
>

I'm not sure what you mean by "which program to use". ICE has been
integrated in PJSUA-LIB, hence the feature will be available in any
programs using PJSUA-LIB (such as pjsua).

Cheers
 Benny




More information about the pjsip mailing list