Port questions

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

 



On 15/01/2008, Matti Zemack <Matti.Zemack at bbc.co.uk> wrote:
>
> So my questions are;
> A. Does Pjsua switch its destination port to xxxx because of the ICMP's or
> is this switch done because Pjsua always wants to send it's packets to the
> source of the received packets, which would be needed going through NAT's?

I think the latter.
please take a look at function on_rx_rtp & on_rx_rtcp in transport_udp.c.


> B. If this is how Pjsua smartly tries going through NAT's. Does there exist
> a setting for Pjsua in run-time, start-up flag or at compilation time where
> this functionality can be switched off?

AFAIK,
it can be disabled at compile time by supplying option
PJMEDIA_UDP_NO_SRC_ADDR_CHECKING
for pjmedia_transport_udp_attach in pjsua_media.c


> Thanks in advance,
> Matti Zemack, BBC R&I, Kingswood Warren, UK
> http://www.bbc.co.uk



[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