Running PJSIP behind NAT

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

 



On Mon, Feb 2, 2009 at 1:44 PM, Kapil Pendse <kapil.pendse at gmail.com> wrote:

> Hello all,
>
> I've run into a problem which seems to be because my setup doesn't have a
> static global IP. My setup is a TI DaVinci board. Initially, I was able to
> run the sample application as:
>
> # ./pjsua-arm-unknown-linux-gnu --ip-addr=121.246.211.129 --app-log-level=2
>
> Here, 121.246.211.129 was the static IP which my earlier ISP provided me.
> It was assigned to my router behind which this DaVinci board was connected
> as 192.168.0.2.
>
> Now, I've changed my ISP and I don't have a static IP any more. Now my
> router connects to the ISP's router, and my router gets assigned 192.168.1.2
> over DHCP. So, now I don't have any static IP that I can pass using the
> --ip-addr argument. If I run the sample application without this argument,
> call setup fails, in fact even the account registration fails.
>
>
Hi Kapil, I think it's common that people connected with ADSL don't get
static IP, and this should be a well supported setup. We have several NAT
traversal methods in pjsip (such as STUN, TURN, and ICE) and so far it works
fine in most cases.

For a start, try with:

  $ pjsua --stun-srv stun.pjsip.org --use-ice

cheers
 Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090210/3bf29987/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