Problem with nameservers PJSUA2

W
wnas
Fri, Apr 28, 2017 1:14 PM

Hello,
I've got a problem with PJSIP 2.6 library. I'm running JAVA demo application. I made there a simple change, I add nameserver:
        StringVector nameServers = new StringVector();        nameServers.add("8.8.8.8");        ua_cfg.setNameserver(nameServers);And this causes error. The application crashes onpjlib-util/src/pjlib-util/srv_resolver.c file, on line 797:
s->addr[j].ip.v6 = srv2->addr[j].ipv6.sin6_addr;
Does anybody have any idea what the reason of problem may be?
Have a good day
wnasilowski

Hello, I've got a problem with PJSIP 2.6 library. I'm running JAVA demo application. I made there a simple change, I add nameserver:         StringVector nameServers = new StringVector();        nameServers.add("8.8.8.8");        ua_cfg.setNameserver(nameServers);And this causes error. The application crashes onpjlib-util/src/pjlib-util/srv_resolver.c file, on line 797: s->addr[j].ip.v6 = srv2->addr[j].ipv6.sin6_addr; Does anybody have any idea what the reason of problem may be? Have a good day wnasilowski