PJSIPUA and STUN

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

 



On Mon, Aug 4, 2008 at 7:36 PM, Philippe HENSEL <philippe.hensel at uha.fr>wrote:

> Here is the pjsipua output, it tells nat type is symmetric and
> manage to call through with stun (which is not supposed
> to work with symmetric nats?) :


pjsip does work with symmetric NATs with just using STUN, as long as the
other party is not on symmetric NAT too or on port restricted NAT.

Looking at your output, it doesn't look like the NAT is symmetric indeed
based on the Via header information SIP response, but unfortunately it also
doesn't explain why pjsip thinks that the NAT is symmetric. And since you're
using Linux masquerading, there's still a chance that it may do something
specific to SIP (like changing SIP/SDP addresses, or do other ALG thing), as
discussed few days ago on this list.

Could you run pjsua again, this time with log level 5? You don't need to
register or make any calls, just run pjsua like below and wait until the NAT
detection completes:

    $ pjsua --max-calls 1 --log-file natdetect.log --stun-srv THE-SERVER

And then send me the log file. And while you're doing that, it may worth
trying other STUN clients too (e.g. www.sf.net/projects/stun) and see what
they say about your router.

Cheers
 Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080805/d9cefc56/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