Hi pjsip guys, Please take a look at pjsua_media.c, create_rtp_rtcp_sock() This should be like this acc = &pjsua_var.acc[call_med->call->acc_id]; use_ipv6 = (acc->cfg.ipv6_media_use != PJSUA_IPV6_DISABLED); af = use_ipv6 ? pj_AF_INET6() : pj_AF_INET(); acc should be fetched first -- Khoa Pham HCMC University of Science www.fantageek.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130625/acd14e02/attachment-0001.html>