Hi Imad, Thanks for the report. I fixed this in r5817 (https://trac.pjsip.org/repos/changeset/5817). Regards, Ming On Tue, Jul 3, 2018 at 4:05 AM, Imad Khazali via pjsip <pjsip@xxxxxxxxxxxxxxx> wrote: > 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 > _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org