Potential Bug in Ticket 2032 "NAT64 support for IPv4 interoperability" - 2.7 Release

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

 



Hi,

I am using PJSIP in an IPV6 only network and noticed that ICE is not using STUN candidates (Only host and relay). After looking at the code I noticed that the attribute stunTryIpv6 in PJSUA2 Endpoint is not taking effect. The reason is that the method tpPj does not take the value set by the application. I fixed it by adding it the method as shown below:

I added the line :
     pua_cfg.stun_try_ipv6 = this->stunTryIpv6 ;
To the method:
     pjsua_config UaConfig::toPj() const

In the File file endpoint.cpp

Note: the variable "stunIgnoreFailure"  needs to be added too.
Thanks,
Imad
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[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