Hi, For pjsua app, configuring STUN could be done easily from the run-time param, i.e: --stun-srv, that's all. For LAN environment, I don't really think you need STUN. Also omitting STUN config (usually) won't cause registration failed. So I guess both problems (call & registration) are not really caused by STUN config. regards, nanang 2009/3/14 ljmscsq <ljmscsq at 163.com> > > Hello, I want to config STUN in pjsua project .I add > app_config.cfg.stun_host = pj_str ("stun.xten.com"); into pjsua_app.c .And then what should I do ? > How can I start STUN and use it for register and calling ? (stun.xten.com is a public stun server) > If I don't set stun_host,I can't call one who is in a LAN .If I set stun_host , one who is in a LAN will fail to register to server. What's wrong with it? > > > > ________________________________ > ????????????????? > _______________________________________________ > 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 >