You're right, again. I've fixed this in r1636. thanks, -benny Velthoen, Arie wrote: > Dear all, > > When having more than one network interface create_rtp_rtcp_sock starts > listening to the address specified in bound_addr (after ticket 429), > but it reports through PJ_LOG still the default IP-address. > I do not use STUN, and do not have a "cfg->public_addr". > > I have solved this in create_rtp_rtcp_sock as follows: > > Replace: > pj_in_addr addr; > > > > /* Get local IP address. */ > > status = pj_gethostip(&addr); > > if (status != PJ_SUCCESS) > > goto on_error; > > > > for (i=0; i<2; ++i) > > mapped_addr[i].sin_addr = addr; > > > > By: > > for (i=0; i<2; ++i) > > mapped_addr[i].sin_addr = bound_addr.sin_addr; > > > > > > Regards, > > > > Arie Velthoen > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -- Benny Prijono http://www.pjsip.org