NAT traversal: how send/receive remote candidates?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'll just answer this in general rather than specificly to your problem.

There are two things to solve when it comes to NAT. First is the problem
with getting the signaling (i.e. SIP) going through NAT between peers, and
the second is with getting the media (i.e. RTP/RTCP) going through NAT.

ICE only solves the second part, i.e. media. Before it gets to ICE
negotiation, you first need to make sure that SIP can get through from
caller to callee. One way to do it is to have both caller and callee
register to SIP proxy, and configure the proxy to record route so that all
SIP messages between the clients always go through the proxy.

*Only after* you solve the SIP signaling issue you can get to solve the next
issue, i.e. the media.

Cheers
 Benny

On Thu, Jul 17, 2008 at 10:43 AM, katjusha KATJUSHA <katjusham at gmail.com>
wrote:

> Hi Pedro!
>
> I've started exactly from the pjsua application, with the option
> "--use-ice", and with the STUN servers "stunserver.org" and "
> stun.ekiga.net". I have also added an "id" like "sip:alice at example.com<sip%3Aalice at example.com>"
> ...
> The problem is that I'm not able to prove the ICE connectivity
> mechanism.....
> If I try a call or an IM with another peer in the same LAN, no problem: i
> wrote "sip:10.0.x2.y2" from my host at "10.0.x1.y1" and I get the call or
> the message to the other peer...But, if I try to call the Mapped Address of
> the peer, I've  a timeout error and no direct connectivity if possible.
> Then I've tried to call a peer not in my LAN...I can't obtain the message,
> nor the call.
> The NAT detection  function states  that I  was behind a Full Cone NAT, and
> the extern peer was behind a Port Restricted, but no connectivity was
> possible...
> Maybe I've to register to some server? I made a wrong configuration of
> pjsua? Why the ICE checks doesn't seem to start?
> All I have to do is exactly the implementation of the IM function of pjsua,
> demonstrating that ICE can holes NATs...
>
> Why this doesn't work with you?
> I hope the effort of studying this code will not be unhelpful...   :-(((
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080718/766a4ef9/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux